In the picture the Soviet spy ship “LINZA”
Main source: wikipedia
after a small research a short article about the history of spy ships during the period of the Cold War.
Spy ships in the modern sense have been used at least since the early Cold War, and they are in use by all major powers. Their uses, in addition to listening in on communications and spy on enemy fleet movements, were to monitor nuclear tests and missile launches (especially of potential ICBMs).
One of the most important functions for both Cold War spy ship fleets, especially in the 1960s, was the gathering of submarine “signatures” – the patterns of noise that could often identify the specific type of submarine and were thus valuable in anti-submarine warfare. During that era, the United States fielded about 80 vessels, usually classified as “environmental research” craft, while the Soviet Union had around 60 ships, often converted trawlers or hydrographic research ships.
In the late 1980s, the Soviet fisheries fleet was known for having equipped many of their thousands of ships with sophisticated SIGINT and ELINT equipment, thus functioning as auxiliary spy ships tracking western naval vessels and electronic communications (though their main function remained commercial fishing).
A spy ship usually stays in international waters (or at least outside territorial waters), so as to not violate territorial borders. From there, it will use its electronic equipment to monitor sea and air traffic, radio and radar frequencies and also try to intercept and decrypt coded radio or phone communications. This is mostly done via passive means such as radio receivers or passive sonar.
Tracking vessels for space missions/control stations for satellites/spy satellites also have some of the capabilities of spy ships, and as they are controlled by their national governments, they are also intermittently used for similar purposes, such as tracking enemy missile tests.
Soviet AGI trawlers
As the United States Navy began deploying ballistic missile submarines in 1960, the Soviet Union attempted to obtain more information about the capabilities of the UGM-27 Polaris missile and the locations of the submarines capable of launching them. While the Soviet Navy requested more sophisticated ships, they were allocated trawlers (called tral’shchiki) from the fishing fleet equipped with more sophisticated sensors and communication equipment. Very capable crews were assigned to these little trawlers of unremarkable appearance, and they were assigned to patrol stations off United States naval bases to photograph and report arrival and departure of United States warships and auxiliaries. Other trawlers of similar appearance would patrol weapons firing ranges used by the United States Navy to observe practice firings of modern weapons and record the acoustic and/or electromagnetic signature of the sonar, search radar, fire-control radar, guidance, and/or command electronics of each weapons system. The United States Navy officially designated these trawlers as Auxiliary, General Intelligence or AGI, and they were informally known as “tattletales”.
An AGI might be assigned to a single patrol station for as long as six months before being relieved by a similar AGI. These AGIs were not fast enough to keep up with most warships, but they sometimes congregated around aircraft carriers conducting air operations of the United States Sixth Fleet in the Mediterranean or United States Seventh Fleet in the western Pacific Ocean, or in suspected patrol areas of ballistic missile submarines. After the Cuban Missile Crisis, the Joint Chiefs of Staff authorized a counter AGI program for United States destroyers to come alongside the AGIs to push against them, foul their screws with steel nets, and focus high power electromagnetic transmitters to burn out the amplifying circuitry of their electronic sensors. The AGI crews then revealed their ship-handling skills using superior maneuverability to evade the destroyers’ intentions. This jousting in international waters continued until signing of the U.S.–Soviet Incidents at Sea agreement in 1972.