Logo: Lateral Movement Investigation

Lateral Movement Investigation

Organisatioun
CDESpace
Lateral Movement Investigation

Investigate an escalated lateral-movement alert. Reconstructs the path an actor took between hosts — the source, the credentials used, the technique, and every asset reached — distinguishes admin or tooling traffic from an intruder pivoting, and returns a verdict with the full reached-asset scope and containment actions.

Iwwersiicht

EditeurCDESpace
RepositoryDetection-Skills
Skill-NummLateral Movement Investigation
Stären
57
Forks
5
Matgeliwwert Dateien
Nëmmen Instruktiounen
LizenzApache-2.0
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    CDESpace huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Lateral Movement Investigation an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/CDESpace/Detection-Skills/tree/main/skills/investigation/Lateral%20Movement%20Investigation
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.

An TypingMind benotzen

Aktivéiert Lateral Movement Investigation an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Lateral Movement Investigation automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Lateral Movement Investigation net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Lateral Movement Investigation

Runs on alerts escalated by triage (see endpoint-recon-lateral-movement): a host made an internal connection — remote service creation, WMI/WinRM execution, RDP, SMB admin-share access, or a pass-the-hash shape — that triage judged anomalous. Triage established the hop looked wrong; investigation reconstructs the whole path and its reach. The question is not "did a host connect to another" — it did — but "who drove it, with what credential, and everywhere it went."

Inputs

  • The escalated alert (source host, destination host(s), technique, account used, timing) and the triage report.
  • Authentication logs (Windows 4624/4648/4672, Kerberos, VPN), endpoint process and remote-execution telemetry, and internal flow logs. Anchor on the account and the source host and expand outward.

Investigation steps

Collect all four signals; the verdict is derived from them at the end.

1. Source and entry reconstruction — signal A

Establish where the movement originated and how the actor got onto the source host. Signal A fires when the source host itself has an open or recent compromise signal — an earlier flagged sign-in, a beacon, a malware detection — tying the movement to a known foothold rather than a standalone admin action.

2. Credential attribution — signal B

Identify the credential used to authenticate to the destination and how it was obtained. Signal B fires on stolen-credential shapes: pass-the-hash or pass-the-ticket (logon type / ticket anomalies), a service or admin account used from a host it never runs on, or a credential that appeared on the source host through dumping rather than interactive logon. Note the privilege level — movement escalating toward domain admin weighs heavily.

3. Technique and path scoping — signal C

Map every hop: from the source, enumerate all destinations reached with the same credential or technique in the window, then repeat from each reached host. Signal C fires when the path fans out across multiple hosts, uses living-off-the-land remote execution (PsExec-style service creation, WMI/WinRM, scheduled tasks) inconsistent with normal administration, and reaches assets the account has no operational reason to touch.

4. Objective and impact — signal D

On the reached hosts, look for what the movement was for: credential dumping, data staging, backup/shadow-copy tampering, new persistence, or sensitive-system access. Signal D fires when the path terminates in actions on objective — this confirms an intrusion over a misread admin task and sets the real blast radius.

Verdict rule

  • malicious: signal B or C plus A or D — stolen-credential or fan-out movement tied to a foothold or ending in actions on objective. Movement reaching a domain controller or backup infrastructure with stolen credentials is malicious on its own.
  • suspicious: an anomalous hop (C) with an unusual credential where the source foothold and objective can't be established but a sanctioned admin explanation can't be shown either.
  • inconclusive: the path can't be reconstructed because authentication or endpoint logs for the hosts are missing.
  • benign: the movement resolves to sanctioned administration — a jump-host, a patch/config tool, or an admin whose account, source, and targets positively match their documented role and baseline — with no foothold, no stolen-credential shape, and no actions on objective.

Output

Verdict

One of malicious / suspicious / inconclusive / benign, with the signals that decided it.

Recommended actions

When not benign: isolate the source and every reached host, disable and rotate the credential used (and any credentials exposed on the path), revoke active sessions/tickets, preserve artifacts on the path for forensics, and hunt for the same credential and technique beyond the mapped hosts. Prioritize any domain-privileged or backup systems in the path.

Evidence

The reconstructed path (source → each hop with timestamps), the credential used and how it was obtained, the technique per hop, the full list of reached assets, the source host's foothold status, and any actions on objective found.

Reasoning

Name the signals and how they stacked — a beaconing workstation using a pass-the-hash admin credential to reach a file server and then a domain controller, dumping credentials on the way, is malicious; a backup service account touching its usual set of servers from the known backup host is benign.

Heefeg gestallte Froen

Wat mécht de KI-Skill Lateral Movement Investigation?

Investigate an escalated lateral-movement alert. Reconstructs the path an actor took between hosts — the source, the credentials used, the technique, and every asset reached — distinguishes admin or tooling traffic from an intruder pivoting, and returns a verdict with the full reached-asset scope and containment actions.

Firwat Lateral Movement Investigation op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Lateral Movement Investigation besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Lateral Movement Investigation an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/CDESpace/Detection-Skills/tree/main/skills/investigation/Lateral%20Movement%20Investigation an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Lateral Movement Investigation benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Lateral Movement Investigation benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Lateral Movement Investigation domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Lateral Movement Investigation gratis?

Jo. CDESpace huet de Skill ënner der Lizenz Apache-2.0 op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