Dark Reading is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

ABTV

10/21/2019
09:50 AM
Larry Loeb
Larry Loeb
Larry Loeb
50%
50%

Cylance Discovers WAV Files Can Hide Malware

BlackBerry Cylance threat researchers Anuj Soni, Jordan Barth and Brian Marks recently discovered obfuscated malware code that was embedded within WAV audio files.

BlackBerry Cylance threat researchers Anuj Soni, Jordan Barth and Brian Marks recently discovered obfuscated malware code that was embedded within WAV audio files. The technique is called steganography, and has been used by malware operators before. Security Now previously detailedits use in malware-containing PDF files.

The use of audio files for this purpose is relatively new, however. Each WAV file was found by Cylance to be coupled with a loader component for the decoding and execution of malicious content. Some of the WAV files contained code that was associated with the XMRig Monero CPU miner. Others included Metasploit code used to establish a reverse shell.

The researchers found different kinds of WAV file loaders. There were loaders that employ Least Significant Bit (LSB) steganography to decode and execute a Windows Portable Executable (PE) file, as well as a rand()-based decoding algorithm used to decode and execute a file.

Cylance notes that the same techniques were used when malware was found by Symantec in their June discovery of Waterbug/Turla threat actor activity.

For the first loader, code is hidden within the audio file using the Least Significant Bit (LSB) technique, where the right-most bit of an individual byte contains the data of interest. The researchers found that this loader contains hardcoded strings that specify the filename to load ("Song.wav") and, once decoded, the exported function to execute ("Start"). Upon execution, the loader was found to read Song.wav (assuming it is in the same directory), extract a DLL in memory, and execute the "Start" export. What emerges is an XMRig Monero miner.

The second category of loader uses a rand()-based decoding algorithm to hide PE files.

To load a WAV file with this loader the following command line is used: . Different from the WAV file used by the first loader, this audio file has legitimate headers but no music if it is played. The audio will sound like white noise.

This loader reads the file, extract a DLL in memory, and attempts to execute the specified entry point. The extracted file is again a XMRig Monero CPU miner.

The researchers summed up the situation thusly: "The malware authors used a combination of steganography and other encoding techniques to deobfuscate and execute code. These strategies allowed attackers to conceal their executable content, making detection a challenging task. In this case, attackers employed obfuscation to both perform cryptomining activities and establish a reverse connection for command and control. The similarities between these methods and known threat actor TTPs may indicate an association or willingness to emulate adversary activity, perhaps to avoid direct attribution." In short, threat actors are getting smarter about their methods and have no compunction about stealing ideas from others.

— Larry Loeb has written for many of the last century's major "dead tree" computer magazines, having been, among other things, a consulting editor for BYTE magazine and senior editor for the launch of WebWeek.

Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
COVID-19: Latest Security News & Commentary
Dark Reading Staff 7/6/2020
Ripple20 Threatens Increasingly Connected Medical Devices
Kelly Sheridan, Staff Editor, Dark Reading,  6/30/2020
DDoS Attacks Jump 542% from Q4 2019 to Q1 2020
Dark Reading Staff 6/30/2020
Register for Dark Reading Newsletters
White Papers
Video
Cartoon
Current Issue
How Cybersecurity Incident Response Programs Work (and Why Some Don't)
This Tech Digest takes a look at the vital role cybersecurity incident response (IR) plays in managing cyber-risk within organizations. Download the Tech Digest today to find out how well-planned IR programs can detect intrusions, contain breaches, and help an organization restore normal operations.
Flash Poll
The Threat from the Internetand What Your Organization Can Do About It
The Threat from the Internetand What Your Organization Can Do About It
This report describes some of the latest attacks and threats emanating from the Internet, as well as advice and tips on how your organization can mitigate those threats before they affect your business. Download it today!
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2020-15570
PUBLISHED: 2020-07-06
The parse_report() function in whoopsie.c in Whoopsie through 0.2.69 mishandles memory allocation failures, which allows an attacker to cause a denial of service via a malformed crash file.
CVE-2020-15569
PUBLISHED: 2020-07-06
PlayerGeneric.cpp in MilkyTracker through 1.02.00 has a use-after-free in the PlayerGeneric destructor.
CVE-2020-7690
PUBLISHED: 2020-07-06
It's possible to inject JavaScript code via the html method.
CVE-2020-7691
PUBLISHED: 2020-07-06
It's possible to use <<script>script> in order to go over the filtering regex.
CVE-2020-15562
PUBLISHED: 2020-07-06
An issue was discovered in Roundcube Webmail before 1.2.11, 1.3.x before 1.3.14, and 1.4.x before 1.4.7. It allows XSS via a crafted HTML e-mail message, as demonstrated by a JavaScript payload in the xmlns (aka XML namespace) attribute of a HEAD element when an SVG element exists.