Satellite leo security

From brucesongs/kali-claw · View interactive version

Satellite leo security is an AI agent skill from the GitHub repository brucesongs/kali-claw. Satellite and LEO communication security — Starlink, Kuiper, OneWeb, Iridium, Inmarsat, Viasat KA-SAT, HughesNet, DVB-S/S2, VSAT (iDirect/Hughes), GNSS receiver attacks, AcidRain wiper (Viasat 2022)

How to use this skill

Skill file

Skill: Satellite & LEO Communication Security

Supplementary Files:

- payloads.md — Command catalogue organized by satellite family: Starlink (terminal hardware, boot chain, gRPC terminal APIs, starlinkground, Open Satellite Project), Iridium (gr-iridium L-band burst demod, SBD short-burst data, Iridium NEXT enumeration), Inmarsat (BGAN, FleetExpress, IsatPhone, Sned SBD), Viasat KA-SAT (SurfBeam2 firmware, AcidRain wiper analysis, TtDotMon), DVB-S/S2/S2X (leandvb software decoder, welle.io, blind scan, DVB-CSA descrambling in authorized lab), VSAT/iDirect/Hughes (9500/9800 modem shell, HM/HT attach, DNS hijack on uplink, provisioning abuse), GNSS receiver attacks (GPS-SDR-SIM, Galileo spoofing, RAIM detection). 60+ code blocks, 2,000+ lines.

- test-cases.md — Structured test cases TC-SL-001..012: Starlink terminal enumeration, Iridium SBD burst decode, KA-SAT modem fingerprint, VSAT uplink hijack lab, GPS spoofing with GPS-SDR-SIM, DVB-S2 signal capture, Inmarsat BGAN terminal recon, iDirect modem shell access, multi-constellation GNSS attack, DVB-CSA descrambling (authorized lab), beam hopping observation, constellation tracking with gpredict. Plus a Verification Checklist and Defense/Mitigation Patterns section.

- guides/satellite-leo-security-playbook.md — End-to-end satellite red team playbook: frequency band taxonomy (L/S/C/X/Ku/Ka/V), constellation comparison (LEO/GEO/MEO, latency, throughput, coverage), real-world incidents (Viasat KA-SAT AcidRain Feb 2022 with 5,800+ bricked terminals coincident with Russia-Ukraine invasion, Starlink SpaceX cyber-attacks claim 2022, Iridium pager SNMS, HughesNet DSL modem CSRF 2017, Apache Chukwa fleet monitoring), lab setup (HackRF/BladeRF/PlutoSDR + LNB for Ku-band, gr-iridium for L-band, leandvb for DVB-S2, GPS-SDR-SIM lab-only GNSS spoofing), defensive guidance (link-layer AES, DVB-RCS2 mutual auth, beam hopping, firmware signing).

Summary

Satellite communication security covers the space segment, the ground segment, and the link between them — the radio path that carries broadband, voice, pager, TV, IoT, and navigation data to roughly four billion receivers worldwide. This skill targets commercial satellite communications: LEO broadband constellations (Starlink, Kuiper, OneWeb, Telesat Lightspeed), LEO narrowband (Iridium NEXT, Globalstar), GEO/MEO broadband (Inmarsat BGAN, Viasat KA-SAT, HughesNet Jupiter), GEO broadcast (DVB-S/S2/S2X, DIRECTV, Dish), VSAT enterprise networks (iDirect, Hughes PES, Newtec, Comtech), and the GNSS receiver attack class (GPS / Galileo / GLONASS / BeiDou / SBAS) at the receiver side only.

Tools: HackRF One / BladeRF 2.0 micro / PlutoSDR (with Ku/Ka LNB downconverter), GNU Radio with gr-iridium and gr-gnss, leandvb (software DVB-S2 decoder), welle.io (DVB GUI), GPS-SDR-SIM (GNSS spoofing lab), Wireshark with DVB/GNSS dissectors, Starlink DEMO / starlinkground, Open Satellite Project (opensat), RTL-SDR V3 / AirSpy R2, SDR# / SDRangel / GQRX, gpredict (satellite tracking), multimon-ng (POCSAG/FLEX/ACARS for VSAT paging), Universal Radio Hacker (URH).

