Repository navigation
Home
Position, Access & Tooling. Read this before Attack 1.
Every attack guide in solution/ assumes the scenario, access level, and toolkit described here, and won't re-explain them.
Treat everything in this lab as a real spacecraft's ground segment, not a local dev sandbox. A real ground segment looks roughly like this:
Spacecraft (RF uplink/downlink)
│ UHF/S-band radio
▼
Ground antenna + RF modem ← RF is terminated HERE
│ plain IP traffic (the modem hands off decoded CCSDS frames as UDP/IP)
▼
Mission Operations LAN ←──── you are here
│
▼
TT&C software (telemetry display, command console)
This is not a simplification unique to this lab: real ground segments genuinely do decode RF into CCSDS-over-IP at the modem and run everything past that point as ordinary network traffic. Once RF is terminated, "hacking a satellite" and "hacking anything else on a LAN" converge into the same problem. This lab starts you exactly at that convergence point.
How did you get here?
Pick your own cover story, it doesn't change anything technical. Real incidents that put an attacker in this exact position include a phished ground-station engineer's laptop, a misconfigured VPN into the operator's network, an exposed jump box, or (per NASA's own 2018 JPL OIG report) an unauthorized Raspberry Pi plugged into a lab network that had a trust relationship with mission systems. Every one of those gets you the same thing: an IP-reachable host on the Mission Operations LAN, nothing more.
| Question | Answer |
|---|---|
| Network position | Reachability to the ground segment's Mission Operations LAN (in this lab: the satnet Docker network) |
| Credentials | None. No login, no API key, no client cert, no shared secret |
| Privileges | None beyond a normal unprivileged network host |
| Physical/RF access | Not required, not modeled, not relevant, everything past the modem is IP |
A real, separate Kali Linux host sits on this same network for you: the sat-attacker
container (10.10.0.10). It is not a shell alias or a script running on the same machine as
the satellite, it is its own OS, its own network identity, reachable two ways:
| Interface | How |
|---|---|
| GUI (recommended) | Open http://localhost:6080/vnc.html in a browser. Full Kali XFCE desktop, autoconnects. |
| CLI | docker compose exec attacker bash |
Confirm your position before doing anything else:
ip addr show eth0 # 10.10.0.10/24, a distinct host from satellite-sim's 10.10.0.2| Target | Container | IP | Represents |
|---|---|---|---|
| Spacecraft TT&C endpoint | satellite-sim |
10.10.0.2 |
The satellite itself: TM downlink (7000/udp), TC uplink (7001/udp) |
| Mission Control server | mission-control |
10.10.0.3 |
The ops center's dashboard + REST/WebSocket API (8080/tcp) |
Every command in the attack guides targets 10.10.0.2 or 10.10.0.3 from sat-attacker
(10.10.0.10), never localhost. If you're following along from your own separate Kali VM
against a real deployment instead of this lab, substitute the ground station's actual LAN IP
wherever you see 10.10.0.2 / 10.10.0.3.
Everything below is already installed on sat-attacker. Nothing here is bespoke lab
scaffolding; it's the same toolkit a real assessment would bring.
| Tool | Used for |
|---|---|
| nmap | Port/service discovery |
| tcpdump / Wireshark | Passive capture and traffic inspection |
Scapy (python3-scapy) |
Crafting and sending raw CCSDS packets |
| pycryptodome | AES key recovery |
| curl | Talking to Mission Control's HTTP API directly |
Scapy and Wireshark don't understand CCSDS out of the box, so this lab ships a small custom
Scapy module for it: ~/ccsds_scapy.py on sat-attacker. Every attack guide imports it
instead of writing raw struct.pack code.
from ccsds_scapy import CCSDSHeader, build_tc, decode_tm, crc16_ccitt-
CCSDSHeader: the 6-byte primary header as a ScapyPacketclass. -
build_tc(seq, fn_code, args): builds a complete, valid telecommand. -
decode_tm(raw): decodes a telemetry packet into a plain dict. -
crc16_ccitt(data): the same CRC-16 check the satellite uses.
Check it imports cleanly before starting Attack 1:
python3 -c "from ccsds_scapy import CCSDSHeader, build_tc; print('ccsds_scapy OK')"Attack 1: Recon, map what's reachable on the ground segment LAN and decode the first live telemetry packet.
Orbital Exploit
Attack Guides