A ransomware with potential ties to Wizard Spider.
rule win_diavol_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2023-01-25" 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 = "20230124" malpedia_hash = "2ee0eebba83dce3d019a90519f2f972c0fcf9686" malpedia_version = "20230125" 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 = { 6ad4 56 ffd3 6a00 8d45cc } // n = 5, score = 100 // 6ad4 | push -0x2c // 56 | push esi // ffd3 | call ebx // 6a00 | push 0 // 8d45cc | lea eax, [ebp - 0x34] $sequence_1 = { 51 8d9578ffffff 52 ff15???????? 6880000000 } // n = 5, score = 100 // 51 | push ecx // 8d9578ffffff | lea edx, [ebp - 0x88] // 52 | push edx // ff15???????? | // 6880000000 | push 0x80 $sequence_2 = { 6800020000 8d85a0fdffff 6a00 50 e8???????? } // n = 5, score = 100 // 6800020000 | push 0x200 // 8d85a0fdffff | lea eax, [ebp - 0x260] // 6a00 | push 0 // 50 | push eax // e8???????? | $sequence_3 = { e8???????? 8b4dfc 33cd 83c45c e8???????? 8be5 } // n = 6, score = 100 // e8???????? | // 8b4dfc | mov ecx, dword ptr [ebp - 4] // 33cd | xor ecx, ebp // 83c45c | add esp, 0x5c // e8???????? | // 8be5 | mov esp, ebp $sequence_4 = { 6a02 8d9c3594f7ffff 68???????? 53 8bfe e8???????? } // n = 6, score = 100 // 6a02 | push 2 // 8d9c3594f7ffff | lea ebx, [ebp + esi - 0x86c] // 68???????? | // 53 | push ebx // 8bfe | mov edi, esi // e8???????? | $sequence_5 = { 6a02 ff15???????? 8bf0 83feff 0f842c010000 33c0 ba02000000 } // n = 7, score = 100 // 6a02 | push 2 // ff15???????? | // 8bf0 | mov esi, eax // 83feff | cmp esi, -1 // 0f842c010000 | je 0x132 // 33c0 | xor eax, eax // ba02000000 | mov edx, 2 $sequence_6 = { 85f6 752a 6a02 53 ff15???????? } // n = 5, score = 100 // 85f6 | test esi, esi // 752a | jne 0x2c // 6a02 | push 2 // 53 | push ebx // ff15???????? | $sequence_7 = { e9???????? 57 ff15???????? 8b4df8 5f } // n = 5, score = 100 // e9???????? | // 57 | push edi // ff15???????? | // 8b4df8 | mov ecx, dword ptr [ebp - 8] // 5f | pop edi $sequence_8 = { c785fcefffff00000000 e8???????? 6800020000 8d85a0fdffff 6a00 } // n = 5, score = 100 // c785fcefffff00000000 | mov dword ptr [ebp - 0x1004], 0 // e8???????? | // 6800020000 | push 0x200 // 8d85a0fdffff | lea eax, [ebp - 0x260] // 6a00 | push 0 $sequence_9 = { e8???????? 83c40c 85c0 75e4 2bfe } // n = 5, score = 100 // e8???????? | // 83c40c | add esp, 0xc // 85c0 | test eax, eax // 75e4 | jne 0xffffffe6 // 2bfe | sub edi, esi 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