# usb-and-peripheral-forensics

usb-and-peripheral-forensics is a Claude Code skill that analyses USB connection records and peripheral activity. Investigates Windows storage artefacts during forensic reviews.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Claude.ai · ★ 73 repo stars
- Author: W4L33Dx
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/W4L33Dx/Cyber-Monster/tree/HEAD/blue-team/digital-forensics/usb-and-peripheral-forensics/SKILL.md
- Updated: 2026-11-15
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/usb-and-peripheral-forensics

## What it does

The skill inspects removable storage artefacts across Windows system stores. It reads `SYSTEM\CurrentControlSet\Enum\USB` for Plug and Play classes, moving to `Enum\USBSTOR` and `Enum\SCSI` for external drives. Under properties subkeys `0064` to `0067`, it extracts UTC FILETIMEs covering initial installation, arrival, and extraction.

Presence in `USBSTOR` verifies attachment rather than file transfers. To verify whether sensitive data moved, the skill demands supplementary evidence from shellbags, jump lists, LNK shortcuts, or USN journal entries. Because `setupapi.dev.log` writes local timestamps, the skill converts them through the SYSTEM hive timezone before comparing against registry records.

Device identifiers holding an ampersand as their second character represent Windows-generated strings rather than authentic hardware serials, making cross-host matching invalid. If critical logs or registry hives were omitted during collection, the procedure halts with an inconclusive telemetry gap finding.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add W4L33Dx/Cyber-Monster --skill usb-and-peripheral-forensics -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/usb-and-peripheral-forensics/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/usb-and-peripheral-forensics/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add W4L33Dx/Cyber-Monster --skill usb-and-peripheral-forensics -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/usb-and-peripheral-forensics/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add W4L33Dx/Cyber-Monster --skill usb-and-peripheral-forensics -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/usb-and-peripheral-forensics/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install W4L33Dx/Cyber-Monster blue-team/digital-forensics/usb-and-peripheral-forensics
```

2. **Manually: put the files in place**
- File: `.github/skills/usb-and-peripheral-forensics/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add W4L33Dx/Cyber-Monster --skill usb-and-peripheral-forensics -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/W4L33Dx/Cyber-Monster --path blue-team/digital-forensics/usb-and-peripheral-forensics
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/usb-and-peripheral-forensics/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/W4L33Dx/Cyber-Monster/tree/HEAD/blue-team/digital-forensics/usb-and-peripheral-forensics/SKILL.md

## When to use it
- extract first-install and last-removal timestamps for external media
- attribute mounted volume GUIDs to specific NTUSER.DAT user hives
- distinguish Windows-generated instance IDs from vendor serial numbers
- correlate setupapi.dev.log local time with registry UTC values

## Example prompts
- Check USBSTOR and MountedDevices to map recently attached flash drives
- Correlate setupapi.dev.log entries against SYSTEM registry FILETIME keys
- Verify whether user MountPoints2 links the target serial number to a profile

## Similar
- [jetson-customize-usb](https://affpapa.org/en/nevibecode/skills/jetson-customize-usb.md) — skill · 1100 installs
- [memory-forensics](https://affpapa.org/en/nevibecode/skills/memory-forensics.md) — skill · 11027 installs
- [memory-forensics-volatility](https://affpapa.org/en/nevibecode/skills/memory-forensics-volatility.md) — skill · 3900 installs
- [disk-forensics](https://affpapa.org/en/nevibecode/skills/disk-forensics.md) — skill · 456 installs
- [analyzing-memory-forensics-with-lime-and-volatility](https://affpapa.org/en/nevibecode/skills/analyzing-memory-forensics-with-lime-and-volatility.md) — skill · 328 installs
- [incident-response-forensics](https://affpapa.org/en/nevibecode/skills/incident-response-forensics.md) — skill · 254 installs

From the same set: [w4l33dx/cyber-monster](https://affpapa.org/en/nevibecode/by/w4l33dx/cyber-monster.md) — 61 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
