SYMBOLCOMMON_NAMEaka. SYNONYMS
win.gacrux (Back to overview)

Gacrux

VTCollection    

There is no description at this point.

References
2020-10-24 ⋅ KrabsOnSecurity ⋅ Mr. Krabs
Gacrux – a basic C malware with a custom PE loader
Gacrux
Yara Rules
[TLP:WHITE] win_gacrux_auto (20260917 | Detects win.gacrux.)
rule win_gacrux_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2026-09-17"
        version = "1"
        description = "Detects win.gacrux."
        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.gacrux"
        malpedia_rule_date = "20260916"
        malpedia_hash = "53a643781c18e08f4a50949af60172d837a0b6f6"
        malpedia_version = "20260917"
        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 = { 41 8ace d3e0 84c0 7937 eb3d 45 }
            // n = 7, score = 300
            //   41                   | inc                 ecx
            //   8ace                 | mov                 cl, dh
            //   d3e0                 | shl                 eax, cl
            //   84c0                 | test                al, al
            //   7937                 | jns                 0x39
            //   eb3d                 | jmp                 0x3f
            //   45                   | inc                 ebp

        $sequence_1 = { 8bc3 8d4a5a ffd0 48 }
            // n = 4, score = 300
            //   8bc3                 | mov                 eax, ebx
            //   8d4a5a               | lea                 ecx, [edx + 0x5a]
            //   ffd0                 | call                eax
            //   48                   | dec                 eax

        $sequence_2 = { 8bcb ffd0 85c0 740a 48 8325????????00 ebb6 }
            // n = 7, score = 300
            //   8bcb                 | mov                 ecx, ebx
            //   ffd0                 | call                eax
            //   85c0                 | test                eax, eax
            //   740a                 | je                  0xc
            //   48                   | dec                 eax
            //   8325????????00       |                     
            //   ebb6                 | jmp                 0xffffffb8

        $sequence_3 = { 3bc5 753b 48 8b5c2430 41 b8250af054 41 }
            // n = 7, score = 300
            //   3bc5                 | cmp                 eax, ebp
            //   753b                 | jne                 0x3d
            //   48                   | dec                 eax
            //   8b5c2430             | mov                 ebx, dword ptr [esp + 0x30]
            //   41                   | inc                 ecx
            //   b8250af054           | mov                 eax, 0x54f00a25
            //   41                   | inc                 ecx

        $sequence_4 = { 44 8b75c8 33d2 48 8bc7 41 8bf6 }
            // n = 7, score = 300
            //   44                   | inc                 esp
            //   8b75c8               | mov                 esi, dword ptr [ebp - 0x38]
            //   33d2                 | xor                 edx, edx
            //   48                   | dec                 eax
            //   8bc7                 | mov                 eax, edi
            //   41                   | inc                 ecx
            //   8bf6                 | mov                 esi, esi

        $sequence_5 = { 48 8bcb ffd0 48 8bcb 48 8bf0 }
            // n = 7, score = 300
            //   48                   | dec                 eax
            //   8bcb                 | mov                 ecx, ebx
            //   ffd0                 | call                eax
            //   48                   | dec                 eax
            //   8bcb                 | mov                 ecx, ebx
            //   48                   | dec                 eax
            //   8bf0                 | mov                 esi, eax

        $sequence_6 = { 48 8b1d???????? 48 85f6 751b }
            // n = 5, score = 300
            //   48                   | dec                 eax
            //   8b1d????????         |                     
            //   48                   | dec                 eax
            //   85f6                 | test                esi, esi
            //   751b                 | jne                 0x1d

        $sequence_7 = { 33d2 48 8bcf ffd0 85c0 7466 b818000000 }
            // n = 7, score = 300
            //   33d2                 | xor                 edx, edx
            //   48                   | dec                 eax
            //   8bcf                 | mov                 ecx, edi
            //   ffd0                 | call                eax
            //   85c0                 | test                eax, eax
            //   7466                 | je                  0x68
            //   b818000000           | mov                 eax, 0x18

        $sequence_8 = { 8835???????? 44 0fb7442444 48 }
            // n = 4, score = 300
            //   8835????????         |                     
            //   44                   | inc                 esp
            //   0fb7442444           | movzx               eax, word ptr [esp + 0x44]
            //   48                   | dec                 eax

        $sequence_9 = { 48 8bd9 48 85c9 7475 ba01000000 41 }
            // n = 7, score = 300
            //   48                   | dec                 eax
            //   8bd9                 | mov                 ebx, ecx
            //   48                   | dec                 eax
            //   85c9                 | test                ecx, ecx
            //   7475                 | je                  0x77
            //   ba01000000           | mov                 edx, 1
            //   41                   | inc                 ecx

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