Analysis Details Agent Tesla Campaign Using Process Hollowing to Steal Credentials

· Original article ↗

Summary

Fortinet's analysis traces an Agent Tesla campaign from spearphishing and a JScript loader through encrypted PowerShell, reflective .NET loading and process hollowing, then virtualization checks and theft of browser cookies and credentials.

Key points

  • The campaign starts with a business-themed spearphishing email carrying a RAR attachment with a JScript (.jse) loader.
  • The loader downloads an encrypted PowerShell stage from catbox[.]moe.
  • The PowerShell stage drops Base64-encoded .NET assemblies and uses reflective loading and process hollowing against Aspnet_compiler.exe.
  • The malware queries WMI for VMware, VirtualBox and Hyper-V indicators, and may stop if it detects a virtualized environment.
  • The analysis says Agent Tesla harvests browser cookies and credentials from local stores; SMTP is indicated as an exfiltration method.
  • The article lists file hashes, the stage download URL and a mail server as indicators, and describes Fortinet products as defenses against several stages.

Article Details

Attack Vectors
  • A business-themed spearphishing email, with a RAR attachment containing a JScript (.jse) loader, initiates the infection.
  • The loader downloads an encrypted PowerShell stage from catbox[.]moe.
  • The PowerShell stage reflectively loads Base64-encoded .NET assemblies and uses process hollowing against Aspnet_compiler.exe.
  • Agent Tesla probes for virtualization indicators through WMI and may stop if it detects a sandbox or virtualized environment.
  • The malware harvests browser cookies and credentials from local stores and can exfiltrate stolen data over SMTP.
Defensive Notes
  • The article says FortiMail can detect and block phishing emails and strip malicious RAR/JSE attachments; FortiSandbox-based anti-phishing protection is also described.
  • The article says FortiEDR detects and stops process hollowing and memory-based attacks, while FortiGate can block malicious downloads.
  • The article describes FortiGuard CDR on FortiGate and FortiMail as removing active code from documents while preserving usability.
  • The article says FortiGuard IP Reputation and Anti-Botnet Security Service can block infrastructure associated with the campaign.

Indicators of compromise

TypeIndicatorContext
DOMAINmail[.]taikei-rmc-co[.]bizMail/C2 server identified as campaign infrastructure.
SHA25630713c4bfc813848b3ec28eb227d2e439be0e07c77237498553fd5dfa745f278SHA-256 hash identified for the stage 2 PowerShell script.
SHA25683f9c6a3978d926f2c0155e22008c1bce6510b321031598509a2937add2d5a54SHA-256 hash identified for the first encrypted PowerShell stage.
SHA256b133d75de5010c3a5005606a8e682a08c413364a3921dfbdfbfdde811a866e88SHA-256 hash identified for the Agent Tesla payload.
SHA256cc2b26bbcbaa2d0593e15a45734fe3fd940451fc7290d49bc841c496b906a9c1SHA-256 hash identified for the PO0172.jse loader.
URLhxxps[:]//files[.]catbox[.]moe/2x0j75[.]ps1Download URL identified for the campaign's encrypted PowerShell stage.

MITRE ATT&CK

Malware

Vendors

Products

FortiEDRFortinet protections (FortiMail, FortiEDR, FortiGate, FortiGuard services) are noted as capable of blocking various stages including phishing, memory-based attacks, malicious downloads, and malicious attachments.FortiGuard CDRThe FortiGuard CDR (Content Disarm and Reconstruction) service, available on both FortiGate and FortiMail, can neutralize malicious content embedded in documents by removing active code while preserving documentFortiGuard IP Reputation and Anti-Botnet Security ServiceThe FortiGuard IP Reputation and Anti-Botnet Security Service proactively blocks infrastructure associated with this campaign by correlating malicious IP intelligence collected from Fortinet’s global sensor network,FortiMailFortinet protections (FortiMail, FortiEDR, FortiGate, FortiGuard services) are noted as capable of blocking various stages including phishing, memory-based attacks, malicious downloads, and malicious attachments.Fortinet FortiGateFortinet protections (FortiMail, FortiEDR, FortiGate, FortiGuard services) are noted as capable of blocking various stages including phishing, memory-based attacks, malicious downloads, and malicious attachments.FortiPhish Phishing Simulation ServiceThe FortiPhish phishing simulation service further supports user resilience by actively training and testing end users against real-world phishing techniques, including impersonation, Business Email Compromise (BEC),FortiSandboxIn addition, real-time anti-phishing protection provided by FortiSandbox, embedded across Fortinet’s FortiMail, web filtering, and antivirus solutions, enables advanced detection of both known and unknown phishingMicrosoft WindowsAffected Platforms: Microsoft Windows

Related Articles