Malicious Script Execution from WinRAR Extraction Directory via CVE-2023-38831

PremiumReviewedSigma · High · v1
Product
windows
Category
process_creation
Author
HuntRule
Published
2026-07-28
Updated
2026-08-28

ATT&CK techniques

Execution
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Persistence

  5. Priv Esc

  6. Defense Evasion

  7. Cred Access

  8. Discovery

  9. Lateral Movement

  10. Collection

  11. C2

  12. Exfiltration

  13. Impact

What it detects

This rule detects a command interpreter executing a script staged in a WinRAR temporary extraction directory named Rar$DIa. CVE-2023-38831 abuses a filename spoofing flaw so that opening a decoy document triggers execution of an adjacent script from the Rar$ temp path. This yields attacker code execution when the victim merely opens a crafted archive.

Related detections9 linkedT1204.002 — drag to rearrange
Suspicious ClickFix Command Execution via RunMRU Registry Key
Suspicious Chrome Browser Process Spawned by Outlook Indicating Sandbox Escape
Suspicious PIF AutoIt Interpreter Executing a3x Compiled Script
Malicious RoKRAT Staged Loader Files in Temp via LNK (via file_event)
Malicious WPS Office ksoqing Protocol Handler Exploitation via Process Creation
Malicious KB Document Masqueraded Executable Spawned by Script Interpreter via RoKRAT Loader (via process_creation)
Malicious SCMBanker ClickFix Payload Fetch via Curl Piped to Cmd
Suspicious Batch Execution From Hidden __MACOSX Archive Path (via process_creation)
Suspicious Foxit PDF Reader Spawning Command Interpreter
Malicious Script Execution from WinRAR Extraction Directory via CVE-2023-38831
Pivot detection · T1204.002 · 9 related

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.