Windows PowerShell ScriptBlock containing WMImplant tool parameters
Alerts on PowerShell Script Block content containing WMImplant-related command and system-manipulation parameters.
- Product
- windows
- Category
- ps_script
- Author
- NVISO (SigmaHQ), DRL 1.1
- Published
- 2020-03-26
- Updated
- 2026-07-31
ATT&CK techniques
ExecutionRecon
Resource Dev
Initial Access
Persistence
Priv Esc
Defense Evasion
Cred Access
Discovery
Lateral Movement
Collection
C2
Exfiltration
Impact
What it detects
This rule flags PowerShell script block content that includes the string "WMImplant" along with multiple WMImplant-style parameter keywords. Such scripted parameter usage can indicate an attacker leveraging a remote administration and execution tool to manipulate system configuration and services. The detection relies on PowerShell Script Block Logging telemetry capturing the script block text.
Reporting behind it
Changelog
v2- v2Candidate ingested via manual entry.2026-07-31
- v1No 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.
title: Windows PowerShell ScriptBlock containing WMImplant tool parameters
id: 67827441-e0e3-4ff3-8db4-cb6037dcf9cb
status: test
description: This rule flags PowerShell script block content that includes the string "WMImplant" along with multiple WMImplant-style parameter keywords. Such scripted parameter usage can indicate an attacker leveraging a remote administration and execution tool to manipulate system configuration and services. The detection relies on PowerShell Script Block Logging telemetry capturing the script block text.
references:
- https://github.com/FortyNorthSecurity/WMImplant
- https://github.com/SigmaHQ/sigma/blob/master/rules/windows/powershell/powershell_script/posh_ps_wmimplant.yml
author: NVISO, Huntrule Team
date: 2020-03-26
modified: 2022-12-25
tags:
- attack.execution
- attack.t1047
- attack.t1059.001
logsource:
product: windows
category: ps_script
definition: "Requirements: Script Block Logging must be enabled"
detection:
selection:
ScriptBlockText|contains:
- WMImplant
- " change_user "
- " gen_cli "
- " command_exec "
- " disable_wdigest "
- " disable_winrm "
- " enable_wdigest "
- " enable_winrm "
- " registry_mod "
- " remote_posh "
- " sched_job "
- " service_mod "
- " process_kill "
- " active_users "
- " basic_info "
- " power_off "
- " vacant_system "
- " logon_events "
condition: selection
falsepositives:
- Administrative scripts that use the same keywords.
level: high
license: DRL-1.1
related:
- id: 8028c2c3-e25a-46e3-827f-bbb5abf181d7
type: derived