Beware of New Campaign that Delivers Sophisticated Malware Through PDF Files

Recently, the security experts at HP Wolf Security have discovered a new way to use PDF attachments to distribute malware via the internet. In this case, malicious Word documents are delivered through PDF attachments.

It is rather uncommon to receive malicious email attachments in PDF format, as all most often malicious emails are delivered as docx or xls files with embedded malware-loading macros. 

Threat actors are turning to other methods to deploy malicious macros and evade detection as people become aware of the danger of opening Microsoft Office attachments containing malicious macros.

Implanting Malicious Word Docs in PDFs

It appears that the email body of the PDF document that arrived by email is filled with vague promises. While the PDF is named “Remittance Invoice,” and based on its title and contents, it appears that the recipient will receive payment. 

The DOCX file contains the same content as the PDF file, therefore Adobe Reader prompts the user to open the DOCX file, which might be confusing to the victim.

The Open File prompt below provides the following information because the threat actors named the embedded document “has been verified”:-

If you receive this message, you would probably feel comfortable opening the file as it has been legitimately validated by Adobe and can be opened safely.

Although malware analysts utilize tools like parsers and scripts to inspect embedded files in PDFs, the average user wouldn’t even know how to start looking at them or know where to start if they receive these tricky e-mails.

A DOCX file is usually opened in Microsoft Word by users in most cases rather than a different program. So, if macros are enabled, DOCX files in Microsoft Word will be downloaded into RTF format from a remote resource.

In the Word file, there is a command embedded with the URL for where the payload is located, which will result in the download of the RTF.

Old RCE Exploitation

It is found that an OLE object has been malformed in the RTF file titled “f_document_shp.doc”, which makes it difficult to analyze. 

HP’s analysts were able to determine that it attempts to exploit a vulnerability in Microsoft Equation Editor in order to run arbitrary code after some targeted reconstruction is done.

In this case, the shellcode is exploiting the following vulnerability:-

  • CVE-2017-11882

Despite being fixed in November 2017, Equation Editor still exhibits a remote code execution vulnerability that must be dealt with immediately if not removed.

You can follow us on Linkedin, Twitter, Facebook for daily Cybersecurity and hacking news updates.

Gurubaran

Gurubaran is a co-founder of Cyber Security News and GBHackers On Security. He has 10+ years of experience as a Security Consultant, Editor, and Analyst in cybersecurity, technology, and communications.

Recent Posts

Hackers Use ConnectWise SkyKick Credentials to Access Microsoft 365, Halting Cloud Backups

Attackers abused compromised ConnectWise Cloud Backup credentials to access Microsoft 365 customer environments, prompting ConnectWise…

1 day ago

Anthropic’s Claude AI Uncovers Origins of NSA-Provided Cryptographic Keys After 25 Years

Anthropic says an internal Claude research model reconstructed how the National Security Agency generated seeds…

1 day ago

Critical WordPress Flaws Allow Attackers to Execute Remote Code Without Authentication

Two WordPress Core vulnerabilities can be chained to execute remote code without authentication, according to…

1 day ago

OpenBSD Kernel Flaw Dating Back 37 Years Enables Local Privilege Escalation to Root

A newly disclosed OpenBSD kernel exploitation chain combines a shared memory accounting flaw with a…

1 day ago

GhostAction Hackers Hide Credential-Stealing Malware in Fake Font Files Across 94 GitHub Repositories

GhostAction attackers have expanded their GitHub credential theft campaign with a second stage that disguises…

1 day ago

SideCopy Hackers Target Indian Organizations With ReverseRAT Malware to Steal Data

Indian authorities have warned that SideCopy hackers are targeting Indian organizations, including academic institutions, with…

2 days ago