Domain: satellite

MITRE ATT&CK: T1557-Adversary-in-the-Middle, T1485-Data Destruction (AcidRain-class wipers), T1499-Endpoint Denial of Service (satellite link jamming), T1098-Account Manipulation (VSAT provisioning abuse), T1584-Compromise Infrastructure (satellite uplink takeover).

Detection Methods

LEO Communication Audit

SIEM Detection Rules

Defense Evasion Techniques

Satellite Terminal Compromise

Signal Manipulation

Ground Station Compromise

Differentiation

This skill is distinct from three adjacent RF attack skills:

In scope: Starlink / Kuiper / OneWeb / Telesat Lightspeed user terminals and their Ku/Ka downlinks, Iridium L-band bursts, Inmarsat BGAN, Viasat KA-SAT, HughesNet, DVB-S/S2 broadcast, VSAT (iDirect / Hughes / Newtec), GNSS receiver-side attacks. Out of scope: satellite uplink transmission (TX) — receive-only and terminal-side attack surface only; uplink work requires explicit national licensing authority and a Faraday cage.

Description

Satellite communications have been an attack surface since the 1980s, when Captain Midnight broadcast a pornographic movie over HBO's Galaxy 1 transponder by injecting an unauthorized uplink signal during a televised match. The modern attack surface looks different but the underlying physics is unchanged: anyone within the footprint of a satellite downlink can receive, demodulate, and analyze its signal. The defense has always been cryptography — link-layer encryption (DVB-CSA for TV, AES for IP, custom for Iridium), conditional access systems (NDS/Videoguard, Irdeto, Viaccess), and per-terminal authentication (iDirect HOPPING plans, DVB-RCS2 mutual authentication). When the cryptography fails or is absent, the satellite becomes readable; when the terminal becomes remotely manageable by the attacker, it becomes brickeable.

