SYMBOLCOMMON_NAMEaka. SYNONYMS
win.onhat (Back to overview)

ONHAT


There is no description at this point.

References
2015-12-26GoogleVarious
@online{various:20151226:groups:987aa84, author = {Various}, title = {{APT Groups and Operations}}, date = {2015-12-26}, organization = {Google}, url = {https://docs.google.com/spreadsheets/d/1H9_xaxQHpWaa4O_Son4Gx0YOIzlcBWMsdvePFX68EKU/htmlview}, language = {English}, urldate = {2020-01-13} } APT Groups and Operations
ONHAT
2014-02-14SecureworksCounter Threat Unit ResearchTeam
@online{researchteam:20140214:analysis:0417082, author = {Counter Threat Unit ResearchTeam}, title = {{Analysis of DHS NCCIC Indicators}}, date = {2014-02-14}, organization = {Secureworks}, url = {https://www.secureworks.com/research/analysis-of-dhs-nccic-indicators}, language = {English}, urldate = {2020-05-26} } Analysis of DHS NCCIC Indicators
jspRAT BeepService DDKeylogger LinseningSvr ONHAT SimpleFileMover ZiyangRAT
Yara Rules
[TLP:WHITE] win_onhat_auto (20201023 | autogenerated rule brought to you by yara-signator)
rule win_onhat_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.onhat"
        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 = { 8a08 84c9 740c 3aca 740a 8a4801 40 }
            // n = 7, score = 200
            //   8a08                 | mov                 cl, byte ptr [eax]
            //   84c9                 | test                cl, cl
            //   740c                 | je                  0xe
            //   3aca                 | cmp                 cl, dl
            //   740a                 | je                  0xc
            //   8a4801               | mov                 cl, byte ptr [eax + 1]
            //   40                   | inc                 eax

        $sequence_1 = { e8???????? 83c404 b807000080 5f }
            // n = 4, score = 200
            //   e8????????           |                     
            //   83c404               | add                 esp, 4
            //   b807000080           | mov                 eax, 0x80000007
            //   5f                   | pop                 edi

        $sequence_2 = { 8d7c2414 bee8030000 f3ab 8b8c2424010000 b8d34d6210 f7e1 c1ea06 }
            // n = 7, score = 200
            //   8d7c2414             | lea                 edi, [esp + 0x14]
            //   bee8030000           | mov                 esi, 0x3e8
            //   f3ab                 | rep stosd           dword ptr es:[edi], eax
            //   8b8c2424010000       | mov                 ecx, dword ptr [esp + 0x124]
            //   b8d34d6210           | mov                 eax, 0x10624dd3
            //   f7e1                 | mul                 ecx
            //   c1ea06               | shr                 edx, 6

        $sequence_3 = { 8b742430 8a4c2412 88442428 8d542414 8d442418 52 }
            // n = 6, score = 200
            //   8b742430             | mov                 esi, dword ptr [esp + 0x30]
            //   8a4c2412             | mov                 cl, byte ptr [esp + 0x12]
            //   88442428             | mov                 byte ptr [esp + 0x28], al
            //   8d542414             | lea                 edx, [esp + 0x14]
            //   8d442418             | lea                 eax, [esp + 0x18]
            //   52                   | push                edx

        $sequence_4 = { c684241b0100004e c684241c01000056 889c241d010000 c684241e01000053 c684241f01000045 }
            // n = 5, score = 200
            //   c684241b0100004e     | mov                 byte ptr [esp + 0x11b], 0x4e
            //   c684241c01000056     | mov                 byte ptr [esp + 0x11c], 0x56
            //   889c241d010000       | mov                 byte ptr [esp + 0x11d], bl
            //   c684241e01000053     | mov                 byte ptr [esp + 0x11e], 0x53
            //   c684241f01000045     | mov                 byte ptr [esp + 0x11f], 0x45

        $sequence_5 = { 884c2412 663bc5 750f 8b8424b4000000 884c2413 8944242c 8bbc249c000000 }
            // n = 7, score = 200
            //   884c2412             | mov                 byte ptr [esp + 0x12], cl
            //   663bc5               | cmp                 ax, bp
            //   750f                 | jne                 0x11
            //   8b8424b4000000       | mov                 eax, dword ptr [esp + 0xb4]
            //   884c2413             | mov                 byte ptr [esp + 0x13], cl
            //   8944242c             | mov                 dword ptr [esp + 0x2c], eax
            //   8bbc249c000000       | mov                 edi, dword ptr [esp + 0x9c]

        $sequence_6 = { 33c0 8d4c2400 89442406 56 8944240e 8d542408 89442412 }
            // n = 7, score = 200
            //   33c0                 | xor                 eax, eax
            //   8d4c2400             | lea                 ecx, [esp]
            //   89442406             | mov                 dword ptr [esp + 6], eax
            //   56                   | push                esi
            //   8944240e             | mov                 dword ptr [esp + 0xe], eax
            //   8d542408             | lea                 edx, [esp + 8]
            //   89442412             | mov                 dword ptr [esp + 0x12], eax

        $sequence_7 = { 8b74243c c644240c01 8b7c2434 57 }
            // n = 4, score = 200
            //   8b74243c             | mov                 esi, dword ptr [esp + 0x3c]
            //   c644240c01           | mov                 byte ptr [esp + 0xc], 1
            //   8b7c2434             | mov                 edi, dword ptr [esp + 0x34]
            //   57                   | push                edi

        $sequence_8 = { aa 8d842410200000 8d542408 50 51 52 c644241025 }
            // n = 7, score = 200
            //   aa                   | stosb               byte ptr es:[edi], al
            //   8d842410200000       | lea                 eax, [esp + 0x2010]
            //   8d542408             | lea                 edx, [esp + 8]
            //   50                   | push                eax
            //   51                   | push                ecx
            //   52                   | push                edx
            //   c644241025           | mov                 byte ptr [esp + 0x10], 0x25

        $sequence_9 = { 56 e8???????? b14f 83c408 884c2411 b020 884c241a }
            // n = 7, score = 200
            //   56                   | push                esi
            //   e8????????           |                     
            //   b14f                 | mov                 cl, 0x4f
            //   83c408               | add                 esp, 8
            //   884c2411             | mov                 byte ptr [esp + 0x11], cl
            //   b020                 | mov                 al, 0x20
            //   884c241a             | mov                 byte ptr [esp + 0x1a], cl

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