SYMBOLCOMMON_NAMEaka. SYNONYMS
win.gophe (Back to overview)

Gophe


There is no description at this point.

References
2020-02-08FireEyeMichael Bailey
@online{bailey:20200208:reversing:b033cdc, author = {Michael Bailey}, title = {{Reversing the Gophe SPambot: Confronting COM Code and Surmounting STL Snags}}, date = {2020-02-08}, organization = {FireEye}, url = {https://github.com/strictlymike/presentations/tree/master/2020/2020.02.08_BSidesHuntsville}, language = {English}, urldate = {2020-10-05} } Reversing the Gophe SPambot: Confronting COM Code and Surmounting STL Snags
Gophe
2015-10-08ProofpointProofpoint Staff
@online{staff:20151008:dyre:7773d32, author = {Proofpoint Staff}, title = {{Dyre Malware Campaigners Innovate with Distribution Techniques}}, date = {2015-10-08}, organization = {Proofpoint}, url = {https://www.proofpoint.com/us/threat-insight/post/dyre-malware-campaigners-innovate-distribution-techniques}, language = {English}, urldate = {2020-03-04} } Dyre Malware Campaigners Innovate with Distribution Techniques
Gophe
Yara Rules
[TLP:WHITE] win_gophe_auto (20230715 | Detects win.gophe.)
rule win_gophe_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2023-07-11"
        version = "1"
        description = "Detects win.gophe."
        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.gophe"
        malpedia_rule_date = "20230705"
        malpedia_hash = "42d0574f4405bd7d2b154d321d345acb18834a41"
        malpedia_version = "20230715"
        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 = { 833902 0f94c0 84c0 7407 }
            // n = 4, score = 300
            //   833902               | cmp                 dword ptr [ecx], 2
            //   0f94c0               | sete                al
            //   84c0                 | test                al, al
            //   7407                 | je                  9

        $sequence_1 = { 6685c0 75f4 a1???????? 8907 6a20 }
            // n = 5, score = 200
            //   6685c0               | test                ax, ax
            //   75f4                 | jne                 0xfffffff6
            //   a1????????           |                     
            //   8907                 | mov                 dword ptr [edi], eax
            //   6a20                 | push                0x20

        $sequence_2 = { 894108 418b4104 89410c 4983f801 }
            // n = 4, score = 200
            //   894108               | inc                 ecx
            //   418b4104             | mov                 eax, dword ptr [ecx + 4]
            //   89410c               | mov                 dword ptr [ecx + 4], eax
            //   4983f801             | inc                 ecx

        $sequence_3 = { 55 8bec 8b4508 85c0 7509 b803000000 }
            // n = 6, score = 200
            //   55                   | push                ebp
            //   8bec                 | mov                 ebp, esp
            //   8b4508               | mov                 eax, dword ptr [ebp + 8]
            //   85c0                 | test                eax, eax
            //   7509                 | jne                 0xb
            //   b803000000           | mov                 eax, 3

        $sequence_4 = { c744242880000000 c744242003000000 4533c9 4533c0 ba00000080 ff15???????? 488bf8 }
            // n = 7, score = 200
            //   c744242880000000     | mov                 dword ptr [esp + 0x28], 0x80
            //   c744242003000000     | mov                 dword ptr [esp + 0x20], 3
            //   4533c9               | inc                 ebp
            //   4533c0               | xor                 ecx, ecx
            //   ba00000080           | inc                 ebp
            //   ff15????????         |                     
            //   488bf8               | xor                 eax, eax

        $sequence_5 = { 8b05???????? 85c0 0f85a9000000 4533c9 }
            // n = 4, score = 200
            //   8b05????????         |                     
            //   85c0                 | jne                 0x24
            //   0f85a9000000         | mov                 eax, dword ptr [ebp + 0x28]
            //   4533c9               | shl                 eax, 8

        $sequence_6 = { 83781408 7202 8b00 51 6a00 }
            // n = 5, score = 200
            //   83781408             | cmp                 dword ptr [eax + 0x14], 8
            //   7202                 | jb                  4
            //   8b00                 | mov                 eax, dword ptr [eax]
            //   51                   | push                ecx
            //   6a00                 | push                0

        $sequence_7 = { 6a00 68???????? 6a00 c605????????01 }
            // n = 4, score = 200
            //   6a00                 | push                0
            //   68????????           |                     
            //   6a00                 | push                0
            //   c605????????01       |                     

        $sequence_8 = { 68c8000000 e8???????? 68c8000000 6a00 50 8986dc000000 e8???????? }
            // n = 7, score = 200
            //   68c8000000           | push                0xc8
            //   e8????????           |                     
            //   68c8000000           | push                0xc8
            //   6a00                 | push                0
            //   50                   | push                eax
            //   8986dc000000         | mov                 dword ptr [esi + 0xdc], eax
            //   e8????????           |                     

        $sequence_9 = { 68e0000000 e8???????? 83c404 8945f0 }
            // n = 4, score = 200
            //   68e0000000           | push                0xe0
            //   e8????????           |                     
            //   83c404               | add                 esp, 4
            //   8945f0               | mov                 dword ptr [ebp - 0x10], eax

        $sequence_10 = { c744242880000008 c744242003000000 4533c9 ba00000080 }
            // n = 4, score = 200
            //   c744242880000008     | mov                 ecx, eax
            //   c744242003000000     | dec                 ebp
            //   4533c9               | mov                 eax, dword ptr [eax]
            //   ba00000080           | test                eax, eax

        $sequence_11 = { 90 4c8b45b8 4d8bc8 4d8b00 }
            // n = 4, score = 200
            //   90                   | test                eax, eax
            //   4c8b45b8             | jne                 0xaf
            //   4d8bc8               | inc                 ebp
            //   4d8b00               | xor                 ecx, ecx

        $sequence_12 = { 68???????? 8d85fcfdffff 68f4010000 50 }
            // n = 4, score = 200
            //   68????????           |                     
            //   8d85fcfdffff         | lea                 eax, [ebp - 0x204]
            //   68f4010000           | push                0x1f4
            //   50                   | push                eax

        $sequence_13 = { 894104 418b01 894108 418b4104 }
            // n = 4, score = 200
            //   894104               | xor                 ecx, ecx
            //   418b01               | mov                 edx, 0x80000000
            //   894108               | inc                 ebp
            //   418b4104             | lea                 eax, [ecx + 3]

        $sequence_14 = { 5d c3 8b07 85c0 7506 }
            // n = 5, score = 200
            //   5d                   | pop                 ebp
            //   c3                   | ret                 
            //   8b07                 | mov                 eax, dword ptr [edi]
            //   85c0                 | test                eax, eax
            //   7506                 | jne                 8

        $sequence_15 = { 85c0 7522 8b4528 c1e008 }
            // n = 4, score = 200
            //   85c0                 | mov                 edx, 0x80000000
            //   7522                 | dec                 eax
            //   8b4528               | mov                 edi, eax
            //   c1e008               | test                eax, eax

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