SYMBOLCOMMON_NAMEaka. SYNONYMS
win.shylock (Back to overview)

Shylock

aka: Caphaw
VTCollection    

There is no description at this point.

References
2020-08-09 ⋅ F5 Labs ⋅ Debbie Walkowski, Remi Cohen
Banking Trojans: A Reference Guide to the Malware Family Tree
BackSwap Carberp Citadel DanaBot Dridex Dyre Emotet Gozi Kronos PandaBanker Ramnit Shylock SpyEye Tinba TrickBot Vawtrak Zeus
2015-02-27 ⋅ Virus Bulletin ⋅ Micky Pun, Neo Tan
VB2014 paper: The pluginer - Caphaw
Shylock
2014-10-14 ⋅ Symantec ⋅ Symantec Security Response
Security vendors take action against Hidden Lynx malware
Gameover P2P HiKit Shylock APT17
2014-07-10 ⋅ Europol ⋅ Europol
Global Action Targeting Shylock Malware
Shylock
2013-09-18 ⋅ Zscaler ⋅ Chris Mannon, Sachin Deodhar
A New Wave Of WIN32/CAPHAW Attacks - A ThreatLabZ Analysis
Shylock
2013-02-25 ⋅ WeLiveSecurity ⋅ Aleksandr Matrosov
Caphaw attacking major European banks using webinject plugin
Shylock
2012-11-28 ⋅ SecurityIntelligence ⋅ Dana Tamir
Shylock’s New Trick: Evading Malware Researchers
Shylock
2012-02-15 ⋅ Security Intelligence ⋅ Amit Klein
Merchant of Fraud Returns: Shylock Polymorphic Financial Malware Infections on the Rise
Shylock
2011-09-27 ⋅ malwareninja
Debugging Injected Code with IDA Pro
Shylock
2011-09-21 ⋅ Contagiodump Blog ⋅ Mila Parkour
Sept 21 Greedy Shylock - financial malware
Shylock
Yara Rules
[TLP:WHITE] win_shylock_auto (20260917 | Detects win.shylock.)
rule win_shylock_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2026-09-17"
        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 = "20260916"
        malpedia_hash = "53a643781c18e08f4a50949af60172d837a0b6f6"
        malpedia_version = "20260917"
        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???????? 50 e8???????? 59 59 89433c 3bc6 }
            // n = 7, score = 500
            //   e8????????           |                     
            //   50                   | push                eax
            //   e8????????           |                     
            //   59                   | pop                 ecx
            //   59                   | pop                 ecx
            //   89433c               | mov                 dword ptr [ebx + 0x3c], eax
            //   3bc6                 | cmp                 eax, esi

        $sequence_1 = { ff7508 33db e8???????? 59 85c0 0f840d010000 8d8d70fdffff }
            // n = 7, score = 500
            //   ff7508               | push                dword ptr [ebp + 8]
            //   33db                 | xor                 ebx, ebx
            //   e8????????           |                     
            //   59                   | pop                 ecx
            //   85c0                 | test                eax, eax
            //   0f840d010000         | je                  0x113
            //   8d8d70fdffff         | lea                 ecx, [ebp - 0x290]

        $sequence_2 = { e8???????? 8b750c 83c604 8d5de4 e8???????? 8bf3 e9???????? }
            // n = 7, score = 500
            //   e8????????           |                     
            //   8b750c               | mov                 esi, dword ptr [ebp + 0xc]
            //   83c604               | add                 esi, 4
            //   8d5de4               | lea                 ebx, [ebp - 0x1c]
            //   e8????????           |                     
            //   8bf3                 | mov                 esi, ebx
            //   e9????????           |                     

        $sequence_3 = { e8???????? c745f001000000 5e 5f ff75fc e8???????? ff75f4 }
            // n = 7, score = 500
            //   e8????????           |                     
            //   c745f001000000       | mov                 dword ptr [ebp - 0x10], 1
            //   5e                   | pop                 esi
            //   5f                   | pop                 edi
            //   ff75fc               | push                dword ptr [ebp - 4]
            //   e8????????           |                     
            //   ff75f4               | push                dword ptr [ebp - 0xc]

        $sequence_4 = { ff7630 e8???????? 894630 83c40c 57 ff36 ff7508 }
            // n = 7, score = 500
            //   ff7630               | push                dword ptr [esi + 0x30]
            //   e8????????           |                     
            //   894630               | mov                 dword ptr [esi + 0x30], eax
            //   83c40c               | add                 esp, 0xc
            //   57                   | push                edi
            //   ff36                 | push                dword ptr [esi]
            //   ff7508               | push                dword ptr [ebp + 8]

        $sequence_5 = { 8d45cc 50 b8???????? e8???????? 59 8d45cc 50 }
            // n = 7, score = 500
            //   8d45cc               | lea                 eax, [ebp - 0x34]
            //   50                   | push                eax
            //   b8????????           |                     
            //   e8????????           |                     
            //   59                   | pop                 ecx
            //   8d45cc               | lea                 eax, [ebp - 0x34]
            //   50                   | push                eax

        $sequence_6 = { 8bec 51 53 8b5f2c 56 8b773c 2b7774 }
            // n = 7, score = 500
            //   8bec                 | mov                 ebp, esp
            //   51                   | push                ecx
            //   53                   | push                ebx
            //   8b5f2c               | mov                 ebx, dword ptr [edi + 0x2c]
            //   56                   | push                esi
            //   8b773c               | mov                 esi, dword ptr [edi + 0x3c]
            //   2b7774               | sub                 esi, dword ptr [edi + 0x74]

        $sequence_7 = { e8???????? 8d7dec e8???????? 8b4508 5f 5e 5b }
            // n = 7, score = 500
            //   e8????????           |                     
            //   8d7dec               | lea                 edi, [ebp - 0x14]
            //   e8????????           |                     
            //   8b4508               | mov                 eax, dword ptr [ebp + 8]
            //   5f                   | pop                 edi
            //   5e                   | pop                 esi
            //   5b                   | pop                 ebx

        $sequence_8 = { 8d7d10 e8???????? 8b4d10 c645ff01 85c9 741b e8???????? }
            // n = 7, score = 500
            //   8d7d10               | lea                 edi, [ebp + 0x10]
            //   e8????????           |                     
            //   8b4d10               | mov                 ecx, dword ptr [ebp + 0x10]
            //   c645ff01             | mov                 byte ptr [ebp - 1], 1
            //   85c9                 | test                ecx, ecx
            //   741b                 | je                  0x1d
            //   e8????????           |                     

        $sequence_9 = { e8???????? ff37 8bfe e8???????? ff75fc 8b7d08 e8???????? }
            // n = 7, score = 500
            //   e8????????           |                     
            //   ff37                 | push                dword ptr [edi]
            //   8bfe                 | mov                 edi, esi
            //   e8????????           |                     
            //   ff75fc               | push                dword ptr [ebp - 4]
            //   8b7d08               | mov                 edi, dword ptr [ebp + 8]
            //   e8????????           |                     

    condition:
        7 of them and filesize < 630784
}
[TLP:WHITE] win_shylock_w0   (20170517 | Shylock Banker)
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*)
}
Download all Yara Rules