This skill covers the eight things that distinguish satellite/LEO attacks from terrestrial RF attacks:

  1. LEO is moving — Doppler, beam handover, and footprint migration are first-class — A Starlink or Iridium satellite at 550–780 km altitude moves across the sky at roughly 7 km/s; a single pass is 8–15 minutes. The user terminal must electronically steer its phased array, hand over the active beam to the next satellite in the constellation, and migrate its IP session across the gateway earth station in under 30 seconds. Each step is an attack surface: beam handover can be jammed or spoofed, gateway migration can leak session state, and the Doppler shift (tens of kHz at Ku-band) is a fingerprint that reveals which satellite the terminal is tracking.
  1. GEO is far — latency, bandwidth, and gateway centralization are the attack — A GEO satellite sits at 35,786 km altitude. Round-trip latency is ~500 ms (vs. 30–60 ms for LEO); throughput per transponder is 1–10 Gbps shared across an entire beam's worth of terminals. The gateway earth stations are centralized — Viasat KA-SAT has a handful of gateways across Europe; severing or compromising one gateway can black out a continent. The AcidRain wiper (Feb 2022) demonstrated this: ~5,800 KA-SAT terminals in Ukraine and across Europe bricked coincident with the Russia-Ukraine invasion, by wiping the flash storage on the SurfBeam2 modem's MIPS-class firmware.
  1. DVB-S/S2 is broadcast — every receiver in the beam sees every stream — DVB-S/S2/S2X (ETSI EN 300 421 / 302 307) uses a single wide carrier per transponder (typically 27–36 MHz wide, QPSK/8PSK/16APSK/32APSK modulation) that is downlinked across the entire beam footprint. Conditional Access (CA) scrambling (DVB-CSA, DVB-CISSA) provides confidentiality; the descrambling control words are delivered via Entitlement Control Messages (ECM) every 2–10 seconds. In authorized labs, DVB-CSA descrambling is a teaching exercise — a single lab receiver can recover the control words from the entitlement stream.
  1. VSAT networks are centralized — the hub is the crown jewel — A VSAT (Very Small Aperture Terminal) enterprise network has a single Hub earth station (typically the iDirect or Hughes hub) and many remote terminals (the 1.2m Ku-band or 74cm Ka-band antennas on retail/branch sites). The hub routes all remote-to-remote traffic and aggregates Internet egress. Compromise of the hub (or its NMS — Network Management System) compromises the entire fleet; compromise of a single remote terminal (default credentials, exposed SSH, provisioning protocol abuse) gives lateral movement to the hub.
  1. GNSS attacks are receiver-side — the satellite cannot be touched — The GPS / Galileo / GLONASS / BeiDou satellites broadcast their navigation messages (L1 C/A at 1575.42 MHz, L2C at 1227.60 MHz, L5 at 1176.45 MHz; Galileo E1/E5; BeiDou B1/B2) in a predictable format with weak spread-spectrum processing gain. A receiver-side attacker with a transmitter and lab/Faraday environment can synthesize a stronger counterfeit signal thatoverrides the authentic one — spoofing the receiver's computed position, time, or both. Real-world GPS spoofing has been documented for ships (C4ADS 2019, vessels in the Black Sea and Persian Gulf), drones, and business jets (over the Eastern Mediterranean and Iraq, 2023–2024). The defense is receiver-side: RAIM (Receiver Autonomous Integrity Monitoring), multi-constellation cross-check, and inertial navigation correlation.
  1. Maritime and aviation satellite are dual-attack-surface — Inmarsat Fleet and Iridium Certus ship terminals, and Iridium / Inmarsat aviation terminals, have two distinct attack surfaces: (a) the satellite downlink/uplink (L-band, subject to jamming, spoofing, and lawful intercept), and (b) the on-board Ethernet/LAN side (subject to standard IT pentest of the bridge network, ECDIS, AIS transponder, and satcom router). The 2020 SST Dryad report on Russian GPS spoofing off the Syrian coast was a (a)-side attack; the 2018 CyberKeel report on VSAT terminals on merchant ships was a (b)-side attack. Both are valid pentest scopes.
  1. Fleet management and provisioning planes are C2 in disguise — Every modern satellite terminal (Starlink, Viasat SurfBeam2, iDirect 9500/9800, Hughes HM/HT) is remotely managed by the operator via a dedicated management plane: Starlink uses gRPC over IPv6 from the terminal to a SpaceX NOC; Viasat SurfBeam2 uses TtDotMon and a TR-069-class provisioning flow; iDirect uses the Evolution or Velocity NMS over a dedicated in-band management VLAN on the hub; Hughes uses a DVB-RCS-class NMS. Each is a command-and-control channel with full firmware-update authority over the terminal fleet — and each has, historically, had weak or shared authentication.
  1. AcidRain-class wipers are the new threat model — The Feb 2022 Viasat KA-SAT incident established that satellite terminal fleets are now a target of state-level data-destruction operations. The wiper — publicly attributed as AcidRain — was purpose-built for the MIPS-class uClinux environment of the SurfBeam2 modem, overwrote the flash storage with /dev/urandom output, and bricked ~5,800 terminals across Ukraine and several EU countries. The incident demonstrated that satellite terminals are now critical infrastructure — they backhaul Ukrainian military communications, ATMs, and wind-turbine SCADA — and that their boot chains and firmware update paths are an attack class, not just an attack vector.

This skill is the space-segment counterpart to 5g-telecom-attack (terrestrial cellular) and hf-vhf-radio-attack (aviation/maritime VHF/HF). Where those skills cover the licensed RF that travels horizontally across the earth, this skill covers the licensed RF that travels vertically — up to the satellite and back down to a beam footprint that may cover an entire hemisphere.

Use Cases

