Analyzing rat command and control

From meltedinhex/analyst-ai-pack · View interactive version

Analyzing rat command and control is an AI agent skill from the GitHub repository meltedinhex/analyst-ai-pack. Analyzes remote access trojan command-and-control by mapping the RAT command set, identifying the C2 transport and beacon parameters, and cataloging operator capabilities from static strings and config. Activates for requests to analyze RAT C2, map a trojan command handler, or identify remote-access

How to use this skill

Skill file

Analyzing RAT Command and Control

When to Use

webcam, proxy), C2 transport, and beacon parameters.

Do not use this to operate the RAT or connect to its C2 — characterize capabilities from inert

static analysis.

Prerequisites

Safety & Handling

Workflow

Step 1: Map command handlers and capabilities

python scripts/analyst.py profile sample.bin

Matches command-keyword and API patterns for capability classes: remote shell, file transfer,

screenshot/keylog/webcam, persistence, proxy/relay, and self-update.

Step 2: Identify the C2 transport

Detect HTTP(S), raw TCP, TLS, DNS, or messaging-platform transport from imports/strings, plus

beacon intervals/user-agents where present.

Step 3: Build the capability matrix

Summarize capabilities and transport, mapping to ATT&CK.

Step 4: Defang and report

Defang endpoints and produce IOCs.

Validation

Pitfalls

handlers.

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.