SYMBOLCOMMON_NAMEaka. SYNONYMS
win.krbanker (Back to overview)

KrBanker

aka: BlackMoon

ThreatPost describes KRBanker (Blackmoon) as a banking Trojan designed to steal user credentials from various South Korean banking institutions. It was discovered in early 2014 and since then has adopted a variety of infection and credential stealing techniques.

References
2019-03-18Pepper Potts
@online{potts:20190318:analysis:74d47aa, author = {Pepper Potts}, title = {{Analysis of BlackMoon (Banking Trojan)'s Evolution, And The Possibility of a Latest Version Under Development}}, date = {2019-03-18}, url = {https://www.peppermalware.com/2019/03/analysis-of-blackmoon-banking-trojans.html}, language = {English}, urldate = {2019-11-28} } Analysis of BlackMoon (Banking Trojan)'s Evolution, And The Possibility of a Latest Version Under Development
KrBanker
2016-05-09Palo Alto Networks Unit 42Kaoru Hayashi, Vicky Ray
@online{hayashi:20160509:krbanker:c59923f, author = {Kaoru Hayashi and Vicky Ray}, title = {{KRBanker Targets South Korea Through Adware and Exploit Kits}}, date = {2016-05-09}, organization = {Palo Alto Networks Unit 42}, url = {http://researchcenter.paloaltonetworks.com/2016/05/unit42-krbanker-targets-south-korea-through-adware-and-exploit-kits-2/}, language = {English}, urldate = {2019-12-20} } KRBanker Targets South Korea Through Adware and Exploit Kits
KrBanker
2016-01-18ProofpointProofpoint Staff
@online{staff:20160118:updated:c96de1d, author = {Proofpoint Staff}, title = {{Updated Blackmoon banking Trojan stays focused on South Korean banking customers}}, date = {2016-01-18}, organization = {Proofpoint}, url = {https://www.proofpoint.com/us/threat-insight/post/Updated-Blackmoon-Banking-Trojan}, language = {English}, urldate = {2019-12-20} } Updated Blackmoon banking Trojan stays focused on South Korean banking customers
KrBanker
2014-04-15My infected computerZairon
@online{zairon:20140415:trojan:3951130, author = {Zairon}, title = {{Trojan banking}}, date = {2014-04-15}, organization = {My infected computer}, url = {https://zairon.wordpress.com/2014/04/15/trojan-banking-47d18761d46d8e7c4ad49cc575b0acc2bb3f49bb56a3d29fb1ec600447cb89a4/}, language = {English}, urldate = {2020-01-06} } Trojan banking
KrBanker
Yara Rules
[TLP:WHITE] win_krbanker_auto (20230125 | Detects win.krbanker.)
rule win_krbanker_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2023-01-25"
        version = "1"
        description = "Detects win.krbanker."
        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.krbanker"
        malpedia_rule_date = "20230124"
        malpedia_hash = "2ee0eebba83dce3d019a90519f2f972c0fcf9686"
        malpedia_version = "20230125"
        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 = { bb40010000 e8???????? 83c410 8945cc 6801010080 }
            // n = 5, score = 400
            //   bb40010000           | mov                 ebx, 0x140
            //   e8????????           |                     
            //   83c410               | add                 esp, 0x10
            //   8945cc               | mov                 dword ptr [ebp - 0x34], eax
            //   6801010080           | push                0x80000101

        $sequence_1 = { 50 8b5d08 8b1b 53 8b0b }
            // n = 5, score = 400
            //   50                   | push                eax
            //   8b5d08               | mov                 ebx, dword ptr [ebp + 8]
            //   8b1b                 | mov                 ebx, dword ptr [ebx]
            //   53                   | push                ebx
            //   8b0b                 | mov                 ecx, dword ptr [ebx]

        $sequence_2 = { f6c420 0f8451010000 f6c440 7407 8b5508 8b1a eb03 }
            // n = 7, score = 400
            //   f6c420               | test                ah, 0x20
            //   0f8451010000         | je                  0x157
            //   f6c440               | test                ah, 0x40
            //   7407                 | je                  9
            //   8b5508               | mov                 edx, dword ptr [ebp + 8]
            //   8b1a                 | mov                 ebx, dword ptr [edx]
            //   eb03                 | jmp                 5

        $sequence_3 = { c7460403400080 33c0 5e 83c408 c3 c744240400000000 8b06 }
            // n = 7, score = 400
            //   c7460403400080       | mov                 dword ptr [esi + 4], 0x80004003
            //   33c0                 | xor                 eax, eax
            //   5e                   | pop                 esi
            //   83c408               | add                 esp, 8
            //   c3                   | ret                 
            //   c744240400000000     | mov                 dword ptr [esp + 4], 0
            //   8b06                 | mov                 eax, dword ptr [esi]

        $sequence_4 = { 8b44244c 03fd 2bdd 83f8ff 7419 48 8944244c }
            // n = 7, score = 400
            //   8b44244c             | mov                 eax, dword ptr [esp + 0x4c]
            //   03fd                 | add                 edi, ebp
            //   2bdd                 | sub                 ebx, ebp
            //   83f8ff               | cmp                 eax, -1
            //   7419                 | je                  0x1b
            //   48                   | dec                 eax
            //   8944244c             | mov                 dword ptr [esp + 0x4c], eax

        $sequence_5 = { 0f9cc3 4b 23d9 8b4838 }
            // n = 4, score = 400
            //   0f9cc3               | setl                bl
            //   4b                   | dec                 ebx
            //   23d9                 | and                 ebx, ecx
            //   8b4838               | mov                 ecx, dword ptr [eax + 0x38]

        $sequence_6 = { 6801000000 bb40010000 e8???????? 83c410 8945e0 }
            // n = 5, score = 400
            //   6801000000           | push                1
            //   bb40010000           | mov                 ebx, 0x140
            //   e8????????           |                     
            //   83c410               | add                 esp, 0x10
            //   8945e0               | mov                 dword ptr [ebp - 0x20], eax

        $sequence_7 = { ff7508 ff15???????? 90 90 90 90 3965f8 }
            // n = 7, score = 400
            //   ff7508               | push                dword ptr [ebp + 8]
            //   ff15????????         |                     
            //   90                   | nop                 
            //   90                   | nop                 
            //   90                   | nop                 
            //   90                   | nop                 
            //   3965f8               | cmp                 dword ptr [ebp - 8], esp

        $sequence_8 = { 6a00 684b000000 6801000000 bb40010000 e8???????? }
            // n = 5, score = 400
            //   6a00                 | push                0
            //   684b000000           | push                0x4b
            //   6801000000           | push                1
            //   bb40010000           | mov                 ebx, 0x140
            //   e8????????           |                     

        $sequence_9 = { eb08 895c2418 895c2414 8b482c 85c9 740e }
            // n = 6, score = 400
            //   eb08                 | jmp                 0xa
            //   895c2418             | mov                 dword ptr [esp + 0x18], ebx
            //   895c2414             | mov                 dword ptr [esp + 0x14], ebx
            //   8b482c               | mov                 ecx, dword ptr [eax + 0x2c]
            //   85c9                 | test                ecx, ecx
            //   740e                 | je                  0x10

    condition:
        7 of them and filesize < 1826816
}
[TLP:WHITE] win_krbanker_w0   (20170410 | No description)
rule win_krbanker_w0 {
    meta:
        author = "Proofpoint Staff"
        info = "krbanker / blackmoon update"
        malpedia_reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.krbanker"
        malpedia_version = "20170410"
        malpedia_license = "CC BY-NC-SA 4.0"
        malpedia_sharing = "TLP:WHITE"
    strings:
            $s1 = "BlackMoon RunTime Error:" nocase wide ascii
            $s2 = "\\system32\\rundll32.exe" wide ascii
            $s3 = "cmd.exe /c ipconfig /flushdns" wide ascii
            $s4 = "\\system32\\drivers\\etc\\hosts.ics" wide ascii

    condition:
            all of them
}
Download all Yara Rules