SYMBOLCOMMON_NAMEaka. SYNONYMS
win.khrat (Back to overview)

KHRAT

Actor(s): DragonOK


There is no description at this point.

References
2019-12-17Palo Alto Networks Unit 42Jen Miller-Osborn, Mike Harbison
@online{millerosborn:20191217:rancor:998fe1c, author = {Jen Miller-Osborn and Mike Harbison}, title = {{Rancor: Cyber Espionage Group Uses New Custom Malware to Attack Southeast Asia}}, date = {2019-12-17}, organization = {Palo Alto Networks Unit 42}, url = {https://unit42.paloaltonetworks.com/rancor-cyber-espionage-group-uses-new-custom-malware-to-attack-southeast-asia/}, language = {English}, urldate = {2020-01-08} } Rancor: Cyber Espionage Group Uses New Custom Malware to Attack Southeast Asia
DDKONG Derusbi KHRAT
2017-03-29ForcepointRoland Dela Paz
@online{paz:20170329:trojanized:867a7ca, author = {Roland Dela Paz}, title = {{Trojanized Adobe installer used to install DragonOK’s new custom backdoor}}, date = {2017-03-29}, organization = {Forcepoint}, url = {https://www.forcepoint.com/de/blog/x-labs/trojanized-adobe-installer-used-install-dragonok-s-new-custom-backdoor}, language = {English}, urldate = {2020-04-06} } Trojanized Adobe installer used to install DragonOK’s new custom backdoor
KHRAT DragonOK
Yara Rules
[TLP:WHITE] win_khrat_auto (20220411 | Detects win.khrat.)
rule win_khrat_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2022-04-08"
        version = "1"
        description = "Detects win.khrat."
        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.khrat"
        malpedia_rule_date = "20220405"
        malpedia_hash = "ecd38294bd47d5589be5cd5490dc8bb4804afc2a"
        malpedia_version = "20220411"
        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 = { c745f006000000 c745f8???????? 8d45d0 50 e8???????? 6a00 }
            // n = 6, score = 100
            //   c745f006000000       | mov                 dword ptr [ebp - 0x10], 6
            //   c745f8????????       |                     
            //   8d45d0               | lea                 eax, dword ptr [ebp - 0x30]
            //   50                   | push                eax
            //   e8????????           |                     
            //   6a00                 | push                0

        $sequence_1 = { a3???????? 6a00 6800003000 6a00 6a04 }
            // n = 5, score = 100
            //   a3????????           |                     
            //   6a00                 | push                0
            //   6800003000           | push                0x300000
            //   6a00                 | push                0
            //   6a04                 | push                4

        $sequence_2 = { 8d7e0b eb37 6a01 ff75a0 e8???????? 3d02010000 }
            // n = 6, score = 100
            //   8d7e0b               | lea                 edi, dword ptr [esi + 0xb]
            //   eb37                 | jmp                 0x39
            //   6a01                 | push                1
            //   ff75a0               | push                dword ptr [ebp - 0x60]
            //   e8????????           |                     
            //   3d02010000           | cmp                 eax, 0x102

        $sequence_3 = { 8d8548feffff 50 6806100000 68ffff0000 ff35???????? e8???????? }
            // n = 6, score = 100
            //   8d8548feffff         | lea                 eax, dword ptr [ebp - 0x1b8]
            //   50                   | push                eax
            //   6806100000           | push                0x1006
            //   68ffff0000           | push                0xffff
            //   ff35????????         |                     
            //   e8????????           |                     

        $sequence_4 = { ff35???????? 8f45e4 c745d030000000 c745d8fa320010 c745f006000000 c745f8???????? 8d45d0 }
            // n = 7, score = 100
            //   ff35????????         |                     
            //   8f45e4               | pop                 dword ptr [ebp - 0x1c]
            //   c745d030000000       | mov                 dword ptr [ebp - 0x30], 0x30
            //   c745d8fa320010       | mov                 dword ptr [ebp - 0x28], 0x100032fa
            //   c745f006000000       | mov                 dword ptr [ebp - 0x10], 6
            //   c745f8????????       |                     
            //   8d45d0               | lea                 eax, dword ptr [ebp - 0x30]

        $sequence_5 = { 8d45e0 50 68???????? e8???????? c705????????01000000 eb1b }
            // n = 6, score = 100
            //   8d45e0               | lea                 eax, dword ptr [ebp - 0x20]
            //   50                   | push                eax
            //   68????????           |                     
            //   e8????????           |                     
            //   c705????????01000000     |     
            //   eb1b                 | jmp                 0x1d

        $sequence_6 = { ffb5b8fbffff e8???????? ffb5bcfbffff 6a00 e8???????? c60300 c64301c4 }
            // n = 7, score = 100
            //   ffb5b8fbffff         | push                dword ptr [ebp - 0x448]
            //   e8????????           |                     
            //   ffb5bcfbffff         | push                dword ptr [ebp - 0x444]
            //   6a00                 | push                0
            //   e8????????           |                     
            //   c60300               | mov                 byte ptr [ebx], 0
            //   c64301c4             | mov                 byte ptr [ebx + 1], 0xc4

        $sequence_7 = { 83f8ff 7502 eb24 81ad94fbfffff5030000 ff8590fbffff 6a01 }
            // n = 6, score = 100
            //   83f8ff               | cmp                 eax, -1
            //   7502                 | jne                 4
            //   eb24                 | jmp                 0x26
            //   81ad94fbfffff5030000     | sub    dword ptr [ebp - 0x46c], 0x3f5
            //   ff8590fbffff         | inc                 dword ptr [ebp - 0x470]
            //   6a01                 | push                1

        $sequence_8 = { 8d8500fdffff 50 e8???????? 8d8500feffff 50 }
            // n = 5, score = 100
            //   8d8500fdffff         | lea                 eax, dword ptr [ebp - 0x300]
            //   50                   | push                eax
            //   e8????????           |                     
            //   8d8500feffff         | lea                 eax, dword ptr [ebp - 0x200]
            //   50                   | push                eax

        $sequence_9 = { c60300 c64301c4 66c743020b00 c6430402 c6430500 }
            // n = 5, score = 100
            //   c60300               | mov                 byte ptr [ebx], 0
            //   c64301c4             | mov                 byte ptr [ebx + 1], 0xc4
            //   66c743020b00         | mov                 word ptr [ebx + 2], 0xb
            //   c6430402             | mov                 byte ptr [ebx + 4], 2
            //   c6430500             | mov                 byte ptr [ebx + 5], 0

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