Windows: Jlaive In-Memory Assembly Execution via Copied Batch Executable

Detects chained cmd/.bat staging that uses xcopy plus PowerShell/pwsh and attrib +h/+s to run a .bat.exe payload associated with Jlaive.

FreeReviewedSigma · Medium · v2
Product
windows
Category
process_creation
Author
Jose Luis Sanchez Martinez (@Joseliyo_Jstnk) (SigmaHQ), DRL 1.1
Published
2022-05-24
Updated
2026-07-31

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 matches a Windows process tree where a cmd.exe parent running a .bat script launches xcopy. The launched xcopy process includes PowerShell or pwsh.exe and copies a file ending with .bat.exe, and it also looks for attrib.exe usage that sets the +s and +h attributes on the same .bat.exe. This pattern is indicative of staging and executing code in-memory using a tool like Jlaive, which attackers use to reduce on-disk artifacts and evade detection. Telemetry relies on Windows process creation events, including Image and CommandLine details for cmd.exe, xcopy.exe, and attrib.exe.

Related detections9 linkedT1059.003 — drag to rearrange
Suspicious Doenerium Host Fingerprinting via cmd.exe
Suspicious Scheduled Task Creation Referencing dllFake Batch Scripts (via process_creation)
Suspicious Backup Exec Remote Agent Spawning Command Shell via Process Creation (via process_creation)
Suspicious ClickFix Command Execution via RunMRU Registry Key
Suspicious LampoRAT Command Dispatcher via Cmd Delayed Expansion Flags (via process_creation)
Malicious WSUS Service Spawning Command Shell via CVE-2025-59287 (via process_creation)
Malicious SharePoint w3wp Spawning Command Shell and PowerShell
Suspicious extrac32 CAB Extraction Abuse
Suspicious curl Spawning Script Host for Latrodectus Delivery
Windows: Jlaive In-Memory Assembly Execution via Copied Batch Executable
Pivot detection · T1059.003 · 9 related

Changelog

v2
  1. v2
    Candidate ingested via manual entry.2026-07-31
  2. v1
    No changelog recorded for this version.2026-07-30

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