Logo van Lateral Movement Investigation

Lateral Movement Investigation

Organisatie
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.

Overzicht

UitgeverCDESpace
RepositoryDetection-Skills
SkillnaamLateral Movement Investigation
Sterren
57
Forks
5
Meegeleverde bestanden
Alleen instructies
LicentieApache-2.0
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Compleet zonder extra bestanden

    Alles wat het model nodig heeft, staat in de instructies — geen extra bestanden om te synchroniseren.

  • Open source

    Gepubliceerd door CDESpace op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Lateral Movement Investigation in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/CDESpace/Detection-Skills/tree/main/skills/investigation/Lateral%20Movement%20Investigation
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.

Gebruik deze skill in TypingMind

Schakel Lateral Movement Investigation in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Lateral Movement Investigation automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Lateral Movement Investigation niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

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.

Veelgestelde vragen

Wat doet de AI-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.

Waarom Lateral Movement Investigation gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Lateral Movement Investigation bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Lateral Movement Investigation in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/CDESpace/Detection-Skills/tree/main/skills/investigation/Lateral%20Movement%20Investigation. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Lateral Movement Investigation gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Lateral Movement Investigation gebruiken?

Zoveel als je wilt. Je kunt Lateral Movement Investigation gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Lateral Movement Investigation gratis?

Ja. Deze skill is door CDESpace op GitHub gepubliceerd onder de licentie Apache-2.0. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