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 IXESHE
Yara Rules
[TLP:WHITE] win_threebyte_auto (20220808 | Detects win.threebyte.)
rule win_threebyte_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2022-08-05"
        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 = "20220805"
        malpedia_hash = "6ec06c64bcfdbeda64eff021c766b4ce34542b71"
        malpedia_version = "20220808"
        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 = { 8b4590 50 ff15???????? 8b8d04ffffff 894118 }
            // n = 5, score = 200
            //   8b4590               | mov                 eax, dword ptr [ebp - 0x70]
            //   50                   | push                eax
            //   ff15????????         |                     
            //   8b8d04ffffff         | mov                 ecx, dword ptr [ebp - 0xfc]
            //   894118               | mov                 dword ptr [ecx + 0x18], eax

        $sequence_1 = { e9???????? 668b0d???????? 66898decfdffff b940000000 33c0 8dbdeefdffff f3ab }
            // n = 7, score = 200
            //   e9????????           |                     
            //   668b0d????????       |                     
            //   66898decfdffff       | mov                 word ptr [ebp - 0x214], cx
            //   b940000000           | mov                 ecx, 0x40
            //   33c0                 | xor                 eax, eax
            //   8dbdeefdffff         | lea                 edi, [ebp - 0x212]
            //   f3ab                 | rep stosd           dword ptr es:[edi], eax

        $sequence_2 = { 0f8278ffffff 6a00 6a00 6a00 8b8d64f7ffff 51 }
            // n = 6, score = 200
            //   0f8278ffffff         | jb                  0xffffff7e
            //   6a00                 | push                0
            //   6a00                 | push                0
            //   6a00                 | push                0
            //   8b8d64f7ffff         | mov                 ecx, dword ptr [ebp - 0x89c]
            //   51                   | push                ecx

        $sequence_3 = { c68547feffff65 c68548feffff6f c68549feffff2e c6854afeffff63 c6854bfeffff73 }
            // n = 5, score = 200
            //   c68547feffff65       | mov                 byte ptr [ebp - 0x1b9], 0x65
            //   c68548feffff6f       | mov                 byte ptr [ebp - 0x1b8], 0x6f
            //   c68549feffff2e       | mov                 byte ptr [ebp - 0x1b7], 0x2e
            //   c6854afeffff63       | mov                 byte ptr [ebp - 0x1b6], 0x63
            //   c6854bfeffff73       | mov                 byte ptr [ebp - 0x1b5], 0x73

        $sequence_4 = { 7416 8d45bc 50 ff15???????? 8d4dbc 51 }
            // n = 6, score = 200
            //   7416                 | je                  0x18
            //   8d45bc               | lea                 eax, [ebp - 0x44]
            //   50                   | push                eax
            //   ff15????????         |                     
            //   8d4dbc               | lea                 ecx, [ebp - 0x44]
            //   51                   | push                ecx

        $sequence_5 = { 7512 8b8d60feffff 51 ff15???????? 83c8ff eb78 c78568feffffa8390110 }
            // n = 7, score = 200
            //   7512                 | jne                 0x14
            //   8b8d60feffff         | mov                 ecx, dword ptr [ebp - 0x1a0]
            //   51                   | push                ecx
            //   ff15????????         |                     
            //   83c8ff               | or                  eax, 0xffffffff
            //   eb78                 | jmp                 0x7a
            //   c78568feffffa8390110     | mov    dword ptr [ebp - 0x198], 0x100139a8

        $sequence_6 = { 83c207 c1fa03 8955ec 8b4514 8b08 3b4dec 7d12 }
            // n = 7, score = 200
            //   83c207               | add                 edx, 7
            //   c1fa03               | sar                 edx, 3
            //   8955ec               | mov                 dword ptr [ebp - 0x14], edx
            //   8b4514               | mov                 eax, dword ptr [ebp + 0x14]
            //   8b08                 | mov                 ecx, dword ptr [eax]
            //   3b4dec               | cmp                 ecx, dword ptr [ebp - 0x14]
            //   7d12                 | jge                 0x14

        $sequence_7 = { 750a b801000080 e9???????? 8b4d0c 51 e8???????? 83c404 }
            // n = 7, score = 200
            //   750a                 | jne                 0xc
            //   b801000080           | mov                 eax, 0x80000001
            //   e9????????           |                     
            //   8b4d0c               | mov                 ecx, dword ptr [ebp + 0xc]
            //   51                   | push                ecx
            //   e8????????           |                     
            //   83c404               | add                 esp, 4

        $sequence_8 = { 8b4590 50 ff15???????? 8b8d04ffffff 894108 c68530ffffff48 c68531ffffff74 }
            // n = 7, score = 200
            //   8b4590               | mov                 eax, dword ptr [ebp - 0x70]
            //   50                   | push                eax
            //   ff15????????         |                     
            //   8b8d04ffffff         | mov                 ecx, dword ptr [ebp - 0xfc]
            //   894108               | mov                 dword ptr [ecx + 8], eax
            //   c68530ffffff48       | mov                 byte ptr [ebp - 0xd0], 0x48
            //   c68531ffffff74       | mov                 byte ptr [ebp - 0xcf], 0x74

        $sequence_9 = { 6bd206 83c207 c1fa03 8955ec 8b4514 8b08 }
            // n = 6, score = 200
            //   6bd206               | imul                edx, edx, 6
            //   83c207               | add                 edx, 7
            //   c1fa03               | sar                 edx, 3
            //   8955ec               | mov                 dword ptr [ebp - 0x14], edx
            //   8b4514               | mov                 eax, dword ptr [ebp + 0x14]
            //   8b08                 | mov                 ecx, dword ptr [eax]

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