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 (20230125 | Detects win.onhat.)
rule win_onhat_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2023-01-25"
        version = "1"
        description = "Detects win.onhat."
        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.onhat"
        malpedia_rule_date = "20230124"
        malpedia_hash = "2ee0eebba83dce3d019a90519f2f972c0fcf9686"
        malpedia_version = "20230125"
        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 = { 85c0 0f859e000000 b907000000 33c0 8dbc2495000000 c684249400000000 f3ab }
            // n = 7, score = 200
            //   85c0                 | test                eax, eax
            //   0f859e000000         | jne                 0xa4
            //   b907000000           | mov                 ecx, 7
            //   33c0                 | xor                 eax, eax
            //   8dbc2495000000       | lea                 edi, [esp + 0x95]
            //   c684249400000000     | mov                 byte ptr [esp + 0x94], 0
            //   f3ab                 | rep stosd           dword ptr es:[edi], eax

        $sequence_1 = { 50 e8???????? 8bbc244c010000 8bd8 57 895c241c }
            // n = 6, score = 200
            //   50                   | push                eax
            //   e8????????           |                     
            //   8bbc244c010000       | mov                 edi, dword ptr [esp + 0x14c]
            //   8bd8                 | mov                 ebx, eax
            //   57                   | push                edi
            //   895c241c             | mov                 dword ptr [esp + 0x1c], ebx

        $sequence_2 = { 56 ff15???????? 3d02010000 56 7422 ff15???????? 8b4c241c }
            // n = 7, score = 200
            //   56                   | push                esi
            //   ff15????????         |                     
            //   3d02010000           | cmp                 eax, 0x102
            //   56                   | push                esi
            //   7422                 | je                  0x24
            //   ff15????????         |                     
            //   8b4c241c             | mov                 ecx, dword ptr [esp + 0x1c]

        $sequence_3 = { 83c408 e9???????? ff15???????? e9???????? 8b442414 81e6ffff0000 }
            // n = 6, score = 200
            //   83c408               | add                 esp, 8
            //   e9????????           |                     
            //   ff15????????         |                     
            //   e9????????           |                     
            //   8b442414             | mov                 eax, dword ptr [esp + 0x14]
            //   81e6ffff0000         | and                 esi, 0xffff

        $sequence_4 = { 6a00 6a00 c644242000 88442427 32db 894c2430 }
            // n = 6, score = 200
            //   6a00                 | push                0
            //   6a00                 | push                0
            //   c644242000           | mov                 byte ptr [esp + 0x20], 0
            //   88442427             | mov                 byte ptr [esp + 0x27], al
            //   32db                 | xor                 bl, bl
            //   894c2430             | mov                 dword ptr [esp + 0x30], ecx

        $sequence_5 = { c644242f00 aa ffd6 8b2d???????? 8d842494000000 50 ffd5 }
            // n = 7, score = 200
            //   c644242f00           | mov                 byte ptr [esp + 0x2f], 0
            //   aa                   | stosb               byte ptr es:[edi], al
            //   ffd6                 | call                esi
            //   8b2d????????         |                     
            //   8d842494000000       | lea                 eax, [esp + 0x94]
            //   50                   | push                eax
            //   ffd5                 | call                ebp

        $sequence_6 = { 83c408 e9???????? ff15???????? e9???????? 68???????? eb05 68???????? }
            // n = 7, score = 200
            //   83c408               | add                 esp, 8
            //   e9????????           |                     
            //   ff15????????         |                     
            //   e9????????           |                     
            //   68????????           |                     
            //   eb05                 | jmp                 7
            //   68????????           |                     

        $sequence_7 = { c3 5f 5e b804000080 5b 81c414110000 }
            // n = 6, score = 200
            //   c3                   | ret                 
            //   5f                   | pop                 edi
            //   5e                   | pop                 esi
            //   b804000080           | mov                 eax, 0x80000004
            //   5b                   | pop                 ebx
            //   81c414110000         | add                 esp, 0x1114

        $sequence_8 = { 51 52 885c2420 88442427 89742434 }
            // n = 5, score = 200
            //   51                   | push                ecx
            //   52                   | push                edx
            //   885c2420             | mov                 byte ptr [esp + 0x20], bl
            //   88442427             | mov                 byte ptr [esp + 0x27], al
            //   89742434             | mov                 dword ptr [esp + 0x34], esi

        $sequence_9 = { ff15???????? 8bf0 3bf3 7526 68???????? e8???????? }
            // n = 6, score = 200
            //   ff15????????         |                     
            //   8bf0                 | mov                 esi, eax
            //   3bf3                 | cmp                 esi, ebx
            //   7526                 | jne                 0x28
            //   68????????           |                     
            //   e8????????           |                     

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