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

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2020-08-17"
        version = "1"
        description = "autogenerated rule brought to you by yara-signator"
        tool = "yara-signator v0.4.0"
        tool_config = "callsandjumps;datarefs;binvalue"
        malpedia_reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.ratankba"
        malpedia_rule_date = "20200817"
        malpedia_hash = "8c895fd01eccb47a6225bcb1a3ba53cbb98644c5"
        malpedia_version = "20200817"
        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 / approach 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 = { 7409 50 e8???????? 83c404 8b86dc000000 }
            // n = 5, score = 400
            //   7409                 | je                  0xb
            //   50                   | push                eax
            //   e8????????           |                     
            //   83c404               | add                 esp, 4
            //   8b86dc000000         | mov                 eax, dword ptr [esi + 0xdc]

        $sequence_1 = { ff15???????? 85c0 7431 8b1d???????? 3bfe 7413 8b4df0 }
            // n = 7, score = 400
            //   ff15????????         |                     
            //   85c0                 | test                eax, eax
            //   7431                 | je                  0x33
            //   8b1d????????         |                     
            //   3bfe                 | cmp                 edi, esi
            //   7413                 | je                  0x15
            //   8b4df0               | mov                 ecx, dword ptr [ebp - 0x10]

        $sequence_2 = { b800040000 03c1 8bd8 3bf8 7202 8bdf }
            // n = 6, score = 400
            //   b800040000           | mov                 eax, 0x400
            //   03c1                 | add                 eax, ecx
            //   8bd8                 | mov                 ebx, eax
            //   3bf8                 | cmp                 edi, eax
            //   7202                 | jb                  4
            //   8bdf                 | mov                 ebx, edi

        $sequence_3 = { 5e 5d c20400 8b0e 8b5508 8914c1 8b4308 }
            // n = 7, score = 400
            //   5e                   | pop                 esi
            //   5d                   | pop                 ebp
            //   c20400               | ret                 4
            //   8b0e                 | mov                 ecx, dword ptr [esi]
            //   8b5508               | mov                 edx, dword ptr [ebp + 8]
            //   8914c1               | mov                 dword ptr [ecx + eax*8], edx
            //   8b4308               | mov                 eax, dword ptr [ebx + 8]

        $sequence_4 = { 57 50 8d45f4 64a300000000 8b4508 8bd9 8945b4 }
            // n = 7, score = 400
            //   57                   | push                edi
            //   50                   | push                eax
            //   8d45f4               | lea                 eax, [ebp - 0xc]
            //   64a300000000         | mov                 dword ptr fs:[0], eax
            //   8b4508               | mov                 eax, dword ptr [ebp + 8]
            //   8bd9                 | mov                 ebx, ecx
            //   8945b4               | mov                 dword ptr [ebp - 0x4c], eax

        $sequence_5 = { 8b95c4feffff 50 8bce 51 8b8dc8feffff 895dfc e8???????? }
            // n = 7, score = 400
            //   8b95c4feffff         | mov                 edx, dword ptr [ebp - 0x13c]
            //   50                   | push                eax
            //   8bce                 | mov                 ecx, esi
            //   51                   | push                ecx
            //   8b8dc8feffff         | mov                 ecx, dword ptr [ebp - 0x138]
            //   895dfc               | mov                 dword ptr [ebp - 4], ebx
            //   e8????????           |                     

        $sequence_6 = { ff15???????? 85c0 0f8463ffffff 8d55a8 52 8d45ec 50 }
            // n = 7, score = 400
            //   ff15????????         |                     
            //   85c0                 | test                eax, eax
            //   0f8463ffffff         | je                  0xffffff69
            //   8d55a8               | lea                 edx, [ebp - 0x58]
            //   52                   | push                edx
            //   8d45ec               | lea                 eax, [ebp - 0x14]
            //   50                   | push                eax

        $sequence_7 = { c3 33d2 83f95e 7508 83c002 8906 8d51a3 }
            // n = 7, score = 400
            //   c3                   | ret                 
            //   33d2                 | xor                 edx, edx
            //   83f95e               | cmp                 ecx, 0x5e
            //   7508                 | jne                 0xa
            //   83c002               | add                 eax, 2
            //   8906                 | mov                 dword ptr [esi], eax
            //   8d51a3               | lea                 edx, [ecx - 0x5d]

        $sequence_8 = { c6853eefffff00 56 8bd3 e8???????? 8d4378 89b398000000 }
            // n = 6, score = 400
            //   c6853eefffff00       | mov                 byte ptr [ebp - 0x10c2], 0
            //   56                   | push                esi
            //   8bd3                 | mov                 edx, ebx
            //   e8????????           |                     
            //   8d4378               | lea                 eax, [ebx + 0x78]
            //   89b398000000         | mov                 dword ptr [ebx + 0x98], esi

        $sequence_9 = { 74b4 8bd7 e8???????? 8bf0 e9???????? 66833b00 }
            // n = 6, score = 400
            //   74b4                 | je                  0xffffffb6
            //   8bd7                 | mov                 edx, edi
            //   e8????????           |                     
            //   8bf0                 | mov                 esi, eax
            //   e9????????           |                     
            //   66833b00             | cmp                 word ptr [ebx], 0

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