YARA · SEKOIA.IO Community
SEKOIA_Apt_Muddywater_Moriagent
Detects Muddy's Mori Agent implant
- Autor
- Sekoia.io
- Datum
- 2022-01-14
- Geändert
- 2024-12-19
- Score / Qualität
- 75 / 80
Was diese Regel erkennt
Detects Muddy's Mori Agent implant
Zugehörige Malware-Familie: Moriagent.
Ziele: Windows-PE.
Sie definiert 7 Muster (7 Text, 0 Hex, 0 Regex). Verwendete YARA-Module: pe.
Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.
Regelquelltext
Enthält die Imports, die zum eigenständigen Kompilieren nötig sind.
import "pe"
rule SEKOIA_Apt_Muddywater_Moriagent : FILE
{
meta:
= "Detects Muddy's Mori Agent implant"
= "Sekoia.io"
= "e7a83663-6a30-416a-8f29-87a6b9445ea4"
= "2022-01-14"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_muddywater_moriagent.yar#L3-L28"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "21389d4e71e9a19a9d263b8ced740c337ea88ed4ac97199897b0aa3f5914594a"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$mut = "0x50504060" ascii fullword
$cmd1 = "TType" ascii fullword
$cmd2 = "TPath" ascii fullword
$cmd3 = "TFileid" ascii fullword
$cmd4 = "TCommand" ascii fullword
$cmd5 = "TTimeout" ascii fullword
$cmd6 = "TFilter" ascii fullword
condition:
uint16be( 0 ) == 0x4d5a and ( ( pe.number_of_exports == 2 and pe.exports ( "DllRegisterServer" ) and pe.exports ( "DllUnregisterServer" ) ) and ( 5 of them ) )
}
Strings (7 Muster)
| Bezeichner | Typ | Wert | Modifikatoren |
|---|---|---|---|
| $mut | Text | "0x50504060" | ascii fullword |
| $cmd1 | Text | "TType" | ascii fullword |
| $cmd2 | Text | "TPath" | ascii fullword |
| $cmd3 | Text | "TFileid" | ascii fullword |
| $cmd4 | Text | "TCommand" | ascii fullword |
| $cmd5 | Text | "TTimeout" | ascii fullword |
| $cmd6 | Text | "TFilter" | ascii fullword |
Bedingung
uint16be( 0 ) == 0x4d5a and ( ( pe.number_of_exports == 2 and pe.exports ( "DllRegisterServer" ) and pe.exports ( "DllUnregisterServer" ) ) and ( 5 of them ) )In Worten (Heuristik)
- Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
- Mindestens 5 Muster aus der Regel müssen treffen.
- Nutzt das Modul pe.
- Prüft exportierte Funktionen oder den DLL-Namen.
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.
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: e7a83663-6a30-416a-8f29-87a6b9445ea4
Metadaten
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Verwandte Regeln
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- APT / AkteurSEKOIA.IO Community· Sekoia.io· 2024-09-10
- APT / AkteurSEKOIA.IO Community· Sekoia.io· 2024-10-21
- APT / AkteurSEKOIA.IO Community· Sekoia.io· 2024-10-21
- APT / AkteurSEKOIA.IO Community· Sekoia.io· 2024-09-27
- APT / AkteurSEKOIA.IO Community· Sekoia.io· 2024-09-27
- APT / AkteurSEKOIA.IO Community· Sekoia.io· 2024-09-23
- APT / AkteurSEKOIA.IO Community· Sekoia.io· 2024-06-11