YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_SUSP_OBFUSC_Powershell_True_Jun20_1
Detects indicators often found in obfuscated PowerShell scripts. Note: This detection is based on common characteristics typically associated with the mentioned threats, must be considered a clue and does not conclusively prove maliciousness.
- Author
- Florian Roth (Nextron Systems)
- Date
- 2020-06-27
- Modified
- 2025-02-12
- Score / Quality
- 75 / 85
What this rule detects
Detects indicators often found in obfuscated PowerShell scripts. Note: This detection is based on common characteristics typically associated with the mentioned threats, must be considered a clue and does not conclusively prove maliciousness.
It defines 7 patterns (7 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule SIGNATURE_BASE_SUSP_OBFUSC_Powershell_True_Jun20_1 : FILE
{
meta:
= "Detects indicators often found in obfuscated PowerShell scripts. Note: This detection is based on common characteristics typically associated with the mentioned threats, must be considered a clue and does not conclusively prove maliciousness."
= "Florian Roth (Nextron Systems)"
= "e9bb870b-ad72-57d3-beff-2f84a81490eb"
= "2020-06-27"
= "2025-02-12"
= "https://github.com/corneacristian/mimikatz-bypass/"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/gen_powershell_obfuscation.yar#L57-L75"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "8f33762e6e93fcf6b423b34eb1abefae2ae91b51048303947f7c1601823630d7"
= 75
= 85
= "FILE"
strings:
$ = "${t`rue}" ascii nocase
$ = "${tr`ue}" ascii nocase
$ = "${tru`e}" ascii nocase
$ = "${t`ru`e}" ascii nocase
$ = "${tr`u`e}" ascii nocase
$ = "${t`r`ue}" ascii nocase
$ = "${t`r`u`e}" ascii nocase
condition:
filesize < 6000KB and 1 of them
}
Strings (7 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $ | text | "${t`rue}" | ascii nocase |
| $ | text | "${tr`ue}" | ascii nocase |
| $ | text | "${tru`e}" | ascii nocase |
| $ | text | "${t`ru`e}" | ascii nocase |
| $ | text | "${tr`u`e}" | ascii nocase |
| $ | text | "${t`r`ue}" | ascii nocase |
| $ | text | "${t`r`u`e}" | ascii nocase |
Condition
filesize < 6000KB and 1 of themIn plain words (Heuristic)
- The file must be smaller than 6000KB (a cheap guard that skips large files).
- At least 1 patterns 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.
Licence & attribution
Author: Florian Roth (Nextron Systems)
Source repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
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: e9bb870b-ad72-57d3-beff-2f84a81490eb
Tags:FILE
Related rules
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-09-17
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2020-04-06
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-06-10
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-12-10
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-10-12
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-08-25
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-12-10
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-12-10