Now on Demand Ransomware Resilience & Recovery Summit - All Sessions Available
Connect with us

Hi, what are you looking for?

SecurityWeekSecurityWeek

Malware & Threats

Attackers Use Steganography to Obfuscate PDF Exploits

A recently discovered PDF exploit used steganography to hide malicious JavaScript code in images embedded in PDF files, according to exploit analysis firm EdgeSpot.

A recently discovered PDF exploit used steganography to hide malicious JavaScript code in images embedded in PDF files, according to exploit analysis firm EdgeSpot.

Steganography is a method of hiding information within files, and has been long used by cybercriminals in malicious attacks. The powerful exploit obfuscation technique allows threat actors to generate PDF documents that can bypass the detection of almost all anti-virus engines, EdgeSpot’s researchers say. 

The analyzed sample was initially submitted to VirusTotal in October 2017, but only one anti-virus engine was detecting it as an exploit last week, EdgeSpot says. The detection rate didn’t improve by much by the time the researchers completed their investigation.

The sample included two layers of obfuscation, one abusing two methods to read and execute the JavaScript hidden as “content,” and the other leveraging steganography to hide the code in stream-119. 

The attackers used the this.getIcon() and util.iconStreamFromIcon() PDF JS APIs that, when working together, can read the stream of an image named as “icon” stored in the PDF file. 

A “message” hidden in the icon’s stream was read and decoded, and then executed as Javascript code, via “eval(msg)“. The malicious code is heavily obfuscated, so as to avoid rising suspicion. 

To apply this technique to their documents, the attackers “likely copied a project/technique called “steganography.js”, which is open sourced,” EdgeSpot says.

The project was meant to target browsers, but the attackers likely modified it and successfully used it in the creation of malicious PDF samples. 

Advertisement. Scroll to continue reading.

“We could not find any information mentioning such technique in PDF exploits before, so we believe this is the first time that the ‘steganography’ technique is used to hide PDF exploits,” the security researchers say. 

The use of this malicious code obfuscation allows attackers to create PDF documents in which streams look normal and images are viewable, thus making everything seem legitimate. 

“The ‘steganography’ technique could not only be used to obfuscate this exploit (CVE-2013-3346) but also can be applied to many other PDF exploits including zero-days. We ask security defenders to pay close attention to it,” EdgeSpot concludes. 

Related: Sundown Exploit Kit Starts Using Steganography

Related: PDF Files Can Silently Leak NTLM Credentials

Related: Malicious PDF Leads to Discovery of Adobe Reader, Windows Zero-Days

Written By

Ionut Arghire is an international correspondent for SecurityWeek.

Click to comment

Trending

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts.

Join the session as we discuss the challenges and best practices for cybersecurity leaders managing cloud identities.

Register

SecurityWeek’s Ransomware Resilience and Recovery Summit helps businesses to plan, prepare, and recover from a ransomware incident.

Register

People on the Move

MSSP Dataprise has appointed Nima Khamooshi as Vice President of Cybersecurity.

Backup and recovery firm Keepit has hired Kim Larsen as CISO.

Professional services company Slalom has appointed Christopher Burger as its first CISO.

More People On The Move

Expert Insights

Related Content

Cybercrime

A recently disclosed vBulletin vulnerability, which had a zero-day status for roughly two days last week, was exploited in a hacker attack targeting the...

Cybercrime

The changing nature of what we still generally call ransomware will continue through 2023, driven by three primary conditions.

Malware & Threats

The NSA and FBI warn that a Chinese state-sponsored APT called BlackTech is hacking into network edge devices and using firmware implants to silently...

Cyberwarfare

An engineer recruited by intelligence services reportedly used a water pump to deliver Stuxnet, which reportedly cost $1-2 billion to develop.

Application Security

Virtualization technology giant VMware on Tuesday shipped urgent updates to fix a trio of security problems in multiple software products, including a virtual machine...

Malware & Threats

Apple’s cat-and-mouse struggles with zero-day exploits on its flagship iOS platform is showing no signs of slowing down.

Malware & Threats

Unpatched and unprotected VMware ESXi servers worldwide have been targeted in a ransomware attack exploiting a vulnerability patched in 2021.

Malware & Threats

Cisco is warning of a zero-day vulnerability in Cisco ASA and FTD that can be exploited remotely, without authentication, in brute force attacks.