Actor(s): Greenbug
There is no description at this point.
rule win_ismdoor_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2022-04-08" version = "1" description = "Detects win.ismdoor." 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.ismdoor" malpedia_rule_date = "20220405" malpedia_hash = "ecd38294bd47d5589be5cd5490dc8bb4804afc2a" malpedia_version = "20220411" 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 = { 83f8ff 7504 32c0 eb05 c0e804 2401 84c0 } // n = 7, score = 400 // 83f8ff | cmp eax, -1 // 7504 | jne 6 // 32c0 | xor al, al // eb05 | jmp 7 // c0e804 | shr al, 4 // 2401 | and al, 1 // 84c0 | test al, al $sequence_1 = { 8ac3 eb04 8acb b001 41c704d004000000 ff4624 ff87d0000000 } // n = 7, score = 300 // 8ac3 | dec eax // eb04 | shl esi, 4 // 8acb | dec ecx // b001 | mov eax, dword ptr [esp + 0x10] // 41c704d004000000 | dec eax // ff4624 | cmp dword ptr [esi + eax], ebx // ff87d0000000 | je 0x22 $sequence_2 = { 740b b901000000 e8???????? cc b802000000 448d400f 8bd0 } // n = 7, score = 300 // 740b | lea ecx, dword ptr [esp + 0xe8] // b901000000 | dec eax // e8???????? | // cc | lea eax, dword ptr [esp + 0xe8] // b802000000 | je 0xd // 448d400f | mov ecx, 1 // 8bd0 | int3 $sequence_3 = { 498b1c24 48c1e604 498b442410 48391c06 7417 488b440608 } // n = 6, score = 300 // 498b1c24 | mov eax, 2 // 48c1e604 | inc esp // 498b442410 | lea eax, dword ptr [eax + 0xf] // 48391c06 | mov edx, eax // 7417 | dec ecx // 488b440608 | mov ebx, dword ptr [esp] $sequence_4 = { 4533c0 e8???????? 90 488d8c24e8000000 e8???????? 488d8424e8000000 } // n = 6, score = 300 // 4533c0 | inc ebp // e8???????? | // 90 | xor eax, eax // 488d8c24e8000000 | nop // e8???????? | // 488d8424e8000000 | dec eax $sequence_5 = { 0f8530ffffff 48837f1808 7208 488b0f e8???????? } // n = 5, score = 300 // 0f8530ffffff | inc ecx // 48837f1808 | mov dword ptr [eax + edx*8], 4 // 7208 | inc dword ptr [esi + 0x24] // 488b0f | inc dword ptr [edi + 0xd0] // e8???????? | $sequence_6 = { 488bd9 418bf0 4c8bea 418bc8 bf01000000 4585c0 } // n = 6, score = 300 // 488bd9 | dec eax // 418bf0 | mov eax, dword ptr [esi + eax + 8] // 4c8bea | mov al, bl // 418bc8 | jmp 6 // bf01000000 | mov cl, bl // 4585c0 | mov al, 1 $sequence_7 = { 4c8b3f 488d5528 498bcf e8???????? 85c0 } // n = 5, score = 300 // 4c8b3f | dec eax // 488d5528 | mov ebx, ecx // 498bcf | inc ecx // e8???????? | // 85c0 | mov esi, eax $sequence_8 = { 68???????? e8???????? 83c404 8d8decfeffff } // n = 4, score = 100 // 68???????? | // e8???????? | // 83c404 | add esp, 4 // 8d8decfeffff | lea ecx, dword ptr [ebp - 0x114] $sequence_9 = { c645fc0b 8d8df8feffff e8???????? 83c404 68???????? 8bd0 } // n = 6, score = 100 // c645fc0b | mov byte ptr [ebp - 4], 0xb // 8d8df8feffff | lea ecx, dword ptr [ebp - 0x108] // e8???????? | // 83c404 | add esp, 4 // 68???????? | // 8bd0 | mov edx, eax $sequence_10 = { 837ddc00 0f84f1000000 83ec18 c745ec00000000 0f57c0 8965c4 } // n = 6, score = 100 // 837ddc00 | cmp dword ptr [ebp - 0x24], 0 // 0f84f1000000 | je 0xf7 // 83ec18 | sub esp, 0x18 // c745ec00000000 | mov dword ptr [ebp - 0x14], 0 // 0f57c0 | xorps xmm0, xmm0 // 8965c4 | mov dword ptr [ebp - 0x3c], esp $sequence_11 = { 2c30 eb02 2c57 0002 46 } // n = 5, score = 100 // 2c30 | sub al, 0x30 // eb02 | jmp 4 // 2c57 | sub al, 0x57 // 0002 | add byte ptr [edx], al // 46 | inc esi $sequence_12 = { 6a25 8bf1 ff15???????? 50 } // n = 4, score = 100 // 6a25 | push 0x25 // 8bf1 | mov esi, ecx // ff15???????? | // 50 | push eax $sequence_13 = { 50 8d8d58ffffff c645b72d e8???????? 83ec08 } // n = 5, score = 100 // 50 | push eax // 8d8d58ffffff | lea ecx, dword ptr [ebp - 0xa8] // c645b72d | mov byte ptr [ebp - 0x49], 0x2d // e8???????? | // 83ec08 | sub esp, 8 $sequence_14 = { 68d0070000 8d4c2414 51 68???????? 50 } // n = 5, score = 100 // 68d0070000 | push 0x7d0 // 8d4c2414 | lea ecx, dword ptr [esp + 0x14] // 51 | push ecx // 68???????? | // 50 | push eax condition: 7 of them and filesize < 1933312 }
rule win_ismdoor_w0 { meta: author = "Florian Roth" reference = "https://goo.gl/urp4CD" malpedia_reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.ismdoor" malpedia_version = "20180301" malpedia_license = "CC BY-NC-SA 4.0" malpedia_sharing = "TLP:WHITE" strings: $x1 = "cmd /u /c WMIC /Node:localhost /Namespace:\\\\root\\SecurityCenter" fullword ascii $x2 = "cmd /a /c net user administrator /domain >>" fullword ascii $x3 = "cmd /a /c netstat -ant >>\"%localappdata%\\Microsoft\\" fullword ascii $o1 = "========================== (Net User) ==========================" ascii fullword condition: 1 of them }
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