# Dust Specter APT — Iran-Nexus Targeting Iraqi Government Officials with TWINTASK/GHOSTFORM Malware

> Zscaler ThreatLabz discovered a suspected Iran-nexus threat actor dubbed Dust Specter targeting government officials in Iraq with previously undocumented malware including SPLITDROP dropper, TWINTASK worker module, TWINTALK C2 orchestrator, and GHOSTFORM consolidated backdoor. The campaign uses password-protected RAR archives, VLC DLL sideloading, file-based command polling, and Arabic-language Google Form lures masquerading as Iraqi Ministry of Foreign Affairs surveys.

- **Published:** 2026-03-02T19:17:00Z
- **Last reviewed:** 2026-03-02T19:17:00Z
- **Canonical:** https://intel.threadlinqs.com/threat/TL-2026-0170
- **Card image:** https://intel.threadlinqs.com/og/threat/threat-intel-dust-specter-iraq-espionage-tl-2026-0170.webp?v=fea557a0 (Threadlinqs threat intel: Dust Specter TWINTASK Malware: Detection & IOCs (TL-2026-0170) — High severity, 21 IOCs, 9 detection rules.)
- **ID:** TL-2026-0170
- **Severity:** HIGH
- **Category:** APT
- **Status:** ACTIVE
- **Actor:** Dust Specter (Iran)
- **Detections:** 9 (1 shown free below) · **IOCs:** 21

## Description

Dust Specter is a previously unreported, suspected Iran-nexus advanced persistent threat actor discovered by Zscaler ThreatLabz targeting government officials in Iraq. The campaign deploys four previously undocumented malware components — SPLITDROP, TWINTASK, TWINTALK, and GHOSTFORM — through two distinct attack chains that demonstrate sophisticated operational security and stealth.

Attack Chain 1 begins with a password-protected RAR archive named 'mofa-Network-code.rar' (password: 92,110-135_118-128) containing a 32-bit .NET binary disguised as a WinRAR application. This binary, dubbed SPLITDROP, functions as an AES-256-CBC encrypted dropper that prompts the victim for a password, then decrypts an embedded resource (CheckFopil.PolGuid.zip) using PBKDF2 with HMAC-SHA1 (10,000 iterations, 256-bit key) derived from the entered password. Upon successful decryption, SPLITDROP extracts contents to C:\ProgramData\PolGuid\ and displays a deceptive error message ('The download did not complete successfully') while operating in the background.

SPLITDROP then launches a legitimate VLC media player binary (VLC.exe) from the extracted directory, which sideloads a malicious DLL named libvlc.dll — the TWINTASK component. TWINTASK is a worker module that enters an infinite polling loop every 15 seconds, checking C:\ProgramData\PolGuid\in.txt for Base64-encoded commands. It strips the first character (an anti-analysis measure), decodes the remaining Base64, and executes the result via PowerShell with a 600-second timeout. Output and errors are captured to C:\ProgramData\PolGuid\out.txt.

TWINTASK's initial in.txt comes prepopulated with commands that establish persistence via HKCU\Software\Microsoft\Windows\CurrentVersion\Run registry keys for both VLC.exe and WingetUI.exe, and launches the second sideloading chain. WingetUI.exe (a legitimate graphical package manager interface) sideloads hostfxr.dll — the TWINTALK C2 orchestrator.

TWINTALK is a 32-bit .NET DLL that implements the C2 communication protocol. It generates unique bot IDs stored in programTemp.log, constructs requests with runtime-generated URI paths using random hex strings with checksums (seeded 0xABCDEF), and authenticates using JSON Web Tokens (JWT) signed with HS256 and a single underscore character as the secret. The JWT iat field stores bot ID and version, camouflaging the beacon as a standard timestamp. TWINTALK uses randomized beaconing delays (108-180 seconds base, with -10% to +50% jitter) and the C2 server randomizes JSON response key names on each response to evade pattern-matching detection. TWINTALK supports three command types: command execution (type 0, via file-based coordination with TWINTASK), file download (type 1), and file upload (type 2 with Base64 encoding plus random character prepend).

