VS MALIBU IKE And ESP Metadata Flows

Open PDF
Creating agency: NSA National Security Agency (US)
Document date: -
Pages: 4
Genre: slides
Banner:
Classification: TOP SECRET COMINT
Dissemination: REL TO USA, AUS, CAN, GBR, NZL

A TOP SECRET four-slide architecture document describing MALIBU — NSA's system for intercepting and decrypting IPSec VPN traffic at the point where it crosses monitored internet cables — showing how intercepted VPN connections are processed, cryptographic keys recovered, traffic decrypted and results delivered to analysts, with separate diagrams for metadata collection, software decryption, full exploitation and survey modes.

Long Description:
This is a TOP SECRET//COMINT//REL TO USA, FVEY four-page architecture slide set describing the MALIBU component within VALIANTSURF — NSA's IPSec VPN decryption capability operating inside TURMOIL's Stage 1 passive collection pipeline. Der Spiegel identified this as the MALIBU architecture for attacking and intercepting VPN communications. Taken together, the four slides document the complete processing pipeline through which TURMOIL intercepts IPSec VPN traffic from fiber cable taps, extracts the cryptographic parameters needed for key recovery, passes them to on-site CAServers and the LONGHAUL/POISONNUT key recovery infrastructure, and then decrypts the underlying plaintext traffic for delivery to analysts via XKEYSCORE and corporate repositories. The architecture separates concerns cleanly: XFSPF handles raw high-speed packet ingestion and first-stage filtering, VALIANTSURF components handle the VPN-specific protocol unwrapping and decryption, and XKEYSCORE Stage 2 provides the analyst-facing query interface for the resulting plaintext. The survey mode shown in the fourth slide illustrates how the same infrastructure also operates in a passive reconnaissance mode, routing VPN metadata to SIGDEV analysts to identify new targets rather than delivering decrypted content — reflecting the dual use of the system for both active exploitation of known targets and discovery of new ones. The slides use the abbreviation "TE" throughout — appearing as "VALIANTSURF TE" in the slide titles. Based on other documents in the Snowden archive referencing a "Transform Engine Emulator (TEe)" and "Packet-to-Packet Transform Engine (TE)" in the context of TURMOIL's VPN processing, TE most likely stands for Transform Engine — the component responsible for performing the actual decryption transformation on intercepted VPN traffic. The first slide shows the VALIANTSURF redesigned metadata flow for IKE and ESP traffic. IKE bundles flow from a PPF (Packet Processing Filter) through IKE EventToBM and IKE SMG components, producing ASDF Events that are reported to a central ASDF Reporter generating IKE/ASDF Records destined for TUBE. In parallel, ESP traffic flows through FSPF/DFCE into ESP AEG and ESP SEG components, also producing ASDF Events. A TUNNELED_VS_AEG component handles IKE AEG processing. A DFA component sits downstream of the IKE/ASDF Records path. The diagram distinguishes between existing TURMOIL components, new TURMOIL components, new/modified VS components, and new LONGHAUL components using a colour-coded legend. The second slide shows the VALIANTSURF redesigned software decrypt flow — the Transform Flow PPF. The same FSPF/DFCE front end feeds into TUNNELED_VS_AEG for IKE and ESP AEG/SEG processing. IKE hits flow to a KC component, ESP hits flow to an EF (Event Filter) which routes misses to VSOTS and hits through CONTROLFLOW, with the CONTROLFLOW feeding back into the processing loop. This represents the core software-based decryption path before hardware acceleration is added. The third slide shows the full TURMOIL Stage 1 Logical VALIANTSURF Transform Engine architecture. All packets enter through XFSPF which contains a Flow Control Engine, Delay component, and First Stage Packet Filter, with selected packets routed to a Packet Router for IPSec flows. PPF Event hits feed through FIP (Fast IP Processor) into a Metadata Injector (MDC), then VSDemux, v6Protocol Converter, and VPN-TDAL components feeding into Stage 1 Prime. Transformed packets go through a METT Wrapper containing TUNGSTEN, then v6Protocol Converter and Packet Injector into Stage 1 Prime. Failed transformations route to FCE for future processing. On-site, a CAServer and POISONNUT — a sibling LONGHAUL programme for key recovery — feed into the processing chain via a home connection. The fourth slide shows the TURMOIL Stage 1 Prime VALIANTSURF Survey Transform Engine architecture, which feeds VS Sessions directly into XKEYSCORE Session Processing alongside a CONTROLFLOW survey path routing hits through an Event Filter with routingCategory=SIGDEV to a DFA Proxy in Edge Services. XFSPF again provides the front-end packet filtering with selected packets routed through the Fast IP Processor and Metadata Injector into the VS sessions pipeline.
Programs:
MALIBU, VALIANTSURF, ASDF, TURMOIL, LONGHAUL, TUBE, POISONNUT, XKEYSCORE, TUNGSTEN, AEG, PPF, FIP

