Actor(s): Rocket Kitten
There is no description at this point.
rule win_ghole_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2026-05-04" version = "1" description = "Detects win.ghole." 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.ghole" 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 = { 89c7 e8???????? 85c0 0f8484000000 48 8d8520fdffff } // n = 6, score = 100 // 89c7 | mov edi, eax // e8???????? | // 85c0 | test eax, eax // 0f8484000000 | je 0x8a // 48 | dec eax // 8d8520fdffff | lea eax, [ebp - 0x2e0] $sequence_1 = { 48 8b45e0 48 89de 48 89c7 e8???????? } // n = 7, score = 100 // 48 | dec eax // 8b45e0 | mov eax, dword ptr [ebp - 0x20] // 48 | dec eax // 89de | mov esi, ebx // 48 | dec eax // 89c7 | mov edi, eax // e8???????? | $sequence_2 = { 8b8568feffff 48 8945e8 eb17 48 8b45e8 0fb600 } // n = 7, score = 100 // 8b8568feffff | mov eax, dword ptr [ebp - 0x198] // 48 | dec eax // 8945e8 | mov dword ptr [ebp - 0x18], eax // eb17 | jmp 0x19 // 48 | dec eax // 8b45e8 | mov eax, dword ptr [ebp - 0x18] // 0fb600 | movzx eax, byte ptr [eax] $sequence_3 = { 8b45f8 48 8b55f0 48 8910 48 8b45f8 } // n = 7, score = 100 // 8b45f8 | mov eax, dword ptr [ebp - 8] // 48 | dec eax // 8b55f0 | mov edx, dword ptr [ebp - 0x10] // 48 | dec eax // 8910 | mov dword ptr [eax], edx // 48 | dec eax // 8b45f8 | mov eax, dword ptr [ebp - 8] $sequence_4 = { 25ff000000 89c2 48 8d05b37c0000 0fb60402 0fb6c0 c1e008 } // n = 7, score = 100 // 25ff000000 | and eax, 0xff // 89c2 | mov edx, eax // 48 | dec eax // 8d05b37c0000 | lea eax, [0x7cb3] // 0fb60402 | movzx eax, byte ptr [edx + eax] // 0fb6c0 | movzx eax, al // c1e008 | shl eax, 8 $sequence_5 = { 0f94c0 0fb6c0 c9 c3 55 48 89e5 } // n = 7, score = 100 // 0f94c0 | sete al // 0fb6c0 | movzx eax, al // c9 | leave // c3 | ret // 55 | push ebp // 48 | dec eax // 89e5 | mov ebp, esp $sequence_6 = { 8b855cffffff 83c801 89855cffffff 66c78560ffffff0000 48 8b05???????? } // n = 6, score = 100 // 8b855cffffff | mov eax, dword ptr [ebp - 0xa4] // 83c801 | or eax, 1 // 89855cffffff | mov dword ptr [ebp - 0xa4], eax // 66c78560ffffff0000 | mov word ptr [ebp - 0xa0], 0 // 48 | dec eax // 8b05???????? | $sequence_7 = { 8b45f8 48 8b4038 48 85c0 7429 48 } // n = 7, score = 100 // 8b45f8 | mov eax, dword ptr [ebp - 8] // 48 | dec eax // 8b4038 | mov eax, dword ptr [eax + 0x38] // 48 | dec eax // 85c0 | test eax, eax // 7429 | je 0x2b // 48 | dec eax $sequence_8 = { 2500ff0000 31c1 8b45ec 25ff000000 89c0 48 8d148500000000 } // n = 7, score = 100 // 2500ff0000 | and eax, 0xff00 // 31c1 | xor ecx, eax // 8b45ec | mov eax, dword ptr [ebp - 0x14] // 25ff000000 | and eax, 0xff // 89c0 | mov eax, eax // 48 | dec eax // 8d148500000000 | lea edx, [eax*4] $sequence_9 = { 89e0 48 83c00f 48 c1e804 48 c1e004 } // n = 7, score = 100 // 89e0 | mov eax, esp // 48 | dec eax // 83c00f | add eax, 0xf // 48 | dec eax // c1e804 | shr eax, 4 // 48 | dec eax // c1e004 | shl eax, 4 condition: 7 of them and filesize < 622592 }
rule win_ghole_w0 { meta: description = "Detects a operation Woolen-Goldfish sample - http://goo.gl/NpJpVZ" author = "Florian Roth" reference = "http://goo.gl/NpJpVZ" date = "2015/03/25" score = 90 hash = "86222ef166474e53f1eb6d7e6701713834e6fee7" hash = "e8dbcde49c7f760165ebb0cb3452e4f1c24981f5" source = "https://github.com/mattulm/sfiles_yara/blob/master/malware/WoolenGoldfish.yar" malpedia_reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.ghole" malpedia_version = "20170517" malpedia_license = "CC BY-NC-SA 4.0" malpedia_sharing = "TLP:WHITE" strings: $x1 = "... get header FATAL ERROR !!! %d bytes read > header_size" fullword ascii $x2 = "index.php?c=%S&r=%x&u=1&t=%S" fullword wide $x3 = "connect_back_tcp_channel#do_connect:: Error resolving connect back hostname" fullword ascii $s0 = "kernel32.dll GetProcAddressLoadLibraryAws2_32.dll" fullword ascii $s1 = "Content-Type: multipart/form-data; boundary=%S" fullword wide $s2 = "Attempting to unlock uninitialized lock!" fullword ascii $s4 = "unable to load kernel32.dll" fullword ascii $s5 = "index.php?c=%S&r=%x" fullword wide $s6 = "%s len:%d " fullword ascii $s7 = "Encountered error sending syscall response to client" fullword ascii $s9 = "/info.dat" fullword ascii $s10 = "Error entering thread lock" fullword ascii $s11 = "Error exiting thread lock" fullword ascii $s12 = "connect_back_tcp_channel_init:: socket() failed" fullword ascii condition: ( 1 of ($x*) ) or ( 8 of ($s*) ) }
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