rdp-lateral-movement

rdp-lateral-movement is a skill for Claude Code, Codex from Vigil-SOC/vigil. It costs 57 tokens per session (1,205 once invoked), scanned A, original, Apache-2.0.

A guide for deciding whether an internal Remote Desktop Protocol session is attacker movement between systems or expected administrator work. RDP is a Windows network service that lets someone control a remote desktop.

In plain words
What is it for?
Use it to assess RDP findings and label them as lateral movement, suspicious activity, or expected administration.
Why use it?
It helps separate suspicious internal access from legitimate administration when reviewing traffic on port 3389 or the related attack technique.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to assess RDP findings and label them as lateral movement, suspicious activity, or expected administration.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vigil-soc/vigil/rdp-lateral-movement
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Vigil-SOC/vigil --skill rdp-lateral-movement
Clone the repo
git clone --depth 1 https://github.com/Vigil-SOC/vigil

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for rdp-lateral-movement

README.md
[![agentmods](https://agentmods.dev/badge/skills/vigil-soc/vigil/rdp-lateral-movement/github.svg)](https://agentmods.dev/skills/vigil-soc/vigil/rdp-lateral-movement)
Your own site
<a href="https://agentmods.dev/skills/vigil-soc/vigil/rdp-lateral-movement"><img src="https://agentmods.dev/badge/skills/vigil-soc/vigil/rdp-lateral-movement/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for rdp-lateral-movement

Your own site · 80×15
<a href="https://agentmods.dev/skills/vigil-soc/vigil/rdp-lateral-movement"><img src="https://agentmods.dev/badge/skills/vigil-soc/vigil/rdp-lateral-movement.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,205 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00057 $0.01205
Opus 5.5 $0.00023 $0.00482
Sonnet 5.5 $0.00011 $0.00241
Haiku 4.5 $0.00006 $0.00120

Measured 23d ago against content hash 32c1ecb34994, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

rdp-lateral-movement scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 23d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

core/skills/library/rdp-lateral-movement/SKILL.md · 59 lines

How it starts

The opening of the file, as written. The whole thing — 59 lines — stays where its author put it; the contents beside it link to each section on GitHub.

RDP lateral movement

Use this for one internal Remote Desktop session. It does not cover SMB, WinRM, or SSH. When the finding is not RDP, say so and stop. When it is RDP, end the turn with the labelled block. A lookup you cannot run is not a reason to stop early.

Procedure

  1. Extract the session. From raw_data take src_host, dst_host, the account (src_user, otherwise user, otherwise account), the timestamp, and any auth detail (logon_type). Keep the original spelling for the path line. If you only hold an id and you hold get_finding, call it and extract from the result. If you already hold the finding, do not call it.

  2. Ask what separates movement from administration.

    • Is the account expected on both hosts?
    • Is the source a workstation or a jump host?
    • Is the destination a server that source should reach, or another workstation?
    • Is the hour normal for that account?
    • Did a credential-related finding on the source precede this session?
    • Is there a fan-out to further hosts?

    Answer from the finding first. If you hold list_findings or search_findings, search by the source host and the account. If you hold recall_entity, call it on the source host, the destination host, and the account. If none of these is callable, do not announce a lookup and do not invent a result. Never end a turn on an announced lookup.

  3. Read roles, hour, and prior compromise off the text. Lowercase only while testing; echo the original spelling on the path line.

    • A host name containing workstation is a workstation, jump is a jump host, and server is a server. fileserver and appserver are servers.
    • An account starting with svc- is a service account. An account containing admin and not starting with svc- is a named admin account.
    • Read the hour digits from the timestamp as written. Hours 08 through 17 are business hours. Any other hour is off-hours. Do not convert timezones.
    • Prior compromise is stated in this finding when description or a raw_data string asserts that credential dumping, credential theft, or a compromise already happened. The title does not count.
    • A new account-host pair, a fan-out, or a logon-type mismatch counts only when the finding states it or a lookup returned it. A present logon_type other than 10 is a mismatch. Unknown is not a tell.
    • Benign patterns, until a tell breaks them: help-desk RDP, a scheduled admin window, an RMM tool. Tells that break them: workstation-to-workstation, a stated new account-host pair, a logon-type mismatch, and sessions chained within minutes of a credential-related event.

Read the full file on GitHub · 59 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 23d ago First seen · 59 lines · 57 tokens per session scan A 32c1ecb34994

Subscribe to this mod's changes

rdp-lateral-movement is a skill published in the GitHub repository Vigil-SOC/vigil (374 stars, last pushed today), licensed Apache-2.0. It adds 57 tokens to every session and 1,205 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-24.

Related

Other skills, from other repositories

analyzing-network-traffic-with-wireshark

Captures and analyzes network packet data using Wireshark and tshark to identify malicious traffic patterns, diagnose protocol issues, extract artifacts, and support incident response investigations on authorized network segments.

mukul975/Anthropic-Cybersecurity-Skills · 49 tokens

scrape-batch

Extract many known URLs in one polite, rate-limited pass. Use when the user hands over a list of links, a set of search hits to read in full, or asks to "scrape these pages" / "pull the content from all of them". Drives extract(action="batch"), which fans out with per-domain rate limiting and returns partial results…

n24q02m/wet-mcp · 84 tokens

compare

Structured comparison of 2+ alternatives with consistent criteria and decision matrix.

n24q02m/wet-mcp · 15 tokens

research-topic

Multi-step research orchestration. Use when user asks "research X", "summarize current state of Y", "what's the latest on Z", or compares approaches. Calls extract(action="agent") which searches the web, extracts top results, then synthesises a citation-preserving Markdown answer with one configured LLM.

n24q02m/wet-mcp · 68 tokens

temporal-query

Answer time-travel questions over stored memory — what was believed at a past point in time, when a belief changed, and what replaced it. Use when the user says "as of", "back in", "at the time", "history of", "timeline", "what did I think then", or asks why a current memory contradicts an older one.

n24q02m/mnemo-mcp · 77 tokens

knowledge-audit

Review and clean up stored memories — find duplicates, contradictions, stale entries, and consolidate.

n24q02m/mnemo-mcp · 21 tokens