November 12, 2018 By David Bisson 2 min read

An attack campaign conducted by the Cobalt Gang used a specially crafted PDF document to evade detection by static analysis tools.

Palo Alto Networks’ Unit 42 threat intelligence team observed the operation near the end of October 2018. The analyzed example used an email containing the subject line “Confirmations on October 16, 2018” to target employees at several banking organizations.

Attached to the email was a PDF document that didn’t come with an exploit or malicious code. Instead, an embedded link within the PDF document redirected recipients to a legitimate Google location which, in turn, redirected the browser to a Microsoft Word document containing malicious macros.

How Does the Cobalt Gang

At the time of discovery, the PDF attack bypassed nearly all traditional antivirus software. It was able to do so because the Cobalt Gang added some empty pages and pages with text to make the document look more authentic. These characteristics prevented the PDF from raising red flags with most static analysis tools.

Using specially crafted PDF documents isn’t the only way that digital attackers can fly under the radar. For instance, plenty don’t even use exploits and instead turn to spear phishing emails that leverage social engineering techniques.

Those that do use exploits can conduct their attacks with the help of tools like ThreadKit, a document exploit builder kit. These utilities enable individuals with low levels of technical expertise to get into the world of digital crime without forcing threat actors to come up with potentially attributable custom build processes for their attack documents.

How to Protect Against This PDF Attack

Security professionals can defend against this latest attack campaign from the Cobalt Gang by analyzing flagged PDF documents for base64-encoded strings, JavaScript keywords and other content that might be indicative of malspam. They should also use a ranking formula to prioritize vulnerabilities by risk so that they can close security weaknesses before exploit documents have a chance to abuse them.

Source: Palo Alto Networks

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