SYMBOLCOMMON_NAMEaka. SYNONYMS
win.nailao_locker (Back to overview)

NailaoLocker

VTCollection    

According to Orange Cybwerdefense, NailaoLocker is a ransomware using AES-256-CTR mode, which conveniently logs its encryption activities into a log file.

References
2025-02-27Github (knight0x07)neeraj
NailaoLoader: Hiding Execution Flow via Patching
NailaoLocker
2025-02-20Orange CyberdefenseAlexis Bonnefoi, Marine PICHON
Meet NailaoLocker: a ransomware distributed in Europe by ShadowPad and PlugX backdoors
NailaoLocker PlugX ShadowPad
2025-02-20Trend MicroDaniel Lunghi
Updated Shadowpad Malware Leads to Ransomware Deployment
EvilExtractor NailaoLocker PlugX ShadowPad
2025-02-18Orange CyberdefenseAlexis Bonnefoi, Marine PICHON
IOCs Green Nailao campaign (NailaoLocker, ShadowPad)
NailaoLocker PlugX ShadowPad
Yara Rules
[TLP:WHITE] win_nailao_locker_auto (20260504 | Detects win.nailao_locker.)
rule win_nailao_locker_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2026-05-04"
        version = "1"
        description = "Detects win.nailao_locker."
        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.nailao_locker"
        malpedia_rule_date = "20260422"
        malpedia_hash = "a182e35da64e6d71cb55f125c4d4225196523f14"
        malpedia_version = "20260504"
        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 = { 488b45d8 488908 488d0d99560100 488b45d8 8990a8030000 }
            // n = 5, score = 100
            //   488b45d8             | dec                 eax
            //   488908               | mov                 dword ptr [ecx + eax], 2
            //   488d0d99560100       | mov                 eax, 0x5a4d
            //   488b45d8             | cmp                 word ptr [0xffffcf19], ax
            //   8990a8030000         | jne                 0x1c15

        $sequence_1 = { 8a4118 4188440830 4881ff01010000 7ce8 488d05043d0100 482bd8 4a8d0c0a }
            // n = 7, score = 100
            //   8a4118               | cmp                 cl, 0xe9
            //   4188440830           | je                  0x39c
            //   4881ff01010000       | cmp                 cl, 0xeb
            //   7ce8                 | je                  0x39c
            //   488d05043d0100       | dec                 eax
            //   482bd8               | mov                 eax, dword ptr [ebx + 0x18]
            //   4a8d0c0a             | movzx               ecx, byte ptr [eax]

        $sequence_2 = { 4b8b84eb100e0200 420fb64cf83e 460fbea41910d90100 41ffc4 418bc4 2bc2 8945af }
            // n = 7, score = 100
            //   4b8b84eb100e0200     | cmp                 ecx, 0xfde9
            //   420fb64cf83e         | mov                 al, byte ptr [ecx + 0x18]
            //   460fbea41910d90100     | inc    ecx
            //   41ffc4               | mov                 byte ptr [eax + ecx + 0x30], al
            //   418bc4               | dec                 eax
            //   2bc2                 | cmp                 edi, 0x101
            //   8945af               | jl                  0xa58

        $sequence_3 = { 488d4c2460 ff15???????? 48894340 4885c0 7508 ff15???????? eb08 }
            // n = 7, score = 100
            //   488d4c2460           | lea                 eax, [esp + 0x68]
            //   ff15????????         |                     
            //   48894340             | dec                 eax
            //   4885c0               | mov                 dword ptr [esp + 0x40], eax
            //   7508                 | dec                 eax
            //   ff15????????         |                     
            //   eb08                 | lea                 edx, [esp + 0x70]

        $sequence_4 = { e8???????? 4889442450 488d9570010000 0f57c0 }
            // n = 4, score = 100
            //   e8????????           |                     
            //   4889442450           | dec                 ecx
            //   488d9570010000       | mov                 dword ptr [ebx - 0x18], esi
            //   0f57c0               | dec                 ebp

        $sequence_5 = { 4889442450 488d0d00760100 0f57c0 488905???????? }
            // n = 4, score = 100
            //   4889442450           | test                eax, eax
            //   488d0d00760100       | je                  0xf7
            //   0f57c0               | dec                 eax
            //   488905????????       |                     

        $sequence_6 = { e8???????? 33d2 488d7b0c 0fb7c2 4c8d0d2a3c0100 48895304 4c8bc3 }
            // n = 7, score = 100
            //   e8????????           |                     
            //   33d2                 | mov                 eax, ebp
            //   488d7b0c             | dec                 eax
            //   0fb7c2               | mov                 edx, esi
            //   4c8d0d2a3c0100       | dec                 eax
            //   48895304             | mov                 ecx, edi
            //   4c8bc3               | inc                 ecx

        $sequence_7 = { 443935???????? eb0d 6683fb03 7509 443935???????? 755b }
            // n = 6, score = 100
            //   443935????????       |                     
            //   eb0d                 | dec                 eax
            //   6683fb03             | lea                 ecx, [eax + 8]
            //   7509                 | movups              xmmword ptr [edx], xmm0
            //   443935????????       |                     
            //   755b                 | dec                 eax

        $sequence_8 = { ff15???????? 3d04010000 7c0a b8ce000000 e9???????? 48899c2400030000 }
            // n = 6, score = 100
            //   ff15????????         |                     
            //   3d04010000           | and                 dword ptr [esp + 0x30], 0
            //   7c0a                 | dec                 eax
            //   b8ce000000           | lea                 ecx, [0x88d4]
            //   e9????????           |                     
            //   48899c2400030000     | dec                 eax

        $sequence_9 = { 33d2 488d7b0c 0fb7c2 4c8d0d2a3c0100 48895304 4c8bc3 48899320020000 }
            // n = 7, score = 100
            //   33d2                 | dec                 eax
            //   488d7b0c             | lea                 eax, [0x1982d]
            //   0fb7c2               | dec                 eax
            //   4c8d0d2a3c0100       | mov                 dword ptr [ebp - 0x20], eax
            //   48895304             | mov                 dword ptr [ecx + 0x28], edx
            //   4c8bc3               | dec                 eax
            //   48899320020000       | lea                 ecx, [0xba77]

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