CIA false flag team repurposed Shamoon data wiper, other malware

The code reuse was meant to reduce costs of development, but to also make the agency's malware blend in with other threats

The U.S. Central Intelligence Agency documents published by WikiLeaks Tuesday shows that one of the agency's teams specializes in reusing bits of code and techniques from public malware samples.

According to the leaked documents the Umbrage team is part of the Remote Development Branch under the CIA's Center for Cyber Intelligence. It maintains a library of techniques borrowed from in-the-wild malware that could be integrated into its own projects.

Doing this has two benefits: One is that it lowers the cost and time needed to develop tools internally to achieve the same goals. The second is that it makes the agency's malware tools resemble those of others, possibly confusing malware analysts as to the origin attacks and causing others to be blamed for the agency's false flag operations.

For example, one of the techniques borrowed by Umbrage was the file wiping implementation in Shamoon, a cybersabotage program that was used to destroy data from 30,000 computers at Saudi Arabia's national oil company in 2012. The group behind this malware has recently returned with new attacks.

The first version of Shamoon abused a commercial, digitally-signed driver called RawDisk developed by a company named Eldos. Once installed on a system, this driver allows applications to overwrite files even if they are locked by the OS.

The Umbrage team analyzed how the Shamoon authors bypassed the license check for the RawDisk driver and implemented the same disk wiping technique in their own component dubbed Rebound.

It's possible that an antivirus program or a malware analyst encountering Rebound in the wild would identify it as a Shamoon variation instead of an entirely separate malware program.

The CIA team's repository includes many other techniques and code snippets obtained from known malware that can be used for data collection, persistence, stealth, antivirus bypass, privilege escalation and system surveying.

For example, there's a persistence technique borrowed from the HiKit rootkit, two anti-sandboxing techniques borrowed from Trojan Upclicker and Nuclear Exploit Pack, and a webcam capture technique borrowed from the DarkComet RAT. Other documented techniques only have "known malware" as listed source without the malware being specifically named.

Not all of the techniques in Umbrage's repository have been repurposed for internal projects, but some have. While the code names for these internal projects are listed, there's little information in the leaked files about what they actually do.

The exception is a tool called Sandshark which is mentioned in another document as a "Listening Post" software. For others, some of their functionality can be inferred from the techniques they borrowed.

The Umbrage team was also interested in the code leaked in 2015 from an Italian surveillance software company called Hacking Team. The company sold surveillance software for Windows, macOS, Linux and mobile operating systems to law enforcement and intelligence agencies. In some cases it also provided the exploits needed to remotely install the software on the targeted devices.

The leaked Umbrage documents suggest that the CIA's review effort first focused on the implementation of Hacking Team's "implants" for the Windows platform. The findings were interesting enough that the effort was later expanded to the full data dump and the code for all platforms.

There's no indication whether any of the code was actually repurposed in the end, but some comments in the the Umbrage internal wiki suggest that this was definitely a possibility.

"If one is interested in using some implementations found in the source code, it should be considered a best practice to extract the desired pieces, and thoroughly review and test the extracted pieces," the person who led the review wrote.

Planting false flags in malware is not a new development and it's one of the reasons why establishing accurate attribution for cyberattacks is nearly impossible. Seasoned malware analysts are always skeptical when someone attributes a cyberespionage campaign to a specific group or country with a high degree of confidence.

In October, researchers from Kaspersky Lab published a paper on the incidents of false flags in cyberespionage operations. Groups that are well known for such tactics include: APT28/Pawn Storm/Sofacy, the Russian cyberespionage group responsible for hacking into the U.S. Democratic National Committee last year and which some believe is linked to Russia's military intelligence agency -- the GRU; The Lazarus group, which some believe is linked to North Korea; Turla, another Russian origin cyberespionage group and Duqu, which is suspected to hail from Israel.

Ironically, the leaked CIA documents that specify which techniques the Umbrage team used might now actually help antivirus companies home in on the malware programs developed by the agency.

Join the newsletter!

Error: Please check your email address.
Rocket to Success - Your 10 Tips for Smarter ERP System Selection
Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Lucian Constantin

IDG News Service
Show Comments

Cool Tech

SanDisk MicroSDXC™ for Nintendo® Switch™

Learn more >

Breitling Superocean Heritage Chronographe 44

Learn more >

Toys for Boys

Family Friendly

Panasonic 4K UHD Blu-Ray Player and Full HD Recorder with Netflix - UBT1GL-K

Learn more >

Stocking Stuffer

Razer DeathAdder Expert Ergonomic Gaming Mouse

Learn more >

Christmas Gift Guide

Click for more ›

Most Popular Reviews

Latest Articles


PCW Evaluation Team

Edwina Hargreaves

WD My Cloud Home

I would recommend this device for families and small businesses who want one safe place to store all their important digital content and a way to easily share it with friends, family, business partners, or customers.

Walid Mikhael

Brother QL-820NWB Professional Label Printer

It’s easy to set up, it’s compact and quiet when printing and to top if off, the print quality is excellent. This is hands down the best printer I’ve used for printing labels.

Ben Ramsden

Sharp PN-40TC1 Huddle Board

Brainstorming, innovation, problem solving, and negotiation have all become much more productive and valuable if people can easily collaborate in real time with minimal friction.

Sarah Ieroianni

Brother QL-820NWB Professional Label Printer

The print quality also does not disappoint, it’s clear, bold, doesn’t smudge and the text is perfectly sized.

Ratchada Dunn

Sharp PN-40TC1 Huddle Board

The Huddle Board’s built in program; Sharp Touch Viewing software allows us to easily manipulate and edit our documents (jpegs and PDFs) all at the same time on the dashboard.

George Khoury

Sharp PN-40TC1 Huddle Board

The biggest perks for me would be that it comes with easy to use and comprehensive programs that make the collaboration process a whole lot more intuitive and organic

Featured Content

Product Launch Showcase

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?