Actor(s): QUILTED TIGER
There is no description at this point.
rule win_badnews_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2026-05-04" version = "1" description = "Detects win.badnews." 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.badnews" 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 = { 50 e8???????? 83c404 68???????? 6804010000 ff15???????? } // n = 6, score = 1000 // 50 | push eax // e8???????? | // 83c404 | add esp, 4 // 68???????? | // 6804010000 | push 0x104 // ff15???????? | $sequence_1 = { 83e957 eb02 33c9 c0e004 02c1 3423 c0c003 } // n = 7, score = 900 // 83e957 | sub ecx, 0x57 // eb02 | jmp 4 // 33c9 | xor ecx, ecx // c0e004 | shl al, 4 // 02c1 | add al, cl // 3423 | xor al, 0x23 // c0c003 | rol al, 3 $sequence_2 = { c705????????33322e64 66c705????????6c6c c605????????00 ff15???????? } // n = 4, score = 900 // c705????????33322e64 | // 66c705????????6c6c | // c605????????00 | // ff15???????? | $sequence_3 = { c78534ffffff47657457 c78538ffffff696e646f c7853cffffff77546578 66c78540ffffff7457 } // n = 4, score = 900 // c78534ffffff47657457 | mov dword ptr [ebp - 0xcc], 0x57746547 // c78538ffffff696e646f | mov dword ptr [ebp - 0xc8], 0x6f646e69 // c7853cffffff77546578 | mov dword ptr [ebp - 0xc4], 0x78655477 // 66c78540ffffff7457 | mov word ptr [ebp - 0xc0], 0x5774 $sequence_4 = { a1???????? 33c5 8945fc 53 56 57 8d8534ffffff } // n = 7, score = 900 // a1???????? | // 33c5 | xor eax, ebp // 8945fc | mov dword ptr [ebp - 4], eax // 53 | push ebx // 56 | push esi // 57 | push edi // 8d8534ffffff | lea eax, [ebp - 0xcc] $sequence_5 = { 55 8bec 8b450c 3d01020000 } // n = 4, score = 900 // 55 | push ebp // 8bec | mov ebp, esp // 8b450c | mov eax, dword ptr [ebp + 0xc] // 3d01020000 | cmp eax, 0x201 $sequence_6 = { 68???????? 6a1a 68???????? 57 } // n = 4, score = 800 // 68???????? | // 6a1a | push 0x1a // 68???????? | // 57 | push edi $sequence_7 = { 6a00 d1f9 68???????? 03c9 51 } // n = 5, score = 800 // 6a00 | push 0 // d1f9 | sar ecx, 1 // 68???????? | // 03c9 | add ecx, ecx // 51 | push ecx $sequence_8 = { 56 ffd3 85c0 7403 83c608 } // n = 5, score = 700 // 56 | push esi // ffd3 | call ebx // 85c0 | test eax, eax // 7403 | je 5 // 83c608 | add esi, 8 $sequence_9 = { ff15???????? 85c0 7405 83c004 eb02 } // n = 5, score = 700 // ff15???????? | // 85c0 | test eax, eax // 7405 | je 7 // 83c004 | add eax, 4 // eb02 | jmp 4 $sequence_10 = { 8bf0 56 ff15???????? 50 6a40 ff15???????? } // n = 6, score = 700 // 8bf0 | mov esi, eax // 56 | push esi // ff15???????? | // 50 | push eax // 6a40 | push 0x40 // ff15???????? | $sequence_11 = { 57 6a00 6880000000 6a04 6a00 6a01 6a04 } // n = 7, score = 700 // 57 | push edi // 6a00 | push 0 // 6880000000 | push 0x80 // 6a04 | push 4 // 6a00 | push 0 // 6a01 | push 1 // 6a04 | push 4 $sequence_12 = { b8???????? 83c424 8d5002 668b08 83c002 } // n = 5, score = 500 // b8???????? | // 83c424 | add esp, 0x24 // 8d5002 | lea edx, [eax + 2] // 668b08 | mov cx, word ptr [eax] // 83c002 | add eax, 2 $sequence_13 = { 894de4 399870980110 0f84e8000000 41 83c030 894de4 } // n = 6, score = 100 // 894de4 | mov dword ptr [ebp - 0x1c], ecx // 399870980110 | cmp dword ptr [eax + 0x10019870], ebx // 0f84e8000000 | je 0xee // 41 | inc ecx // 83c030 | add eax, 0x30 // 894de4 | mov dword ptr [ebp - 0x1c], ecx $sequence_14 = { 8bf0 c1ff05 83e61f c1e606 8b0cbdd0a70110 f6440e0401 } // n = 6, score = 100 // 8bf0 | mov esi, eax // c1ff05 | sar edi, 5 // 83e61f | and esi, 0x1f // c1e606 | shl esi, 6 // 8b0cbdd0a70110 | mov ecx, dword ptr [edi*4 + 0x1001a7d0] // f6440e0401 | test byte ptr [esi + ecx + 4], 1 $sequence_15 = { 8d4df0 e8???????? 68???????? 8d45f0 c745f0402f0110 50 e8???????? } // n = 7, score = 100 // 8d4df0 | lea ecx, [ebp - 0x10] // e8???????? | // 68???????? | // 8d45f0 | lea eax, [ebp - 0x10] // c745f0402f0110 | mov dword ptr [ebp - 0x10], 0x10012f40 // 50 | push eax // e8???????? | $sequence_16 = { 2400 1098240010bc 2400 1023 d18a0688078a } // n = 5, score = 100 // 2400 | and al, 0 // 1098240010bc | adc byte ptr [eax - 0x43efffdc], bl // 2400 | and al, 0 // 1023 | adc byte ptr [ebx], ah // d18a0688078a | ror dword ptr [edx - 0x75f877fa], 1 $sequence_17 = { 8b4d08 33c0 3b0cc530610110 740a 40 83f817 72f1 } // n = 7, score = 100 // 8b4d08 | mov ecx, dword ptr [ebp + 8] // 33c0 | xor eax, eax // 3b0cc530610110 | cmp ecx, dword ptr [eax*8 + 0x10016130] // 740a | je 0xc // 40 | inc eax // 83f817 | cmp eax, 0x17 // 72f1 | jb 0xfffffff3 $sequence_18 = { 8b0c85d0a70110 8a06 46 88441926 2bf2 eb14 f7da } // n = 7, score = 100 // 8b0c85d0a70110 | mov ecx, dword ptr [eax*4 + 0x1001a7d0] // 8a06 | mov al, byte ptr [esi] // 46 | inc esi // 88441926 | mov byte ptr [ecx + ebx + 0x26], al // 2bf2 | sub esi, edx // eb14 | jmp 0x16 // f7da | neg edx $sequence_19 = { e8???????? 59 ff34f5009e0110 ff15???????? 5e } // n = 5, score = 100 // e8???????? | // 59 | pop ecx // ff34f5009e0110 | push dword ptr [esi*8 + 0x10019e00] // ff15???????? | // 5e | pop esi $sequence_20 = { c705????????369f0010 c705????????aaa80010 c705????????12a80010 c705????????fda80010 c3 } // n = 5, score = 100 // c705????????369f0010 | // c705????????aaa80010 | // c705????????12a80010 | // c705????????fda80010 | // c3 | ret condition: 7 of them and filesize < 612352 }
import "pe" rule win_badnews_w0 { meta: author = "Florian Roth" reference = "http://blog.fortinet.com/2017/04/05/in-depth-look-at-new-variant-of-monsoon-apt-backdoor-part-2" malpedia_reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.badnews" malpedia_version = "20180301" malpedia_license = "CC BY-NC-SA 4.0" malpedia_sharing = "TLP:WHITE" strings: $x1 = "\\Microsoft\\Windows\\coco.exe" fullword ascii $x2 = ":\\System Volume Information\\config" fullword ascii $x3 = " cscript.[BACKSPA[PAGE DO[CAPS LO[PAGE UPTPX498.dTPX499.d" fullword wide $s1 = "\\Microsoft\\Templates\\msvcrt.dll" fullword ascii $s2 = "%04d/%02d/%02d %02d:%02d:%02d - {%s}" fullword wide $s3 = "wininet.dll " fullword ascii $s4 = "DMCZ0001.dat" fullword ascii $s5 = "TZ0000001.dat" fullword ascii $s6 = "\\MUT.dat" fullword ascii $s7 = "ouemm/emm!!!!!!!!!!!!!" fullword ascii condition: ( 1 of ($x*) or 3 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. 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