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 (20201023 | autogenerated rule brought to you by yara-signator)
rule win_ratankba_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2020-12-22"
        version = "1"
        description = "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 = "20201222"
        malpedia_hash = "30354d830a29f0fbd3714d93d94dea941d77a130"
        malpedia_version = "20201023"
        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 = { 8b45f0 8bcb e8???????? 8b0f 8b7df8 894804 }
            // n = 6, score = 400
            //   8b45f0               | mov                 eax, dword ptr [ebp - 0x10]
            //   8bcb                 | mov                 ecx, ebx
            //   e8????????           |                     
            //   8b0f                 | mov                 ecx, dword ptr [edi]
            //   8b7df8               | mov                 edi, dword ptr [ebp - 8]
            //   894804               | mov                 dword ptr [eax + 4], ecx

        $sequence_1 = { 899edc000000 899ee0000000 39bdd0d5ffff 720f 8b95bcd5ffff 52 }
            // n = 6, score = 400
            //   899edc000000         | mov                 dword ptr [esi + 0xdc], ebx
            //   899ee0000000         | mov                 dword ptr [esi + 0xe0], ebx
            //   39bdd0d5ffff         | cmp                 dword ptr [ebp - 0x2a30], edi
            //   720f                 | jb                  0x11
            //   8b95bcd5ffff         | mov                 edx, dword ptr [ebp - 0x2a44]
            //   52                   | push                edx

        $sequence_2 = { 53 ff15???????? 85c0 740e 8b45fc 85c0 7407 }
            // n = 7, score = 400
            //   53                   | push                ebx
            //   ff15????????         |                     
            //   85c0                 | test                eax, eax
            //   740e                 | je                  0x10
            //   8b45fc               | mov                 eax, dword ptr [ebp - 4]
            //   85c0                 | test                eax, eax
            //   7407                 | je                  9

        $sequence_3 = { ff15???????? 8903 3bc6 7524 ff15???????? 89831c010000 }
            // n = 6, score = 400
            //   ff15????????         |                     
            //   8903                 | mov                 dword ptr [ebx], eax
            //   3bc6                 | cmp                 eax, esi
            //   7524                 | jne                 0x26
            //   ff15????????         |                     
            //   89831c010000         | mov                 dword ptr [ebx + 0x11c], eax

        $sequence_4 = { b857000780 e8???????? 8b4b04 83c704 6a0f 897cc104 e8???????? }
            // n = 7, score = 400
            //   b857000780           | mov                 eax, 0x80070057
            //   e8????????           |                     
            //   8b4b04               | mov                 ecx, dword ptr [ebx + 4]
            //   83c704               | add                 edi, 4
            //   6a0f                 | push                0xf
            //   897cc104             | mov                 dword ptr [ecx + eax*8 + 4], edi
            //   e8????????           |                     

        $sequence_5 = { c745e46d007300 c745ec53007400 c745f061007200 c745f474007500 c745f870000000 c745a857006900 c745ac6e007300 }
            // n = 7, score = 400
            //   c745e46d007300       | mov                 dword ptr [ebp - 0x1c], 0x73006d
            //   c745ec53007400       | mov                 dword ptr [ebp - 0x14], 0x740053
            //   c745f061007200       | mov                 dword ptr [ebp - 0x10], 0x720061
            //   c745f474007500       | mov                 dword ptr [ebp - 0xc], 0x750074
            //   c745f870000000       | mov                 dword ptr [ebp - 8], 0x70
            //   c745a857006900       | mov                 dword ptr [ebp - 0x58], 0x690057
            //   c745ac6e007300       | mov                 dword ptr [ebp - 0x54], 0x73006e

        $sequence_6 = { 50 c78558f8ffff14010000 ff15???????? 85c0 74d4 83bd5cf8ffff06 6803010000 }
            // n = 7, score = 400
            //   50                   | push                eax
            //   c78558f8ffff14010000     | mov    dword ptr [ebp - 0x7a8], 0x114
            //   ff15????????         |                     
            //   85c0                 | test                eax, eax
            //   74d4                 | je                  0xffffffd6
            //   83bd5cf8ffff06       | cmp                 dword ptr [ebp - 0x7a4], 6
            //   6803010000           | push                0x103

        $sequence_7 = { 57 8d8de8fdffff 6804010000 51 e8???????? 8bbd08efffff 83c40c }
            // n = 7, score = 400
            //   57                   | push                edi
            //   8d8de8fdffff         | lea                 ecx, [ebp - 0x218]
            //   6804010000           | push                0x104
            //   51                   | push                ecx
            //   e8????????           |                     
            //   8bbd08efffff         | mov                 edi, dword ptr [ebp - 0x10f8]
            //   83c40c               | add                 esp, 0xc

        $sequence_8 = { 5b 5d c20800 8bc7 8bcb }
            // n = 5, score = 400
            //   5b                   | pop                 ebx
            //   5d                   | pop                 ebp
            //   c20800               | ret                 8
            //   8bc7                 | mov                 eax, edi
            //   8bcb                 | mov                 ecx, ebx

        $sequence_9 = { 8d9568eeffff 56 52 e8???????? 8d85e0fbffff }
            // n = 5, score = 400
            //   8d9568eeffff         | lea                 edx, [ebp - 0x1198]
            //   56                   | push                esi
            //   52                   | push                edx
            //   e8????????           |                     
            //   8d85e0fbffff         | lea                 eax, [ebp - 0x420]

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