There is no description at this point.
rule win_shylock_auto { meta: author = "Felix Bilstein - yara-signator at cocacoding dot com" date = "2023-03-28" version = "1" description = "Detects win.shylock." 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.shylock" malpedia_rule_date = "20230328" malpedia_hash = "9d2d75cef573c1c2d861f5197df8f563b05a305d" malpedia_version = "20230407" 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 = { e8???????? 84c0 7536 8d4df8 8d430c e8???????? } // n = 6, score = 500 // e8???????? | // 84c0 | test al, al // 7536 | jne 0x38 // 8d4df8 | lea ecx, [ebp - 8] // 8d430c | lea eax, [ebx + 0xc] // e8???????? | $sequence_1 = { 8b4610 40 52 ff36 ff7604 ff7608 ff760c } // n = 7, score = 500 // 8b4610 | mov eax, dword ptr [esi + 0x10] // 40 | inc eax // 52 | push edx // ff36 | push dword ptr [esi] // ff7604 | push dword ptr [esi + 4] // ff7608 | push dword ptr [esi + 8] // ff760c | push dword ptr [esi + 0xc] $sequence_2 = { 8bec 51 837f04ff 7504 33c0 eb4b 56 } // n = 7, score = 500 // 8bec | mov ebp, esp // 51 | push ecx // 837f04ff | cmp dword ptr [edi + 4], -1 // 7504 | jne 6 // 33c0 | xor eax, eax // eb4b | jmp 0x4d // 56 | push esi $sequence_3 = { ff751c 8d45fc ff7518 ff7514 ff7510 50 b8???????? } // n = 7, score = 500 // ff751c | push dword ptr [ebp + 0x1c] // 8d45fc | lea eax, [ebp - 4] // ff7518 | push dword ptr [ebp + 0x18] // ff7514 | push dword ptr [ebp + 0x14] // ff7510 | push dword ptr [ebp + 0x10] // 50 | push eax // b8???????? | $sequence_4 = { eb03 8d0491 8b00 8b4008 8945f0 85c9 7504 } // n = 7, score = 500 // eb03 | jmp 5 // 8d0491 | lea eax, [ecx + edx*4] // 8b00 | mov eax, dword ptr [eax] // 8b4008 | mov eax, dword ptr [eax + 8] // 8945f0 | mov dword ptr [ebp - 0x10], eax // 85c9 | test ecx, ecx // 7504 | jne 6 $sequence_5 = { e8???????? a1???????? 895df0 8b80bc000000 6aff 8945f4 6a00 } // n = 7, score = 500 // e8???????? | // a1???????? | // 895df0 | mov dword ptr [ebp - 0x10], ebx // 8b80bc000000 | mov eax, dword ptr [eax + 0xbc] // 6aff | push -1 // 8945f4 | mov dword ptr [ebp - 0xc], eax // 6a00 | push 0 $sequence_6 = { e8???????? 8d45b8 50 b8???????? e8???????? 59 8bc8 } // n = 7, score = 500 // e8???????? | // 8d45b8 | lea eax, [ebp - 0x48] // 50 | push eax // b8???????? | // e8???????? | // 59 | pop ecx // 8bc8 | mov ecx, eax $sequence_7 = { b8???????? e8???????? 8d75ac 8bfc e8???????? 51 8d75f8 } // n = 7, score = 500 // b8???????? | // e8???????? | // 8d75ac | lea esi, [ebp - 0x54] // 8bfc | mov edi, esp // e8???????? | // 51 | push ecx // 8d75f8 | lea esi, [ebp - 8] $sequence_8 = { 5b 8be5 5d c20800 8d7708 8d5d08 } // n = 6, score = 500 // 5b | pop ebx // 8be5 | mov esp, ebp // 5d | pop ebp // c20800 | ret 8 // 8d7708 | lea esi, [edi + 8] // 8d5d08 | lea ebx, [ebp + 8] $sequence_9 = { 83f8ff 7515 33ff 8d7508 e8???????? 8bc7 5f } // n = 7, score = 500 // 83f8ff | cmp eax, -1 // 7515 | jne 0x17 // 33ff | xor edi, edi // 8d7508 | lea esi, [ebp + 8] // e8???????? | // 8bc7 | mov eax, edi // 5f | pop edi condition: 7 of them and filesize < 630784 }
rule win_shylock_w0 { meta: author = "Jean-Philippe Teissier / @Jipe_" description = "Shylock Banker" date = "2013-12-12" version = "1.0" ref1 = "http://iocbucket.com/iocs/1b4660d57928df5ca843c21df0b2adb117026cba" ref2 = "http://www.trusteer.com/blog/merchant-fraud-returns-%E2%80%93-shylock-polymorphic-financial-malware-infections-rise" ref3 = "https://www.csis.dk/en/csis/blog/3811/" source = "https://github.com/mattulm/sfiles_yara/blob/master/malware/Shylock.yar" malpedia_reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.shylock" malpedia_version = "20170517" malpedia_license = "CC BY-NC-SA 4.0" malpedia_sharing = "TLP:WHITE" strings: $process1 = "MASTER" $process2 = "_SHUTDOWN" $process3 = "EVT_VNC" $process4 = "EVT_BACK" $process5 = "EVT_VNC" $process6 = "IE_Hook::GetRequestInfo" $process7 = "FF_Hook::getRequestInfo" $process8 = "EX_Hook::CreateProcess" $process9 = "hijackdll.dll" $process10 = "MTX_" $process11 = "FF::PR_WriteHook entry" $process12 = "FF::PR_WriteHook exit" $process13 = "HijackProcessAttach::*** MASTER *** MASTER *** MASTER *** %s PID=%u" $process14 = "HijackProcessAttach::entry" $process15 = "FF::BEFORE INJECT" $process16 = "FF::AFTER INJECT" $process17 = "IE::AFTER INJECT" $process18 = "IE::BEFORE INJECT" $process19 = "*** VNC *** VNC *** VNC *** VNC *** VNC *** VNC *** VNC *** VNC *** VNC *** VNC *** %s" $process20 = "*** LOG INJECTS *** %s" $process21 = "*** inject to process %s not allowed" $process22 = "*** BackSocks *** BackSocks *** BackSocks *** BackSocks *** BackSocks *** BackSocks *** BackSocks *** %s" $process23 = "Inject::InjectDllFromMemory" $process24 = "BadSocks.dll" $process25 = ".?AVFF_Hook@@" $process26 = ".?AVIE_Hook@@" $process27 = ".?AVPE_Hook@@" $process28 = ".?AVCInetMethods@@" $domain1 = "extensadv.cc" $domain2 = "topbeat.cc" $domain3 = "brainsphere.cc" $domain4 = "commonworldme.cc" $domain5 = "gigacat.cc" $domain6 = "nw-serv.cc" $domain7 = "paragua-analyst.cc" condition: 3 of ($process*) or any of ($domain*) }
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