Sigma rule: HackTool - WinPwn Execution - ScriptBlock

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-2fd46d43d09a, updated 2023-12-04T00:00:00.000Z.

Rule

Title
HackTool - WinPwn Execution - ScriptBlock
Status
test
Level
high
Author
Swachchhanda Shrawan Poudel
Date
2023-12-04
File
rules/windows/powershell/powershell_script/posh_ps_hktl_winpwn.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects scriptblock text keywords indicative of potential usge of the tool WinPwn. A tool for Windows and Active Directory reconnaissance and exploitation.

Log source

product
windows
category
ps_script
definition
Requirements: Script Block Logging must be enabled

Detection

selection:
    ScriptBlockText|contains:
        - 'Offline_Winpwn'
        - 'WinPwn '
        - 'WinPwn.exe'
        - 'WinPwn.ps1'
condition: selection

False positives (as the rule lists them)

  • As the script block is a blob of text. False positive may occur with scripts that contain the keyword as a reference or simply use it for detection.

Tags

  • attack.credential-access
  • attack.discovery
  • attack.execution
  • attack.privilege-escalation
  • attack.t1046
  • attack.t1082
  • attack.t1106
  • attack.t1518
  • attack.t1548.002
  • attack.t1552.001
  • attack.t1555
  • attack.t1555.003

MITRE ATT&CK ids this rule names

Related rules

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/powershell/powershell_script/posh_ps_hktl_winpwn.yml

Sources and licences

  • SigmaHQ

    "HackTool - WinPwn Execution - ScriptBlock" by Swachchhanda Shrawan Poudel (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/powershell/powershell_script/posh_ps_hktl_winpwn.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: HackTool - WinPwn Execution - ScriptBlock",
entity page, dataset version ref-2fd46d43d09a, updated 2023-12-04T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/851fd622-b675-4d26-b803-14bc7baa517a (accessed 2026-11-03).
Underlying source: SigmaHQ rule 851fd622-b675-4d26-b803-14bc7baa517a, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.