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 (20230125 | Detects win.ratankba.)
rule win_ratankba_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2023-01-25"
        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 = "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 = { eb17 3bf7 7515 897b10 83f808 7204 }
            // n = 6, score = 400
            //   eb17                 | jmp                 0x19
            //   3bf7                 | cmp                 esi, edi
            //   7515                 | jne                 0x17
            //   897b10               | mov                 dword ptr [ebx + 0x10], edi
            //   83f808               | cmp                 eax, 8
            //   7204                 | jb                  6

        $sequence_1 = { e8???????? 8db55cefffff c645fc03 e8???????? 8b9bb4000000 85db }
            // n = 6, score = 400
            //   e8????????           |                     
            //   8db55cefffff         | lea                 esi, [ebp - 0x10a4]
            //   c645fc03             | mov                 byte ptr [ebp - 4], 3
            //   e8????????           |                     
            //   8b9bb4000000         | mov                 ebx, dword ptr [ebx + 0xb4]
            //   85db                 | test                ebx, ebx

        $sequence_2 = { e8???????? 83c404 84c0 7431 8b8d18efffff 8bb514efffff 2bce }
            // n = 7, score = 400
            //   e8????????           |                     
            //   83c404               | add                 esp, 4
            //   84c0                 | test                al, al
            //   7431                 | je                  0x33
            //   8b8d18efffff         | mov                 ecx, dword ptr [ebp - 0x10e8]
            //   8bb514efffff         | mov                 esi, dword ptr [ebp - 0x10ec]
            //   2bce                 | sub                 ecx, esi

        $sequence_3 = { 6a16 e8???????? 8bf8 85ff 0f8856ffffff 8b45fc }
            // n = 6, score = 400
            //   6a16                 | push                0x16
            //   e8????????           |                     
            //   8bf8                 | mov                 edi, eax
            //   85ff                 | test                edi, edi
            //   0f8856ffffff         | js                  0xffffff5c
            //   8b45fc               | mov                 eax, dword ptr [ebp - 4]

        $sequence_4 = { 50 e8???????? 83c404 893e 897e08 eb0f }
            // n = 6, score = 400
            //   50                   | push                eax
            //   e8????????           |                     
            //   83c404               | add                 esp, 4
            //   893e                 | mov                 dword ptr [esi], edi
            //   897e08               | mov                 dword ptr [esi + 8], edi
            //   eb0f                 | jmp                 0x11

        $sequence_5 = { 894d0c 8bc7 8bcb e8???????? 8b550c 895004 830602 }
            // n = 7, score = 400
            //   894d0c               | mov                 dword ptr [ebp + 0xc], ecx
            //   8bc7                 | mov                 eax, edi
            //   8bcb                 | mov                 ecx, ebx
            //   e8????????           |                     
            //   8b550c               | mov                 edx, dword ptr [ebp + 0xc]
            //   895004               | mov                 dword ptr [eax + 4], edx
            //   830602               | add                 dword ptr [esi], 2

        $sequence_6 = { d1f8 8945e4 8bc6 e8???????? 8b5004 }
            // n = 5, score = 400
            //   d1f8                 | sar                 eax, 1
            //   8945e4               | mov                 dword ptr [ebp - 0x1c], eax
            //   8bc6                 | mov                 eax, esi
            //   e8????????           |                     
            //   8b5004               | mov                 edx, dword ptr [eax + 4]

        $sequence_7 = { 8bcb e8???????? 8b55fc 895004 }
            // n = 4, score = 400
            //   8bcb                 | mov                 ecx, ebx
            //   e8????????           |                     
            //   8b55fc               | mov                 edx, dword ptr [ebp - 4]
            //   895004               | mov                 dword ptr [eax + 4], edx

        $sequence_8 = { 0f8892000000 8b4dfc 3b4b08 720a b857000780 e8???????? 8b5304 }
            // n = 7, score = 400
            //   0f8892000000         | js                  0x98
            //   8b4dfc               | mov                 ecx, dword ptr [ebp - 4]
            //   3b4b08               | cmp                 ecx, dword ptr [ebx + 8]
            //   720a                 | jb                  0xc
            //   b857000780           | mov                 eax, 0x80070057
            //   e8????????           |                     
            //   8b5304               | mov                 edx, dword ptr [ebx + 4]

        $sequence_9 = { 8d45e4 50 e8???????? 8bc7 5f 5e }
            // n = 6, score = 400
            //   8d45e4               | lea                 eax, [ebp - 0x1c]
            //   50                   | push                eax
            //   e8????????           |                     
            //   8bc7                 | mov                 eax, edi
            //   5f                   | pop                 edi
            //   5e                   | pop                 esi

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