Stealth isn't possible in space, but what if you just shine a laser in their eyes and make a whole lot of noise somewhere else?
The situation is this: A shuttle full of pirate marines must dock to a warship orbiting a trade station. The warship is fully operational and armed with missiles and coil guns that will destroy a vessel that tries to make an approach. The warship has radar and a suite of telescopic sensors (i.e. visible, infrared, and radio telescopes) that let it detect other ships. The trade station is also a large hub for civilian space traffic, so the "airspace" is rather full, and the warship is able to communicate with the station to retrieve flight plan data and intervene with deviants. The warship is not an invading force, and so it will not fire on civilian targets, only on potential hazards to itself or to the civilians.
These ships are operating on real technology for the most part. So no forcefields, or psionics, or gravity plating. They have thrusters, reaction mass, and have to deal with heat management. The warship also has no windows, instead, it has a layer of armor that is absent on civilian vessels (because bullets are a bigger concern than the view in the case of a warship).
If a significant number of the civilian ships were equipped with non-standard equipment, could they effectively blind the warship long enough for a shuttle to make an approach and dock to it?
My only idea is that these commandeered civilian ships would have to be outfitted with lasers and emitters that could saturate the radio frequencies and attempt to overload the sensors of the warship from many angles. With this distraction and confusion about what is or isn't a civilian target anymore, I hope to sneak a smaller vessel up to docking range with the warship.
Edit: To clarify, the pirates can have a significant number of commandeered ships disguised as civilian vessels to use against the warship. But their goal is to commandeer the warship itself, so they don't want to destroy it.