olehrush

AI Soc Grc Lab — AI skill for Claude Code

AI community

AI-Assisted SOC & GRC Lab: "A model proposes, a check decides" As part of the Cybersteps cybersecurity program, I worked through a hands-on lab, provided by the course, on using an AI agent (Claude C.

How to install AI Soc Grc Lab

This entry records only its repository, not the path inside it, so there is no exact command to give. Open olehrush/ai-soc-grc-lab and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What AI Soc Grc Lab does

AI-Assisted SOC & GRC Lab: "A model proposes, a check decides" As part of the Cybersteps cybersecurity program, I worked through a hands-on lab, provided by the course, on using an AI agent (Claude Code) for security analysis while keeping a human in control.

Alternatives in AI

README

AI-Assisted SOC & GRC Lab

**A model proposes, a check decides.** Ground every AI answer in a record you can open, and keep a person on anything that cannot be undone.

My write-up of the AI lab from the Cybersteps cybersecurity program (Module 4). The lab itself, including its rules, skills and synthetic practice data, is provided by the course: [CyberstepsDE/ai-cyber-lab](https://github.com/CyberstepsDE/ai-cyber-lab) (MIT). This repository contains only my own work: setup notes, findings, verification and screenshots.

**Tools:** Claude Code (Sonnet), Windows 11, PowerShell, VS Code **Focus:** SOC log triage, evidence-based reporting, NIS2 gap analysis, safe use of AI agents


1. Setup and hardening

I ran the lab locally on Windows instead of the recommended Kali VM and treated the AI agent like any other privileged tool:

  • Manual mode: the agent asks before every command or file change.
  • Scope gate: without work/scope.yaml, the agent may only analyse files and act against no system.
  • Least privilege: I disconnected the claude.ai connectors (mail, cloud storage, chat) for the lab, so an agent that reads untrusted data has no channel to private data or to the outside.
  • Lessons from the Windows setup: use PowerShell, not cmd ($HOME is not expanded in cmd), and start the agent only from the lab folder so its rules and skills load.

![Lab start: scope and manual mode](screenshots/01-lab-start-scope-and-manual-mode.png)

2. SOC: SSH log triage

**Task:** what happened in a synthetic SSH `auth.log` (66 lines, host `web01`)?

![Raw SSH auth log](screenshots/02-raw-ssh-auth-log.png)

The agent described the file, built a timeline by actor and gave a verdict in which every finding cites its log lines:

Finding Record Confidence
40 failed logins from 198.51.100.23 against 8 generic account names in about 2.5 minutes; no success lines 4-44 High
12 failed passwords for the real account deploy from 203.