Actor(s): APT31
There is no description at this point.
rule win_rawdoor_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2026-05-04" version = "1" description = "Detects win.rawdoor." 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.rawdoor" malpedia_rule_date = "20260422" malpedia_hash = "a182e35da64e6d71cb55f125c4d4225196523f14" malpedia_version = "20260504" 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 = { 030e 03d1 c1c207 4103d2 } // n = 4, score = 600 // 030e | add edx, ecx // 03d1 | inc ecx // c1c207 | mov ecx, eax // 4103d2 | not ecx $sequence_1 = { 034210 418d90a9cfde4b 458d81604bbbf6 03d0 } // n = 4, score = 600 // 034210 | rol edx, 7 // 418d90a9cfde4b | inc ecx // 458d81604bbbf6 | add edx, edx // 03d0 | and eax, edx $sequence_2 = { 030b 4403d1 418bc8 f7d1 23ca } // n = 5, score = 600 // 030b | add ecx, dword ptr [ebx] // 4403d1 | inc esp // 418bc8 | add edx, ecx // f7d1 | inc ecx // 23ca | mov ecx, eax $sequence_3 = { 034218 418d91051d8804 458d8a39d0d4d9 03d0 } // n = 4, score = 600 // 034218 | inc ebp // 418d91051d8804 | lea eax, [ecx - 0x944b4a0] // 458d8a39d0d4d9 | add edx, eax // 03d0 | inc ebp $sequence_4 = { 03442444 3d00040000 730e 488d4c2450 } // n = 4, score = 600 // 03442444 | rol edx, 0xb // 3d00040000 | inc ecx // 730e | add edx, ebx // 488d4c2450 | add eax, dword ptr [edx + 0x18] $sequence_5 = { 034608 03d0 8b442408 4103c1 4c8b4c2410 } // n = 5, score = 600 // 034608 | inc ebp // 03d0 | lea ecx, [edx - 0x262b2fc7] // 8b442408 | add edx, eax // 4103c1 | dec eax // 4c8b4c2410 | mov eax, dword ptr [esp] $sequence_6 = { 034808 4403c1 8bcb f7d1 23ca } // n = 5, score = 600 // 034808 | add eax, dword ptr [esp + 0x44] // 4403c1 | cmp eax, 0x400 // 8bcb | jae 0x30 // f7d1 | dec eax // 23ca | lea ecx, [esp + 0x50] $sequence_7 = { 034824 418bc0 4403c9 33c2 418d8be599dbe6 } // n = 5, score = 600 // 034824 | mov edx, ebx // 418bc0 | add eax, dword ptr [esp + 0x44] // 4403c9 | cmp eax, 0x400 // 33c2 | jae 0x15 // 418d8be599dbe6 | dec eax $sequence_8 = { 0101 0101 0100 0000 0001 0100 } // n = 6, score = 400 // 0101 | and ecx, edx // 0101 | add ecx, dword ptr [ebx] // 0100 | inc esp // 0000 | add edx, ecx // 0001 | inc ecx // 0100 | mov ecx, eax $sequence_9 = { 0000 0001 0100 0001 0101 0101 } // n = 6, score = 400 // 0000 | mov ecx, edx // 0001 | add ecx, dword ptr [esi] // 0100 | add edx, ecx // 0001 | rol edx, 7 // 0101 | inc ecx // 0101 | add edx, edx $sequence_10 = { 83c40c 56 ff34b8 ff15???????? 47 3b7dfc 7cd7 } // n = 7, score = 200 // 83c40c | lea edx, [eax + 0x1fa27cf8] // 56 | add eax, dword ptr [edx + 0x18] // ff34b8 | inc ecx // ff15???????? | // 47 | lea edx, [ecx + 0x4881d05] // 3b7dfc | inc ebp // 7cd7 | lea ecx, [edx - 0x262b2fc7] $sequence_11 = { 84c0 75f9 2bca 8d47ff 03f1 3bd8 7411 } // n = 7, score = 200 // 84c0 | lea ecx, [edx - 0x262b2fc7] // 75f9 | add edx, eax // 2bca | dec eax // 8d47ff | mov eax, dword ptr [esp] // 03f1 | add eax, dword ptr [edx + 0x18] // 3bd8 | inc ecx // 7411 | lea edx, [ecx + 0x4881d05] $sequence_12 = { ff15???????? ff7604 8b35???????? ffd6 8bf8 8d85f8feffff } // n = 6, score = 200 // ff15???????? | // ff7604 | cmp eax, 0x400 // 8b35???????? | // ffd6 | jae 0x15 // 8bf8 | dec eax // 8d85f8feffff | lea ecx, [esp + 0x50] $sequence_13 = { 6a00 8985e0fbffff c785f4fbffff00000000 c785f8fbffff00000000 c785ecfbffff00000000 ff15???????? 8bd8 } // n = 7, score = 200 // 6a00 | inc ebp // 8985e0fbffff | lea ecx, [edx - 0x262b2fc7] // c785f4fbffff00000000 | add edx, eax // c785f8fbffff00000000 | dec eax // c785ecfbffff00000000 | mov eax, dword ptr [esp] // ff15???????? | // 8bd8 | inc ebp $sequence_14 = { 0f8483000000 48 744e 83e809 0f8523020000 c745d803000000 c745dce4690210 } // n = 7, score = 200 // 0f8483000000 | add edx, eax // 48 | dec eax // 744e | mov eax, dword ptr [esp] // 83e809 | inc ebp // 0f8523020000 | lea edx, [eax + 0x1fa27cf8] // c745d803000000 | ror edx, 9 // c745dce4690210 | add eax, dword ptr [esp + 0x44] $sequence_15 = { 52 ebcc 8d45e4 50 681f000200 6a00 ff750c } // n = 7, score = 200 // 52 | add eax, dword ptr [esp + 0x44] // ebcc | cmp eax, 0x400 // 8d45e4 | jae 0x15 // 50 | dec eax // 681f000200 | lea ecx, [esp + 0x50] // 6a00 | dec eax // ff750c | mov edx, ebx condition: 7 of them and filesize < 445440 }
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