YARA · Embee Research
EMBEERESEARCH_Win_Marsstealer_Encryption_Bytecodes
Encryption observed in MarsStealer
- Author
- Matthew @ Embee_Research
- Date
- 2023-12-24
- Score / Quality
- 75 / 75
What this rule detects
Encryption observed in MarsStealer
Associated malware family: Mars Stealer.
It defines 1 patterns (0 text, 1 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
win-marsstealer-encryption-bytecodes.yarDetection Rule License 1.1
rule EMBEERESEARCH_Win_Marsstealer_Encryption_Bytecodes
{
meta:
= "Encryption observed in MarsStealer"
= "Matthew @ Embee_Research"
= "7a66ea9c-966e-5780-8b36-a268904b9c1b"
= "2023-12-24"
= "2023-12-24"
= "https://github.com/embee-research/Yara-detection-rules/"
= "https://github.com/embee-research/Yara-detection-rules//blob/ac56d6f6fd2a30c8cb6e5c0455d6519210a8b0f4/Rules/win_marsStealer_encryption_bytecodes_dec_2023.yar#L1-L16"
= "N/A"
= "7a391340b6677f74bcf896b5cc16a470543e2a384049df47949038df5e770df1"
= "49ffde28c8823c00959ddbaa516fc48c7908b533c8f91608b0e3a645045c9048"
= 75
= 75
= ""
strings:
$s1 = {31 2d 3d 31 73 30 02 39 c0 74 0a 5b 70 61 73 64 6c 30 71 77 69 8d 5b 01 8d 52 01 39 eb 75 03 83 eb 20 39 ca}
condition:
$s1
}
Strings (1 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | hex | {31 2d 3d 31 73 30 02 39 c0 74 0a 5b 70 61 73 64 6c 30 71 77 69 8d 5b 01 8d 52 01 39 eb 75 03 83 eb 20 39 ca} |
Condition
$s1In plain words (Heuristic)
- Pattern $s1 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.
Drop a file here or click to chooseScanned locally with YARA-X. Files up to 200 MB.
Sample hashes
Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).
- 7a391340b6677f74bcf896b5cc16a470543e2a384049df47949038df5e770df1
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: 7a66ea9c-966e-5780-8b36-a268904b9c1b
Related rules
- MalwareSEKOIA.IO Community· Sekoia.io· 2022-03-10
- MalwareSEKOIA.IO Community· Sekoia.io· 2022-04-06
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- MalwareSEKOIA.IO Community· Sekoia.io· 2022-02-03
- 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-08-27