October 9, 2018 By David Bisson 2 min read

Threat actors are increasingly using a Delphi packer to shield their binaries from malware classification by antivirus software and other security solutions.

FireEye analyzed several samples carrying the “BobSoft Mini Delphi” signature and determined that the samples were consistent with Delphi code constructs. These findings revealed that the malware binaries had been packed using a Delphi packer.

The enterprise security firm observed the packed samples being dropped in various spam campaigns. One operation used an attached document with malicious macros to download the malware. Another leveraged a document that exploited an equation editor vulnerability to deploy its packed payload.

In its analysis, FireEye came across at least eight malware families using the Delphi packer for their campaigns. Lokibot was by far the most prominent, followed by the Pony downloader and NanoCore. Researchers also spotted a cryptomining threat called CoinMiner using the packer.

How Do Malicious Actors Avoid Malware Classification?

The Delphi packer is just the latest cybercriminal effort to prevent malware from being detected or reverse engineered. Attackers do this by concealing their payloads with code that’s not strictly malicious. In particular, packers use a technique called executable compression to make their files smaller. The Delphi packer adds on to this functionality by monitoring windows and mouse cursor movement for signs of a sandbox environment, in which case it puts itself into an infinite sleep.

Packers aren’t the only services that bad actors use to hide their malware. Malwarebytes noted that cybercriminals also turn to crypters, which use obfuscation or actual encryption to make their payloads undetectable, and protectors, which block reverse engineering attempts.

How to Protect Against Packed Malware

According to FireEye, security professionals can protect their organizations against packed malware by using sandbox environments that model real user behavior. The threat advisory on IBM X-Force Echange advises users to update their antivirus software and verify the legitimacy of any unsolicited email attachment. Finally, security personnel should analyze threat intelligence to learn about the latest packers that are available in dark web marketplaces.

Sources: FireEye, Malwarebytes

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