SYMBOLCOMMON_NAMEaka. SYNONYMS
win.ramsay (Back to overview)

Ramsay

Actor(s): DarkHotel


There is no description at this point.

References
2020-09-22Youtube (Virus Bulletin)Ignacio Sanmillan
@online{sanmillan:20200922:ramsay:efa8b8c, author = {Ignacio Sanmillan}, title = {{Ramsay: A cyber-espionage toolkit tailored for air-gapped networks}}, date = {2020-09-22}, organization = {Youtube (Virus Bulletin)}, url = {https://www.youtube.com/watch?v=SKIu4LqMrns}, language = {English}, urldate = {2020-11-19} } Ramsay: A cyber-espionage toolkit tailored for air-gapped networks
Ramsay
2020-06-14BushidoTokenBushidoToken
@online{bushidotoken:20200614:deepdive:3a375ca, author = {BushidoToken}, title = {{Deep-dive: The DarkHotel APT}}, date = {2020-06-14}, organization = {BushidoToken}, url = {https://blog.bushidotoken.net/2020/06/deep-dive-darkhotel-apt.html}, language = {English}, urldate = {2020-06-16} } Deep-dive: The DarkHotel APT
Asruex Ghost RAT Ramsay Retro Unidentified 076 (Higaisa LNK to Shellcode)
2020-05-22Antiy CERTAntiy CERT
@online{cert:20200522:analysis:fc8e2b2, author = {Antiy CERT}, title = {{Analysis of Ramsay components of Darkhotel's infiltration and isolation network}}, date = {2020-05-22}, organization = {Antiy CERT}, url = {https://www.antiy.cn/research/notice&report/research_report/20200522.html}, language = {Chinese}, urldate = {2020-05-23} } Analysis of Ramsay components of Darkhotel's infiltration and isolation network
Ramsay DarkHotel
2020-05-20SentinelOneJim Walter
@online{walter:20200520:why:818c76f, author = {Jim Walter}, title = {{Why On-Device Detection Matters: New Ramsay Trojan Targets Air-Gapped Networks}}, date = {2020-05-20}, organization = {SentinelOne}, url = {https://www.sentinelone.com/blog/why-on-device-detection-matters-new-ramsay-trojan-targets-air-gapped-networks/}, language = {English}, urldate = {2020-06-10} } Why On-Device Detection Matters: New Ramsay Trojan Targets Air-Gapped Networks
Ramsay
2020-05-13ESET ResearchIgnacio Sanmillan
@online{sanmillan:20200513:ramsay:8608f19, author = {Ignacio Sanmillan}, title = {{Ramsay: A cyber‑espionage toolkit tailored for air‑gapped networks}}, date = {2020-05-13}, organization = {ESET Research}, url = {https://www.welivesecurity.com/2020/05/13/ramsay-cyberespionage-toolkit-airgapped-networks/}, language = {English}, urldate = {2020-05-14} } Ramsay: A cyber‑espionage toolkit tailored for air‑gapped networks
Ramsay Retro
Yara Rules
[TLP:WHITE] win_ramsay_auto (20201014 | autogenerated rule brought to you by yara-signator)
rule win_ramsay_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2020-10-14"
        version = "1"
        description = "autogenerated rule brought to you by yara-signator"
        tool = "yara-signator v0.5.0"
        tool_config = "callsandjumps;datarefs;binvalue"
        malpedia_reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.ramsay"
        malpedia_rule_date = "20201014"
        malpedia_hash = "a7e3bd57eaf12bf3ea29a863c041091ba3af9ac9"
        malpedia_version = "20201014"
        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 = { 83f820 7502 eb07 33c0 }
            // n = 4, score = 400
            //   83f820               | cmp                 eax, 0x20
            //   7502                 | jne                 4
            //   eb07                 | jmp                 9
            //   33c0                 | xor                 eax, eax

        $sequence_1 = { ff15???????? 85c0 7502 eb02 ebb1 }
            // n = 5, score = 400
            //   ff15????????         |                     
            //   85c0                 | test                eax, eax
            //   7502                 | jne                 4
            //   eb02                 | jmp                 4
            //   ebb1                 | jmp                 0xffffffb3

        $sequence_2 = { 7514 ff15???????? 83f820 7502 }
            // n = 4, score = 400
            //   7514                 | jne                 0x16
            //   ff15????????         |                     
            //   83f820               | cmp                 eax, 0x20
            //   7502                 | jne                 4

        $sequence_3 = { 8b5508 8a45ff 884207 c645f000 33c9 }
            // n = 5, score = 300
            //   8b5508               | mov                 edx, dword ptr [ebp + 8]
            //   8a45ff               | mov                 al, byte ptr [ebp - 1]
            //   884207               | mov                 byte ptr [edx + 7], al
            //   c645f000             | mov                 byte ptr [ebp - 0x10], 0
            //   33c9                 | xor                 ecx, ecx

        $sequence_4 = { 50 e8???????? 83c40c 8d4df4 51 8b55f4 52 }
            // n = 7, score = 300
            //   50                   | push                eax
            //   e8????????           |                     
            //   83c40c               | add                 esp, 0xc
            //   8d4df4               | lea                 ecx, [ebp - 0xc]
            //   51                   | push                ecx
            //   8b55f4               | mov                 edx, dword ptr [ebp - 0xc]
            //   52                   | push                edx

        $sequence_5 = { ff15???????? 33c0 e9???????? e8???????? 85c0 7507 }
            // n = 6, score = 300
            //   ff15????????         |                     
            //   33c0                 | xor                 eax, eax
            //   e9????????           |                     
            //   e8????????           |                     
            //   85c0                 | test                eax, eax
            //   7507                 | jne                 9

        $sequence_6 = { 8b4508 8a481e 884a03 8b5508 }
            // n = 4, score = 300
            //   8b4508               | mov                 eax, dword ptr [ebp + 8]
            //   8a481e               | mov                 cl, byte ptr [eax + 0x1e]
            //   884a03               | mov                 byte ptr [edx + 3], cl
            //   8b5508               | mov                 edx, dword ptr [ebp + 8]

        $sequence_7 = { 8b45fc 83c001 8945fc 8b4dfc 3b4d08 732c e8???????? }
            // n = 7, score = 300
            //   8b45fc               | mov                 eax, dword ptr [ebp - 4]
            //   83c001               | add                 eax, 1
            //   8945fc               | mov                 dword ptr [ebp - 4], eax
            //   8b4dfc               | mov                 ecx, dword ptr [ebp - 4]
            //   3b4d08               | cmp                 ecx, dword ptr [ebp + 8]
            //   732c                 | jae                 0x2e
            //   e8????????           |                     

        $sequence_8 = { 51 8b55fc 52 e8???????? 8945ec 837dec00 7561 }
            // n = 7, score = 300
            //   51                   | push                ecx
            //   8b55fc               | mov                 edx, dword ptr [ebp - 4]
            //   52                   | push                edx
            //   e8????????           |                     
            //   8945ec               | mov                 dword ptr [ebp - 0x14], eax
            //   837dec00             | cmp                 dword ptr [ebp - 0x14], 0
            //   7561                 | jne                 0x63

        $sequence_9 = { 8b4508 50 6a00 6a00 ff15???????? 8945f8 8b4df8 }
            // n = 7, score = 300
            //   8b4508               | mov                 eax, dword ptr [ebp + 8]
            //   50                   | push                eax
            //   6a00                 | push                0
            //   6a00                 | push                0
            //   ff15????????         |                     
            //   8945f8               | mov                 dword ptr [ebp - 8], eax
            //   8b4df8               | mov                 ecx, dword ptr [ebp - 8]

        $sequence_10 = { 6a05 8b45fc 50 ff15???????? 85c0 7504 33c0 }
            // n = 7, score = 300
            //   6a05                 | push                5
            //   8b45fc               | mov                 eax, dword ptr [ebp - 4]
            //   50                   | push                eax
            //   ff15????????         |                     
            //   85c0                 | test                eax, eax
            //   7504                 | jne                 6
            //   33c0                 | xor                 eax, eax

        $sequence_11 = { eb65 8b45fc 8945f0 8b4df0 0fb611 }
            // n = 5, score = 300
            //   eb65                 | jmp                 0x67
            //   8b45fc               | mov                 eax, dword ptr [ebp - 4]
            //   8945f0               | mov                 dword ptr [ebp - 0x10], eax
            //   8b4df0               | mov                 ecx, dword ptr [ebp - 0x10]
            //   0fb611               | movzx               edx, byte ptr [ecx]

        $sequence_12 = { 8d84012ac68747 89442408 8b442408 c1e00c }
            // n = 4, score = 200
            //   8d84012ac68747       | mov                 ecx, dword ptr [esp + 0xd0]
            //   89442408             | dec                 eax
            //   8b442408             | cmp                 dword ptr [esp + 0x958], 0
            //   c1e00c               | lea                 eax, [ecx + eax + 0x4787c62a]

        $sequence_13 = { ff15???????? 33c0 e9???????? baffffffff 488b8c24400d0000 ff15???????? 488b8c24400d0000 }
            // n = 7, score = 200
            //   ff15????????         |                     
            //   33c0                 | mov                 dword ptr [esp + 8], eax
            //   e9????????           |                     
            //   baffffffff           | mov                 eax, dword ptr [esp + 8]
            //   488b8c24400d0000     | shl                 eax, 0xc
            //   ff15????????         |                     
            //   488b8c24400d0000     | xor                 eax, eax

        $sequence_14 = { 4883bc24d000000000 740d 488b8c24d0000000 e8???????? 4883bc245809000000 }
            // n = 5, score = 200
            //   4883bc24d000000000     | dec    eax
            //   740d                 | cmp                 dword ptr [esp + 0xd0], 0
            //   488b8c24d0000000     | je                  0xf
            //   e8????????           |                     
            //   4883bc245809000000     | dec    eax

        $sequence_15 = { 488b4c2470 488b4118 b902000000 48f7f1 488b4c2438 483bc1 7702 }
            // n = 7, score = 200
            //   488b4c2470           | mov                 edx, 0xffffffff
            //   488b4118             | dec                 eax
            //   b902000000           | mov                 ecx, dword ptr [esp + 0xd40]
            //   48f7f1               | dec                 eax
            //   488b4c2438           | mov                 ecx, dword ptr [esp + 0xd40]
            //   483bc1               | dec                 eax
            //   7702                 | mov                 ecx, dword ptr [esp + 0x70]

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