People mentioned:
-

Countries:
-

Tags:
CES, IPSec, VPN decryption, VPN exploitation, Data Network Cipher, DNSC, key recovery, hardware acceleration, passive collection, cable collection, plaintext selectors, target development, SIGDEV

Identifier:
spiegel_-_media-35518

PDF SHA-256:
ac291fcf2b099d6222f872d4dfebef120fea0e15cc3377b4716840f7e1b53a82

TOP SECRET//COMINT//REL TO USA, AUS, CAN, GBR, NZL //20291123
TURMOIL

VS MALIBU IKE And ESP Metadata Flows

STAGE 1

  • PPF
  • IKE EventToBM
  • IKE bundles
  • IKE SMG
  • IKE Events
  • ASDF Events
  • ASDF Reporter
  • IKE/ASDF Records
  • TUBE
  • SRI
  • DFA
  • TUNNELED_VS_AEG (IKE AEG)
  • FSPF / DFCE
  • ESP AEG
  • ESP SEG
  • ASDF Events
  • External components used by TML
  • Metadata Components
  • Existing Turmoil Component
  • New Turmoil Component
  • New/modified VS component
  • New LONGHAUL component

Figure 3. VALIANTSURF Redesigned Metadata Flow

TOP SECRET//COMINT//REL TO USA, AUS, CAN, GBR, NZL


TOP SECRET//COMINT//REL TO USA, AUS, CAN, GBR, NZL //20291123
TURMOIL

VS MALIBU Transform Flow PPF

STAGE 1

  • PPF
  • TUNNELED_VS_AEG (IKE AEG)
  • IKE SEG
  • KC
  • FSPF / DFCE
  • ESP AEG
  • ESP SEG
  • EF
  • miss
  • VSOTS
  • hits
  • CONTROLFLOW
  • CONTROLFLOW
  • External components used by TML
  • Existing Turmoil Component
  • New Turmoil Component
  • New/modified VS component
  • New LONGHAUL component

Figure 1. VALIANTSURF Redesigned Software Decrypt Flow

TOP SECRET//COMINT//REL TO USA, AUS, CAN, GBR, NZL


TOP SECRET//COMINT//REL TO USA, AUS, CAN, GBR, NZL//20291123
TURMOIL

TURMOIL Stage 1 (Logical) VALIANTSURF TE

  • XFSPF
    • •Flow Control Engine
    • •Delay
    • •First Stage Packet Filter
  • Selected Packets
  • Packet Router
  • Packet Flows For: IPSEC
  • All Packets
  • "Hits"
  • PPF Event "Hits"
  • FIP
  • Metadata Injector
    • MDC
  • VSDemux
  • v6Protocol Converter
  • VPN-TDAL
  • Edge Services
    • Home Services
  • Failed Transformations To FCE (FUTURE)
  • Detunneled Packets
  • Transformed Packets
  • METT Wrapper
    • TUNGSTEN
  • v6Protocol Converter
  • Packet Injector
  • CAServer
  • Site
  • PoisonNut
  • Home
  • (Logical) VALIANTSURF TE
  • DFID for Transformed Flow Via LABEL/Request Interface
  • Stage 1 Prime
  • Edge Services:
    • DFA Proxy

TOP SECRET//COMINT//REL TO USA, AUS, CAN, GBR, NZL//20291123


TOP SECRET//COMINT//REL TO USA, AUS, CAN, GBR, NZL//20291123
TURMOIL

TURMOIL Stage 1 Prime VALIANTSURF Survey TE

  • XFSPF
    • •Flow Control Engine
    • •Delay
    • •First Stage Packet Filter
  • Selected Packets
  • Packet Router
  • CONTROLFLOW (survey) "Hits"
  • All Packets
  • Packet Flows For: •VS Transformations
  • Fast IP Processor (FIP)
  • Metadata Injector
    • (MDC)
  • VS Sessions
  • XKEYSCORE Session Processing
  • Event Filter
  • routingCategory=SIGDEV
  • Edge Services:
    • DFA Proxy
  • VALIANTSURF Survey TE

TOP SECRET//COMINT//REL TO USA, AUS, CAN, GBR, NZL//20291123