YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_APT_MAL_LNX_Turla_Apr202004_1_Opcode
Detects Turla Linux malware x64 x32
APT / threat actorSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Compiles with YARA-X
- Author
- Leonardo S.p.A.
- Date
- 2020-04-24
- Modified
- 2023-12-05
- Score / Quality
- 75 / 85
What this rule detects
Detects Turla Linux malware x64 x32
It defines 8 patterns (0 text, 8 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
apt-mal-lnx-turla-apr202004-1-opcode.yarDetection Rule License 1.1
rule SIGNATURE_BASE_APT_MAL_LNX_Turla_Apr202004_1_Opcode : FILE
{
meta:
= "Detects Turla Linux malware x64 x32"
= "Leonardo S.p.A."
= "03043f59-c81a-5423-bec1-6cd88f6e3c52"
= "2020-04-24"
= "2023-12-05"
= "https://www.leonardocompany.com/en/news-and-stories-detail/-/detail/knowledge-the-basis-of-protection"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/apt_turla_penquin.yar#L35-L66"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "67d9556c695ef6c51abf6fbab17acb3466e3149cf4d20cb64d6d34dc969b6502"
= "8ccc081d4940c5d8aa6b782c16ed82528c0885bbb08210a8d0a8c519c54215bc"
= "8856a68d95e4e79301779770a83e3fad8f122b849a9e9e31cfe06bf3418fa667"
= "1d5e4466a6c5723cd30caf8b1c3d33d1a3d4c94c25e2ebe186c02b8b41daf905"
= "2dabb2c5c04da560a6b56dbaa565d1eab8189d1fa4a85557a22157877065ea08"
= "3e138e4e34c6eed3506efc7c805fce19af13bd62aeb35544f81f111e83b5d0d4"
= "5a204263cac112318cd162f1c372437abf7f2092902b05e943e8784869629dd8"
= "8856a68d95e4e79301779770a83e3fad8f122b849a9e9e31cfe06bf3418fa667"
= "d49690ccb82ff9d42d3ee9d7da693fd7d302734562de088e9298413d56b86ed0"
= "19524e6ec3b0d49ff9c85ce361ef1922b92e4f7876ddb7d6c9b209b5357080e3"
= 75
= 85
= "FILE"
strings:
$op0 = { 8D 41 05 32 06 48 FF C6 88 81 E0 80 69 00 }
$op1 = { 48FFC14883F94975E9 }
$op2 = { C7 05 9B 7D 29 00 1D 00 00 00 C7 05 2D 7B 29 00 65 74 68 30 C6 05 2A 7B 29 00 00 E8 }
$op3 = { BF FF FF FF FF E8 96 9D 0A 00 90 90 90 90 90 90 90 90 90 90 89 F0}
$op4 = { 88D380C305329AC1D60C08889A60A10F084283FA0876E9 }
$op5 = { 8B 8D 50 DF FF FF B8 09 00 00 00 89 44 24 04 89 0C 24 E8 DD E5 02 00 }
$op6 = { 8D 5A 05 32 9A 60 26 0C 08 88 9A 20 F4 0E 08 42 83 FA 48 76 EB }
$op7 = { 8D 4A 05 32 8A 25 26 0C 08 88 8A 20 F4 0E 08 42 83 FA 08 76 EB}
condition:
uint16( 0 ) == 0x457f and filesize < 5000KB and 2 of them
}
Strings (8 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $op0 | hex | { 8D 41 05 32 06 48 FF C6 88 81 E0 80 69 00 } | |
| $op1 | hex | { 48FFC14883F94975E9 } | |
| $op2 | hex | { C7 05 9B 7D 29 00 1D 00 00 00 C7 05 2D 7B 29 00 65 74 68 30 C6 05 2A 7B 29 00 00 E8 } | |
| $op3 | hex | { BF FF FF FF FF E8 96 9D 0A 00 90 90 90 90 90 90 90 90 90 90 89 F0} | |
| $op4 | hex | { 88D380C305329AC1D60C08889A60A10F084283FA0876E9 } | |
| $op5 | hex | { 8B 8D 50 DF FF FF B8 09 00 00 00 89 44 24 04 89 0C 24 E8 DD E5 02 00 } | |
| $op6 | hex | { 8D 5A 05 32 9A 60 26 0C 08 88 9A 20 F4 0E 08 42 83 FA 48 76 EB } | |
| $op7 | hex | { 8D 4A 05 32 8A 25 26 0C 08 88 8A 20 F4 0E 08 42 83 FA 08 76 EB} |
Condition
uint16( 0 ) == 0x457f and filesize < 5000KB and 2 of themIn plain words (Heuristic)
- The file must be smaller than 5000KB (a cheap guard that skips large files).
- At least 2 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
- 8856a68d95e4e79301779770a83e3fad8f122b849a9e9e31cfe06bf3418fa667
- 1d5e4466a6c5723cd30caf8b1c3d33d1a3d4c94c25e2ebe186c02b8b41daf905
- 2dabb2c5c04da560a6b56dbaa565d1eab8189d1fa4a85557a22157877065ea08
- 3e138e4e34c6eed3506efc7c805fce19af13bd62aeb35544f81f111e83b5d0d4
- 5a204263cac112318cd162f1c372437abf7f2092902b05e943e8784869629dd8
- d49690ccb82ff9d42d3ee9d7da693fd7d302734562de088e9298413d56b86ed0
Licence & attribution
Author: Leonardo S.p.A.
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: 03043f59-c81a-5423-bec1-6cd88f6e3c52
Tags:FILE
Related rules
- APT / threat actorSignature Base (Florian Roth / Nextron)· Leonardo S.p.A.· 2020-04-24