Actor(s): MUSTANG PANDA
According to X-Force, SnakeDisk is a USB worm, dropping further payloads
rule win_snake_disk_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2026-09-17" version = "1" description = "Detects win.snake_disk." info = "autogenerated rule brought to you by yara-signator" tool = "yara-signator v0.6.0" signator_config = "callsandjumps;datarefs;binvalue" malpedia_reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.snake_disk" malpedia_rule_date = "20260916" malpedia_hash = "53a643781c18e08f4a50949af60172d837a0b6f6" malpedia_version = "20260917" malpedia_license = "CC BY-SA 4.0" malpedia_sharing = "TLP:WHITE" /* DISCLAIMER * The strings used in this rule have been automatically selected from the * disassembly of memory dumps and unpacked files, using YARA-Signator. * The code and documentation is published here: * https://github.com/fxb-cocacoding/yara-signator * As Malpedia is used as data source, please note that for a given * number of families, only single samples are documented. * This likely impacts the degree of generalization these rules will offer. * Take the described generation method also into consideration when you * apply the rules in your use cases and assign them confidence levels. */ strings: $sequence_0 = { e8???????? 8b06 8b7050 8bce ff15???????? } // n = 5, score = 100 // e8???????? | // 8b06 | mov eax, dword ptr [esi] // 8b7050 | mov esi, dword ptr [eax + 0x50] // 8bce | mov ecx, esi // ff15???????? | $sequence_1 = { e8???????? 8b06 8b7028 e8???????? } // n = 4, score = 100 // e8???????? | // 8b06 | mov eax, dword ptr [esi] // 8b7028 | mov esi, dword ptr [eax + 0x28] // e8???????? | $sequence_2 = { e8???????? 8b06 8b8094000000 85c0 } // n = 4, score = 100 // e8???????? | // 8b06 | mov eax, dword ptr [esi] // 8b8094000000 | mov eax, dword ptr [eax + 0x94] // 85c0 | test eax, eax $sequence_3 = { e8???????? 8b06 8b75cc 8b4ddc } // n = 4, score = 100 // e8???????? | // 8b06 | mov eax, dword ptr [esi] // 8b75cc | mov esi, dword ptr [ebp - 0x34] // 8b4ddc | mov ecx, dword ptr [ebp - 0x24] $sequence_4 = { e8???????? 8b06 8b4e04 8945f8 } // n = 4, score = 100 // e8???????? | // 8b06 | mov eax, dword ptr [esi] // 8b4e04 | mov ecx, dword ptr [esi + 4] // 8945f8 | mov dword ptr [ebp - 8], eax $sequence_5 = { e8???????? 8b06 8900 8b06 894004 8b45a4 } // n = 6, score = 100 // e8???????? | // 8b06 | mov eax, dword ptr [esi] // 8900 | mov dword ptr [eax], eax // 8b06 | mov eax, dword ptr [esi] // 894004 | mov dword ptr [eax + 4], eax // 8b45a4 | mov eax, dword ptr [ebp - 0x5c] $sequence_6 = { e8???????? 8b06 895dd0 895dd4 } // n = 4, score = 100 // e8???????? | // 8b06 | mov eax, dword ptr [esi] // 895dd0 | mov dword ptr [ebp - 0x30], ebx // 895dd4 | mov dword ptr [ebp - 0x2c], ebx $sequence_7 = { e8???????? 8b06 8b7058 33c0 } // n = 4, score = 100 // e8???????? | // 8b06 | mov eax, dword ptr [esi] // 8b7058 | mov esi, dword ptr [eax + 0x58] // 33c0 | xor eax, eax condition: 7 of them and filesize < 28734464 }
If your designated proposal does not fit in any other category, feel free to write a free-text in the comment field below. Changes regarding references should be proposed on the Malpedia library page.
Your suggestion will be reviewed before being published. Thank you for contributing!
YYYY-MM-DD
YYYY-MM
YYYY