DEF CON SG1 - CSIT Village - Daniel Siok - Balancing Security&Usability In AirGapped Implementations
Transcript
Machine-transcribed by YouTube. Expect errors in names, commands and version numbers.
everyone to see us IT Village here at Def Con. Yeah, it's a great honor to be here to see all you guys. This talk is about the air gap network and what it means to balance security and usability.
Okay, that at a high level air gap networks are using high security environments to protect critical systems and critical data. In this session we explore how these environments are designed and what it takes to make them work in practice. My name is Daniel. I'm a cyber security consultant here at the center for strategic infocom technologies and my specialization is in cross domain solutions which includes air gaps as well as control mechanisms and risk mitigation. I study comp science at the SIM UOW and in my free time I like to travel. This photo is of me in Japan where I ate a lot of snow because I kept falling down.
So first, what is an air gap network? At a high level an air gap is a physically isolated network. There's no internet and there's also no direct connection to less trusted systems. You can think of it as enforcing a strict boundary between two environments. On one side is a lower trust environment such as internet facing systems where an attacker can easily come in, compromise a weak service and achieve their objective. On the other high On the other side is the high side environment. This will be where sensitive systems and critical data reside. We This is the side that we want to protect and hence we call this the high side.
This kind of setup is typically used in high security environments such as military, government as well as critical infrastructure. What do you think these environments have that that it so important to secure. Does anyone know?
Okay, I'll give the answer. So, in these environments, right, the impact of compromise is severe. It can if a breach occurs, it can affect safety, it can affect operations, and it can even compromise national security, which is why exposure to external threats need to be minimized as much as possible, which becomes a key design principle. So, what does an air gap isolation design actually achieve? First of all, by removing the network path, you are also significantly reducing the attack surface. This means that attackers will have a much harder time trying to break into your network. We can look at attacker activity in three key aspects. The first one is on initial access. This is how your attacker gets his foot hold, and usually through like a port scan or IP address, yeah.
So, if there's no IP address for the attacker, right, it becomes a lot more difficult for him to even get a foothold on the network. And the second one is control. Once the attacker comes inside, how do they move laterally through the network? How do they send commands to their payloads? And how do they communicate back to the outside? And the third is the impact. What is the attacker trying to achieve on his objective? Usually, this would be a data breach where sensitive data is being exfiltrated. This is the case for most breaches nowadays. Air gaps are effective because they disrupt all three aspects of attacker activity.
There's no direct network entry point, so attackers have no way in to the network. Second, there is also no outbound connectivity. So, typical C2 channels, such as reverse shell, which rely on an outgoing connection, they won't even work. And third of all is for impact. Even if an attacker gets in and manages to perform operations and secure some data for exfiltration, there's no outbound path. So, the attacker is physically unable to exfiltrate his data from the network. So, we don't say it's more secure in a general sense. This is actually a deliberate design, and it's deliberate in removing the attacker's ability to enter, communicate, and exfiltrate over the network.
So, if you remove the network, you remove a large portion of the attack surface. However, data still needs to go through into the higher network for purposes like patches, security updates, as well as keeping our system generally usable for your end users. So, how is that done? To do this without breaking isolation, we can introduce a data diode. This is also known as a control mechanism. A data diode is a hardware device. Think of it as a one-way gate. Data can only flow in one direction through the diode. If you know electronics, you know that a diode is also a one-way gate. It only allows current to flow in one direction.
Okay, and this is enforced at the hardware level. So, this is not through software or firewall rules. This is a hardware device, very secure. And even if a system is compromised, there's no reverse data flow due to the diode. So, this channel cannot be used for C2 or to exfiltrate data.
Of course, with all these security controls in place, right? Surely there must be some constraints as well. If not, everybody would be using this. So, first of all, there is no real-time interaction. Users who submit their files through the diode have no indication of whether their files are successfully received at the high side. So, this will affect the user experience and may cause some frustration. Second, there is operational friction. Data transfers take longer to go through because they go through stage and control workflows. Cross-network processors requires additional coordination, more steps, more checks, and more handling. So, this will affect the speed of operations. And third is resource and management constraints. Resources such as compute, GPU for AI workloads maybe, uh cannot be easily shared across the boundary. So, each environment must be managed independently, which leads to inefficiencies. Means you need duplicate amounts of compute for each network.
So, the trade-off is that the same design that gives you strong isolation also reduces flexibility and usability.
So, how can we deal with these constraints? Surely, there must be a solution, right? In practice, we have control mechanisms used to enable necessary workflows. The goal is to preserve the security boundary while still supporting operational requirements. One example could be an outbound data diode to support the user feedback problem. If a user submits their file through the workflow, an outbound data diode will ensure that they receive a success indicator. And this way, the user turns uh is happy. Instead of allowing two-way communication, two independent one-way channels are used. And these flows are in intentionally kept separate and handled by different processors within the higher trust network. So, I say again, now, these are kept separate and handled by different processors within the higher-trust network.
This reduces the risk that any single component can be used to bypass the boundary. So, to address some of the operational constraints earlier, data flow across the boundary is carefully designed with defined controls and constrained pathways.
Oh, you wrong button.
Okay, by introducing new control mechanisms, we are also introducing more risk. Because data crosses a trust boundary, any weakness along the way can be exploited. So, where are the potential points of weakness? The first one is on the input, untrusted input. Users can submit anything to the data diode and it'll be accepted and enter the network. So, anything that comes from the lower-trust side has to be treated as untrusted. The input may contain hidden malicious content, or it may not even match the format it claims to be. The second is on data processing. Once the data enters the higher-trust network, usually it's part of a larger workflow and is handled by internal systems and processes. And every processing component becomes part of the attack surface.
If there's a poor separation between components, or if there's implicit trust between components, a compromise in one area can affect the others. And the third is on the return channel. So, even limited outbound data also carries risk. Outgoing data may unintentionally include sensitive information, or a compromised component could influence what gets sent back out. You'll see some of that in our airgap booth challenge along the way. Each of these risks needs to be addressed through proper controls.
What are some of the controls that we have? To maintain the security objectives of the network, controls must be applied across the entire workflow. The first one is structured data exchange. Data
that comes in has to be structured, means that it has in a known good format, strictly formatted, and validated before it's allowed to be transferred into the network. This helps ensure that only expected formats are allowed through and reduces the risk for malicious or malformed output. Second is service isolation. So, the reason for the inbound and outbound data diodes uh so that the services handling
the processing can be separated. Responsibilities should be separated, and inbound and outbound paths kept isolated. Therefore, no single component should connect to both ingress and egress paths. This reduces the risk that a compromised component can be used to breach the boundary. The third security control is restructured restricted data types for ingress and egress. Only essential data should be allowed to cross the boundary. In most cases, this is limited to simple yes or no or status indicators, and this helps reduce the risk of exposing unintended or sensitive info. And finally, we need monitoring and logging. All transfers and processing should be monitored and recorded. This provides visibility across the entire workflow, ensuring accountability, and support investigations if something should go wrong.
To wrap up, here are the key takeaways. First is that airgap networks achieve security through strict isolation by removing direct exposure to external networks. Second is that that level of security comes with operational trade-offs, especially around real-time interaction and resource sharing. Third is that to support business needs, we introduce controlled data exchange mechanisms, and these flows must be carefully designed. Finally, security is not just about isolation alone. It's about balancing security with operational effectiveness without weakening the security boundary. So, ultimately, our goal is to keep systems secure while enabling operations to continue safely. And that's the end of our talk for today. Thank you for your time and attention, and I hope you got something out of the session.
If you'd like to further explore air gap, we have a booth just behind you, where you can try out some interactive activities to find out how the system components interact. You can uncover potential weakness. You can even take on a challenge to try and break into an air gap network and actually trade data. Feel free to to drop by and give it a try. Thank you. >> Thank you very much, Daniel. Thank you for showing us that even isolation comes with