Attack Chain 2 consolidates all functionality into a single binary called GHOSTFORM. Key differences include: use of Arabic-language Google Forms masquerading as Iraqi Ministry of Foreign Affairs official surveys as decoy lures; creative delayed execution via invisible Windows forms (opacity 0.001, size 10x15, hidden from taskbar) instead of sleep APIs; bot ID derived from the .NET assembly creation timestamp rather than random generation; and a Global\_ mutex for single-instance enforcement. GHOSTFORM eliminates the filesystem footprint of file-based polling by using in-memory PowerShell execution.

The campaign reflects established Iran-nexus tradecraft — targeting Iraqi government officials aligns with Iran's strategic intelligence collection priorities in its sphere of influence. The malware family names, C2 architecture, and operational patterns suggest a well-resourced team with software development discipline. The split worker/orchestrator architecture in Attack Chain 1 and the consolidated approach in Attack Chain 2 may represent an evolution in the actor's tooling or parallel development tracks for different operational requirements.

The UK's NCSC issued a concurrent warning about heightened Iranian cyberattack risks amid Middle East conflict, providing additional geopolitical context for this campaign's timing. No CVEs are associated with this threat — exploitation relies entirely on social engineering and DLL sideloading of legitimate applications.

## MITRE ATT&CK

- T1566.001 Spearphishing Attachment
- T1059.001 PowerShell
- T1204.002 Malicious File
- T1547.001 Registry Run Keys / Startup Folder
- T1574.001 DLL
- T1027.013 Encrypted/Encoded File
- T1140 Deobfuscate/Decode Files or Information
- T1036.005 Match Legitimate Resource Name or Location
- T1564.003 Hidden Window
- T1082 System Information Discovery
- T1005 Data from Local System
- T1560 Archive Collected Data
- T1071.001 Web Protocols
- T1132.001 Standard Encoding
- T1105 Ingress Tool Transfer
- T1041 Exfiltration Over C2 Channel
- T1587.001 Malware
- T1608.001 Upload Malware

## Free detection (Splunk SPL, Microsoft KQL, Sigma)

**Dust Specter Initial Access — SPLITDROP .NET Dropper + VLC DLL Sideloading + TWINTASK PowerShell Execution** (`TL-2026-0170-SPL-001`)

Detects Dust Specter Attack Chain 1 exploitation phase: (1) Password-protected RAR 'mofa-Network-code.rar' delivery targeting Iraqi MoFA officials. (2) SPLITDROP 32-bit .NET dropper executing from user temp/downloads — masquerades as WinRAR, decrypts CheckFopil.PolGuid.zip via AES-256-CBC + PBKDF2 (10k iterations) to C:\ProgramData\PolGuid\. (3) VLC.exe DLL sideloading from ProgramData — legitimate VLC loads malicious libvlc.dll (TWINTASK) from non-standard directory. (4) TWINTASK spawns PowerShell child processes from VLC.exe — 15-second polling loop reads in.txt, strips leading anti-analysis character, Base64 decodes, executes with 600s timeout. Critical: VLC.exe should never run from ProgramData or spawn PowerShell.

- **Languages:** Splunk SPL, Microsoft KQL, Sigma
- **ATT&CK:** T1566.001, T1204.002, T1574.002, T1036.005, T1059.001, T1027.013, T1140
- **Data sources:** sysmon, windows_security, edr
- **Severity:** critical
- **Confidence:** high

### Splunk SPL

```spl
index=sysmon sourcetype="XmlWinEventLog:Microsoft-Windows-Sysmon/Operational"
(
  (EventCode=1 Image="*\\VLC.exe" Image="*\\ProgramData\\*" NOT Image="*\\Program Files*\\VideoLAN\\*")
  OR (EventCode=1 Image="*\\powershell.exe" ParentImage="*\\VLC.exe")
  OR (EventCode=7 ImageLoaded="*\\libvlc.dll" ImageLoaded="*\\ProgramData\\*" NOT ImageLoaded="*\\Program Files*\\VideoLAN\\*")
  OR (EventCode=1 Image="*\\*.exe" CommandLine="*CheckFopil*" OR CommandLine="*PolGuid*")
  OR (EventCode=11 TargetFilename="*\\ProgramData\\PolGuid\\*")
)
| eval detection_phase=case(
    EventCode=1 AND match(Image,"(?i)vlc\.exe") AND match(Image,"(?i)ProgramData"), "VLC_SIDELOAD_FROM_PROGRAMDATA",
    EventCode=1 AND match(Image,"(?i)powershell\.exe") AND match(ParentImage,"(?i)vlc\.exe"), "TWINTASK_POWERSHELL_SPAWN",
    EventCode=7 AND match(ImageLoaded,"(?i)libvlc\.dll") AND match(ImageLoaded,"(?i)ProgramData"), "MALICIOUS_LIBVLC_DLL_LOAD",
    EventCode=1 AND (match(CommandLine,"(?i)CheckFopil") OR match(CommandLine,"(?i)PolGuid")), "SPLITDROP_DROPPER_EXECUTION",
    EventCode=11 AND match(TargetFilename,"(?i)ProgramData\\PolGuid"), "POLGUID_STAGING_DIRECTORY",
    true(), "OTHER"
)
| stats earliest(_time) as first_seen latest(_time) as last_seen values(detection_phase) as phases values(Image) as processes values(ParentImage) as parent_processes values(CommandLine) as commands dc(detection_phase) as phase_count by Computer, User
| where phase_count >= 2
| eval risk_score=case(phase_count>=4, "CRITICAL", phase_count>=3, "HIGH", phase_count>=2, "MEDIUM", true(), "LOW")
| table Computer, User, first_seen, last_seen, phase_count, risk_score, phases, processes, parent_processes, commands
```

