Suspicious GitVenom Visual Studio Pre-Build Event Shell Execution via process_creation

PremiumReviewedSigma · Medium · v1
Product
windows
Category
process_creation
Author
HuntRule
Published
2026-10-08
Updated
2026-10-08

ATT&CK techniques

Initial Access → Execution
  1. Recon

  2. Resource Dev

  3. Persistence

  4. Priv Esc

  5. Defense Evasion

  6. Cred Access

  7. Discovery

  8. Lateral Movement

  9. Collection

  10. C2

  11. Exfiltration

  12. Impact

What it detects

This rule detects the Visual Studio build engine spawning a command interpreter or PowerShell which is characteristic of a malicious pre-build event script. The GitVenom campaign abused the Visual Studio PreBuildEvent to launch a hidden batch file that deployed cryptocurrency-stealing malware when a victim compiled a trojanized project. Detecting build-time command execution catches supply chain compromise before payloads are staged.

Related detections9 linkedT1059.001 — drag to rearrange
Suspicious Cursor Editor Process Spawning PowerShell
Malicious Fickle Stealer Remote PowerShell Execution From UNC Share (via process_creation)
Suspicious PDF Editor Updater Binary Spawning PowerShell (via process_creation)
PowerShell ExecutionPolicy Set to Bypass via Registry (via registry_set)
Malicious XWorm Script Chain Execution from ProgramData Music Visuals Directory (via process_creation)
Scheduled task executing powershell encoded payload from registry
Malicious Paper Werewolf PowerShell Loader Spawned by Excel via XLL Add-In (via process_creation)
PowerShell Alias Obfuscation Resolving iex and Invoke-RestMethod via ClickFix (via process_creation)
ClickFix PowerShell Download Cradle Launched From Run Dialog (via process_creation)
Suspicious GitVenom Visual Studio Pre-Build Event Shell Execution via process_creation
Pivot detection · T1059.001 · 9 related

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