Skip to content

02 Passive Sniff

Litesh Ghute edited this page Oct 21, 2026 · 1 revision

Attack 2: Passive Telemetry Eavesdropping

Position & access: Same ground-segment LAN foothold as before (see the Home page), from sat-attacker (10.10.0.10). This attack is purely passive, it sends zero packets, just listens.

Objective

Silently capture every CCSDS packet flowing on the ISS downlink, decode each one in real time, watch it live in Wireshark, and save a pcap for later replay.


Background

Passive sniffing requires no connection, sends no packets, and leaves zero trace on the wire. On a real ground station network, or within RF range of the satellite, an attacker with a software-defined radio (SDR) and modest gain can receive ISS-class transmissions from anywhere in range, no login prompt stands between them and the data.

In this lab, 10.10.0.2 broadcasts that same telemetry over UDP on the satnet network, and sat-attacker sits on that network with no NAT or firewall boundary in the way, so a normal NIC in promiscuous mode sees it directly.


Step 1: Watch it live in Wireshark (GUI)

Open the Kali desktop at http://localhost:6080/vnc.html, launch Wireshark from the Applications menu, capture on eth0, and set the display filter:

udp.port == 7000

Wireshark won't have a CCSDS dissector loaded (nobody ships one for this protocol), so packets show up as generic UDP/Data, that's expected and matches the "unknown protocol" situation described on the Home page. Click any packet and you can still see the raw bytes in the hex pane; the CRC-16, the sequence counter incrementing, and the fixed 31/40/28-byte lengths per APID are all visible by eye once you know the layout from Attack 1.


Step 2: Capture and decode from the command line

tcpdump -i eth0 -n udp port 7000 -w /root/iss_tm_capture.pcap -c 30

Or, to decode while capturing, use Scapy with the shared ccsds_scapy.py layer:

python3 - <<'EOF'
from scapy.all import sniff, UDP, Raw, wrpcap
from ccsds_scapy import decode_tm

captured = []

def on_pkt(pkt):
    if not (pkt.haslayer(UDP) and pkt.haslayer(Raw)):
        return
    if pkt[UDP].dport != 7000:
        return
    captured.append(pkt)
    raw = bytes(pkt[Raw])
    print(f"[+] {len(raw)}B  {decode_tm(raw)}")

sniff(iface="eth0", filter="udp port 7000", prn=on_pkt, store=False, count=30)
wrpcap("/root/iss_tm_capture.pcap", captured)
print(f"[+] {len(captured)} packets saved -> /root/iss_tm_capture.pcap")
EOF

Real output:

[+] 31B  {'apid': 1, 'seq': 2090, 'type': 'TM', 'mode_name': 'NOMINAL', 'battery_soc': 92, ...}
[+] 40B  {'apid': 2, 'seq': 2090, 'type': 'TM', 'lat': -50.2933, 'lon': 10.1340, 'alt': 417.79, ...}
[+] 28B  {'apid': 3, 'seq': 2090, 'type': 'TM', 'roll': 354.97, 'pitch': 0.51, 'yaw': 351.97}
...
[+] 30 packets saved -> /root/iss_tm_capture.pcap

sniff(..., store=False) is the same call Attack 1 used; here it just runs longer and keeps every packet for wrpcap() instead of only decoding a handful. Open the resulting pcap in Wireshark (File > Open) for the same click-through inspection as Step 1, now against a saved capture instead of the live wire, or feed it into Attack 4's replay.


What You Learn

Observation Implication
Full telemetry visible in plaintext No confidentiality
Sequence counter increments each packet Monotonic but not validated on receive
Three distinct APIDs per cycle Complete state exposed every ~1 s
A pcap is trivial to build Trivial to archive & replay later

Real-World Parallel

In 2008 researchers intercepted and decoded NASA GOES weather satellite downlinks using a $30 SDR dongle. The ISS amateur radio downlink (ARISS) is intentionally unencrypted. NOAA-15 APT imagery transmits at 137 MHz and is routinely received by hobbyists worldwide.


Mitigation

Layer Fix
Transport Encrypt all TM with AES-256-GCM
Protocol Apply CCSDS Security Protocol (SDLS, CCSDS 355.0-B-2)
Key management Rotate session keys per pass, distribute via ground key server

Next Step

Attack 3: Command Injection: build and send raw CCSDS telecommands with no authentication required.

Clone this wiki locally