Actor(s): Shamoon, Magic Hound, Timberworm, COBALT GIPSY
There is no description at this point.
rule win_disttrack_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2023-03-28" version = "1" description = "Detects win.disttrack." 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.disttrack" malpedia_rule_date = "20230328" malpedia_hash = "9d2d75cef573c1c2d861f5197df8f563b05a305d" malpedia_version = "20230407" 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 = { 53 ff15???????? 5d 5b 8bc7 5f 5e } // n = 7, score = 200 // 53 | pop esi // ff15???????? | // 5d | pop ebp // 5b | ret // 8bc7 | push 0xc // 5f | push 0x16 // 5e | pop eax $sequence_1 = { 6a16 58 5e 5d c3 6a0c } // n = 6, score = 200 // 6a16 | dec eax // 58 | mov eax, edx // 5e | and edx, 0x1f // 5d | dec eax // c3 | sar eax, 5 // 6a0c | dec eax $sequence_2 = { 83c404 50 e8???????? 83c404 68???????? ff15???????? e8???????? } // n = 7, score = 200 // 83c404 | pop esi // 50 | pop ebp // e8???????? | // 83c404 | ret // 68???????? | // ff15???????? | // e8???????? | $sequence_3 = { e8???????? 6a07 e8???????? 59 c3 6a10 68???????? } // n = 7, score = 200 // e8???????? | // 6a07 | dec esp // e8???????? | // 59 | mov ebx, edx // c3 | dec eax // 6a10 | mov ecx, edi // 68???????? | $sequence_4 = { ff15???????? 8d45dc 50 ff15???????? 8b4ddc } // n = 5, score = 200 // ff15???????? | // 8d45dc | pop esi // 50 | pop ebp // ff15???????? | // 8b4ddc | ret $sequence_5 = { 52 6a00 6a00 6848000700 } // n = 4, score = 200 // 52 | pop eax // 6a00 | pop esi // 6a00 | pop ebp // 6848000700 | ret $sequence_6 = { 48635004 488d0589470100 4889440ae8 488d0545460100 488901 } // n = 5, score = 100 // 48635004 | mov ecx, ebp // 488d0589470100 | test al, al // 4889440ae8 | jne 0xe // 488d0545460100 | dec eax // 488901 | arpl word ptr [eax + 4], dx $sequence_7 = { a1???????? 8b0d???????? 8917 8b15???????? } // n = 4, score = 100 // a1???????? | // 8b0d???????? | // 8917 | add esp, 4 // 8b15???????? | $sequence_8 = { 8985b0feffff 8a4d82 888db4feffff 8d5580 52 b9???????? } // n = 6, score = 100 // 8985b0feffff | push 0x10 // 8a4d82 | add esp, 4 // 888db4feffff | push eax // 8d5580 | add esp, 4 // 52 | add esp, 4 // b9???????? | $sequence_9 = { 4a8d8c5de0090000 e8???????? 488d95e0090000 498bcd e8???????? 84c0 750c } // n = 7, score = 100 // 4a8d8c5de0090000 | dec edx // e8???????? | // 488d95e0090000 | lea ecx, [ebp + ebx*2 + 0x9e0] // 498bcd | dec eax // e8???????? | // 84c0 | lea edx, [ebp + 0x9e0] // 750c | dec ecx $sequence_10 = { 6a00 8d442420 50 57 8d8c24f4000000 51 53 } // n = 7, score = 100 // 6a00 | push 0xc // 8d442420 | push 0x16 // 50 | pop eax // 57 | pop esi // 8d8c24f4000000 | pop ebp // 51 | ret // 53 | push 0xc $sequence_11 = { 6a03 6a00 6a07 68000000c0 57 ff15???????? } // n = 6, score = 100 // 6a03 | jne 0x20 // 6a00 | xor eax, eax // 6a07 | jne 0x15 // 68000000c0 | mov dword ptr [ebp - 4], 0xffffffff // 57 | mov eax, dword ptr [ebp - 4] // ff15???????? | $sequence_12 = { c744244cbcc24100 c684249c00000000 c684249500000000 8954247c 89842480000000 895c2458 895c2468 } // n = 7, score = 100 // c744244cbcc24100 | push 0x10 // c684249c00000000 | jmp 0xffffffb4 // c684249500000000 | push 0x16 // 8954247c | pop eax // 89842480000000 | pop esi // 895c2458 | pop ebp // 895c2468 | ret $sequence_13 = { 488bc6 488d15b06d0100 83e11f 48c1f805 486bc958 } // n = 5, score = 100 // 488bc6 | lea eax, [0x122b0] // 488d15b06d0100 | dec esp // 83e11f | cmp edx, eax // 48c1f805 | je 0x13 // 486bc958 | dec eax $sequence_14 = { 498bcb e8???????? 488d15d8670100 488bca e8???????? 488d0db1670100 } // n = 6, score = 100 // 498bcb | lea edx, [0x16db0] // e8???????? | // 488d15d8670100 | and ecx, 0x1f // 488bca | dec eax // e8???????? | // 488d0db1670100 | sar eax, 5 $sequence_15 = { 7511 488d05b0220100 4c3bd0 7405 } // n = 4, score = 100 // 7511 | dec eax // 488d05b0220100 | lea eax, [0x14789] // 4c3bd0 | dec eax // 7405 | mov dword ptr [edx + ecx - 0x18], eax $sequence_16 = { 33c0 0fbe84c170ff4100 6a07 c1f804 59 8985a4fbffff } // n = 6, score = 100 // 33c0 | mov ecx, dword ptr [ebp - 0xc] // 0fbe84c170ff4100 | pop ebp // 6a07 | pop ebx // c1f804 | mov eax, edi // 59 | pop edi // 8985a4fbffff | pop esi $sequence_17 = { 488d0de0fa0000 488bc2 83e21f 48c1f805 486bd258 488b04c1 } // n = 6, score = 100 // 488d0de0fa0000 | mov ebp, ecx // 488bc2 | dec eax // 83e21f | test ecx, ecx // 48c1f805 | je 0x141 // 486bd258 | dec eax // 488b04c1 | test edx, edx $sequence_18 = { 51 89450c e8???????? 83c40c 037d0c c6043b00 5f } // n = 7, score = 100 // 51 | push 0xc // 89450c | pop eax // e8???????? | // 83c40c | pop esi // 037d0c | pop ebp // c6043b00 | ret // 5f | push 0xc $sequence_19 = { d436 d836 dc36 2637 2c37 3037 3437 } // n = 7, score = 100 // d436 | push 7 // d836 | pop ecx // dc36 | ret // 2637 | push 0x10 // 2c37 | push edi // 3037 | push 7 // 3437 | pop ecx $sequence_20 = { 488d3d676a0100 4c8bda 488bcf e8???????? 488bd7 498bca 448d0400 } // n = 7, score = 100 // 488d3d676a0100 | je 0x141 // 4c8bda | dec ebp // 488bcf | test eax, eax // e8???????? | // 488bd7 | dec eax // 498bca | mov eax, esi // 448d0400 | dec eax $sequence_21 = { 8d9530ffffff 0f95c0 52 8845ec e8???????? 8b0d???????? b330 } // n = 7, score = 100 // 8d9530ffffff | push eax // 0f95c0 | add esp, 4 // 52 | push ebx // 8845ec | pop ebp // e8???????? | // 8b0d???????? | // b330 | pop ebx $sequence_22 = { 68???????? 8d4de4 51 c745e408924100 e8???????? } // n = 5, score = 100 // 68???????? | // 8d4de4 | push 7 // 51 | pop ecx // c745e408924100 | ret // e8???????? | $sequence_23 = { 33c0 5d c3 8b04c57caa4100 5d c3 } // n = 6, score = 100 // 33c0 | ret // 5d | push 0x10 // c3 | pop eax // 8b04c57caa4100 | pop esi // 5d | pop ebp // c3 | ret $sequence_24 = { 488be9 4885c9 0f843b010000 4885d2 0f8432010000 4d85c0 } // n = 6, score = 100 // 488be9 | dec eax // 4885c9 | lea eax, [0x14645] // 0f843b010000 | dec eax // 4885d2 | mov dword ptr [ecx], eax // 0f8432010000 | jne 0x13 // 4d85c0 | dec eax $sequence_25 = { 8d45ec 50 8b4d08 e8???????? 8b4508 8be5 } // n = 6, score = 100 // 8d45ec | push 0xc // 50 | push edi // 8b4d08 | push 7 // e8???????? | // 8b4508 | pop ecx // 8be5 | ret condition: 7 of them and filesize < 1112064 }
If your designated proposal does not fit in any other category, feel free to write a free-text in the comment field below.
Please propose all changes regarding references on the Malpedia library page
Your suggestion will be reviewed before being published. Thank you for contributing!
YYYY-MM-DD
YYYY-MM
YYYY