Huntress Traces Targeted Phishing Attack to XWorm Malware

· Original article ↗

Summary

Huntress traced a likely phishing infection from a tax-themed archive and Windows shortcut to an XWorm loader. The attack used a decoy W-2 PDF while downloading and launching malware, which established persistence with a scheduled task.

Key points

  • A tax-themed archive in a user’s Downloads folder contained a Windows shortcut that launched PowerShell and mshta.exe to retrieve a remote HTA file.
  • The HTA led to a BITS job that downloaded a batch file, which opened a decoy W-2 PDF while extracting and launching a remote access Trojan.
  • Huntress analysts identified the executable as a Go-written loader carrying XWorm; the file had substantial trailing zero padding.
  • The XWorm sample created a scheduled task named “mail” to establish persistence. Huntress reported no observed credential access, lateral movement, exfiltration, or impact.
  • Huntress notified the customer and advised removing the downloaded archives and extracted files.
  • The incident illustrates how targeted tax-themed lures can blend into expected business activity, and the article recommends pairing security awareness training with EDR or MDR.

Article Details

Attack Vectors
  • Likely targeted phishing delivered a ZIP archive disguised as routine tax-related business material.
  • A Windows shortcut in the archive launched an obfuscated PowerShell command that invoked mshta.exe to retrieve an HTA file.
  • The HTA led to a BITS Client job that downloaded and executed a batch file. The batch downloaded and opened a W2 PDF decoy while extracting and launching a remote access Trojan from an archive.
  • The Go-written loader carried an XWorm executable locally rather than downloading it from the Internet; the loader was padded with zeros to hinder analysis.
Defensive Notes
  • Huntress advised the customer to remove all archives and extracted files to remediate the infection.
  • The article recommends pairing security awareness training with an EDR or MDR technical backstop.

Indicators of compromise

TypeIndicatorContext
DOMAINtransfer[.]shFile-transfer service domain used in the observed payload-download commands.
URLhxxps[:]//transfer[.]sh/get/RzbMK13oyI/p.htaURL embedded in the shortcut command to retrieve the HTA payload.

MITRE ATT&CK

People

Malware

Vendors

Products

Related Articles