SYMBOLCOMMON_NAMEaka. SYNONYMS
win.shylock (Back to overview)

Shylock

aka: Caphaw
VTCollection    

There is no description at this point.

References
2020-08-09F5 LabsDebbie 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-27Virus BulletinMicky Pun, Neo Tan
VB2014 paper: The pluginer - Caphaw
Shylock
2014-10-14SymantecSymantec Security Response
Security vendors take action against Hidden Lynx malware
Gameover P2P HiKit Shylock APT17
2014-07-10EuropolEuropol
Global Action Targeting Shylock Malware
Shylock
2013-09-18ZscalerChris Mannon, Sachin Deodhar
A New Wave Of WIN32/CAPHAW Attacks - A ThreatLabZ Analysis
Shylock
2013-02-25WeLiveSecurityAleksandr Matrosov
Caphaw attacking major European banks using webinject plugin
Shylock
2012-11-28SecurityIntelligenceDana Tamir
Shylock’s New Trick: Evading Malware Researchers
Shylock
2012-02-15Security IntelligenceAmit Klein
Merchant of Fraud Returns: Shylock Polymorphic Financial Malware Infections on the Rise
Shylock
2011-09-27malwareninja
Debugging Injected Code with IDA Pro
Shylock
2011-09-21Contagiodump BlogMila Parkour
Sept 21 Greedy Shylock - financial malware
Shylock
Yara Rules
[TLP:WHITE] win_shylock_auto (20230808 | Detects win.shylock.)
rule win_shylock_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2023-12-06"
        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 = "20231130"
        malpedia_hash = "fc8a0e9f343f6d6ded9e7df1a64dac0cc68d7351"
        malpedia_version = "20230808"
        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???????? 8d8534ffffff 50 b8???????? e8???????? 59 50 }
            // n = 7, score = 500
            //   e8????????           |                     
            //   8d8534ffffff         | lea                 eax, [ebp - 0xcc]
            //   50                   | push                eax
            //   b8????????           |                     
            //   e8????????           |                     
            //   59                   | pop                 ecx
            //   50                   | push                eax

        $sequence_1 = { 8db544ffffff e8???????? 8bc6 50 8d45f8 e8???????? ff30 }
            // n = 7, score = 500
            //   8db544ffffff         | lea                 esi, [ebp - 0xbc]
            //   e8????????           |                     
            //   8bc6                 | mov                 eax, esi
            //   50                   | push                eax
            //   8d45f8               | lea                 eax, [ebp - 8]
            //   e8????????           |                     
            //   ff30                 | push                dword ptr [eax]

        $sequence_2 = { c22c00 0fb64001 50 8d45c8 50 8b45d4 8b30 }
            // n = 7, score = 500
            //   c22c00               | ret                 0x2c
            //   0fb64001             | movzx               eax, byte ptr [eax + 1]
            //   50                   | push                eax
            //   8d45c8               | lea                 eax, [ebp - 0x38]
            //   50                   | push                eax
            //   8b45d4               | mov                 eax, dword ptr [ebp - 0x2c]
            //   8b30                 | mov                 esi, dword ptr [eax]

        $sequence_3 = { c745fc04010000 ff75e4 e8???????? 83c410 ff45f8 3d03010000 0f8559ffffff }
            // n = 7, score = 500
            //   c745fc04010000       | mov                 dword ptr [ebp - 4], 0x104
            //   ff75e4               | push                dword ptr [ebp - 0x1c]
            //   e8????????           |                     
            //   83c410               | add                 esp, 0x10
            //   ff45f8               | inc                 dword ptr [ebp - 8]
            //   3d03010000           | cmp                 eax, 0x103
            //   0f8559ffffff         | jne                 0xffffff5f

        $sequence_4 = { e8???????? 3c01 743b 8d8588feffff 50 b8???????? e8???????? }
            // n = 7, score = 500
            //   e8????????           |                     
            //   3c01                 | cmp                 al, 1
            //   743b                 | je                  0x3d
            //   8d8588feffff         | lea                 eax, [ebp - 0x178]
            //   50                   | push                eax
            //   b8????????           |                     
            //   e8????????           |                     

        $sequence_5 = { 57 8b7d08 8b4d0c 8a4510 fc f2ae 7504 }
            // n = 7, score = 500
            //   57                   | push                edi
            //   8b7d08               | mov                 edi, dword ptr [ebp + 8]
            //   8b4d0c               | mov                 ecx, dword ptr [ebp + 0xc]
            //   8a4510               | mov                 al, byte ptr [ebp + 0x10]
            //   fc                   | cld                 
            //   f2ae                 | repne scasb         al, byte ptr es:[edi]
            //   7504                 | jne                 6

        $sequence_6 = { 8945b0 8d856cffffff 50 8b45fc ff7018 ff9540ffffff 898534ffffff }
            // n = 7, score = 500
            //   8945b0               | mov                 dword ptr [ebp - 0x50], eax
            //   8d856cffffff         | lea                 eax, [ebp - 0x94]
            //   50                   | push                eax
            //   8b45fc               | mov                 eax, dword ptr [ebp - 4]
            //   ff7018               | push                dword ptr [eax + 0x18]
            //   ff9540ffffff         | call                dword ptr [ebp - 0xc0]
            //   898534ffffff         | mov                 dword ptr [ebp - 0xcc], eax

        $sequence_7 = { 8d75f8 8bfc e8???????? 8d8504ffffff 50 ff7508 e8???????? }
            // n = 7, score = 500
            //   8d75f8               | lea                 esi, [ebp - 8]
            //   8bfc                 | mov                 edi, esp
            //   e8????????           |                     
            //   8d8504ffffff         | lea                 eax, [ebp - 0xfc]
            //   50                   | push                eax
            //   ff7508               | push                dword ptr [ebp + 8]
            //   e8????????           |                     

        $sequence_8 = { 51 33d2 8d5df8 e8???????? 8d45ec e8???????? 8bf8 }
            // n = 7, score = 500
            //   51                   | push                ecx
            //   33d2                 | xor                 edx, edx
            //   8d5df8               | lea                 ebx, [ebp - 8]
            //   e8????????           |                     
            //   8d45ec               | lea                 eax, [ebp - 0x14]
            //   e8????????           |                     
            //   8bf8                 | mov                 edi, eax

        $sequence_9 = { e8???????? e8???????? 59 59 8bf0 e8???????? 8d75fc }
            // n = 7, score = 500
            //   e8????????           |                     
            //   e8????????           |                     
            //   59                   | pop                 ecx
            //   59                   | pop                 ecx
            //   8bf0                 | mov                 esi, eax
            //   e8????????           |                     
            //   8d75fc               | lea                 esi, [ebp - 4]

    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