<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Bruno Alvarenga on Medium]]></title>
        <description><![CDATA[Stories by Bruno Alvarenga on Medium]]></description>
        <link>https://medium.com/@brunoavr?source=rss-ceb37904809b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*eu5Dr7k-J7_ARohxK5_qVA.png</url>
            <title>Stories by Bruno Alvarenga on Medium</title>
            <link>https://medium.com/@brunoavr?source=rss-ceb37904809b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 13:49:16 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@brunoavr/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Radars, Air Defense and Air Traffic Control: ASTERIX and the Problem Left Unsolved]]></title>
            <link>https://medium.com/@brunoavr/radars-air-defense-and-air-traffic-control-asterix-and-the-problem-left-unsolved-f5f589e05d27?source=rss-ceb37904809b------2</link>
            <guid isPermaLink="false">https://medium.com/p/f5f589e05d27</guid>
            <category><![CDATA[network-security]]></category>
            <category><![CDATA[aviation]]></category>
            <category><![CDATA[air-traffic-control]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[critical-infrastructure]]></category>
            <dc:creator><![CDATA[Bruno Alvarenga]]></dc:creator>
            <pubDate>Sun, 28 Jun 2026 00:19:46 GMT</pubDate>
            <atom:updated>2026-06-28T00:19:46.458Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cDbacwMMcX6P5bm0Jokn5w.png" /></figure><p>Every aircraft you see on a controller’s screen got there through a chain of messages. A radar spots a target, packages the measurement, and sends it across a network to a system that stitches everything into one picture. The format carrying those messages is ASTERIX, short for All Purpose Structured EUROCONTROL Surveillance Information Exchange. It is the common language of air traffic surveillance, and it has done its job well for decades.</p><p>Here is the part that surprises people. That traffic almost always travels in plain text. No encryption, no authentication, nothing checking that a message is real. If you can reach the network, you can read the whole air picture with free tools. Wireshark even ships with a built in decoder for it.</p><p>Let me walk through why it works this way, why we still lean on network isolation to keep it safe, and what happens if you try to add real encryption underneath.</p><h3>What ASTERIX Actually Is</h3><p>ASTERIX is a binary message format from EUROCONTROL. It defines how surveillance data is written down, not how it gets from A to B. The transport is a separate thing, and in practice it is almost always UDP, usually multicast, so several systems can grab the same feed at once.</p><p>Everything is organized into Categories. CAT 048 carries single radar reports. CAT 062 carries the fused tracks that come out of combining several radars. CAT 021 carries ADS-B. Each category has its own set of fields, and each record starts with a small map that says which fields are present. It is compact and efficient, which mattered a lot back when bandwidth was tight.</p><p>The thing to remember is simple. ASTERIX was built to solve compatibility, not security. Before it existed, every radar vendor spoke its own dialect and nothing talked to anything else. ASTERIX fixed that. Security was never part of the job, because back then everyone assumed the network itself was safe.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x0x9vzB0SnsfbeaaquKEXw.png" /></figure><h3>Why It Travels in the Open</h3><p>The whole design rests on one assumption: the network is closed, physically protected, with no way in from outside. If that is true, encryption solves a problem you do not have. An attacker would already need to be inside a building that controls who touches the cables. The security came from the architecture, so the protocol never carried its own.</p><p>That made sense at the time. Dedicated links, locked rooms, no internet anywhere near the radars. The problem is that these systems live for decades, so that old assumption is baked into gear that is still running today. The world changed. The deployments did not.</p><p>So when you capture ASTERIX on the wire, you get positions, transponder codes, altitudes, aircraft IDs, callsigns, all of it. For a civilian system that is a privacy problem. For a military one it is a gift to anyone watching. And reading is only the first of three things an attacker can do.</p><p>The first is capture. Sit in the middle of the traffic with a man in the middle attack and you read the entire air picture as it flows past, live. The second is denial. Because the transport is UDP, you do not even need to be clever to cause damage. Flood the receiver with junk packets and the processing application can choke, drop frames, or fall over entirely, and now the controller’s screen is stale or blank. The third is forgery. Since nothing proves a message is genuine, you can inject fake aircraft of your own, replay old traffic, or change values in flight. Ghost planes on a controller’s screen stop being a thought experiment when the real messages have no signature to copy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*J66RgQ5jjCb7ALQbXzB3zA.png" /></figure><p>Now picture this in a military air defense context, and the stakes change completely. The same air picture that an operator uses to identify threats and direct interceptors is the one an adversary could read, blank out, or poison. Reading it means knowing exactly what the air defense sees, and just as important, what it does not. Flooding it means blinding the operators at the precise moment that matters most. And spoofing it is the worst of the three: fabricated tracks can manufacture a threat that is not there, hide one that is, or simply flood the picture with enough fake contacts to drown the real ones in noise. A decision made on a corrupted picture is a decision made for you by whoever corrupted it. In peacetime that is an intelligence and safety problem. In a contested scenario it is a path to misdirecting a response or paralyzing one.</p><h3>The One Thing Holding It Together</h3><p>Here is the uncomfortable bit. In most places today, the entire security of ASTERIX comes down to a single idea: keep the network isolated.</p><p>If outsiders cannot reach it, they cannot read it or mess with it. That is the whole plan. Physical control, segmentation, air gaps where they exist, VLANs, firewalls, and tight control over the switches in the middle.</p><p>That is not nothing. A well separated network really does raise the bar. But it is fragile in one specific way. The day the perimeter slips, the protection is just gone, because there is nothing underneath it. A laptop on the wrong VLAN, a misconfigured port, a network somebody flattened for convenience, a remote site nobody audited closely. Any one of those turns an open protocol from a non issue into a wide open door.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xQZX1ktP8j_42PAaAeuDOw.png" /></figure><p>And the trend is working against this model. These systems are more connected than they used to be, and modernization keeps pulling data toward shared infrastructure. The clean air gap gets harder to promise every year. Betting everything on isolation is betting the perimeter holds forever, and perimeters do not hold forever.</p><h3>Could We Just Encrypt It? Yes, But</h3><p>The obvious question is why not just encrypt the traffic. You can, and the usual trick is to leave ASTERIX alone and protect the layers underneath it instead. That keeps the protocol untouched and everything still talks to everything. Two tools do this, IPsec and MACsec. Both are real options. Neither is free, and the problems are the part worth being honest about.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Hof3SIm1N5tnpzKIUz55Hw.png" /></figure><p><strong>IPsec</strong> wraps the traffic in an encrypted tunnel between two endpoints, say a remote radar site and the control center. While it is in the tunnel, anything in the middle sees only scrambled bytes. That is the strong part.</p><p>The catch is that it fights the way ASTERIX actually works. ASTERIX loves multicast, one sender feeding many receivers, and IPsec was built mostly around point to point tunnels. Multicast is possible, but protecting it properly drags in group key management, which is a real operational headache, not a checkbox. On top of that you own key management across every site forever, with certificates, rekeying, and revocation. And there is timing. Modern hardware adds barely any delay, but surveillance is live data, every bit of jitter gets questioned, and older gear in the chain may not keep up.</p><p><strong>MACsec</strong> works one layer down, on Ethernet, protecting each link between two neighbors. It has one genuinely nice property for ASTERIX: it protects the frame on the link whether the traffic is unicast or multicast, so a multicast feed just rides along with no separate group key machinery. It also usually runs in hardware at full speed. So far so good.</p><p>But it has a limitation that is easy to gloss over. It is hop by hop. To pass a frame along, every switch has to decrypt it, read the destination, and encrypt it again for the next link. That means the data sits in clear text inside every switch on the path, even if only for a moment. Compromise one of those switches and on that box MACsec protects nothing. Set up a port mirror and it hands you the clear traffic. Pull the keys off the box and you decrypt at your leisure. MACsec moves the risk off the cable and onto the devices. It does not erase it.</p><p>And that is the honest takeaway on both. Encryption here does not remove the need to trust the equipment, it just moves the trust onto fewer boxes. Those switches and gateways become critical assets that have to be hardened, locked down, watched for sneaky port mirrors, and physically protected. A MACsec rollout on top of a soft switch is a good lock on a door with the key under the mat. Worth doing, but only if you also do the boring work around it.</p><h3>So What Do You Actually Do</h3><p>This is one option, and it is a reasonable one, but go in with both eyes open. MACsec suits the local segments, inside the control center and from the sensor to its first switch, where it handles multicast cleanly and runs fast. IPsec suits the long haul, the tunnel between a remote site and the center across infrastructure you cannot vouch for, because there the middle stays blind. Stack them and you get layers. The links are protected, the long routes are protected, and none of it changes a single byte of ASTERIX.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZUEU12e11uJcrvq4vInCQw.png" /></figure><p>But be clear about what this does and does not buy you. It shrinks the exposure, it does not remove it. Every place the traffic is decrypted is still a place an attacker can win. Take over a switch inside the MACsec segment and you read the clear feed right there, mirror it, or inject your own frames. Take over an IPsec endpoint and you are inside the tunnel, so your traffic gets encrypted and authenticated as if it were genuine. The encryption never protected the nodes, it only protected the wire between them. Compromise a node and the same capture, flood, and spoof attacks are back on the table. Layering raises the cost of the attack and cuts the number of useful targets. It does not make the picture tamper proof.</p><p>And none of this is cheap or easy to run. IPsec across a national surveillance network means a key management burden that does not end: certificates or pre shared keys at every site, rekeying, revocation, and the genuinely hard problem of doing all that for multicast. MACsec means every switch in the path has to support it and be configured for it, with its own key agreement to operate and monitor, and legacy gear often does not support it at all. On top of that sits the part nobody enjoys: hardening every box, locking down admin access, watching for an unauthorized port mirror or a quiet config change, and physically securing the rooms. Get the encryption right and skip the boring operational work, and you have spent a lot of effort to move the weak point a few meters, not to remove it. These are also certified, safety critical systems, so every change has to be tested and signed off, which is exactly why so many operators look at the effort and quietly stay with isolation.</p><h3>The Question Worth Sitting With</h3><p>We do not still run this data in the clear because nobody noticed. It is inertia, the real difficulty of securing multicast, the cost and risk of touching certified safety systems, and an old assumption that the network was closed.</p><p>That assumption is fading. Leaning on isolation alone is a choice, even when it happens by default instead of on purpose. The tools to add a second layer exist and they work, but they ask for real operational discipline and they still depend on trusting the nodes that decrypt. The question for anyone running one of these systems is simple. When the perimeter finally slips, and one day it will, is there anything underneath, or is the whole picture one bad port away from someone reading what they never should have seen?</p><p>Worth thinking about before the answer shows up on its own.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f5f589e05d27" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>