Trustwave SpiderLabs Uncovers Unique Cybersecurity Risks in Today's Tech Landscape. Learn More

Trustwave SpiderLabs Uncovers Unique Cybersecurity Risks in Today's Tech Landscape. Learn More

Services
Capture
Managed Detection & Response

Eliminate active threats with 24/7 threat detection, investigation, and response.

twi-managed-portal-color
Co-Managed SOC (SIEM)

Maximize your SIEM investment, stop alert fatigue, and enhance your team with hybrid security operations support.

twi-briefcase-color-svg
Advisory & Diagnostics

Advance your cybersecurity program and get expert guidance where you need it most.

tw-laptop-data
Penetration Testing

Test your physical locations and IT infrastructure to shore up weaknesses before exploitation.

twi-database-color-svg
Database Security

Prevent unauthorized access and exceed compliance requirements.

twi-email-color-svg
Email Security

Stop email threats others miss and secure your organization against the #1 ransomware attack vector.

tw-officer
Digital Forensics & Incident Response

Prepare for the inevitable with 24/7 global breach response in-region and available on-site.

tw-network
Firewall & Technology Management

Mitigate risk of a cyberattack with 24/7 incident and health monitoring and the latest threat intelligence.

Solutions
BY TOPIC
Microsoft Exchange Server Attacks
Stay protected against emerging threats
Rapidly Secure New Environments
Security for rapid response situations
Securing the Cloud
Safely navigate and stay protected
Securing the IoT Landscape
Test, monitor and secure network objects
Why Trustwave
About Us
Awards and Accolades
Trustwave SpiderLabs Team
Trustwave Fusion Security Operations Platform
Trustwave Security Colony
Partners
Technology Alliance Partners
Key alliances who align and support our ecosystem of security offerings
Trustwave PartnerOne Program
Join forces with Trustwave to protect against the most advance cybersecurity threats
SpiderLabs Blog

Latest Flash 0-Day (CVE-2018-15982) Leaves its Office Doc Friend Behind

CVE-2018-15982 is the Flash 0day that was patched by Adobe at the beginning of December. At the time it was used by an APT group with the delivery mechanism being an Office document with the malicious Flash file residing inside, Qihoo360 published a good analysis of this attack.

Researchers who looked into the exploit speculated that it would be trivial to repurpose the exploits for a different attack, and it appears that they were right.

On our end, what we encountered was a variation that did not make use of an Office document as the initial vector. Instead, this is full drive-by download attack. We’ve started seeing this CVE being integrated into exploit kits where the Office document is also left out of the equation, but in our case, the CVE is completely standalone on a domain.

What’s worrying about this case is that despite its relative simplicity it seems that not a lot of security engines out there seem to block it, and two of the four engines that blocked it marked it as “Phishing”:

Picture1Figure 1: VirusTotal scan results for the malicious URL

We checked the URL against various security engines out there when we first discovered it, and it seems to have gone largely ignored by some:

Picture2Figure 2: Symantec Norton SafeWeb scan results for the malicious URLs

The site remained “untested” for a few days, but about a week later we returned to find it being cautioned against, but once again confusingly for being a phishing site and “identity threats”, despite it delivering a malicious Flash:

Picture3Figure 3: Symantec Norton SafeWeb scan results after roughly a week

Unfortunately, by that point when we checked again the original site was already down.

 

This curious trend of the site being marked as phishing continued with some inconclusive results by zscaler’s online URL scanner:

Picture4Figure 4: Schrödinger's URL - Simultaneously a phishing page, and not a phishing page

Now, a distinction between a Phishing URL and a malicious one is important in terms of incident response- there is a difference between warning an organization that credentials may have been disclosed and that the organization may be compromised with malicious code running within it. But putting this aside, a quick technical overview of the page leaves an open question as to why such a simple page doing nothing but load a malicious Flash file is flagged as phishing to begin with.

 

Technical Overview

Picture5Figure 5: Traffic log from the malicious site

“gupa.swf” (MD5: cdbbdc5a317d25e92912e1da166f3107) is the offending Flash file, and in Figure 1 we can see indicators of the successful exploitation attempt as the shellcode attempts to download a file by the name of “in.exe”.

Unfortunately, the payload was no longer available at the time when we went back to examine it, but a snippet of code from gupa.swf definitely shows that their intention was to perform a download-and-execute post exploitation:

 

Picture6Figure 6: shellcode from gupa.swf trying to run a malicious executable

 

These days we’ve also grown to expect heavy amounts of evasion and obfuscation of most malicious content, so if you’re wondering what else the page may have been doing to get it flagged as phishing, the answer is not much at all:

Picture7Figure 7: Source code of the malicious page

 

Perhaps it is this simplicity that had the site and the malicious flash flying under the radar…

 6a0133f264aa62970b022ad3d95577200b-pi

Figure 8: Trustwave SWG blocking the malicious URL

 

Trustwave SWG customers are protected against this attack.

Latest SpiderLabs Blogs

Why We Should Probably Stop Visually Verifying Checksums

Hello there! Thanks for stopping by. Let me get straight into it and start things off with what a checksum is to be inclusive of all audiences here, from Wikipedia [1]:

Read More

Agent Tesla's New Ride: The Rise of a Novel Loader

Malware loaders, critical for deploying malware, enable threat actors to deliver and execute malicious payloads, facilitating criminal activities like data theft and ransomware. Utilizing advanced...

Read More

Evaluating Your Security Posture: Security Assessment Basics

This is Part 4 in my ongoing project to cover 30 cybersecurity topics in 30 weekly blog posts. The full series can be found here.

Read More