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 (20201014 | autogenerated rule brought to you by yara-signator)
rule win_khrat_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.khrat"
        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 = { a3???????? 6a30 8d45d0 50 }
            // n = 4, score = 100
            //   a3????????           |                     
            //   6a30                 | push                0x30
            //   8d45d0               | lea                 eax, [ebp - 0x30]
            //   50                   | push                eax

        $sequence_1 = { eb34 807b0605 7513 0fb74b02 }
            // n = 4, score = 100
            //   eb34                 | jmp                 0x36
            //   807b0605             | cmp                 byte ptr [ebx + 6], 5
            //   7513                 | jne                 0x15
            //   0fb74b02             | movzx               ecx, word ptr [ebx + 2]

        $sequence_2 = { 6801000080 e8???????? ff7510 e8???????? 50 ff7510 6a01 }
            // n = 7, score = 100
            //   6801000080           | push                0x80000001
            //   e8????????           |                     
            //   ff7510               | push                dword ptr [ebp + 0x10]
            //   e8????????           |                     
            //   50                   | push                eax
            //   ff7510               | push                dword ptr [ebp + 0x10]
            //   6a01                 | push                1

        $sequence_3 = { 8dbdf8fdffff f3a6 751d 53 ff750c e8???????? 56 }
            // n = 7, score = 100
            //   8dbdf8fdffff         | lea                 edi, [ebp - 0x208]
            //   f3a6                 | repe cmpsb          byte ptr [esi], byte ptr es:[edi]
            //   751d                 | jne                 0x1f
            //   53                   | push                ebx
            //   ff750c               | push                dword ptr [ebp + 0xc]
            //   e8????????           |                     
            //   56                   | push                esi

        $sequence_4 = { 50 ff35???????? e8???????? 83f8ff 7502 eb25 ff35???????? }
            // n = 7, score = 100
            //   50                   | push                eax
            //   ff35????????         |                     
            //   e8????????           |                     
            //   83f8ff               | cmp                 eax, -1
            //   7502                 | jne                 4
            //   eb25                 | jmp                 0x27
            //   ff35????????         |                     

        $sequence_5 = { 6a00 e8???????? 8d45d0 50 8d45c0 50 }
            // n = 6, score = 100
            //   6a00                 | push                0
            //   e8????????           |                     
            //   8d45d0               | lea                 eax, [ebp - 0x30]
            //   50                   | push                eax
            //   8d45c0               | lea                 eax, [ebp - 0x40]
            //   50                   | push                eax

        $sequence_6 = { 53 e8???????? 0bc0 743a 8d85f8fdffff 50 e8???????? }
            // n = 7, score = 100
            //   53                   | push                ebx
            //   e8????????           |                     
            //   0bc0                 | or                  eax, eax
            //   743a                 | je                  0x3c
            //   8d85f8fdffff         | lea                 eax, [ebp - 0x208]
            //   50                   | push                eax
            //   e8????????           |                     

        $sequence_7 = { c64301c4 66c743020004 c6430403 c6430500 }
            // n = 4, score = 100
            //   c64301c4             | mov                 byte ptr [ebx + 1], 0xc4
            //   66c743020004         | mov                 word ptr [ebx + 2], 0x400
            //   c6430403             | mov                 byte ptr [ebx + 4], 3
            //   c6430500             | mov                 byte ptr [ebx + 5], 0

        $sequence_8 = { e8???????? 6a12 e8???????? 2500800000 0bc0 7405 e9???????? }
            // n = 7, score = 100
            //   e8????????           |                     
            //   6a12                 | push                0x12
            //   e8????????           |                     
            //   2500800000           | and                 eax, 0x8000
            //   0bc0                 | or                  eax, eax
            //   7405                 | je                  7
            //   e9????????           |                     

        $sequence_9 = { e8???????? 83c414 68???????? 8d45e0 }
            // n = 4, score = 100
            //   e8????????           |                     
            //   83c414               | add                 esp, 0x14
            //   68????????           |                     
            //   8d45e0               | lea                 eax, [ebp - 0x20]

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