Core Tools

| Tool | Purpose | License / Notes |

|------|---------|-----------------|

| HackRF One / BladeRF 2.0 micro / PlutoSDR | General-purpose SDRs for the 1 MHz–6 GHz range. Paired with a Ku-band (10.7–12.75 GHz) or Ka-band (19.7–20.2 GHz) LNB downconverter (standard satellite TV LNB, ~$20) for receive-only satellite downlink capture. | GPL/Hardware. greatscottgadgets.com/hackrf, nuand.com, analog.com/plutosdr |

| GNU Radio + gr-iridium + gr-gnss | GNU Radio SDR framework; gr-iridium is the Iridium L-band burst demodulator; gr-gnss is the GNSS signal analyzer (GPS, Galileo, GLONASS, BeiDou). | GPL-3.0. gnuradio.org, github.com/muccy/gr-iridium, github.com/gnss-sdr/gnss-sdr |

| leandvb | Software DVB-S/DVB-S2/DVB-S2X demodulator. Reads an IQ file from RTL-SDR/HackRF/BladeRF and outputs a Transport Stream. The default tool for DVB-S2 receive-only lab work without dedicated hardware. | GPL-2.0. github.com/pabr/perfect-vines (leandvb) |

| welle.io | GUI DVB-T/DVB-S2 receiver. Real-time spectrum, signal, and TS view. Used for visual confirmation of DVB-S2 captures. | GPL-2.0. welle.io |

| GPS-SDR-SIM | GPS L1 C/A signal generator. Reads a RINEX ephemeris file and synthesizes an IQ signal that a HackRF/BladeRF can transmit (lab/Faraday only) to spoof a GPS receiver's computed position. | MIT. github.com/osqzsun/GPS-SDR-SIM |

| Wireshark (with DVB/GNSS dissectors) | Packet analysis. Dissects DVB MPE (Multi-Protocol Encapsulation), GSE (Generic Stream Encapsulation), DVB-S2 BBFRAME, GPS L1 C/A navigation messages, Galileo E1, Iridium SBD. | GPL-2.0. wireshark.org |

| Starlink DEMO tool / starlinkground | Reverse-engineered gRPC clients for the Starlink user terminal (Dishy). Expose terminal status, obstruction map, current satellite, beam, and boot state via the local gRPC API on 192.168.100.1:9200. | MIT. github.com/sparkydishy/starlink-grpc-tools |

| Open Satellite Project (opensat) | Suite of tools for parsing meteorological-satellite (GOES, Himawari, METEOSAT, METOP, NOAA) and other unencrypted satellite downlinks (LRIT, HRIT, APT). Useful as a training ground for satellite signal analysis. | GPL-3.0. opensatproject.org |

| RTL-SDR V3 / AirSpy R2 | Low-cost receive-only SDRs. RTL-SDR V3 covers 100 kHz–1.7 GHz (incl. Iridium L-band with bias-tee active antenna). AirSpy R2 covers 24–1700 MHz with 10 MHz bandwidth. | GPL/Hardware. rtl-sdr.com, airspy.com |

| SDR# / SDRangel / GQRX | GUI SDR receivers. SDR# for Windows, SDRangel for cross-platform multi-channel, GQRX for macOS/Linux. Used for visual signal identification before recording. | GPL. airspy.com/sdrsharp, github.com/f4exb/sdrangel, gqrx.dk |

| gpredict | Real-time satellite tracking program. Predicts Iridium, Starlink, GPS, Inmarsat, and other passes from the observer's location using TLE (Two-Line Element) data from Celestrak. Essential for LEO capture planning. | GPL-2.0. gpredict.oz9aec.net |

| multimon-ng | Decoder for POCSAG (pager), FLEX (pager), and ACARS (aircraft) — used to decode VSAT paging and other narrowband satellite control channels. | GPL-2.0. github.com/EliasOenal/multimon-ng |

