SYMBOLCOMMON_NAMEaka. SYNONYMS
win.typehash (Back to overview)

TypeHash

aka: SkinnyD

Actor(s): Tonto Team


There is no description at this point.

References
2020-10-03Trend MicroJaromír Hořejší, Daniel Lunghi, Cedric Pernet, Kazuki Fujisawa
@techreport{hoej:20201003:earth:688aaf8, author = {Jaromír Hořejší and Daniel Lunghi and Cedric Pernet and Kazuki Fujisawa}, title = {{Earth Akhlut: Exploring the Tools, Tactics, and Procedures of an Advanced Threat Actor Operating a Large Infrastructure}}, date = {2020-10-03}, institution = {Trend Micro}, url = {https://vblocalhost.com/uploads/VB2020-Lunghi-Horejsi.pdf}, language = {English}, urldate = {2020-10-06} } Earth Akhlut: Exploring the Tools, Tactics, and Procedures of an Advanced Threat Actor Operating a Large Infrastructure
Dexbia TypeHash
2020-09-08PTSecurityPTSecurity
@techreport{ptsecurity:20200908:shadowpad:2903f45, author = {PTSecurity}, title = {{ShadowPad: new activity from the Winnti group}}, date = {2020-09-08}, institution = {PTSecurity}, url = {https://www.ptsecurity.com/upload/corporate/ww-en/pt-esc/winnti-2020-eng.pdf}, language = {English}, urldate = {2020-10-08} } ShadowPad: new activity from the Winnti group
CCleaner Backdoor Korlia ShadowPad TypeHash
Yara Rules
[TLP:WHITE] win_typehash_auto (20230125 | Detects win.typehash.)
rule win_typehash_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2023-01-25"
        version = "1"
        description = "Detects win.typehash."
        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.typehash"
        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 = { 8b742438 56 ff15???????? 8bb424dc120000 }
            // n = 4, score = 100
            //   8b742438             | mov                 esi, dword ptr [esp + 0x38]
            //   56                   | push                esi
            //   ff15????????         |                     
            //   8bb424dc120000       | mov                 esi, dword ptr [esp + 0x12dc]

        $sequence_1 = { 8b442418 8b0d???????? 8bf9 3bc7 7302 8bf8 }
            // n = 6, score = 100
            //   8b442418             | mov                 eax, dword ptr [esp + 0x18]
            //   8b0d????????         |                     
            //   8bf9                 | mov                 edi, ecx
            //   3bc7                 | cmp                 eax, edi
            //   7302                 | jae                 4
            //   8bf8                 | mov                 edi, eax

        $sequence_2 = { 55 ffd6 8b4f54 8b742418 8bd1 8bf8 c1e902 }
            // n = 7, score = 100
            //   55                   | push                ebp
            //   ffd6                 | call                esi
            //   8b4f54               | mov                 ecx, dword ptr [edi + 0x54]
            //   8b742418             | mov                 esi, dword ptr [esp + 0x18]
            //   8bd1                 | mov                 edx, ecx
            //   8bf8                 | mov                 edi, eax
            //   c1e902               | shr                 ecx, 2

        $sequence_3 = { 8bc2 8bf2 c1f805 83e61f 8b0485e03d4100 8b04f0 83f8ff }
            // n = 7, score = 100
            //   8bc2                 | mov                 eax, edx
            //   8bf2                 | mov                 esi, edx
            //   c1f805               | sar                 eax, 5
            //   83e61f               | and                 esi, 0x1f
            //   8b0485e03d4100       | mov                 eax, dword ptr [eax*4 + 0x413de0]
            //   8b04f0               | mov                 eax, dword ptr [eax + esi*8]
            //   83f8ff               | cmp                 eax, -1

        $sequence_4 = { 6a00 50 8d4c2430 e8???????? 6a01 8d4c2450 c68424cc00000001 }
            // n = 7, score = 100
            //   6a00                 | push                0
            //   50                   | push                eax
            //   8d4c2430             | lea                 ecx, [esp + 0x30]
            //   e8????????           |                     
            //   6a01                 | push                1
            //   8d4c2450             | lea                 ecx, [esp + 0x50]
            //   c68424cc00000001     | mov                 byte ptr [esp + 0xcc], 1

        $sequence_5 = { 50 e8???????? 8bf0 83c404 3bf3 7567 ff15???????? }
            // n = 7, score = 100
            //   50                   | push                eax
            //   e8????????           |                     
            //   8bf0                 | mov                 esi, eax
            //   83c404               | add                 esp, 4
            //   3bf3                 | cmp                 esi, ebx
            //   7567                 | jne                 0x69
            //   ff15????????         |                     

        $sequence_6 = { 33c0 668b03 83f8ff 74e7 3b4614 77e2 8b4e1c }
            // n = 7, score = 100
            //   33c0                 | xor                 eax, eax
            //   668b03               | mov                 ax, word ptr [ebx]
            //   83f8ff               | cmp                 eax, -1
            //   74e7                 | je                  0xffffffe9
            //   3b4614               | cmp                 eax, dword ptr [esi + 0x14]
            //   77e2                 | ja                  0xffffffe4
            //   8b4e1c               | mov                 ecx, dword ptr [esi + 0x1c]

        $sequence_7 = { 8a4c2423 53 884c2414 8d4c2414 c68424d812000001 }
            // n = 5, score = 100
            //   8a4c2423             | mov                 cl, byte ptr [esp + 0x23]
            //   53                   | push                ebx
            //   884c2414             | mov                 byte ptr [esp + 0x14], cl
            //   8d4c2414             | lea                 ecx, [esp + 0x14]
            //   c68424d812000001     | mov                 byte ptr [esp + 0x12d8], 1

        $sequence_8 = { 8bf7 8bfa 6800000080 c1e902 }
            // n = 4, score = 100
            //   8bf7                 | mov                 esi, edi
            //   8bfa                 | mov                 edi, edx
            //   6800000080           | push                0x80000000
            //   c1e902               | shr                 ecx, 2

        $sequence_9 = { 7510 6a0e ff15???????? 5f 5e 5d 33c0 }
            // n = 7, score = 100
            //   7510                 | jne                 0x12
            //   6a0e                 | push                0xe
            //   ff15????????         |                     
            //   5f                   | pop                 edi
            //   5e                   | pop                 esi
            //   5d                   | pop                 ebp
            //   33c0                 | xor                 eax, eax

    condition:
        7 of them and filesize < 180224
}
[TLP:WHITE] win_typehash_w0   (20201007 | Detects an observed Negastealer campaign payload)
rule win_typehash_w0 {
    meta:
        author = "Jeff White (karttoon@gmail.com) @noottrak"
        date = "15APR2020"
        hash = "d81ba465fe59e7d600f7ab0e8161246a5badd8ae2c3084f76442fb49f6585e95"
        description = "Detects an observed Negastealer campaign payload"
        source = "https://github.com/karttoon/iocs/blob/899dac6045a73045baa8966a16b7402d625ee26b/Negasteal/troj_win_negasteal.yar"

        malpedia_rule_date = "20200817"
        malpedia_hash = ""
        malpedia_reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.typehash"
        malpedia_version = "20201007"
        malpedia_license = "CC BY-NC-SA 4.0"
        malpedia_sharing = "TLP:WHITE"

    strings:
	    $s1 = "Mozilla/5.0 (Windows NT 5.2) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.122 Safari/534.30"
	    $s2 = "news.php"
	    $s3 = "http://%s/%s"
	    $s4 = "type=0"
	    $s5 = "time=%s"
    condition:
	    all of them
}
Download all Yara Rules