Skip to content
New

DeepSeek V4.1 Flash free for 7 days: 10M tokens a day after a top-up of $10 or more. Until Nov 30.

How it works
meltedinhex/analyzing-rat-command-and-controlMalware and ransomware analysis

analyzing-rat-command-and-control

⁨Analyzes remote access trojan command-and-control by mapping the RAT command set,⁩

v1.0.03 installs+3 in 7 days24 StarsApache-2.0synced 10 hours ago

Install

No NotHoly CLI yet? Install it first.

$ curl -fsSL https://notholy.com/install.sh | sh
$ notholy skills install meltedinhex/analyzing-rat-command-and-control

Writes to ⁦~/.notholy/skills⁩ after checking the signature and the SHA-256.

SignatureSigned, ed25519
+N6KTa/rc+…FYZ6byAw==The CLI checks the SHA-256 and the signature before it writes a file.
Package1622e96d…9c3873de
1622e96dcd73…0bef9c3873de4 files · ⁦3.2 KB⁩
ScanMedium2 findings
  • Executable script shipped with the skillscripts/analyst.py
  • Links to outside domains
See the full scan
Sourcegithub.com/meltedinhex/analyst-ai-pack/tree/main/skills/analyzing-rat-command-and-control@da7600a

When to Use

  • You have a RAT sample and need to map its command set (shell, file ops, screenshot, keylog, webcam, proxy), C2 transport, and beacon parameters.
  • You are cataloging operator capabilities for detection and impact assessment.

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

Prerequisites

  • The RAT sample (read inertly), optionally with an extracted config.

Safety & Handling

  • Read bytes statically; defang C2 endpoints; never connect to the C2.

Workflow

Step 1: Map command handlers and capabilities

bash
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

  • Capabilities are grouped into classes with the matched evidence.
  • The C2 transport is identified from concrete imports/strings.
  • Findings map to ATT&CK T1219/T1071.

Pitfalls

  • Generic API presence (e.g., gdi32) misread as screenshot capability — corroborate with command handlers.
  • Commodity RAT builders sharing strings across families — avoid over-attribution.
  • Encrypted command sets requiring config decryption first.

References

  • See references/api-reference.md for the profiler.
  • ATT&CK T1219 and T1071 (linked in frontmatter).

Files in this version

Permissions

PermissionDeclaredFound by the scan
Reads filesNoNo
Writes filesNoNo
Runs shell commandsYesYes
Uses the networkYesYes
Uses connectorsNoNo
Drives a browserNoNo

Scan findings

Reviewed on Nov 13, 2026

  1. MediumFile · Executable script shipped with the skillscripts/analyst.py
  2. InfoLink · Links to outside domains

A clean scan lowers the risk but does not prove a package is safe. Read what you install.

VersionPublishedCommitSHA-256SignaturePermission change
v1.0.0Nov 13, 2026da7600a1622e96dSigned–

Ask anything your scope allows.

Create an account, add credits and ask the first question in the chat or the terminal.

  1. 1/3

    Create the account

    Individual or company. You can switch to a company later without losing balance or keys.

    IndividualCompany
  2. 2/3

    Add credits

    By card. Pay per token, no subscription.

    $5.00minimum deposit
  3. 3/3

    Ask

    In the chat, or install the CLI and run notholy login in your terminal.

    $ notholy login