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-05-30Group-IBGroup-IB
@techreport{groupib:20170530:lazarus:642e890, author = {Group-IB}, title = {{Lazarus Arisen: Architecture, Techniques and Attribution}}, date = {2017-05-30}, institution = {Group-IB}, url = {https://raw.githubusercontent.com/eric-erki/APT_CyberCriminal_Campagin_Collections/master/2017/2017.05.30.Lazarus_Arisen/Group-IB_Lazarus.pdf}, language = {English}, urldate = {2023-08-10} } Lazarus Arisen: Architecture, Techniques and Attribution
HOTWAX NACHOCHEESE Ratankba
2017-02-12SymantecA L Johnson
@online{johnson:20170212:attackers:2fdd5b5, author = {A L Johnson}, title = {{Attackers target dozens of global banks with new malware}}, date = {2017-02-12}, organization = {Symantec}, url = {https://community.broadcom.com/symantecenterprise/viewdocument/attackers-target-dozens-of-global-b}, language = {English}, urldate = {2023-08-13} } Attackers target dozens of global banks with new malware
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
2017-02-12BAE SystemsBAE Systems Applied Intelligence
@online{intelligence:20170212:lazarus:dd99beb, author = {BAE Systems Applied Intelligence}, title = {{Lazarus & Watering-hole attacks}}, date = {2017-02-12}, organization = {BAE Systems}, url = {https://baesystemsai.blogspot.com/2017/02/lazarus-watering-hole-attacks.html}, language = {English}, urldate = {2023-08-13} } Lazarus & Watering-hole attacks
Ratankba
Yara Rules
[TLP:WHITE] win_ratankba_auto (20230715 | Detects win.ratankba.)
rule win_ratankba_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2023-07-11"
        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 = "20230705"
        malpedia_hash = "42d0574f4405bd7d2b154d321d345acb18834a41"
        malpedia_version = "20230715"
        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 = { 7524 ff15???????? 89831c010000 39bd8cefffff 0f82b00e0000 8b8d78efffff }
            // n = 6, score = 400
            //   7524                 | jne                 0x26
            //   ff15????????         |                     
            //   89831c010000         | mov                 dword ptr [ebx + 0x11c], eax
            //   39bd8cefffff         | cmp                 dword ptr [ebp - 0x1074], edi
            //   0f82b00e0000         | jb                  0xeb6
            //   8b8d78efffff         | mov                 ecx, dword ptr [ebp - 0x1088]

        $sequence_1 = { 8b5508 833a00 0f95c0 8b4df4 }
            // n = 4, score = 400
            //   8b5508               | mov                 edx, dword ptr [ebp + 8]
            //   833a00               | cmp                 dword ptr [edx], 0
            //   0f95c0               | setne               al
            //   8b4df4               | mov                 ecx, dword ptr [ebp - 0xc]

        $sequence_2 = { e9???????? 8b4f0c 894de4 8b4d08 }
            // n = 4, score = 400
            //   e9????????           |                     
            //   8b4f0c               | mov                 ecx, dword ptr [edi + 0xc]
            //   894de4               | mov                 dword ptr [ebp - 0x1c], ecx
            //   8b4d08               | mov                 ecx, dword ptr [ebp + 8]

        $sequence_3 = { 897e04 8b4d08 8b5104 8b450c 895014 8b4908 5f }
            // n = 7, score = 400
            //   897e04               | mov                 dword ptr [esi + 4], edi
            //   8b4d08               | mov                 ecx, dword ptr [ebp + 8]
            //   8b5104               | mov                 edx, dword ptr [ecx + 4]
            //   8b450c               | mov                 eax, dword ptr [ebp + 0xc]
            //   895014               | mov                 dword ptr [eax + 0x14], edx
            //   8b4908               | mov                 ecx, dword ptr [ecx + 8]
            //   5f                   | pop                 edi

        $sequence_4 = { 668911 e8???????? c645fc08 8d8e20010000 899e1c010000 33c0 897914 }
            // n = 7, score = 400
            //   668911               | mov                 word ptr [ecx], dx
            //   e8????????           |                     
            //   c645fc08             | mov                 byte ptr [ebp - 4], 8
            //   8d8e20010000         | lea                 ecx, [esi + 0x120]
            //   899e1c010000         | mov                 dword ptr [esi + 0x11c], ebx
            //   33c0                 | xor                 eax, eax
            //   897914               | mov                 dword ptr [ecx + 0x14], edi

        $sequence_5 = { e8???????? 8bb59cd5ffff 53 8d8dbcd5ffff 51 83c8ff 8d7e08 }
            // n = 7, score = 400
            //   e8????????           |                     
            //   8bb59cd5ffff         | mov                 esi, dword ptr [ebp - 0x2a64]
            //   53                   | push                ebx
            //   8d8dbcd5ffff         | lea                 ecx, [ebp - 0x2a44]
            //   51                   | push                ecx
            //   83c8ff               | or                  eax, 0xffffffff
            //   8d7e08               | lea                 edi, [esi + 8]

        $sequence_6 = { 85c0 740b 50 e8???????? 83c404 891e 33c0 }
            // n = 7, score = 400
            //   85c0                 | test                eax, eax
            //   740b                 | je                  0xd
            //   50                   | push                eax
            //   e8????????           |                     
            //   83c404               | add                 esp, 4
            //   891e                 | mov                 dword ptr [esi], ebx
            //   33c0                 | xor                 eax, eax

        $sequence_7 = { e8???????? 039de0feffff 8b85e4feffff 83c418 83bdf8feffff10 7306 }
            // n = 6, score = 400
            //   e8????????           |                     
            //   039de0feffff         | add                 ebx, dword ptr [ebp - 0x120]
            //   8b85e4feffff         | mov                 eax, dword ptr [ebp - 0x11c]
            //   83c418               | add                 esp, 0x18
            //   83bdf8feffff10       | cmp                 dword ptr [ebp - 0x108], 0x10
            //   7306                 | jae                 8

        $sequence_8 = { 7407 50 ff15???????? 8b8508efffff }
            // n = 4, score = 400
            //   7407                 | je                  9
            //   50                   | push                eax
            //   ff15????????         |                     
            //   8b8508efffff         | mov                 eax, dword ptr [ebp - 0x10f8]

        $sequence_9 = { 8945e4 8bc6 e8???????? 8b4804 8b55f4 8b44ca04 8b4de4 }
            // n = 7, score = 400
            //   8945e4               | mov                 dword ptr [ebp - 0x1c], eax
            //   8bc6                 | mov                 eax, esi
            //   e8????????           |                     
            //   8b4804               | mov                 ecx, dword ptr [eax + 4]
            //   8b55f4               | mov                 edx, dword ptr [ebp - 0xc]
            //   8b44ca04             | mov                 eax, dword ptr [edx + ecx*8 + 4]
            //   8b4de4               | mov                 ecx, dword ptr [ebp - 0x1c]

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