### Microsoft KQL

```kql
union DeviceProcessEvents, DeviceImageLoadEvents, DeviceFileEvents
| where Timestamp > ago(24h)
| where
    (ActionType == "ProcessCreated" and FileName =~ "vlc.exe" and FolderPath contains "ProgramData" and FolderPath !contains "Program Files")
    or (ActionType == "ProcessCreated" and FileName =~ "powershell.exe" and InitiatingProcessFileName =~ "vlc.exe")
    or (ActionType == "ImageLoaded" and FileName =~ "libvlc.dll" and FolderPath contains "ProgramData" and FolderPath !contains "Program Files")
    or (ActionType == "ProcessCreated" and (ProcessCommandLine contains "CheckFopil" or ProcessCommandLine contains "PolGuid"))
    or (ActionType == "FileCreated" and FolderPath contains @"ProgramData\PolGuid")
| extend DetectionPhase = case(
    FileName =~ "vlc.exe" and FolderPath contains "ProgramData", "VLC_SIDELOAD",
    FileName =~ "powershell.exe" and InitiatingProcessFileName =~ "vlc.exe", "TWINTASK_PS_SPAWN",
    FileName =~ "libvlc.dll" and FolderPath contains "ProgramData", "MALICIOUS_DLL_LOAD",
    ProcessCommandLine contains "CheckFopil" or ProcessCommandLine contains "PolGuid", "SPLITDROP_EXEC",
    FolderPath contains @"ProgramData\PolGuid", "POLGUID_STAGING",
    "OTHER")
| summarize FirstSeen=min(Timestamp), LastSeen=max(Timestamp), Phases=make_set(DetectionPhase), PhaseCount=dcount(DetectionPhase), Processes=make_set(FileName) by DeviceName, AccountName
| where PhaseCount >= 2
```

### Sigma

```yaml
title: Dust Specter SPLITDROP Dropper + VLC DLL Sideloading + TWINTASK PowerShell Spawn
id: d8a1f3e7-4b2c-4d9e-a5f6-1c3b7e8d9a0f
status: experimental
description: Detects Dust Specter exploitation chain - SPLITDROP .NET dropper extracting to ProgramData\PolGuid, VLC.exe DLL sideloading from non-standard directory, and TWINTASK PowerShell execution from VLC process tree
references:
    - https://intel.threadlinqs.com/threats/TL-2026-0170
author: Threadlinqs Team
date: 2026/03/02
tags:
    - attack.initial_access
    - attack.execution
    - attack.defense_evasion
    - attack.t1566.001
    - attack.t1204.002
    - attack.t1574.002
    - attack.t1036.005
    - attack.t1059.001
    - attack.t1027.013
    - attack.t1140
logsource:
    product: windows
    category: process_creation
detection:
    selection_vlc_sideload:
        Image|endswith: '\VLC.exe'
        Image|contains: 'ProgramData'
    filter_legitimate_vlc:
        Image|contains: 'Program Files\VideoLAN'
    selection_ps_from_vlc:
        Image|endswith: '\powershell.exe'
        ParentImage|endswith: '\VLC.exe'
    selection_splitdrop:
        CommandLine|contains:
            - 'CheckFopil'
            - 'PolGuid'
    condition: (selection_vlc_sideload and not filter_legitimate_vlc) or selection_ps_from_vlc or selection_splitdrop
falsepositives:
    - Legitimate VLC portable installations in ProgramData (extremely rare in enterprise)
    - Software packaging tools that bundle VLC in non-standard locations
level: critical
```

