"What machine do they use?"
"It's a Hagelin," replied Denham, referring to a cipher machine manufactured by the Swiss firm Crypto AG and much favored in the 1950s by Third World countries.
I arranged to borrow one of GCHQ's sample Hagelins, and took it back up to London in the boot of my car. I set the machine up with Leslie Jagger in an MI5 safe house in Regent's Park and began experiments to see if my theory was practical. This Hagelin was a keyboard machine, with tape containing the enciphered message leading out from one side. The principle of the machine was simple. Seven rotating wheels, powered by switched currents, automatically substituted mechanically produced random figures for whatever was typed into the machine. Every morning the cipher clerk operating a Hagelin inside an embassy reset the wheels before beginning transmissions. If any of our microphones could detect the sounds of these new settings being made, I felt sure that GCHQ would be able to use them to determine what is known as the "core position" of the machine, and from there be in a position to attack the cipher. Alexander and Denham explained to me that if we could get the settings of three, possibly four, wheels of the machine, they would have broken the cipher.
I installed a series of high-sensitivity microphones at various distances from the Hagelin, as well as a probe microphone in the wall behind it. Each microphone was connected in turn to an oscilloscope, so that the sounds it recorded were translated into visual readings.
Leslie Jagger rigged up a film camera to record the oscilloscope screen. I opened the lid of the Hagelin and carefully reset the wheels, making a note of the old and new settings. The machine began to clatter as it enciphered a stream of dummy traffic. I sent the results down to Denham in Cheltenham for his comments.
As soon as we got the films developed, I could see that the oscilloscope readings were firm enough to provide some clue to the Hagelin machine settings. They also produced evidence of the setting of at least three wheels out of seven. I decided to make further experiments with SATYR equipment, which gave a far less sensitive sound. We did detect movements on the wheels, but it was highly corrupt. I sent the findings down to Cheltenham by courier. The next day Denham telephoned on the scrambled line.
"They're marvelous, Peter," he said. I could tell he was excited. The distortion from the scramble made him sound positively lunatic.
"The acoustic microphones are best. We can get two, maybe even three wheels out using those readings. The radio one isn't so good, but I think, given time, we might be able to make something of it."
The line fractured under a haze of static.
"When can we go into action with it?" he shouted down the line. "As soon as you've got the ministerial clearance," I replied.
The next day GCHQ sent Ray Frawley from the planning staff up to London. Frawley was an astute, practical man, bridging the gap between the intellectual brilliance of Alexander and Denham and the administrative demands of a huge sprawling organization like GCHQ. Frawley was a radical atheist who believed that one day mankind would be coupled directly to computers. Dangerous irrationality would be banished forever. It was rather a childlike ideal for a man to hold in the grim years of the Cold War, but he and I became close colleagues even though I remained at heart an irrationalist, believing in the sudden burst of inspiration or intuition to solve a problem.
As soon as Winterborn, Frawley, and I sat down to plan the operation against the Egyptians we realized that the best way was the simplest way. I checked with the Post Office Investigations Unit and obtained a complete list of all telephone installations in the Embassy. There appeared to be one either inside or very close to the cipher complex, so we decided to install Special Facilities on the telephone and use the microphone to capture the sounds of the cipher machine. The Post Office faulted the phone system and we waited for the Egyptians to call in the Post Office. I arranged to go in myself, disguised as an engineer, with the man who would install the SF device on the telephone receiver. I wanted the chance to look over the room in case any waste cipher material was lying around.
The next morning I met the Post Office team over at St. Paul's and we drove over to the Embassy in their van. The security was tight at the Embassy door and we were escorted from room to room. The cipher room was in an annex, the Hagelin clattering away inside. Three cipher clerks were busy operating the telex machines and processing the diplomatic cables. I looked carefully for any signs of spare tape waste, but the section seemed well organized and tidy. One of the clerks came out and engaged our escort in animated conversation. After a while he went back in and turned the machines off. When he reappeared he came over to me and gesticulated toward the telephone. He could speak no English, but through sign language I understood that he wanted me to move the telephone closer to his seat near the machine. Scarcely able to believe our luck, I began to extend the cable, slowly turning my back on him so that the engineer could slip the small washer into the receiver to modify it for SF. I placed the telephone back on top of his desk, not more than two feet from the Hagelin machine. The clerk tapped it, and grinned at me broadly. I grinned back, but somehow I felt we were not quite sharing the same joke.
I hurried back from the Egyptian Embassy to the seventh floor to monitor the sounds from the receiver. It seemed at first to be an electronic haze, but after some fine tuning the clatter of the Hagelin was clearly audible. MI5 arranged a special link down to GCHQ, and every morning, as the clerk reset the machine, GCHQ's H Division calculated the new settings and read the cipher straight off, a process known as "leading the machine." The new technique of breaking ciphers by detecting intelligence about the machines through technical surveillance became known by the code word ENGULF. It was a vital breakthrough. The combined MI5/GCHQ operation enabled us to read the Egyptian cipher in the London Embassy throughout the Suez Crisis. The Egyptians used four different key ciphers worldwide, and by mounting operations against their embassies abroad using the same ENGULF technique, we were able to break into most of the other channels. The operation against the Egyptian cipher was a tremendous success for MI5. It came at a time when MI6 had conspicuously failed in their efforts to provide intelligence. Virtually their entire network in Egypt was rounded up and arrested on Nasser's instructions at an early stage in the crisis, and their only contribution was a bungled attempt to assassinate Nasser.
For Hollis, who had stepped into the Director-General's chair just as the Suez Crisis reached boiling point, the triumph could not have been better timed. It gave him a solid achievement in those crucial first few months. In the light of later events, I always thought it ironic that it was I who had given it to him.
The single most important intelligence which we derived from the cipher break was a continuous account of Egyptian/Soviet discussions in Moscow, details of which were relayed into the Egyptian Embassy in London direct from the Egyptian Ambassador in Moscow. The information from this channel convinced the Joint Intelligence Committee (JIC) that the Soviet Union were indeed serious in their threat to become involved in the Suez Crisis on the Egyptian side. One message was particularly influential. It detailed a meeting between the Soviet Foreign Minister and the Egyptian Ambassador in which the Russians outlined their intentions to mobilize aircraft in preparation for a confrontation with Britain. The panic provoked by this cable, which was handed straight to the JIC, did as much as anything to prompt Eden into withdrawal.
Similarly, since all GCHQ product was shared with its American counterpart, the National Security Agency (NSA), the intelligence, I am sure, did play an important part in shaping American pressure on Britain to end the crisis.
Soon after the SF was installed inside the Egyptian Embassy we nearly lost the whole operation. The Russians, anxious to bestow client status on Egypt as the Suez Crisis deepened, sent a team of Russian sweepers to sanitize their London Embassy of any bugs or microphones. It was the sort of friendly gesture the Russians loved to bestow, enabling them to pick up useful intelligence for themselves at the same time. Our static observation post overlooking the entrance of the Egyptian Embassy detected the Russian sweepers as soon as they entered the building. I was called up to the seventh floor to monitor their progress in the cipher section. I listened helplessly as they entered the cipher room. They started with the fuse box and then began electronically sweeping the walls and ceilings with large instruments which looked like metal detectors. The microphone thumped ominously as a Russian hand picked up the telephone and began to unscrew the bottom. There was a muffled pause, and then the sound of the telephone being reassembled. Hugh Winterborn breathed a sigh of relief.
At the time we knew that the Russians had discovered the SF and would remove it if they found it, but they didn't! If the Russians knew about SF, which they did, and were so wary of it, for instance in the Russian Embassy, why had they overlooked it in the Egyptian Embassy? It would suit them not to alert us to the fact that they knew about SF, so that we would continue to use it. They could, after all, have sent intelligence via their own cipher circuit, Moscow-London, and handed the message over to the Egyptians in London. This would have been unbreakable. But I believe that there was another reason. The Russians wanted us to read the signals of their resolve in the Suez Crisis correctly. They did not want us to assume they were bluffing. The best way of ensuring we took their posture seriously would be if we obtained intelligence about it from an unimpeachable source, for instance from a secret cable. It was my first insight into the complexities of Soviet disinformation.
After the Suez Crisis had collapsed, I began to pester GCHQ again with suggestions of future cooperation. But they seemed to want relations to drift back to the languid state they were in before. And GCHQ, while happy to take the results of ENGULF, were unwilling to step up their help, in return, for MI5. In short, they did not mind MI5 working for them, so long as the arrangement was not reciprocal.
I felt that GCHQ had a major role to play in helping MI5 confront the Soviet espionage networks in the UK by tackling Soviet spy communications. The Russian Intelligence Service has always favored running really sensitive operations "illegally," using agents who operate entirely independently of the "legal" Embassy Intelligence Officers, communicating with Moscow Center by using their own radio transmitters. I felt sure that if we devoted effort to tracing and logging these transmissions we might get a break which could lead us right into the heart of the Soviet Intelligence apparatus. I wanted GCHQ to provide MI5 with the service that we had received from RSS during the war, of continuous monitoring of illegal radio broadcasts to and from the UK. It seemed to me to be straightforward common sense.
But GCHQ were devoting a paltry one and a half radio positions to taking this traffic. It was a pathetic effort, and no amount of persuasion could make them devote more.
Shortly after the first ENGULF Operation against the Egyptian cipher I went to Canada to plan Operation DEW WORM. Toward the end of the trip Terry Guernsey, the head of RCMP Counterespionage, asked me to study an RCMP case which had recently ended in mysterious circumstances. During this review I ran across a detail which convinced me beyond any doubt that GCHQ had to be forced to change their mind. Guernsey showed me into a private room. Sitting on the table were three volumes of files marked KEYSTONE. The KEYSTONE case began in 1952, when a Russian entered Canada under a false name, intent on developing cover as an illegal agent for the KGB. In fact, his eventual destination was the USA, but the KGB often send their illegals into Canada first to establish for themselves a secure "legend," or false identity, before going across the border. But soon after the illegal, code-named Gideon by the RCMP, arrived in Canada he fell in love with a woman. It was strictly against KGB rules, and it wasn't long before Gideon developed doubts about his mission.
Eventually Gideon was ordered by Moscow Center to make plans for his emigration to the USA. He managed to persuade them that it was too risky, and the emigration plan was aborted. Instead he was appointed the KGB illegal resident in Canada, responsible for running other illegal agents throughout Canada. The new responsibilities were arduous. Gideon, who was in any case a lazy man, had to spend long hours receiving messages on his radio, and to make endless journeys throughout Canada to collect intelligence. Gideon began to fall behind on his schedule, and was bullied by his controllers. Finally he decided to confess everything to his lover and together they decided to approach the RCMP.
Terry Guernsey, with his instinctive feel for the importance of the case, immediately decided to run Gideon on as a double agent, rather than accept him as a defector. The decision seemed well justified when Gideon was given control of an illegal agent working for the Russians on the Canadian Avro Arrow Aircraft program. For a year the RCMP monitored Gideon as if he were a laboratory specimen. The workings of Soviet illegals were virtually unknown in the West. Guernsey carefully logged the tradecraft the Russians used for Gideon, the way he was instructed to gather intelligence, the dead letter drops he used; most important of all, the RCMP monitored all his coded radio communications.
Everything went well until the summer of 1955, when suddenly Gideon was recalled to Russia by his controller for extensive debriefing. After initial hesitation, the double agent decided to make the journey. He never returned. The RCMP waited for months and years for a sign that Gideon had survived. But they heard nothing. After a while, transmissions from Moscow to Canada began again on Gideon's cipher, suggesting that a replacement agent had arrived, but months of fruitless searching by the RCMP failed to uncover him. The case, which had promised so much in its early stages, was finally closed down by a weary Guernsey. He was convinced that something serious had gone wrong in the case, but it was impossible to put a finger on what it was, still less investigate it. Bennett, his assistant, was convinced that Gideon had fallen under Russian control and that the case was being run on to deceive the RCMP.