DarkMe RAT Campaign Uses Phishing and PIF Files Instead of Exploits

· Original article ↗

Summary

Huntress analyzed two DarkMe infections delivered through phishing emails and disguised PIF files. The campaign uses a multi-stage VB6 loader, custom protocol-handler persistence, and process hollowing, with technical indicators and detection guidance provided.

Key points

  • Huntress identified DarkMe in two customer environments on August 31, 2026; users were tricked into running a PIF file linked from email.
  • The PIF downloaded a remote MSI, which unpacked scripts and three VB6 loader DLLs before launching the RAT.
  • Unlike earlier DarkMe campaigns that used WinRAR and SmartScreen vulnerabilities, this campaign relied on social engineering rather than exploits.
  • The malware registers a custom Locked:// protocol handler and a Run key to persist and obscure its launch through Explorer.
  • A process gate checks for 329 user applications; the final loader hollows a signed Microsoft clspack.exe copied into AppData.
  • The RAT can steal cryptocurrency wallets, capture screenshots, enumerate antivirus products, manipulate files, and execute commands.
  • Huntress reported C2 at thatawful[.]boutique and 67.43.50[.]11:7712, and recommended hunting for the execution chain and removing the malware’s files and persistence.

Article Details

Attack Vectors
  • A phishing email linked to a URL presented as an image; the server delivered an executable PIF file instead.
  • The PIF launched msiexec to download and quietly run an MSI installer from attacker-used infrastructure.
  • The MSI extracted files and ran a WSF staging script, which registered a COM server and invoked it through rundll32.exe /sta.
  • The malware checked running processes for user applications and exited if none of its listed applications were found.
  • The loaders registered a custom Locked:// protocol handler and a Run key that launched explorer.exe with that URI to restore execution at logon.
  • The final loader decrypted a payload and used process hollowing to run it inside a signed clspack.exe copied to the user's AppData directory.
Defensive Notes
  • Alert on rundll32.exe invoked with /sta and a GUID but no DLL path, and on msiexec fetching a remote MSI through a URL argument to /i.
  • Alert on reg.exe importing files from user-writable locations and on wscript.exe or cscript.exe running WSF files from AppData, especially when they launch reg.exe or rundll32.exe.
  • Monitor execution of PIF files and signed Microsoft binaries such as clspack.exe running from AppData instead of System32 or SysWOW64.
  • Inspect nonstandard protocol handlers under HKCU\Software\Classes\*\shell\open\command and Run-key entries that invoke explorer.exe with a custom URI scheme.
  • Monitor outbound TCP port 7712 for possible DarkMe C2 traffic.
  • For remediation, isolate affected hosts, terminate the hollowed clspack.exe process, remove the staging files and persistence registrations, and reset affected-user credentials; treat cryptocurrency wallets used on the host as compromised.

Indicators of compromise

TypeIndicatorContext
DOMAINadvancedfuturetechnology[.]comIdentified as a host that served the malicious PIF payload during the campaign.
DOMAINmegchartedbk7[.]comDomain reported to resolve to the same IP as the DarkMe C2 server.
DOMAINonlineview365[.]comAttacker-used MSI staging host for the DarkMe infection chain.
DOMAINreadonline365[.]comMalicious delivery host that served the PIF payload.
DOMAINsharedfuturetech[.]comIdentified as a host that served the DarkMe payload and later hosted a separate malicious ClickFix lure.
DOMAINstorageonline[.]meIdentified as a host serving the malicious PIF delivery campaign.
DOMAINthatawful[.]boutiqueDarkMe C2 domain recovered by decrypting the malware's configuration.
DOMAINviewdocument[.]liveIdentified as a host serving the malicious PIF delivery campaign.
IPV467[.]43[.]50[.]11DarkMe C2 server IP; the malware communicated with it over TCP port 7712.
SHA2561c923c685f97e556f241d0f1880283500a61dc7ecae8cafe75f34c720ff6b918Hash of the malicious prnfig.wsf staging script.
SHA2562915efecf2a01ce0b3ef49c47666ec43c326e7804df10e5859db5f08eeca8a37Hash listed for the signed clspack.exe binary hollowed to host the DarkMe payload.
SHA2563052352ac811c48590f0239281312c35560fc06b4dc39790e365eb1e7cab8634Hash of the DarkMe stage-2 loader, Use.dll.
SHA256394c93dfbb7581c66a23c52b20cd90b31415c0825a2eab7107e60ee3fe693c04Hash of the malicious image.pif initial dropper.
SHA2564a18f65ab7de7be385cbcebc78c9ae49334294f93726822b8900f9b7a324a6b0Hash of the DarkMe stage-1 COM loader, Coconout.dll.
SHA25652b242047a8055c0936b384b952c1c16c1072a590610140b01f4acefa8ae883aHash of filetext2.txt, used to import the malicious COM registration.
SHA25654ed18aa883b53794810be0428b3a0167758183c5b3ba5660af747dc81dd5b76Hash of the encrypted DarkMe payload stored as company.cer.
SHA2569fb5888f9ac99227a35f3e08ca08bfb9eed676e1f91638599eba0d7a5aac847fHash of the exemsi-wrapped MSI used to stage the DarkMe loaders.
SHA256d7185bd7b450b478c793ece3025bdd867eed70bb7b739a5f26375b5ba6cf0d93Hash of the DarkMe stage-3 loader, Finalized.dll.
URLhxxps[:]//onlineview365[.]com/propi[.]msiURL used by the PIF to download the malicious staging MSI.
URLhxxps[:]//readonline365[.]com/view/image[.]pngPhishing-link URL that delivered the malicious image.pif file.

MITRE ATT&CK

T1027 · Obfuscated Files or InformationLoader strings were hex-encoded, and the payload and C2 configuration were encrypted.T1036.008 · Masquerade File TypeThe PIF was presented through a link ending in image.png and disguised as an image.T1055.012 · Process HollowingThe loader hollowed a signed clspack.exe process and ran the DarkMe payload inside it.T1057 · Process DiscoveryUse.dll enumerated running processes to check for applications on its 329-name list.T1059.003 · Windows Command ShellThe staging chain used cmd.exe to import the generated registry file and invoke rundll32.exe.T1059.005 · Visual BasicThe installer ran the prnfig.wsf staging script, identified in the article as a VBScript.T1082 · System Information DiscoveryFinalized.dll gathered host, hardware, service, policy, display, and locale information for a profile report.T1095 · Non-Application Layer ProtocolThe RAT used a custom TCP channel for remote file manipulation and command execution.T1112 · Modify RegistryThe staging script and loader modified registry values for COM registration and persistence.T1113 · Screen CaptureThe reported DarkMe capabilities included screenshot capture via GDI+.T1140 · Deobfuscate/Decode Files or InformationFinalized.dll decrypted the payload before passing it to the process-hollowing routine.T1204.002 · Malicious FileUsers downloaded and double-clicked the PIF file, initiating execution.T1218.007 · MsiexecThe PIF invoked msiexec to download and execute a remote MSI installer.T1218.011 · Rundll32The loader used rundll32.exe /sta with a CLSID to invoke the registered COM loader.T1497.001 · System ChecksThe malware used an application-presence gate described as an anti-sandbox and VM check.T1518.001 · Security Software DiscoveryThe malware queried installed antivirus products through WMI.T1547.001 · Registry Run Keys / Startup FolderUse.dll created a user Run key that launched explorer.exe with the Locked://Newest URI at logon.T1566.002 · Spearphishing LinkA phishing email linked to a URL that delivered the malicious PIF.

CVE

People

Threat Actors

Malware

Vendors

Products

Tools

Industries

Related Articles