SYMBOLCOMMON_NAMEaka. SYNONYMS
win.safenet (Back to overview)

SafeNet

VTCollection    

There is no description at this point.

References
2013-05-20 ⋅ Trend Micro ⋅ Kyle Wilhoit, Nart Villeneuve
Safe - A Targeted Threat
SafeNet
Yara Rules
[TLP:WHITE] win_safenet_auto (20260917 | Detects win.safenet.)
rule win_safenet_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2026-09-17"
        version = "1"
        description = "Detects win.safenet."
        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.safenet"
        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 = { 57 ff7510 ff750c ff7508 ff15???????? 8bf0 56 }
            // n = 7, score = 100
            //   57                   | push                edi
            //   ff7510               | push                dword ptr [ebp + 0x10]
            //   ff750c               | push                dword ptr [ebp + 0xc]
            //   ff7508               | push                dword ptr [ebp + 8]
            //   ff15????????         |                     
            //   8bf0                 | mov                 esi, eax
            //   56                   | push                esi

        $sequence_1 = { bb00000100 7404 0fb75df2 668b4de6 }
            // n = 4, score = 100
            //   bb00000100           | mov                 ebx, 0x10000
            //   7404                 | je                  6
            //   0fb75df2             | movzx               ebx, word ptr [ebp - 0xe]
            //   668b4de6             | mov                 cx, word ptr [ebp - 0x1a]

        $sequence_2 = { 8d4dd0 e8???????? eb0e e8???????? 85c0 }
            // n = 5, score = 100
            //   8d4dd0               | lea                 ecx, [ebp - 0x30]
            //   e8????????           |                     
            //   eb0e                 | jmp                 0x10
            //   e8????????           |                     
            //   85c0                 | test                eax, eax

        $sequence_3 = { e8???????? 83c410 4e 75e8 ff750c e8???????? }
            // n = 6, score = 100
            //   e8????????           |                     
            //   83c410               | add                 esp, 0x10
            //   4e                   | dec                 esi
            //   75e8                 | jne                 0xffffffea
            //   ff750c               | push                dword ptr [ebp + 0xc]
            //   e8????????           |                     

        $sequence_4 = { 56 6a01 68000000c0 ff7514 ff15???????? }
            // n = 5, score = 100
            //   56                   | push                esi
            //   6a01                 | push                1
            //   68000000c0           | push                0xc0000000
            //   ff7514               | push                dword ptr [ebp + 0x14]
            //   ff15????????         |                     

        $sequence_5 = { 3b1d???????? 0f8315010000 8bc3 8bcb c1f805 83e11f 8b048540174100 }
            // n = 7, score = 100
            //   3b1d????????         |                     
            //   0f8315010000         | jae                 0x11b
            //   8bc3                 | mov                 eax, ebx
            //   8bcb                 | mov                 ecx, ebx
            //   c1f805               | sar                 eax, 5
            //   83e11f               | and                 ecx, 0x1f
            //   8b048540174100       | mov                 eax, dword ptr [eax*4 + 0x411740]

        $sequence_6 = { 59 3bf7 59 751f }
            // n = 4, score = 100
            //   59                   | pop                 ecx
            //   3bf7                 | cmp                 esi, edi
            //   59                   | pop                 ecx
            //   751f                 | jne                 0x21

        $sequence_7 = { 6a01 68000000c0 ff7514 ff15???????? }
            // n = 4, score = 100
            //   6a01                 | push                1
            //   68000000c0           | push                0xc0000000
            //   ff7514               | push                dword ptr [ebp + 0x14]
            //   ff15????????         |                     

        $sequence_8 = { 8b44240c 64892500000000 896c240c 8d6c240c 50 c3 6a19 }
            // n = 7, score = 100
            //   8b44240c             | mov                 eax, dword ptr [esp + 0xc]
            //   64892500000000       | mov                 dword ptr fs:[0], esp
            //   896c240c             | mov                 dword ptr [esp + 0xc], ebp
            //   8d6c240c             | lea                 ebp, [esp + 0xc]
            //   50                   | push                eax
            //   c3                   | ret                 
            //   6a19                 | push                0x19

        $sequence_9 = { 33db 885df2 e8???????? 53 6a02 e8???????? }
            // n = 6, score = 100
            //   33db                 | xor                 ebx, ebx
            //   885df2               | mov                 byte ptr [ebp - 0xe], bl
            //   e8????????           |                     
            //   53                   | push                ebx
            //   6a02                 | push                2
            //   e8????????           |                     

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