CVE-2024-3400: PAN-OS Command Injection Vulnerability in GlobalProtect Gateway. Learn More

CVE-2024-3400: PAN-OS Command Injection Vulnerability in GlobalProtect Gateway. 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

Sextortion Scam Now With Malicious Downloader

Sextortion scams were a hit campaign last year and are continuing in  2019 with a new trick – the inclusion of an archive attachment which contains a malicious JavaScript downloader as “proof”.

Compared to previous spams, the email body contains just a small snippet of the sextortion – a claim that the sender hacked and had access to the recipients’ photos, videos, contacts, and camera recordings. To make it more believable, the attackers attached an archive which serves as “proof” to their claim.

The samples below are in Italian, we translated parts of them for clarity.

Email_zip_translation
Figure 1: Sextortion email sample where the attachment is a password protected ZIP
 
Email_ace
Figure 2: Sextortion email sample where the attachment is an ACE archive which does not require a password

 

The attached archive contains two files – a PDF file “personalmente.pdf” and a JavaScript file “prove_12.js”.

The PDF file “personalmente.pdf” contains the details of the sextortion. The text of the ruse suggests that through malware installed on the recipient’s computer, the hackers were able to gain access to data, and, that the recipient should pay bitcoins to the sender to not release the captured video.

Pdf
Figure 3: The PDF file “personalmente.pdf” inside the attached archive

 

The second file in the archive is an obfuscated JavaScript. This file will silently run a PowerShell command to download an executable file, save it to the temp folder, and execute it.

6a0133f264aa62970b022ad3ddd143200b6a0133f264aa62970b022ad3ddd143200b
Figure 4: The obfuscated JavaScript file “prove_12.js”

 

The PowerShell command is split into an unordered array. A gibberish string is inserted in between some of the characters to make the split command more unreadable. The JavaScript has its own deobfuscation routine to fix the PowerShell command.

Prove_js_obfuscation
Figure 5: The deobfuscation routine of the JavaScript file “prove_12.js”
 
Ps_code
Figure 6: The PowerShell command from the JavaScript “prove_12.js” will download hxxp://link[.]chillgro[.]com/status[.]exe then save and execute it as %temp%\bAF37.exe


The content at the download URL is no longer accessible as of this writing.

The wider news here is that sextortion is a big thing right now, with several groups behind different campaigns. This one takes it a step further and includes a malware that serves as a door for other malware to be installed in the computer. If you happen to get one in your inbox, ignore it, and chances of it being real are remote.

 

IOC

personalmente.pdf (137332 bytes)
SHA1: 5F851EA45C463F0ADD46F79D998B0EDC5AF71B34

prove_12.js (8011 bytes)
SHA1: BD90191B49B93FB4F1D2FC47D320E04466DFC4A0

Latest SpiderLabs Blogs

CVE-2024-3400: PAN-OS Command Injection Vulnerability in GlobalProtect Gateway

Overview A command injection vulnerability has been discovered in the GlobalProtect feature within Palo Alto Networks PAN-OS software for specific versions that have distinct feature configurations...

Read More

CNAPP, CSPM, CIEM, CWPP – Oh My!

We all know the cybersecurity industry loves its acronyms, but just because this fact is widely known doesn’t mean everyone knows the story behind the alphabet soup groups of letters, we must deal...

Read More

Phishing Deception - Suspended Domains Reveal Malicious Payload for Latin American Region

Recently, we observed a phishing campaign targeting the Latin American region. The phishing email contained a ZIP file attachment that when extracted reveals an HTML file that leads to a malicious...

Read More