YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_APT_MAL_LNX_Turla_Apr20_1
Detects Turla Linux malware
APT / threat actorSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Compiles with YARA-X
- Author
- Florian Roth (Nextron Systems)
- Date
- 2020-04-05
- Modified
- 2023-12-05
- Score / Quality
- 75 / 85
What this rule detects
Detects Turla Linux malware
It defines 6 patterns (6 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
apt-mal-lnx-turla-apr20-1.yarDetection Rule License 1.1
rule SIGNATURE_BASE_APT_MAL_LNX_Turla_Apr20_1 : FILE
{
meta:
= "Detects Turla Linux malware"
= "Florian Roth (Nextron Systems)"
= "f21e7793-a7dd-5195-805d-963827b35808"
= "2020-04-05"
= "2023-12-05"
= "https://twitter.com/Int2e_/status/1246115636331319309"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/apt_turla.yar#L252-L272"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "67d9556c695ef6c51abf6fbab17acb3466e3149cf4d20cb64d6d34dc969b6502"
= "8ccc081d4940c5d8aa6b782c16ed82528c0885bbb08210a8d0a8c519c54215bc"
= "d463f5a151bb0c3440d719b4c7c0d1ca34de1e0bed7fb9167ecf396607abd3ff"
= 75
= 85
= "FILE"
strings:
$s1 = "/root/.hsperfdata" ascii fullword
$s2 = "Desc| Filename | size |state|" ascii fullword
$s3 = "IPv6 address %s not supported" ascii fullword
$s4 = "File already exist on remote filesystem !" ascii fullword
$s5 = "/tmp/.sync.pid" ascii fullword
$s6 = "'gateway' supported only on ethernet/FDDI/token ring/802.11/ATM LANE/Fibre Channel" ascii fullword
condition:
uint16( 0 ) == 0x457f and filesize < 5000KB and 4 of them
}
Strings (6 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | text | "/root/.hsperfdata" | ascii fullword |
| $s2 | text | "Desc| Filename | size |state|" | ascii fullword |
| $s3 | text | "IPv6 address %s not supported" | ascii fullword |
| $s4 | text | "File already exist on remote filesystem !" | ascii fullword |
| $s5 | text | "/tmp/.sync.pid" | ascii fullword |
| $s6 | text | "'gateway' supported only on ethernet/FDDI/token ring/802.11/ATM LANE/Fibre Channel" | ascii fullword |
Condition
uint16( 0 ) == 0x457f and filesize < 5000KB and 4 of themIn plain words (Heuristic)
- The file must be smaller than 5000KB (a cheap guard that skips large files).
- At least 4 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.
Sample hashes
Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).
- 67d9556c695ef6c51abf6fbab17acb3466e3149cf4d20cb64d6d34dc969b6502
- 8ccc081d4940c5d8aa6b782c16ed82528c0885bbb08210a8d0a8c519c54215bc
Licence & attribution
Author: Florian Roth (Nextron Systems)
Source repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
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: f21e7793-a7dd-5195-805d-963827b35808
Tags:FILE
Related rules
- APT / threat actorSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-01-16
- APT / threat actorSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-01-16
- APT / threat actorSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-02-25
- APT / threat actorSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2023-03-31
- APT / threat actorSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-10-25
- APT / threat actorSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-01-16
- APT / threat actorSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-02-25
- APT / threat actorSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-02-24