← Back to SOC feed Coverage →

HackTool - Jlaive In-Memory Assembly Execution

sigma MEDIUM SigmaHQ
T1059.003
imProcessCreate
powershell
This rule was pulled from an open-source repository and enriched with AI. Validate in a test environment before deploying to production.
View original rule at SigmaHQ →
Retrieved: 2026-05-09T11:00:00Z · Confidence: medium

Hunt Hypothesis

Detects the use of Jlaive to execute assemblies in a copied PowerShell

Detection Rule

Sigma (Original)

title: HackTool - Jlaive In-Memory Assembly Execution
id: 0a99eb3e-1617-41bd-b095-13dc767f3def
status: test
description: Detects the use of Jlaive to execute assemblies in a copied PowerShell
references:
    - https://jstnk9.github.io/jstnk9/research/Jlaive-Antivirus-Evasion-Tool
    - https://web.archive.org/web/20220514073704/https://github.com/ch2sh/Jlaive
author: Jose Luis Sanchez Martinez (@Joseliyo_Jstnk)
date: 2022-05-24
modified: 2023-02-22
tags:
    - attack.execution
    - attack.t1059.003
logsource:
    product: windows
    category: process_creation
detection:
    parent_selection:
        ParentImage|endswith: '\cmd.exe'
        ParentCommandLine|endswith: '.bat'
    selection1:
        Image|endswith: '\xcopy.exe'
        CommandLine|contains|all:
            - 'powershell.exe'
            - '.bat.exe'
    selection2:
        Image|endswith: '\xcopy.exe'
        CommandLine|contains|all:
            - 'pwsh.exe'
            - '.bat.exe'
    selection3:
        Image|endswith: '\attrib.exe'
        CommandLine|contains|all:
            - '+s'
            - '+h'
            - '.bat.exe'
    condition: parent_selection and (1 of selection*)
falsepositives:
    - Unknown
level: medium

KQL (Azure Sentinel)

imProcessCreate
| where ((ParentProcessName endswith "\\cmd.exe" or ActingProcessName endswith "\\cmd.exe") and ActingProcessCommandLine endswith ".bat") and ((TargetProcessName endswith "\\xcopy.exe" and (TargetProcessCommandLine contains "powershell.exe" and TargetProcessCommandLine contains ".bat.exe")) or (TargetProcessName endswith "\\xcopy.exe" and (TargetProcessCommandLine contains "pwsh.exe" and TargetProcessCommandLine contains ".bat.exe")) or (TargetProcessName endswith "\\attrib.exe" and (TargetProcessCommandLine contains "+s" and TargetProcessCommandLine contains "+h" and TargetProcessCommandLine contains ".bat.exe")))

Required Data Sources

Sentinel TableNotes
imProcessCreateEnsure this data connector is enabled

False Positive Guidance

MITRE ATT&CK Context

References

Original source: https://github.com/SigmaHQ/sigma/blob/master/rules/windows/process_creation/proc_creation_win_hktl_jlaive_batch_execution.yml