YARA · SEKOIA.IO Community
SEKOIA_Infostealer_Win_Mars_Stealer_Xor_Routine
Detect Mars Stealer based on a specific XOR routine
- Autor
- Sekoia.io
- Datum
- 2022-04-06
- Geändert
- 2024-12-19
- Score / Qualität
- 75 / 80
Was diese Regel erkennt
Detect Mars Stealer based on a specific XOR routine
Zugehörige Malware-Familie: Mars Stealer.
Ziele: Windows-PE.
Sie definiert 1 Muster (0 Text, 1 Hex, 0 Regex).
Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.
Regelquelltext
infostealer-win-mars-stealer-xor-routine.yarDetection Rule License 1.1
rule SEKOIA_Infostealer_Win_Mars_Stealer_Xor_Routine : FILE
{
meta:
= "Detect Mars Stealer based on a specific XOR routine"
= "Sekoia.io"
= "3e2c7440b2fc9e4b039e6fa8152ac8ff"
= "2022-04-06"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/infostealer_win_mars_stealer_xor_routine.yar#L1-L15"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "c7e65550a225431552e8a81bbce81dd66350021b6444c94fe7a37aa96712e9b1"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$xor = {8b 4d ?? 03 4d ?? 0f be 19 8b 55 ?? 52 e8 ?? ?? ?? ?? 83 c4 ?? 8b c8 8b 45 ?? 33 d2 f7 f1 8b 45 ?? 0f be 0c 10 33 d9 8b 55 ?? 03 55 ?? 88 1a eb be}
condition:
uint16( 0 ) == 0x5A4D and $xor
}
Strings (1 Muster)
| Bezeichner | Typ | Wert | Modifikatoren |
|---|---|---|---|
| $xor | Hex | {8b 4d ?? 03 4d ?? 0f be 19 8b 55 ?? 52 e8 ?? ?? ?? ?? 83 c4 ?? 8b c8 8b 45 ?? 33 d2 f7 f1 8b 45 ?? 0f be 0c 10 33 d9 8b 55 ?? 03 55 ?? 88 1a eb be} |
Bedingung
uint16( 0 ) == 0x5A4D and $xorIn Worten (Heuristik)
- Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
- Muster $xor muss vorhanden sein.
Diese Regel im Browser testen
Legen Sie eine Datei ab, um sie mit dieser Regel und YARA-X als WebAssembly zu scannen. Nichts wird hochgeladen.
Datei hier ablegen oder klicken zum AuswählenLokal mit YARA-X gescannt. Dateien bis 200 MB.
Referenzen
Lizenz & Namensnennung
Autor: Sekoia.io
Quell-Repository: SEKOIA.IO Community @ a438a5901a
Lizenz: Detection Rule License 1.1 (Repository-Lizenz)
Gespiegelt über YARA Forge 20260927, das Regelnamen mit der Quelle präfixiert und normalisierte Meta-Felder ergänzt.
Regel-ID: 3e2c7440b2fc9e4b039e6fa8152ac8ff
Metadaten
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Verwandte Regeln
- MalwareSEKOIA.IO Community· Sekoia.io· 2022-03-10
- MalwareSEKOIA.IO Community· Sekoia.io· 2022-02-03
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- MalwareEmbee Research· Matthew @ Embee_Research· 2023-12-24
- 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