There might be some secret technology that we're unaware of but as far as we know magnetometers can only be used to detect underwater targets at very short ranges. I highly doubt that they're used on military reconnaissance satellites.
Subs produce a surface level displacement wake that can be detected by SAR.