July 10, 2017 By Larry Loeb 2 min read

NotPetya, a variant of the Petya ransomware, first came to the public wearing the ransomware label. It was spread through M.E.Doc accounting software servers, causing extensive damage to organizations in Ukraine and across the world.

Subsequent analysis by IBM showed that the payload was deficient in its ability to reconstitute the encoded data. Researchers classified the exploit as wiperware, not ransomware, and determined that its operators aimed to destroy the data rather than hold it hostage for financial gain.

Backdoors Installed Through Malicious M.E.Doc Updates

According to recent reports, the servers that injected the malware had been compromised three times before the final payload was spread. Cisco Talos reported that threat actors created a backdoor inside M.E.Doc disguised as a software update. Each of the three breaches masked an attempt to update a potential victim’s machine with different versions of the backdoor, and each version improved the backdoor’s efficiency.

“The result is an XML file that could contain several commands at once,” a researcher wrote for We Live Security. “This remote control feature makes the backdoor a fully featured cyberespionage and cybersabotage platform at the same time.”

Fraudsters also placed a PHP webshell on the compromised web server to establish direct control of the backdoor on infected machines. The server’s nginx.conf file accessed a different server to control the actual spread of the malware. A Ukrainian government official told Reuters that the server had not been patched in any significant way since 2013.

Bleeping Computer noted that threat actors likely belong to the TeleBots cybergang, which has been linked to electricity grid attacks in Ukraine.

What’s Next?

This sophisticated approach could enable cybercriminals to deliver destructive malware to the 80 percent of Ukranian businesses that use the accounting software. The Ukranian government seized the servers just as the cybergang was about to launch a second wave of attacks at the beginning of July.

The situation leaves a foul taste in the security palate: The operators gave up this specialized tool of great destruction, which should leave professionals wondering what they have waiting in the background to replace it.

More from

SoaPy: Stealthy enumeration of Active Directory environments through ADWS

10 min read - Introduction Over time, both targeted and large-scale enumeration of Active Directory (AD) environments have become increasingly detected due to modern defensive solutions. During our internship at X-Force Red this past summer, we noticed FalconForce’s SOAPHound was becoming popular for enumerating Active Directory environments. This tool brought a new perspective to Active Directory enumeration by performing collection via Active Directory Web Services (ADWS) instead of directly through Lightweight Directory Access Protocol (LDAP) as other AD enumeration tools had in the past.…

Smoltalk: RCE in open source agents

26 min read - Big shoutout to Hugging Face and the smolagents team for their cooperation and quick turnaround for a fix! Introduction Recently, I have been working on a side project to automate some pentest reconnaissance with AI agents. Just after I started this project, Hugging Face announced the release of smolagents, a lightweight framework for building AI agents that implements the methodology described in the ReAct paper, emphasizing reasoning through iterative decision-making. Interestingly, smolagents enables agents to reason and act by generating…

4 ways to bring cybersecurity into your community

4 min read - It’s easy to focus on technology when talking about cybersecurity. However, the best prevention measures rely on the education of those who use technology. Organizations training their employees is the first step. But the industry needs to expand the concept of a culture of cybersecurity and take it from where it currently stands as an organizational responsibility to a global perspective.When every person who uses technology — for work, personal use and school — views cybersecurity as their responsibility, it…

Topic updates

Get email updates and stay ahead of the latest threats to the security landscape, thought leadership and research.
Subscribe today