Security researchers have found a long chain of coding coincidences linking attempted fraud over the SWIFT network to the 2014 Sony Pictures hack Bangladesh Bank, a commercial bank in Vietnam and … Sony Pictures are the unlikely bedfellows in a tale of cyber intrigue uncovered by security researchers at BAE Systems.Researchers Sergei Shevchenko and Adrian Nish have found some links between malware involved in the 2014 attack on Sony Pictures and attacks on two banks involving the theft of credentials for the SWIFT financial transfer network.The U.S. Federal Bureau of Investigation said North Korea was to blame for the Sony attack (although security experts are divided on the matter).So is North Korea seeking to boost its foreign currency reserves? Or is someone else conducting a false flag operation — or just reusing old code? The link between two pieces of malware used in attacks on Bangladesh Bank and on a commercial bank in Vietnam is unambiguous. Shevchenko and Nish decompiled them and found that they used an identical function to wipe a file from an infected computer. The function first fills the file with random characters to ensure nothing can be recovered from the sectors it occupies on the disk, then changes the file’s name to a random string before deleting it.Intrigued by the thoroughness with which the malware pursued its purpose, the two hunted through an online malware database for other examples of the same file-wiping code. They found one in a file called msoutc.exe, compiled on Oct. 24, 2014 and uploaded to the database by someone in the U.S. on March 4, 2016.That executable begins its evil work by attempting to create a mutex, or lock flag, with the name “GlobalFwtSqmSession106839323_S-1-5-20” to prevent multiple copies of the malware running on the same computer.If the flag already exists, meaning another copy of the malware is already running, the new copy commits suicide by running a script to delete itself from the system, then quits, leaving the first copy intact.Otherwise, it carries on, creating a log file and using the key “y@s!11yid60u7f!07ou74n001” to encrypt it.The BAE researchers dug around, and found that key had already been used in a worm that spread through Windows SMB shares, discovered by PwC in 2015, although its mutex was slightly different. SMB is a Windows protocol used for sharing directories and printers.The mutex in the worm found by PwC, in turn, was identical to one mentioned in a December 2014 US-CERT report on targeted destructive malware used to attack “a major entertainment company” widely believed to be Sony Pictures. The SMB worm described by US-CERT, however, had a different (although similar) encryption key. To cap it all, Shevchenko and Nish found that the suicide script used by msoutc.exe was almost identical to scripts reported by analytics company Novetta as being characteristic of malware developed by the Lazarus Group. That’s the group Novetta blamed for the Sony attack in its report “Operation Blockbuster.”So that’s two banks attacked with malware containing a file deletion function identical to that used in a piece of malware called msoutc.exe. And there are strong similarities between the suicide script, encryption keys and mutex names used by msoutc.exe and those used by malware involved in the Sony attack.It’s still anybody’s guess who’s behind all these attacks: in Bangladesh, government officials are pointing the finger at SWIFT technicians who worked on the central bank’s network last year, while the FBI says that attack was an inside job — but blames the North Koreans for Sony.Despite the connections between the attacks highlighted by Shevchenko and Nish, there’s still a chance that someone else is as handy with the decompiler as they are, and reused the code — and chose similar encryption keys — to leave a false trail. But the chances of that, the BAE researchers said, are slim. “The overlaps between these samples provide strong links for the same coder being behind the recent bank heist cases and a wider known campaign stretching back almost a decade,” they concluded. Related content news UK government plans 2,500 new tech recruits by 2025 with focus on cybersecurity New apprenticeships and talent programmes will support recruitment for in-demand roles such as cybersecurity technologists and software developers By Michael Hill Sep 29, 2023 4 mins Education Industry Education Industry Education Industry news UK data regulator orders end to spreadsheet FOI requests after serious data breaches The Information Commissioner’s Office says alternative approaches should be used to publish freedom of information data to mitigate risks to personal information By Michael Hill Sep 29, 2023 3 mins Government Cybercrime Data and Information Security feature Cybersecurity startups to watch for in 2023 These startups are jumping in where most established security vendors have yet to go. By CSO Staff Sep 29, 2023 19 mins CSO and CISO Security news analysis Companies are already feeling the pressure from upcoming US SEC cyber rules New Securities and Exchange Commission cyber incident reporting rules don't kick in until December, but experts say they highlight the need for greater collaboration between CISOs and the C-suite By Cynthia Brumfield Sep 28, 2023 6 mins Regulation Data Breach Financial Services Industry Podcasts Videos Resources Events SUBSCRIBE TO OUR NEWSLETTER From our editors straight to your inbox Get started by entering your email address below. Please enter a valid email address Subscribe