YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_EXT_HKTL_MAL_Tinyshell_Backdoor
Detects Tiny Shell - an open-source UNIX backdoor
- Autor
- Mandiant
- Datum
- 2022-03-17
- Geändert
- 2026-05-15
- Score / Qualität
- 80 / 85
Was diese Regel erkennt
Detects Tiny Shell - an open-source UNIX backdoor
Ziele: Linux-ELF.
Sie definiert 16 Muster (14 Text, 2 Hex, 0 Regex).
Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.
Regelquelltext
rule SIGNATURE_BASE_EXT_HKTL_MAL_Tinyshell_Backdoor : FILE
{
meta:
= "Detects Tiny Shell - an open-source UNIX backdoor"
= "Mandiant"
= "4ad5d334-98e4-577f-89c9-86626e8feb58"
= "2022-03-17"
= "2026-05-15"
= "https://www.mandiant.com/resources/blog/unc2891-overview"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/apt_unc2891_tinyshell_slapstick.yar#L1-L29"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "1f889871263bd6cdad8f3d4d5fc58b4a32669b944d3ed0860730374bb87d730a"
= "1fe9def11dced638ad38236652877427b61d7138fc8c6ce3fe7f1403c367468f"
= 80
= 85
= "FILE"
strings:
$sb1 = { C6 00 48 C6 4? ?? 49 C6 4? ?? 49 C6 4? ?? 4C C6 4? ?? 53 C6 4? ?? 45 C6 4? ?? 54 C6 4? ?? 3D C6 4? ?? 46 C6 4? ?? 00 }
$sb2 = { C6 00 54 C6 4? ?? 4D C6 4? ?? 45 C6 4? ?? 3D C6 4? ?? 52 }
$ss1 = "fork" ascii fullword wide
$ss2 = "socket" ascii fullword wide
$ss3 = "bind" ascii fullword wide
$ss4 = "listen" ascii fullword wide
$ss5 = "accept" ascii fullword wide
$ss6 = "alarm" ascii fullword wide
$ss7 = "shutdown" ascii fullword wide
$ss8 = "creat" ascii fullword wide
$ss9 = "write" ascii fullword wide
$ss10 = "open" ascii fullword wide
$ss11 = "read" ascii fullword wide
$ss12 = "execl" ascii fullword wide
$ss13 = "gethostbyname" ascii fullword wide
$ss14 = "connect" ascii fullword wide
condition:
uint32( 0 ) == 0x464c457f and 1 of ( $sb* ) and 10 of ( $ss* )
}
Strings (16 Muster)
| Bezeichner | Typ | Wert | Modifikatoren |
|---|---|---|---|
| $sb1 | Hex | { C6 00 48 C6 4? ?? 49 C6 4? ?? 49 C6 4? ?? 4C C6 4? ?? 53 C6 4? ?? 45 C6 4? ?? 54 C6 4? ?? 3D C6 4? ?? 46 C6 4? ?? 00 } | |
| $sb2 | Hex | { C6 00 54 C6 4? ?? 4D C6 4? ?? 45 C6 4? ?? 3D C6 4? ?? 52 } | |
| $ss1 | Text | "fork" | ascii fullword wide |
| $ss2 | Text | "socket" | ascii fullword wide |
| $ss3 | Text | "bind" | ascii fullword wide |
| $ss4 | Text | "listen" | ascii fullword wide |
| $ss5 | Text | "accept" | ascii fullword wide |
| $ss6 | Text | "alarm" | ascii fullword wide |
| $ss7 | Text | "shutdown" | ascii fullword wide |
| $ss8 | Text | "creat" | ascii fullword wide |
| $ss9 | Text | "write" | ascii fullword wide |
| $ss10 | Text | "open" | ascii fullword wide |
| $ss11 | Text | "read" | ascii fullword wide |
| $ss12 | Text | "execl" | ascii fullword wide |
| $ss13 | Text | "gethostbyname" | ascii fullword wide |
| $ss14 | Text | "connect" | ascii fullword wide |
Bedingung
uint32( 0 ) == 0x464c457f and 1 of ( $sb* ) and 10 of ( $ss* )In Worten (Heuristik)
- Die Datei muss mit dem ELF-Header beginnen — eine Linux/Unix-Programmdatei.
- Mindestens 1 Muster aus ( $sb* ) müssen treffen.
- Mindestens 10 Muster aus ( $ss* ) 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.
Proben-Hashes
Hashes der Proben, die der Autor in den Metadaten der Regel nennt (in Ihrer Threat-Intelligence-Plattform nachschlagen).
- 1f889871263bd6cdad8f3d4d5fc58b4a32669b944d3ed0860730374bb87d730a
Lizenz & Namensnennung
Autor: Mandiant
Quell-Repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
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: 4ad5d334-98e4-577f-89c9-86626e8feb58
Tags:FILE
Verwandte Regeln
- HacktoolSignature Base (Florian Roth / Nextron)· Mandiant· 2022-03-17
- APT / AkteurSignature Base (Florian Roth / Nextron)· Mandiant· 2022-04-28
- APT / AkteurSignature Base (Florian Roth / Nextron)· Mandiant· 2023-04-20
- APT / AkteurSignature Base (Florian Roth / Nextron)· Mandiant· 2023-04-20
- APT / AkteurSignature Base (Florian Roth / Nextron)· Mandiant· 2023-04-20
- APT / AkteurSignature Base (Florian Roth / Nextron)· Mandiant· 2023-04-20
- APT / AkteurSignature Base (Florian Roth / Nextron)· Mandiant· 2023-04-20
- APT / AkteurSignature Base (Florian Roth / Nextron)· Mandiant· 2023-04-20