Detectionmediumtest

Potential Script Proxy Execution Via CL_Mutexverifiers.ps1

Detects the use of the Microsoft signed script "CL_mutexverifiers" to proxy the execution of additional PowerShell script commands

Open in Detection LabConvert ruleBuild Package
Nasreddine Bencherchali, oscd.community, Natalia Shornikova, François HubautCreated 2022-05-21Updated 2023-08-171e0e1a81-e79b-44bc-935b-ddb9c8006b3dwindows
Log Source
WindowsProcess Creation
ProductWindows← raw: windows
CategoryProcess Creation← raw: process_creation

Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.

Detection Logic
Detection Logic2 selectors
detection:
    selection_pwsh:
        ParentImage|endswith:
            # Note: to avoid potential FPs we assume the script was launched from powershell. But in theory it can be launched by any Powershell like process
            - '\powershell.exe'
            - '\pwsh.exe'
        Image|endswith: '\powershell.exe'
        CommandLine|contains: ' -nologo -windowstyle minimized -file '
    selection_temp:
        # Note: Since the function uses "env:temp" the value will change depending on the context of exec
        CommandLine|contains:
            - '\AppData\Local\Temp\'
            - '\Windows\Temp\'
    condition: all of selection_*
False Positives
Unknown

False positive likelihood has not been assessed. Additional context may be needed during triage.

Rule Metadata
Rule ID
1e0e1a81-e79b-44bc-935b-ddb9c8006b3d
Status
test
Level
medium
Type
Detection
Created
2022-05-21
Modified
2023-08-17
Path
rules/windows/process_creation/proc_creation_win_powershell_cl_mutexverifiers.yml
Raw Tags
attack.stealthattack.t1216
View on GitHub