Open Directories Used to Deliver AsyncRAT and Cobalt Strike-Linked Malware

· Original article ↗

Summary

Hunt describes two open-directory malware delivery cases: one involving AsyncRAT and BITS, and another using a Python executable and Fernet-encrypted shellcode detected as Cobalt Strike-related.

Key points

  • One open directory hosted AsyncRAT and a VBScript that used Microsoft BITS to download f.jpg from the same server.
  • The f.jpg file was identified as a ZIP archive containing nine additional files.
  • A second open directory hosted a Supershell login page and files including a 10 MB executable and encrypted or encoded data.
  • Analysis of the executable found compiled Python code using Fernet to decrypt data and a function that downloaded a.txt.
  • The decrypted Python script decrypts shellcode in memory and executes it.
  • VirusTotal and Triage detected the executable and shellcode as part of the Cobalt Strike penetration testing tool.
  • The article notes that exposed directories can serve as an initial malware-delivery point and lists additional IP-and-port examples for hunting.

Article Details

Attack Vectors
  • Open directories hosted malware and related files for download.
  • A VBScript-created XML file runs a PowerShell command that uses Microsoft BITS to download f.jpg from the same server.
  • The article says the text file could be delivered through a crafted email or other means; phishing is also discussed as a possible delivery method for 1.exe.
  • 1.exe downloads a.txt from the open directory; the resulting Python script decrypts shellcode in memory and executes it.
Defensive Notes
  • Monitor exposed open directories for suspicious files and malware-delivery activity.
  • Inspect scripts and files hosted in open directories before opening or executing them; the article describes crawling and reading files for analysis.
  • Investigate the listed IP addresses as hunting leads.

Indicators of compromise

TypeIndicatorContext
IPV4111[.]230[.]26[.]98Address listed by the article as an example for further hunting.
IPV4121[.]37[.]21[.]229Malicious IP address reported as hosting a Supershell login page and files in an open directory.
IPV4167[.]235[.]78[.]69Address listed by the article as an example for further hunting.
IPV4172[.]232[.]207[.]208Address listed by the article as an example for further hunting.
IPV4185[.]241[.]208[.]159Address listed by the article as an example for further hunting.
IPV4185[.]81[.]157[.]103Address listed by the article as an example for further hunting.
IPV4185[.]81[.]157[.]12Address listed by the article as an example for further hunting.
IPV4185[.]81[.]157[.]244Address listed by the article as an example for further hunting.
IPV4185[.]81[.]157[.]252Address listed by the article as an example for further hunting.
IPV4207[.]32[.]217[.]21Malicious IP address reported as hosting AsyncRAT and an open directory containing delivery files.
IPV435[.]225[.]65[.]204Address listed by the article as an example for further hunting.

MITRE ATT&CK

Malware

Tools

Related Articles