Defense Labs

Learn Defense with RoamSwitch

Learn how attacks work, reproduce them with harmless data, and check the detection yourself.

Start learning

  • 5Published modules
  • 9Hands-on labs
  • 12 / 129Features covered (9%)
  • 30In preparation

Choose your path

There are three paths, depending on who you are. Start anywhere.

Setup and configuration

For: People installing RoamSwitch and tuning it to their environment

From installation to protection levels, notifications, allow lists and isolation policy. Run the real commands and edit the real settings to fit your environment.

1

The first check after installing

Use the doctor command to check that RoamSwitch can run, and read the detection coverage list to see what it cannot see.

PublishedIntroAbout 25 min1 features

2

Installing Linux Server and first settings

Install with apt, check the state with doctor, and get notifications delivered, step by step.

In preparationIntroAbout 35 min

3

Protection levels: settings and when to use each

Switch between trusted, standard and lockdown yourself, and decide which networks to register.

In preparationIntroAbout 30 min

4

Notifications and event forwarding

Set where alerts go, cooldowns, and forwarding to a webhook or syslog, then test delivery.

In preparationBasicsAbout 30 min

5

Tuning out false positives

Use allow lists, protected processes and CVE acceptance to cut noise, and learn which alerts you must not silence.

In preparationBasicsAbout 40 min

6

Configuring SSH protection

Set brute-force thresholds and allowed sources, and avoid locking yourself out.

In preparationBasicsAbout 35 min

7

Setting your automatic isolation policy

Decide what to stop automatically and what to only report, including how to release.

In preparationPracticeAbout 40 min

8

Updates, threat data and uninstalling

Check signed-data updates and self-monitoring, and uninstall in a reversible way.

In preparationIntroAbout 25 min

9

Connecting an AI client (MCP)

Connect Claude or another client and ask for diagnostics read-only, starting from the config.

In preparationBasicsAbout 30 min

10

Installing Sensor and pairing

Install Sensor, pair endpoints and set the audit scope, including how to revoke a pairing.

In preparationBasicsAbout 35 min

Know the attack, stop the attack

For: People learning security

For each thing to protect: how the attack works, a harmless reproduction, how RoamSwitch detects it, and what it cannot see. One module per feature chapter.

1

Ransomware

Decoys, mass-encryption detection, and a way back to the state before the damage.

In preparationBasicsAbout 40 min

2

Credential theft and leaked secrets

Find API keys that slipped into code or public files, and learn what to do after you find one.

PublishedBasicsAbout 35 min2 features

3

Suspicious execution and malware

Spot suspicious behavior in downloaded files and execution chains.

In preparationBasicsAbout 40 min

4

Persistence and tampering

Watch autostart entries, schedules, and tampering with critical files.

In preparationBasicsAbout 35 min

5

Network defense

ARP spoofing, rogue access points, suspicious traffic, and exposed ports.

In preparationBasicsAbout 60 min

6

Web and email

Web shells, lure sites, and dangerous attachments.

In preparationBasicsAbout 35 min

7

SSH and remote access

Brute force, and the abuse of remote-access tools.

In preparationBasicsAbout 30 min

8

Containers and servers

Server-specific defenses: runtime monitoring, resource exhaustion, and egress.

In preparationPracticeAbout 40 min

9

Supply-chain attacks

Find install-time code hidden in dependencies, and look-alike fake packages.

PublishedBasicsAbout 40 min2 features

10

AI agents and MCP

Dangers hidden in AI agent settings and permissions.

In preparationPracticeAbout 45 min

11

Peripherals

Keyboard-impersonating devices and USB-borne attacks.

In preparationBasicsAbout 25 min

12

Diagnosis and vulnerabilities

How to read the health check, and tell which vulnerabilities are likely to be exploited.

In preparationBasicsAbout 40 min

13

Log analysis and investigation

Read the traces of an attack out of access logs and audit logs.

In preparationPracticeAbout 60 min

14

Evidence, notifications, and operations

Incident records, notifications, and preserving evidence.

In preparationBasicsAbout 35 min

Crisis response for server operators

For: People who run and manage servers

Realistic crises, as playbooks: the first 15 minutes of decisions, recovery, and prevention. The focus is on decision points and what not to do.

1

A containment fired: the first hour

Experience, in a simulation, the hour after a server isolates itself on a serious threat. Build the order of confirm, record, decide, release, and watch as judgment.

PublishedPracticeAbout 35 min4 features

2

An actively exploited vulnerability has no fix yet

When a warning cannot be resolved by updating: check exposure, mitigate, and accept the risk with an expiry.

PublishedPracticeAbout 30 min3 features

3

SSH brute force, and when you lock yourself out

How blocking works, allow lists, and lifting a block you caused.

In preparationBasicsAbout 30 min

4

A web shell was found

Quarantine, tracing the entry point, rotating keys, and preventing a repeat.

In preparationPracticeAbout 40 min

5

Ransomware starts on a server

The decision to stop it, preserving evidence, and the order of recovery.

In preparationPracticeAbout 45 min

6

A dependency was hijacked

Scoping the impact, rotating secrets, and revisiting pinning.

In preparationPracticeAbout 40 min

7

A key or token was published

The order of revocation, and how to look for signs of use.

In preparationBasicsAbout 30 min

8

CPU or memory is exhausted and the server stops responding

Narrowing down the cause, and telling a crypto miner apart.

In preparationBasicsAbout 30 min

9

Logs were deleted or rewritten

Rebuilding the facts from what remains, and knowing what you cannot see.

In preparationPracticeAbout 35 min

10

An alert fired: false alarm or real?

Reading a notification, and when it is safe, and unsafe, to call it harmless.

In preparationBasicsAbout 30 min

11

Upgrading a server's OS remotely

Surviving a dropped connection, what gets disabled, and what cannot be undone.

In preparationPracticeAbout 40 min

Coverage

Features are counted per chapter. Chapters still in preparation will be turned into modules in turn.

  • RansomwareIn preparation (6)
  • Credential theft2 / 6 features
  • Suspicious execution and malware1 / 10 features
  • Persistence and tamperingIn preparation (7)
  • Network defenseIn preparation (19)
  • Web and emailIn preparation (4)
  • SSH and remote accessIn preparation (3)
  • Containers and serversIn preparation (6)
  • Supply chain4 / 9 features
  • AI agents and MCPIn preparation (10)
  • PeripheralsIn preparation (3)
  • Diagnosis and vulnerabilities2 / 10 features
  • Log analysis and investigation1 / 22 features
  • Evidence, notification and operations2 / 14 features

See the feature list

How you learn

Every module follows the same flow.

  1. 1
    Understand

    See how the attack works, from the mechanism.

  2. 2
    Reproduce

    Build the same situation with harmless dummy data. No real secrets, no production machines.

  3. 3
    See the detection

    Check, from real output, what RoamSwitch finds and what it does not.

  4. 4
    Know the limits

    Knowing what is invisible is the foundation of a sound defense.

About safety

The labs use only harmless dummy data, never real keys or passwords. Some steps create files in a practice folder. Operations that change settings or records are not run in the labs, and where they appear they are marked "This changes state." Try the labs on a practice machine, not a production one.

The "Done" marks are saved only in this browser. Nothing is sent out.