Actor(s): DNSpionage
There is no description at this point.
rule win_dnspionage_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2023-07-11" version = "1" description = "Detects win.dnspionage." 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.dnspionage" malpedia_rule_date = "20230705" malpedia_hash = "42d0574f4405bd7d2b154d321d345acb18834a41" malpedia_version = "20230715" 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 = { 6a05 894304 e8???????? 8bd8 ba???????? 8bf3 895d0c } // n = 7, score = 300 // 6a05 | push 5 // 894304 | mov dword ptr [ebx + 4], eax // e8???????? | // 8bd8 | mov ebx, eax // ba???????? | // 8bf3 | mov esi, ebx // 895d0c | mov dword ptr [ebp + 0xc], ebx $sequence_1 = { 6a2b 51 ff15???????? 83bdf8feffff00 764a ff15???????? 85c0 } // n = 7, score = 300 // 6a2b | push 0x2b // 51 | push ecx // ff15???????? | // 83bdf8feffff00 | cmp dword ptr [ebp - 0x108], 0 // 764a | jbe 0x4c // ff15???????? | // 85c0 | test eax, eax $sequence_2 = { 884437ff 3bca 72f2 8b7dec } // n = 4, score = 300 // 884437ff | mov byte ptr [edi + esi - 1], al // 3bca | cmp ecx, edx // 72f2 | jb 0xfffffff4 // 8b7dec | mov edi, dword ptr [ebp - 0x14] $sequence_3 = { 8d4e01 51 e8???????? 83c404 8bd8 56 57 } // n = 7, score = 300 // 8d4e01 | lea ecx, [esi + 1] // 51 | push ecx // e8???????? | // 83c404 | add esp, 4 // 8bd8 | mov ebx, eax // 56 | push esi // 57 | push edi $sequence_4 = { 5d c3 837e1400 7421 8b460c } // n = 5, score = 300 // 5d | pop ebp // c3 | ret // 837e1400 | cmp dword ptr [esi + 0x14], 0 // 7421 | je 0x23 // 8b460c | mov eax, dword ptr [esi + 0xc] $sequence_5 = { 03ce 03cf 03ca 0f92c0 f7d8 } // n = 5, score = 300 // 03ce | add ecx, esi // 03cf | add ecx, edi // 03ca | add ecx, edx // 0f92c0 | setb al // f7d8 | neg eax $sequence_6 = { 7905 48 83c8fc 40 7417 } // n = 5, score = 300 // 7905 | jns 7 // 48 | dec eax // 83c8fc | or eax, 0xfffffffc // 40 | inc eax // 7417 | je 0x19 $sequence_7 = { 8bd7 8945e4 8d7201 0f1f00 } // n = 4, score = 300 // 8bd7 | mov edx, edi // 8945e4 | mov dword ptr [ebp - 0x1c], eax // 8d7201 | lea esi, [edx + 1] // 0f1f00 | nop dword ptr [eax] $sequence_8 = { 5d c3 53 33db 8bce 395e14 } // n = 6, score = 300 // 5d | pop ebp // c3 | ret // 53 | push ebx // 33db | xor ebx, ebx // 8bce | mov ecx, esi // 395e14 | cmp dword ptr [esi + 0x14], ebx $sequence_9 = { 2bca 03f1 56 e8???????? 8bd8 83c408 2bde } // n = 7, score = 300 // 2bca | sub ecx, edx // 03f1 | add esi, ecx // 56 | push esi // e8???????? | // 8bd8 | mov ebx, eax // 83c408 | add esp, 8 // 2bde | sub ebx, esi condition: 7 of them and filesize < 786432 }
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