| Universal Radio Hacker (URH) | Reverse-engineering tool for unknown RF protocols. Records IQ, identifies modulation and framing, builds a decoder. Used for custom satellite IoT (Swarm, Astrocast, Kineis, Lacuna) and proprietary VSAT control links. | GPL-3.0. github.com/jopohl/urh |

Methodology

The engagement methodology is organized in five phases. The default posture is receive-only / passive: in most jurisdictions, transmitting in licensed satellite bands (Ku 14.0–14.5 GHz uplink, Ka 28–30 GHz uplink, L-band 1.6 GHz uplink for Iridium/Inmarsat) without a national license is a criminal offense on par with cellular jamming. The only TX-side work this skill covers is GPS-SDR-SIM GNSS spoofing, and only inside an authorized Faraday cage or open-field test range.

Phase 1: Reconnaissance (Passive, RX-Only)

Phase 2: Signal Capture (RX-Only)

Phase 3: Protocol & Firmware Analysis

Phase 4: Active Test (Authorized Lab Only)

Phase 5: Reporting

Practical Steps

All TX-side work (VSAT uplink, GPS spoofing broadcast, Iridium/Inmarsat uplink) is restricted to authorized lab / Faraday / open-field test range. The default posture is RX-only.

Step 1 — Constellation Tracking with gpredict

# Install gpredict and update TLEs from Celestrak
sudo apt install gpredict
mkdir -p ~/.config/Gpredict/tle
# Download Starlink, Iridium NEXT, GPS, Galileo, Inmarsat TLEs
wget -q -O ~/.config/Gpredict/tle/starlink.txt https://celestrak.org/NORAD/elements/gp.php?GROUP=starlink&FORMAT=tle
wget -q -O ~/.config/Gpredict/tle/iridium.txt https://celestrak.org/NORAD/elements/gp.php?GROUP=iridium-NEXT&FORMAT=tle
wget -q -O ~/.config/Gpredict/tle/gps.txt https://celestrak.org/NORAD/elements/gp.php?GROUP=gps-ops&FORMAT=tle
wget -q -O ~/.config/Gpredict/tle/galileo.txt https://celestrak.org/NORAD/elements/gp.php?GROUP=galileo&FORMAT=tle
# Launch gpredict and select the engagement observer location
gpredict &

Step 2 — L-band Capture (Iridium) with HackRF + gr-iridium

# Record 5 minutes of Iridium L-band at 1621.25 MHz
# Active antenna with bias-tee, or external LNA + 1.6 GHz antenna
hackrf_transfer -r iridium_$(date +%s).iq -f 1621250000 -s 2000000 -g 40 -l 40 -a 1 -d 300
# Demodulate bursts with gr-iridium
gr_iridium -r 2000000 -D iridium.iq | head
# Channel mapping: 12 ring-prioritized simplex channels, BDPSK at 50 kbps

Step 3 — Ku-band DVB-S2 Capture with LNB + RTL-SDR

# Standard satellite TV LNB (PLL LO 9750/10600 MHz)
# Connect via bias-tee to RTL-SDR V3
# Tune to a known DVB-S2 carrier (e.g., Eutelsat at 10.920 GHz vertical)
# Downconverted IF: 10920 - 10600 = 320 MHz; verify with rtl_power
rtl_power -f 250M:450M:0.5M -g 40 -i 5s dvbs_scan.csv &
# Once a carrier is identified at, say, 1170 MHz IF, capture:
rtl_sdr -f 1170000000 -s 2400000 -g 40 -n 48000000 dvbs_capture.iq
# Demodulate with leandvb
leandvb --sr 27500000 --roll-off 0.35 --vit 27500 --in dvbs_capture.iq --out dvbs_output.ts 2> leandvb.log
# Inspect the recovered transport stream
dvbsnoop -n 10 dvbs_output.ts | head

Step 4 — Starlink Dishy gRPC Enumeration

