Skip to content

Walk-Through

Here in this walk-through, you can find the solutions of the labs.

The attack path looks like this:

flowchart TD
    A[Attacker]
    -- Online Brute-Force --> B["bob@linux-srv-01"]
    -- SSH Key Brute-Force --> C["root@linux-srv-02"]
    -- Password Sniffing --> D["alice@linux-srv-03"]
    -- CA Compromise --> E["trent@linux-srv-04"]
    -- SSH-Agent Hijacking --> F["root@linux-srv-05"]
    -- Control Socket Hijacking --> G["root@linux-srv-06"]
    -- Abuse Leaked OTP Secret --> H["frank@linux-srv-07"]

You can directly login on any system and start or continue the lab from there by executing the login script:

$ ./login
1) kali      3) linux-srv-02  5) linux-srv-04  7) linux-srv-06
2) linux-srv-01  4) linux-srv-03  6) linux-srv-05  8) linux-srv-07
Select system: 3
3) root
4) alice
Select user: 2

Logging into linux-srv-02 as alice ...
[...]

alice@linux-srv-02:~$ hostname
linux-srv-02.nullbyte.internal

alice@linux-srv-02:~$ whoami
alice