YARA · Embee Research
EMBEERESEARCH_Win_Xworm_Simple_Strings
Detects simple strings present in unobfuscated xworm
- Author
- Matthew @ Embee_Research
- Date
- 2023-08-30
- Modified
- 2023-10-18
- Score / Quality
- 75 / 75
What this rule detects
Detects simple strings present in unobfuscated xworm
Targets: .NET assembly.
It defines 4 patterns (4 text, 0 hex, 0 regex). YARA modules used: dotnet.
Summary generated from the rule's metadata and condition.
Rule source
Includes the imports needed to compile it on its own.
import "dotnet"
rule EMBEERESEARCH_Win_Xworm_Simple_Strings
{
meta:
= "Detects simple strings present in unobfuscated xworm"
= "Matthew @ Embee_Research"
= "8d5d8f07-72fa-596b-a3fc-1dee4b7fd058"
= "2023-08-30"
= "2023-10-18"
= "https://github.com/embee-research/Yara-detection-rules/"
= "https://github.com/embee-research/Yara-detection-rules//blob/ac56d6f6fd2a30c8cb6e5c0455d6519210a8b0f4/Rules/win_xworm_simple_strings_sep_2023.yar#L3-L29"
= "N/A"
= "4459d95c0493d640ecc9453cf6a4f2b7538b1a7b95032f70803fc726b8e40422"
= "820bb1a31f421b90ea51efc3e71cc720c8c2784fb1e882e732e8fafb8631a389"
= "f7df310b24b2078249cdb670ece71ebe30f985c92b3e44b6dcf0e37405a26bc3"
= 75
= 75
= ""
strings:
$x1 = "XWorm V" wide nocase
$s1 = "/create /f /RL HIGHEST /sc minute /mo 1 /tn " wide
$s2 = "/create /f /sc minute /mo 1 /tn " wide
$s3 = "-ExecutionPolicy Bypass Add-MpPreference -ExclusionPath " wide
condition:
dotnet.is_dotnet and $x1 and ( 2 of ( $s* ) )
}
Strings (4 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $x1 | text | "XWorm V" | wide nocase |
| $s1 | text | "/create /f /RL HIGHEST /sc minute /mo 1 /tn " | wide |
| $s2 | text | "/create /f /sc minute /mo 1 /tn " | wide |
| $s3 | text | "-ExecutionPolicy Bypass Add-MpPreference -ExclusionPath " | wide |
Condition
dotnet.is_dotnet and $x1 and ( 2 of ( $s* ) )In plain words (Heuristic)
- At least 2 patterns in ( $s* ) must match.
- Uses the dotnet module.
- Pattern $x1 must be present.
Test this rule in your browser
Drop a file to scan it with this rule using YARA-X compiled to WebAssembly. Nothing is uploaded.
Sample hashes
Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).
- 4459d95c0493d640ecc9453cf6a4f2b7538b1a7b95032f70803fc726b8e40422
- 820bb1a31f421b90ea51efc3e71cc720c8c2784fb1e882e732e8fafb8631a389
Licence & attribution
Author: Matthew @ Embee_Research
Source repository: Embee Research @ ac56d6f6fd
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: 8d5d8f07-72fa-596b-a3fc-1dee4b7fd058
Related rules
- Suspicious / huntingEmbee Research· Matthew @ Embee_Research· 2023-09-10
- Hack toolEmbee Research· Matthew @ Embee_Research· 2023-11-04
- MalwareEmbee Research· Matthew @ Embee_Research· 2023-08-27
- MalwareEmbee Research· Matthew @ Embee_Research· 2023-09-13
- MalwareEmbee Research· Matthew @ Embee_Research· 2023-09-13
- MalwareEmbee Research· Matthew @ Embee_Research· 2023-12-24
- MalwareEmbee Research· Matthew @ Embee_Research· 2023-08-27
- MalwareEmbee Research· Matthew @ Embee_Research· 2023-10-03