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

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2023-01-25"
        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 = "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 = { 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 = { 84c0 7407 e8???????? eb06 e8???????? 90 }
            // n = 6, score = 200
            //   84c0                 | test                al, al
            //   7407                 | je                  9
            //   e8????????           |                     
            //   eb06                 | jmp                 8
            //   e8????????           |                     
            //   90                   | nop                 

        $sequence_2 = { 57 ff15???????? 32c0 8b4df4 }
            // n = 4, score = 200
            //   57                   | mov                 dword ptr [esi], 0xffffffff
            //   ff15????????         |                     
            //   32c0                 | push                0x105
            //   8b4df4               | lea                 eax, [ebp - 0x220]

        $sequence_3 = { 8bc3 c1e810 440fb6c8 8bc3 }
            // n = 4, score = 200
            //   8bc3                 | inc                 ecx
            //   c1e810               | mov                 eax, 0x230
            //   440fb6c8             | dec                 eax
            //   8bc3                 | mov                 ecx, ebx

        $sequence_4 = { 7416 6830020000 6a00 56 }
            // n = 4, score = 200
            //   7416                 | push                ecx
            //   6830020000           | push                eax
            //   6a00                 | push                edi
            //   56                   | call                esi

        $sequence_5 = { 7416 33d2 41b830020000 488bcb e8???????? }
            // n = 5, score = 200
            //   7416                 | je                  0x18
            //   33d2                 | xor                 edx, edx
            //   41b830020000         | inc                 ecx
            //   488bcb               | mov                 eax, 0x230
            //   e8????????           |                     

        $sequence_6 = { 7408 488b0f e8???????? 488b07 c74708ffffffff 8b5014 4885f6 }
            // n = 7, score = 200
            //   7408                 | mov                 dword ptr [ebx], 0xffffffff
            //   488b0f               | mov                 eax, 0x500
            //   e8????????           |                     
            //   488b07               | mov                 eax, ebx
            //   c74708ffffffff       | shr                 eax, 0x10
            //   8b5014               | inc                 esp
            //   4885f6               | movzx               ecx, al

        $sequence_7 = { 75f9 2bc2 897e08 89460c }
            // n = 4, score = 200
            //   75f9                 | push                eax
            //   2bc2                 | call                esi
            //   897e08               | push                0x105
            //   89460c               | lea                 eax, [ebp - 0x220]

        $sequence_8 = { 85c9 0f94c0 89431c 85c9 }
            // n = 4, score = 200
            //   85c9                 | test                esi, esi
            //   0f94c0               | mov                 edi, eax
            //   89431c               | test                eax, eax
            //   85c9                 | js                  0x1a

        $sequence_9 = { 7417 4c8bc8 ba11010000 41b801000000 }
            // n = 4, score = 200
            //   7417                 | dec                 eax
            //   4c8bc8               | mov                 ecx, dword ptr [esp + 0x40]
            //   ba11010000           | mov                 edi, eax
            //   41b801000000         | test                eax, eax

        $sequence_10 = { 8bf8 85c0 7818 488b4c2440 }
            // n = 4, score = 200
            //   8bf8                 | mov                 eax, ebx
            //   85c0                 | je                  0xa
            //   7818                 | dec                 eax
            //   488b4c2440           | mov                 ecx, dword ptr [edi]

        $sequence_11 = { 6805010000 8d85e0fdffff 50 68???????? }
            // n = 4, score = 200
            //   6805010000           | mov                 eax, 3
            //   8d85e0fdffff         | pop                 ebp
            //   50                   | push                edx
            //   68????????           |                     

        $sequence_12 = { 56 e8???????? 83c40c c706ffffffff }
            // n = 4, score = 200
            //   56                   | mov                 ecx, eax
            //   e8????????           |                     
            //   83c40c               | mov                 edx, 0x111
            //   c706ffffffff         | inc                 ecx

        $sequence_13 = { 7509 b803000000 5d c20400 6683383c }
            // n = 5, score = 200
            //   7509                 | dec                 eax
            //   b803000000           | mov                 ecx, dword ptr [esp + 0x40]
            //   5d                   | push                ebp
            //   c20400               | mov                 ebp, esp
            //   6683383c             | mov                 eax, dword ptr [ebp + 8]

        $sequence_14 = { 55 8bec 8b4508 85c0 7507 b802000000 5d }
            // n = 7, score = 200
            //   55                   | mov                 eax, dword ptr [ecx]
            //   8bec                 | test                ecx, ecx
            //   8b4508               | sete                al
            //   85c0                 | mov                 dword ptr [ebx + 0x1c], eax
            //   7507                 | test                ecx, ecx
            //   b802000000           | je                  0x19
            //   5d                   | dec                 esp

        $sequence_15 = { 52 51 50 57 ffd6 }
            // n = 5, score = 200
            //   52                   | cmp                 word ptr [eax], 0x3c
            //   51                   | jb                  0xfffffffb
            //   50                   | mov                 ecx, 0x16
            //   57                   | push                ebp
            //   ffd6                 | mov                 ebp, esp

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