**Known false positives:**

- Legitimate VLC portable installations in ProgramData (extremely rare in enterprise — VLC installs to Program Files\VideoLAN)
- Software packaging tools that temporarily place VLC binaries in ProgramData during deployment

**Tuning notes:** Whitelist any legitimate VLC portable installations by hash. The PowerShell-from-VLC rule has near-zero FP and should not be tuned down. PolGuid directory name is campaign-unique — high confidence indicator.

### 8 more detection rules (Splunk SPL, Microsoft KQL, Sigma), unlock with TL Creds

- Dust Specter Initial Access — SPLITDROP Dropper + VLC DLL Sideloading + TWINTASK Execution via Defender/Sentinel (locked: unlock with TL Creds)
- Dust Specter Post-Exploitation — WingetUI Sideloading + Dual Registry Persistence + GHOSTFORM Detection via Defender/Sentinel (locked: unlock with TL Creds)
- Dust Specter C2/Exfiltration — TWINTALK JWT Beacon + Data Collection + Chunked Upload via Defender/Sentinel (locked: unlock with TL Creds)
- Dust Specter Exploitation — SPLITDROP Extraction + VLC/[indicator] Sideloading + TWINTASK PowerShell Command Execution (locked: unlock with TL Creds)
- Dust Specter Post-Exploitation — WingetUI/[indicator] Sideloading + Registry Run Key Persistence + GHOSTFORM Indicators + File-Based C2 (locked: unlock with TL Creds)
- Dust Specter C2/Exfiltration — JWT Bearer Beacon with Chrome/135 UA + Non-Browser HTTPS from Sideloaded Processes + Data Staging (locked: unlock with TL Creds)
- Dust Specter Post-Exploitation — WingetUI Sideloading + Registry Persistence + GHOSTFORM Invisible Form + File-Based C2 Polling (locked: unlock with TL Creds)
- Dust Specter C2/Exfiltration — TWINTALK JWT Beacon + Chrome/135 UA Anomaly + Diplomatic Data Collection + Chunked Exfil (locked: unlock with TL Creds)

Sign up free to unlock the detection rules: https://threadlinqs.com/?modal=signup

## Sources

- [Zscaler ThreatLabz: Dust Specter APT Targets Government Officials in Iraq](https://www.zscaler.com/blogs/security-research/dust-specter-apt-targets-government-officials-iraq)
- [UK NCSC Warning: Iranian Cyberattack Risks Amid Middle East Conflict](https://www.bleepingcomputer.com/news/security/uk-warns-of-iranian-cyberattack-risks-amid-middle-east-conflict/)
- [MITRE ATT&CK — APT33 (Peach Sandstorm) — Iran-Nexus Reference Group](https://attack.mitre.org/groups/G0064/)
- [MITRE ATT&CK — APT39 (Chafer/Remix Kitten) — Iran MOIS Reference Group](https://attack.mitre.org/groups/G0087/)
- [MITRE ATT&CK — Agrius (Pink Sandstorm) — Iran MOIS Threat Actor](https://attack.mitre.org/groups/G1030/)
- [MITRE ATT&CK — T1574.002 DLL Side-Loading](https://attack.mitre.org/techniques/T1574/002/)
- [MITRE ATT&CK — T1059.001 PowerShell](https://attack.mitre.org/techniques/T1059/001/)
- [Zscaler ThreatLabz: Targeted Attacks on Oil and Gas Supply Chain Industries in the Middle East](https://www.zscaler.com/blogs/security-research/targeted-attacks-oil-and-gas-supply-chain-industries-middle-east)

## Full data

The other 8 detection rules (Splunk SPL / Microsoft KQL / Sigma) unlock with TL Creds; a free account includes daily creds: https://threadlinqs.com/?modal=signup
Indicator values unlock with TL Creds, at a lower price on Red and Purple; AI agents can query rules and IOCs through the Threadlinqs MCP server (Purple): https://intel.threadlinqs.com/mcp

Canonical: https://intel.threadlinqs.com/threat/TL-2026-0170
