SYMBOLCOMMON_NAMEaka. SYNONYMS
win.threebyte (Back to overview)

ThreeByte

Actor(s): IXESHE


There is no description at this point.

References
2014-09-03FireEyeNed Moran, Mike Oppenheim
@online{moran:20140903:darwins:1b05935, author = {Ned Moran and Mike Oppenheim}, title = {{Darwin’s Favorite APT Group}}, date = {2014-09-03}, organization = {FireEye}, url = {https://www.fireeye.com/blog/threat-research/2014/09/darwins-favorite-apt-group-2.html}, language = {English}, urldate = {2019-12-20} } Darwin’s Favorite APT Group
EtumBot ThreeByte WaterSpout APT12
Yara Rules
[TLP:WHITE] win_threebyte_auto (20221125 | Detects win.threebyte.)
rule win_threebyte_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2022-11-21"
        version = "1"
        description = "Detects win.threebyte."
        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.threebyte"
        malpedia_rule_date = "20221118"
        malpedia_hash = "e0702e2e6d1d00da65c8a29a4ebacd0a4c59e1af"
        malpedia_version = "20221125"
        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 = { 8b8568feffff 50 8b4d08 51 8d9570feffff 52 e8???????? }
            // n = 7, score = 200
            //   8b8568feffff         | mov                 eax, dword ptr [ebp - 0x198]
            //   50                   | push                eax
            //   8b4d08               | mov                 ecx, dword ptr [ebp + 8]
            //   51                   | push                ecx
            //   8d9570feffff         | lea                 edx, [ebp - 0x190]
            //   52                   | push                edx
            //   e8????????           |                     

        $sequence_1 = { 8b85f0fdffff 8b08 8b95f0fdffff 52 ff510c 8985ecfdffff 83bdecfdffff00 }
            // n = 7, score = 200
            //   8b85f0fdffff         | mov                 eax, dword ptr [ebp - 0x210]
            //   8b08                 | mov                 ecx, dword ptr [eax]
            //   8b95f0fdffff         | mov                 edx, dword ptr [ebp - 0x210]
            //   52                   | push                edx
            //   ff510c               | call                dword ptr [ecx + 0xc]
            //   8985ecfdffff         | mov                 dword ptr [ebp - 0x214], eax
            //   83bdecfdffff00       | cmp                 dword ptr [ebp - 0x214], 0

        $sequence_2 = { 89412c c645a449 c645a56e c645a674 c645a765 c645a872 c645a96e }
            // n = 7, score = 200
            //   89412c               | mov                 dword ptr [ecx + 0x2c], eax
            //   c645a449             | mov                 byte ptr [ebp - 0x5c], 0x49
            //   c645a56e             | mov                 byte ptr [ebp - 0x5b], 0x6e
            //   c645a674             | mov                 byte ptr [ebp - 0x5a], 0x74
            //   c645a765             | mov                 byte ptr [ebp - 0x59], 0x65
            //   c645a872             | mov                 byte ptr [ebp - 0x58], 0x72
            //   c645a96e             | mov                 byte ptr [ebp - 0x57], 0x6e

        $sequence_3 = { 50 ff15???????? 8d8d34ffffff 51 e8???????? 83c404 e9???????? }
            // n = 7, score = 200
            //   50                   | push                eax
            //   ff15????????         |                     
            //   8d8d34ffffff         | lea                 ecx, [ebp - 0xcc]
            //   51                   | push                ecx
            //   e8????????           |                     
            //   83c404               | add                 esp, 4
            //   e9????????           |                     

        $sequence_4 = { e9???????? 8b4d08 034df4 33d2 8a11 33c0 }
            // n = 6, score = 200
            //   e9????????           |                     
            //   8b4d08               | mov                 ecx, dword ptr [ebp + 8]
            //   034df4               | add                 ecx, dword ptr [ebp - 0xc]
            //   33d2                 | xor                 edx, edx
            //   8a11                 | mov                 dl, byte ptr [ecx]
            //   33c0                 | xor                 eax, eax

        $sequence_5 = { 8b4d08 034df4 33d2 8a11 33c0 8a8280b10010 83f87f }
            // n = 7, score = 200
            //   8b4d08               | mov                 ecx, dword ptr [ebp + 8]
            //   034df4               | add                 ecx, dword ptr [ebp - 0xc]
            //   33d2                 | xor                 edx, edx
            //   8a11                 | mov                 dl, byte ptr [ecx]
            //   33c0                 | xor                 eax, eax
            //   8a8280b10010         | mov                 al, byte ptr [edx + 0x1000b180]
            //   83f87f               | cmp                 eax, 0x7f

        $sequence_6 = { 83c404 89856cf7ffff 8b9588f7ffff 83c201 52 6a00 8b856cf7ffff }
            // n = 7, score = 200
            //   83c404               | add                 esp, 4
            //   89856cf7ffff         | mov                 dword ptr [ebp - 0x894], eax
            //   8b9588f7ffff         | mov                 edx, dword ptr [ebp - 0x878]
            //   83c201               | add                 edx, 1
            //   52                   | push                edx
            //   6a00                 | push                0
            //   8b856cf7ffff         | mov                 eax, dword ptr [ebp - 0x894]

        $sequence_7 = { eb51 6a00 e8???????? 83c404 50 e8???????? 83c404 }
            // n = 7, score = 200
            //   eb51                 | jmp                 0x53
            //   6a00                 | push                0
            //   e8????????           |                     
            //   83c404               | add                 esp, 4
            //   50                   | push                eax
            //   e8????????           |                     
            //   83c404               | add                 esp, 4

        $sequence_8 = { aa c78514feffff00000000 6a0a 8b45f0 50 ff15???????? 85c0 }
            // n = 7, score = 200
            //   aa                   | stosb               byte ptr es:[edi], al
            //   c78514feffff00000000     | mov    dword ptr [ebp - 0x1ec], 0
            //   6a0a                 | push                0xa
            //   8b45f0               | mov                 eax, dword ptr [ebp - 0x10]
            //   50                   | push                eax
            //   ff15????????         |                     
            //   85c0                 | test                eax, eax

        $sequence_9 = { 8b55fc 52 8d85b0feffff 50 e8???????? }
            // n = 5, score = 200
            //   8b55fc               | mov                 edx, dword ptr [ebp - 4]
            //   52                   | push                edx
            //   8d85b0feffff         | lea                 eax, [ebp - 0x150]
            //   50                   | push                eax
            //   e8????????           |                     

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