A ransomware with potential ties to Wizard Spider.
rule win_diavol_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2023-03-28" version = "1" description = "Detects win.diavol." 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.diavol" 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 = { 8985f0feffff 8985f4feffff 8d85e8feffff 50 ff15???????? } // n = 5, score = 100 // 8985f0feffff | mov dword ptr [ebp - 0x110], eax // 8985f4feffff | mov dword ptr [ebp - 0x10c], eax // 8d85e8feffff | lea eax, [ebp - 0x118] // 50 | push eax // ff15???????? | $sequence_1 = { ff05???????? 83c410 85f6 75bb } // n = 4, score = 100 // ff05???????? | // 83c410 | add esp, 0x10 // 85f6 | test esi, esi // 75bb | jne 0xffffffbd $sequence_2 = { 48 75dd eb03 40 } // n = 4, score = 100 // 48 | dec eax // 75dd | jne 0xffffffdf // eb03 | jmp 5 // 40 | inc eax $sequence_3 = { e8???????? 83c404 85c0 0f854cfeffff 8d8dd0edffff 51 e8???????? } // n = 7, score = 100 // e8???????? | // 83c404 | add esp, 4 // 85c0 | test eax, eax // 0f854cfeffff | jne 0xfffffe52 // 8d8dd0edffff | lea ecx, [ebp - 0x1230] // 51 | push ecx // e8???????? | $sequence_4 = { 8b0d???????? 8b15???????? 8908 895004 8d85a4edffff } // n = 5, score = 100 // 8b0d???????? | // 8b15???????? | // 8908 | mov dword ptr [eax], ecx // 895004 | mov dword ptr [eax + 4], edx // 8d85a4edffff | lea eax, [ebp - 0x125c] $sequence_5 = { 8d85d0edffff 8d9b00000000 668b10 663b11 } // n = 4, score = 100 // 8d85d0edffff | lea eax, [ebp - 0x1230] // 8d9b00000000 | lea ebx, [ebx] // 668b10 | mov dx, word ptr [eax] // 663b11 | cmp dx, word ptr [ecx] $sequence_6 = { 53 6880000000 6a03 53 8908 8b0d???????? 6a01 } // n = 7, score = 100 // 53 | push ebx // 6880000000 | push 0x80 // 6a03 | push 3 // 53 | push ebx // 8908 | mov dword ptr [eax], ecx // 8b0d???????? | // 6a01 | push 1 $sequence_7 = { 83c404 6804010000 8bf8 57 6a00 } // n = 5, score = 100 // 83c404 | add esp, 4 // 6804010000 | push 0x104 // 8bf8 | mov edi, eax // 57 | push edi // 6a00 | push 0 $sequence_8 = { 83c002 6685c9 75e9 8d95f8f7ffff 52 e8???????? 8b4dfc } // n = 7, score = 100 // 83c002 | add eax, 2 // 6685c9 | test cx, cx // 75e9 | jne 0xffffffeb // 8d95f8f7ffff | lea edx, [ebp - 0x808] // 52 | push edx // e8???????? | // 8b4dfc | mov ecx, dword ptr [ebp - 4] $sequence_9 = { 0f84ee000000 53 57 33db 8d9b00000000 } // n = 5, score = 100 // 0f84ee000000 | je 0xf4 // 53 | push ebx // 57 | push edi // 33db | xor ebx, ebx // 8d9b00000000 | lea ebx, [ebx] condition: 7 of them and filesize < 191488 }
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