# Install grpcurl
sudo apt install grpcurl
# Get the Starlink gRPC schema (community-published proto)
git clone https://github.com/sparkydishy/starlink-grpc-tools.git
cd starlink-grpc-tools
# Enumerate endpoints (Dishy listens on 192.168.100.1:9200)
grpcurl -plaintext -import-path . -proto spacex/api/device/device.proto 192.168.100.1:9200 SpaceX.API.Device.Device
# Get device info: firmware version, hardware version, boot state
grpcurl -plaintext -import-path . -proto spacex/api/device/device.proto \
  -d '{}' 192.168.100.1:9200 SpaceX.API.Device.Device/Handle > device_info.json
# Get current obstruction map and the satellite the terminal is tracking
grpcurl -plaintext -import-path . -proto spacex/api/device/device.proto \
  -d '{}' 192.168.100.1:9200 SpaceX.API.Device.Device/GetObstructionMap > obstruction.json

Step 5 — GPS Spoofing (Lab / Faraday Only) with GPS-SDR-SIM

# LAB / FARADAY ONLY — broadcasting GPS L1 without authorization is illegal
# Download a recent RINEX ephemeris (daily broadcast ephemeris from NASA CDDIS)
wget -q -O brdc.2026n.gz ftp://gdc.cddis.eosdis.nasa.gov/gnss/data/daily/2026/brdc/brdc0010.26n.gz
gunzip brdc.2026n.gz
# Generate a 60-second IQ for a spoofed position (lat=40, lon=-75, alt=100m)
# -e: ephemeris; -l: lat,lon,alt; -d: duration in seconds; -b: IQ bit width
gps-sdr-sim -e brdc0010.26n -l 400000,-750000,100 -d 60 -b 16
# Output: gpssim.bin (16-bit IQ at 2.6 Msps)
# Transmit via HackRF inside a Faraday cage
hackrf_transfer -t gpssim.bin -f 1575420000 -s 2600000 -a 1 -x 20 -R
# Verify the target receiver's reported position shifts to 40N, -75W

The above command is reproducible only inside a Faraday cage. Transmitting on the GPS L1 band in any other context is a federal offense in most jurisdictions (e.g., US 47 USC § 301, § 333; EU RED Art. 9).

Defense Perspective

Defenders of satellite terminal fleets, ground segments, and downlink receivers should harden the following surfaces:

Reference Quick Map

| Surface | Tool | Skill Step |

|---------|------|-----------|

| Starlink Dishy gRPC | grpcurl + starlink-grpc-tools | Step 4 |

| Iridium L-band bursts | gr-iridium | Step 2 |

| Inmarsat BGAN L-band | SDRangel + URH | payloads.md §3 |

| Viasat KA-SAT SurfBeam2 | JTAG/serial + binwalk | payloads.md §4 |

| DVB-S/S2 downlink | leandvb + dvbsnoop | Step 3 |

| VSAT iDirect 9500/9800 | telnet/SSH shell | payloads.md §6 |

| GNSS spoofing (lab) | GPS-SDR-SIM + HackRF | Step 5 |

| Constellation tracking | gpredict | Step 1 |

Tool Quick Reference

# 13 tools used in this skill
hackrf / bladerf / plutosdr        # SDR hardware
gnuradio gr-iridium gr-gnss        # SDR framework + blocks
leandvb                            # DVB-S2 software demodulator
welle.io                           # DVB GUI receiver
gps-sdr-sim                        # GNSS spoofing signal generator
wireshark                          # Packet analysis with DVB/GNSS dissectors
starlink-grpc-tools                # Starlink Dishy gRPC client
opensat (Open Satellite Project)   # Meteorological-satellite downlink parsers
rtl_sdr / airspy                   # RX-only SDRs
sdrangel gqrx sdrsharp             # GUI SDR receivers
gpredict                           # Satellite tracking
multimon-ng                        # POCSAG/FLEX/ACARS decoder
urh (Universal Radio Hacker)       # RF protocol reverse engineering

Legal & Ethical Notes

Cross-References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.