Skip to content
.ca
sign in
detection ruleyara

n4d_agent_unpacked

First seen
2026-07-18
Last seen
2026-07-18
Used in
1 post
YARAn4d_agent_unpacked
rule n4d_agent_unpacked {
    meta:
        description = "n4d MCP propagation agent (unpacked)"
        author      = "Deception Fleet"
        date        = "2026-07-15"
    strings:
        $h1 = "ExecPy"
        $h2 = "jsCode"
        $h3 = "es_rce"
        $h4 = "pg_rce"
        $m1 = "/mcp"
        $m2 = "/sse"
        $m3 = "jsonrpc"
        $hp1 = "cowrie"
        $hp2 = "t-pot"
        $hp3 = "canary"
        $hp4 = "tarpit"
        $hp5 = "ghidra"
        $go = "Go buildinf:"
    condition:
        uint32(0) == 0x464C457F and
        filesize > 15MB and filesize < 30MB and
        $go and (3 of ($h*)) and (2 of ($hp*)) and (1 of ($m*))
}

Posts using this rule

  • File scan (YARA) · SID n4d_agent_unpacked

    For scanning after UPX unpacking. Garble encrypts string literals, but Go type metadata survives, including the MCP tool dispatch handler names and honeypot awareness strings. Validated against the unpacked sample.