SYMBOLCOMMON_NAMEaka. SYNONYMS
win.ratankba (Back to overview)

Ratankba

aka: QUICKRIDE

Actor(s): Lazarus Group


This is a backdoor that establishes persistence using the Startup folder.
It communicates to its C&C server using HTTPS and a static HTTP User-Agent
string. QUICKRIDE is capable of gathering information about the system,
downloading and loading executables, and uninstalling itself. It was leveraged
against banks in Poland.

References
2020SecureworksSecureWorks
@online{secureworks:2020:nickel:bd4482a, author = {SecureWorks}, title = {{NICKEL GLADSTONE}}, date = {2020}, organization = {Secureworks}, url = {https://www.secureworks.com/research/threat-profiles/nickel-gladstone}, language = {English}, urldate = {2020-05-23} } NICKEL GLADSTONE
AlphaNC Bankshot Ratankba Lazarus Group
2017-02-12SymantecA L Johnson
@online{johnson:20170212:attackers:c338fa3, author = {A L Johnson}, title = {{Attackers target dozens of global banks with new malware}}, date = {2017-02-12}, organization = {Symantec}, url = {https://www.symantec.com/connect/blogs/attackers-target-dozens-global-banks-new-malware}, language = {English}, urldate = {2020-04-21} } Attackers target dozens of global banks with new malware
Joanap Ratankba Sierra(Alfa,Bravo, ...) Lazarus Group
Yara Rules
[TLP:WHITE] win_ratankba_auto (20220411 | Detects win.ratankba.)
rule win_ratankba_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2022-04-08"
        version = "1"
        description = "Detects win.ratankba."
        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.ratankba"
        malpedia_rule_date = "20220405"
        malpedia_hash = "ecd38294bd47d5589be5cd5490dc8bb4804afc2a"
        malpedia_version = "20220411"
        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 = { 46 8bd8 e9???????? 8d4601 50 e8???????? }
            // n = 6, score = 400
            //   46                   | inc                 esi
            //   8bd8                 | mov                 ebx, eax
            //   e9????????           |                     
            //   8d4601               | lea                 eax, dword ptr [esi + 1]
            //   50                   | push                eax
            //   e8????????           |                     

        $sequence_1 = { 8d8d74fbffff 6803010000 51 e8???????? }
            // n = 4, score = 400
            //   8d8d74fbffff         | lea                 ecx, dword ptr [ebp - 0x48c]
            //   6803010000           | push                0x103
            //   51                   | push                ecx
            //   e8????????           |                     

        $sequence_2 = { 8b9dd4feffff 8b4310 83cfff 83f8ff 7302 8bf8 8b9510ffffff }
            // n = 7, score = 400
            //   8b9dd4feffff         | mov                 ebx, dword ptr [ebp - 0x12c]
            //   8b4310               | mov                 eax, dword ptr [ebx + 0x10]
            //   83cfff               | or                  edi, 0xffffffff
            //   83f8ff               | cmp                 eax, -1
            //   7302                 | jae                 4
            //   8bf8                 | mov                 edi, eax
            //   8b9510ffffff         | mov                 edx, dword ptr [ebp - 0xf0]

        $sequence_3 = { 3bc7 7649 397e10 7644 897d8c 897d90 897d94 }
            // n = 7, score = 400
            //   3bc7                 | cmp                 eax, edi
            //   7649                 | jbe                 0x4b
            //   397e10               | cmp                 dword ptr [esi + 0x10], edi
            //   7644                 | jbe                 0x46
            //   897d8c               | mov                 dword ptr [ebp - 0x74], edi
            //   897d90               | mov                 dword ptr [ebp - 0x70], edi
            //   897d94               | mov                 dword ptr [ebp - 0x6c], edi

        $sequence_4 = { 8b5b04 8954cb04 8b5d08 3b4308 7347 8b5304 0fb7cf }
            // n = 7, score = 400
            //   8b5b04               | mov                 ebx, dword ptr [ebx + 4]
            //   8954cb04             | mov                 dword ptr [ebx + ecx*8 + 4], edx
            //   8b5d08               | mov                 ebx, dword ptr [ebp + 8]
            //   3b4308               | cmp                 eax, dword ptr [ebx + 8]
            //   7347                 | jae                 0x49
            //   8b5304               | mov                 edx, dword ptr [ebx + 4]
            //   0fb7cf               | movzx               ecx, di

        $sequence_5 = { 8bc6 e8???????? 8b4004 8b4df4 8b55e4 }
            // n = 5, score = 400
            //   8bc6                 | mov                 eax, esi
            //   e8????????           |                     
            //   8b4004               | mov                 eax, dword ptr [eax + 4]
            //   8b4df4               | mov                 ecx, dword ptr [ebp - 0xc]
            //   8b55e4               | mov                 edx, dword ptr [ebp - 0x1c]

        $sequence_6 = { e8???????? 83c408 85c0 0f85e50e0000 6a04 b8???????? }
            // n = 6, score = 400
            //   e8????????           |                     
            //   83c408               | add                 esp, 8
            //   85c0                 | test                eax, eax
            //   0f85e50e0000         | jne                 0xeeb
            //   6a04                 | push                4
            //   b8????????           |                     

        $sequence_7 = { 668901 53 b8???????? e8???????? b830750000 8986b8010000 }
            // n = 6, score = 400
            //   668901               | mov                 word ptr [ecx], ax
            //   53                   | push                ebx
            //   b8????????           |                     
            //   e8????????           |                     
            //   b830750000           | mov                 eax, 0x7530
            //   8986b8010000         | mov                 dword ptr [esi + 0x1b8], eax

        $sequence_8 = { 6a00 e8???????? 8bf0 85f6 7854 8b45fc 8bcb }
            // n = 7, score = 400
            //   6a00                 | push                0
            //   e8????????           |                     
            //   8bf0                 | mov                 esi, eax
            //   85f6                 | test                esi, esi
            //   7854                 | js                  0x56
            //   8b45fc               | mov                 eax, dword ptr [ebp - 4]
            //   8bcb                 | mov                 ecx, ebx

        $sequence_9 = { 8be5 5d c20800 bf12000000 }
            // n = 4, score = 400
            //   8be5                 | mov                 esp, ebp
            //   5d                   | pop                 ebp
            //   c20800               | ret                 8
            //   bf12000000           | mov                 edi, 0x12

    condition:
        7 of them and filesize < 303104
}
Download all Yara Rules