YARA · SEKOIA.IO Community
SEKOIA_Hacktool_Win_Powertool
Detect PowerTool based on strings
- Author
- Sekoia.io
- Date
- 2022-09-09
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
Detect PowerTool based on strings
Targets: Windows PE.
It defines 7 patterns (7 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
hacktool-win-powertool.yarDetection Rule License 1.1
rule SEKOIA_Hacktool_Win_Powertool : FILE
{
meta:
= "Detect PowerTool based on strings"
= "Sekoia.io"
= "ab8355b8-322d-41a4-82f0-43896c96b9bc"
= "2022-09-09"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/hacktool_win_powertool.yar#L1-L21"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "aeccba821e528ca03abc8b50362d450ba2c12ab443454faf5b2809aecd163648"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$str0 = "C:\\dev\\pt64_en\\Release\\PowerTool.pdb" ascii
$str1 = "Chage language nedd to restart PowerTool" ascii
$str2 = "(http://twitter.com/ithurricanept && https://www.linkedin.com/in/powertool)" wide
$str3 = "Infected=Before Fix, whether to back up the drive files will be fixed?" wide
$str4 = "Infected?-Are you sure to Fix the Infected Driver File?" wide
$str5 = "shellex\\ContextMenuHandlers\\PowerTool" wide
$str6 = "[PowerTool] name=%s, size=%d, %d" ascii
condition:
uint16( 0 ) == 0x5A4D and any of them
}
Strings (7 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $str0 | text | "C:\\dev\\pt64_en\\Release\\PowerTool.pdb" | ascii |
| $str1 | text | "Chage language nedd to restart PowerTool" | ascii |
| $str2 | text | "(http://twitter.com/ithurricanept && https://www.linkedin.com/in/powertool)" | wide |
| $str3 | text | "Infected=Before Fix, whether to back up the drive files will be fixed?" | wide |
| $str4 | text | "Infected?-Are you sure to Fix the Infected Driver File?" | wide |
| $str5 | text | "shellex\\ContextMenuHandlers\\PowerTool" | wide |
| $str6 | text | "[PowerTool] name=%s, size=%d, %d" | ascii |
Condition
uint16( 0 ) == 0x5A4D and any of themIn plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- At least one pattern in the rule must match.
Test this rule in your browser
Drop a file to scan it with this rule using YARA-X compiled to WebAssembly. Nothing is uploaded.
Drop a file here or click to chooseScanned locally with YARA-X. Files up to 200 MB.
References
Licence & attribution
Author: Sekoia.io
Source repository: SEKOIA.IO Community @ a438a5901a
Licence: Detection Rule License 1.1 (repository licence)
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: ab8355b8-322d-41a4-82f0-43896c96b9bc
Metadata
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Related rules
- Hack toolSEKOIA.IO Community· Sekoia.io· 2024-09-06
- Hack toolSEKOIA.IO Community· Sekoia.io· 2024-02-29
- Hack toolSEKOIA.IO Community· Sekoia.io· 2023-12-05
- Hack toolSEKOIA.IO Community· Sekoia.io· 2023-11-15
- Hack toolSEKOIA.IO Community· Sekoia.io· 2023-08-23
- Hack toolSEKOIA.IO Community· Sekoia.io· 2022-02-08
- Hack toolSEKOIA.IO Community· Sekoia.io· 2022-07-22
- Hack toolSEKOIA.IO Community· Sekoia.io· 2022-09-09