Do you think that the US doesn't actively track the location of Russian missile subs? There's a limited number of sub pens and they're visible on satellite. And tracking missile subs is a big part of the attack sub's role.
I'm not saying it's perfect, but it's not nearly as impossible or hopeless as you seem to think.
I'm not saying it's perfect, but it's not nearly as impossible or hopeless as you seem to think.