2LS is the mil sensor range in CT.
Most military craft in MT, TNE, T4, and T20 have multiple light-day sensor ranges.
They'd be detected well before, as that's a week of burn, and a single freighter of rubble ends your attack run in gory detonations, and since that ends your acceleration, you miss the world, too.
Hi,
In general, my thoughts on such an attack, fall kind of along the lines of some of the stuff discussed in the Anime Planetes, specifically the Kessler Syndrome where basically (in this case) if an enemy were to make a high speed pass, launching a couple missiles or whatever, that could detonate as they approach a planet, spraying a range of orbit bands with a lot of debris, this could potentially damage any satellites, ships or other items in orbit, creating a cascade of further damage through those orbit bands, disrupting surface to orbit transit, and potentially communications, navigation and other such things if enough satellites get damaged.
Similarly, it would be fairly easy for an attacker to know where the various Lagrange Points would be, and similarly they could make a high-speed pass launching similar "buckshot" filled missiles to spray these locations as well.
In general, a tactic like what you have described, using a freighter load of rubble, that could potentially be used against any ship, provided that you know where the enemy might transit. However, there are many potential possible short comings with trying to enact such a defense. First you'd have to anticipate such attacks and have the necessary equipment (freighters of rubble and such) located within range of each potential target planet/satellites.
Next you'd have to position you're "freighter" in a position to block the incoming enemy, which will be capable of maneuvering all the way in and which may actually be along several vectors, depending how many attacking ships there are. And finally, since the inbound enemy will likely be firing missiles that don't necessarily have to hit anything to be effective (they just need to spray part of the orbit above a planet, even if they are hit and or "exploded" before reaching the point where it would have normally detonated anyway, the debris of the missiles may still have the same effect (that of peppering a part of the orbit around the planet with debris).
In addition to the above as already suggested by others, any sensor that can detect out to light minutes, light hours, or more really only tells someone where you were that many minutes or hours ago.