YARA · SEKOIA.IO Community
SEKOIA_Ransomware_Win_Masons_Jan2023
Rule to detect Masons ransomware samples.
- Author
- Sekoia.io
- Date
- 2023-02-13
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
Rule to detect Masons ransomware samples.
Targets: Windows PE.
It defines 3 patterns (3 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
ransomware-win-masons-jan2023.yarDetection Rule License 1.1
rule SEKOIA_Ransomware_Win_Masons_Jan2023 : FILE
{
meta:
= "Rule to detect Masons ransomware samples."
= "Sekoia.io"
= "cf2af08b-b4a8-4245-9308-242e15aeb346"
= "2023-02-13"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/ransomware_win_masons_jan2023.yar#L1-L18"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "7826978642c568f975e2b65d1575fdf92e634f7c80db2c86c9d7c8066e8955b8"
= "05badf0364c6f61cd081a3ae64bc92b48e6f59c026a5d6b5b68acd5a8987cf91"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$s1 = "Masons" wide
$s2 = "@mineralIaha/@root_king1" wide
$s3 = "Glory @six62ix" wide
condition:
uint16be( 0 ) == 0x4d5a and all of them
}
Strings (3 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | text | "Masons" | wide |
| $s2 | text | "@mineralIaha/@root_king1" | wide |
| $s3 | text | "Glory @six62ix" | wide |
Condition
uint16be( 0 ) == 0x4d5a and all of themIn plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- All 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.
Drop a file here or click to chooseScanned locally with YARA-X. Files up to 200 MB.
References
Sample hashes
Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).
- 7826978642c568f975e2b65d1575fdf92e634f7c80db2c86c9d7c8066e8955b8
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: cf2af08b-b4a8-4245-9308-242e15aeb346
Metadata
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Related rules
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-07-16
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-08-23
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-04-22
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-07-23
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-10-20
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-03-20
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-03-20
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-03-20