YARA · SEKOIA.IO Community
SEKOIA_Hacktool_Earthworm_Strings
Detects Mac/Win/Linux EarthWorm based on strings
- Autor
- Sekoia.io
- Datum
- 2022-02-08
- Geändert
- 2024-12-19
- Score / Qualität
- 75 / 80
Was diese Regel erkennt
Detects Mac/Win/Linux EarthWorm based on strings
Zugehörige Malware-Familie: Earthworm.
Ziele: Windows-PE, Linux-ELF, macOS-Mach-O.
Sie definiert 4 Muster (4 Text, 0 Hex, 0 Regex).
Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.
Regelquelltext
hacktool-earthworm-strings.yarDetection Rule License 1.1
rule SEKOIA_Hacktool_Earthworm_Strings : FILE
{
meta:
= "Detects Mac/Win/Linux EarthWorm based on strings"
= "Sekoia.io"
= "6c9b0225-8c41-49f9-9745-245bc7ef942f"
= "2022-02-08"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/hacktool_earthworm_strings.yar#L1-L22"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "0460c62fefc3d594ca758a37fbe1716182ffdca2920fedd32a707f7117702176"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$ = "the read url is %s"
$ = "--> %3d <-- (close)used tunnel %d , unused tunnel %d"
$ = "ssocksd 0.0.0.0:%d <--[%4d usec]--> socks server"
$ = "could not create one way tunnel"
condition:
( uint32be( 0 ) == 0x7f454c46 or uint16be( 0 ) == 0x4d5a or uint32be( 0 ) == 0xcffaedfe ) and filesize < 100KB and 3 of them
}
Strings (4 Muster)
| Bezeichner | Typ | Wert | Modifikatoren |
|---|---|---|---|
| $ | Text | "the read url is %s" | |
| $ | Text | "--> %3d <-- (close)used tunnel %d , unused tunnel %d" | |
| $ | Text | "ssocksd 0.0.0.0:%d <--[%4d usec]--> socks server" | |
| $ | Text | "could not create one way tunnel" |
Bedingung
( uint32be( 0 ) == 0x7f454c46 or uint16be( 0 ) == 0x4d5a or uint32be( 0 ) == 0xcffaedfe ) and filesize < 100KB and 3 of themIn Worten (Heuristik)
- Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
- Die Datei muss mit dem ELF-Header beginnen — eine Linux/Unix-Programmdatei.
- Die Datei muss mit einer Mach-O-/Fat-Signatur beginnen — eine macOS-Programmdatei.
- Die Datei muss kleiner als 100KB sein (eine günstige Grenze, die große Dateien ausschließt).
- Mindestens 3 Muster aus der Regel müssen treffen.
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: 6c9b0225-8c41-49f9-9745-245bc7ef942f
Metadaten
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Verwandte Regeln
- MalwareSignature Base (Florian Roth / Nextron)· NCSC· 2024-10-22
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- HacktoolSEKOIA.IO Community· Sekoia.io· 2024-09-06
- HacktoolSEKOIA.IO Community· Sekoia.io· 2024-02-29
- HacktoolSEKOIA.IO Community· Sekoia.io· 2023-12-05
- HacktoolSEKOIA.IO Community· Sekoia.io· 2023-11-15
- HacktoolSEKOIA.IO Community· Sekoia.io· 2023-08-23
- HacktoolSEKOIA.IO Community· Sekoia.io· 2022-07-22