So with that, Feng Hsiao. Hi, everyone. Thanks for coming. I'm Feng Hsiao, a zero-year PhD student at the Pennsylvania State University. And there's supposed to be another speaker, but he can't come due to some visa problems. So I just put his picture here and my stand. So we can together to give the presentation to you all. Thank you. Alright, so today we are going to talk about the new attack. The attack is about, with this attack, a weak adversary is able to hack the brain of the software-defined networks, the SDNs. The SDN controller. Well, here is the difference between the legacy networks and the software-defined networks. The legacy network is always vendor-dependent. It means the network's devices always work independently with predefined functions, and we cannot change it anymore. But in SDN, the whole network is treated as two planes. The control plane, the upper layer, and the data plane. So, in SDN, the whole network is treated as two planes. The control plane, the upper layer, and the data plane. So, all network functions are now being placed into the brain of the network, the controller. And the host and switch, this forwarding device, are now placed into the data plane. Alright, so this is the difference between the two networks. So, and this new architecture now is widely deployed in production environments with growing communities. On the one hand, the open source organizations like Linux and Linux. Foundations are supporting a large number of SDN projects, like the Open Daylight, Floodlight, Honors. And companies like Huawei, Cisco, also release their commercial products and their applications. And on the other hand, the growing community accelerates the replacement of the network infrastructure. For example, the world-leading web scanner. But what you need to know is that there are a ton of potential Lewian NCCA providers such as Google, Microsoft, deploying SDN in their data centers. So this is how SDNs are used today. So, when some people are using it, weird people consider to hack it. And when attackers can successfully break into a software design network just like we connect to the WiFi here, if it is a software design network architecture. So, uh, he will probably target at the controller cause it is the brain of the network. In this talk, we concluded three categories of common attack objectives for attacks on the control planes. The denying of service, data leakage and network manipulations. And in these tables, some objectives have been achieved by previous researchers and some, some are not. And we discovered that these existing attacks, for example, just like the topology poison attacks, are all focused on the service logic of controller. Which means, um, these attacks, for example, the topology attack, attack, he will attack the topology discoverer service in the controller to report, face, to, to report force links and let, let the controller, let the controller make wrong decisions. Mm, so, uh, to discover these vulnerabilities, you should be a hacker and an SDN expert. You should know the details of the SDN protocol interactions, the relationship amongst its service logic. But I think most of us are not SDN expert. And we're even not so familiar with SDN. But it is widely used. So how? Um, first of all, how do you get to the main Um, so I'm consider if whether I can find a method to hack the software defined network without learning so much about SDN. And my attack should be powerful. In the best case, it, it, it should achieve all the object, attack objectives in this table. All of them. No matter it is an existing one or a new one. So, how do you hack the SDN like a hacker? Well, the controllers are software systems. And we both know that the software systems are inherently vulnerable. So, it is possible that the controller components contains our vulnerabilities. This is cool. Of course, we are hackers and we know how to find these code vulnerabilities, right? However, the data plane and the control plane are not the same. So, we have to find the code So, when we use the data plane, as I mentioned, they are decoupled. Which means they only communicate with each other with predefined protocol interactions. So, this architecture make us hard to exploit this code vulnerabilities from the data plane where we are always in. So, in this talk, we introduced the customer attack which breaks the border built by Uh, unlike previous attacks that focus on the attacking the controller service logic, custom attack can be used to attack all kinds of code vulnerabilities in the controller. So, how to do it? So, let's see how to conquer the difficulty built by the decoupled two planes. The SDM protocols provide some fields to let the switch and network device to custom themselves. Usually, the customer fields is subscribed by a specific control, specific controller components. Uh, for example, if a switch um a switch may send a special notification message to the control plane and this message will be first collect by a service. We can call it a collecting service maybe. And the service will send the message to the to his subscriber. Maybe a uh appIS network monitor component. So this is how the customer field works. So I'm sorry I'm my hands are a little bit tired so maybe Jianwei I will put you on the table. Alright. Let's move on. So there is a semantic gap built by the customer field. Since the customer field can be totally controlled by the control by the data plane by the hacker. So any improper treatment may break the security border of the decoupled control plane and the data plane. Let's revisit the notification example. The monitor component does know how to pass the notification message. However the collecting service who collected it first does not. So the collecting service may store the message in the data plane and the data plane does not know how to pass it. This might create an issue. So, without any security considerations, if a hacker inject a malicious cycle into the customer field, the database will be in danger. And this is the start of customer attack and this is only the start. Alright. And with the customer attack, we can exploit serious vulnerabilities in the SGN controller to bring several advanced objectives. For example, if the user is not using the SGN code, when the user tries to use the we can issue arbitrary SDN commands by calling the exposed network management API. Or we can read some confidential data via cycle injection or other things. And this is the threat model of the customer attack. First, the hackers don't have to directly access the network of the controller which is sometimes separated from the data plane, the network devices. And he can, he will not need to access any applications in the controllers. Also, the hacker don't need to hack into the encrypted protocol channels between the control planes and the data planes. What the hacker needs is to only to perform legitimate protocol interactions with the control plane. So a malicious host can be hacked into the control plane and the switch is enough. Just like we can use a mobile phone, you know. Um however, after attacking a vulnerable component handling the malicious customer failed, we can only introduce limited effect to the network. There are several reasons. First, every single component in the controller runs in separate context. For example, just like uh independent thread. So the failure of a single component can lead to a significant failure component will not affect the availability of others. And second, the critical components are usually specially protected. As a result, it is difficult to abuse these important ones if we cannot attack them directly. Attack them with these customer fields. So as a result, if we want to do something big, we need a more complex attack. Multi-stage exploitation to control more resources in the controller. This is the work flow. The lower part is the data plane where there are network hoses and switches. Normally, they cannot directly access the controller because the two networks are always separated. But they will always be able to interact with the controller. . So we need several stages. The first stage is the toe hole stage. This is where we attack the components with customer field. In this step, we will inject our craft payload into the customer field and send them to the control plane where legitimate protocol interactions. After the first exploit stations, we can now control a small number of, we can only control a small number of ASAT in the component. To harvest more control plane ASAT, we need a harvest stage. We will need to exploit more vulnerabilities in other components with previous controlled ASAT. For example, we can, we may able to launch HTTP request in the first stage. So in the second stage, we can leverage this ASAT to do more things. We may access the REST API to issue some commands. So after we controlling a large number of ASAT, we try to chain them together to achieve our attack, advanced attack code. And as you can see, instead of merely attacking the components that handling the customer fields, with this attack model, we can now able to exploit all kinds of vulnerabilities to hack more components. Okay. Now, it's time for us to hack something real. First, I will show you a video demo. In this demo, we attack an open source controller. It is a pop, maybe the most popular one, the honors. And we, the attack effect is we get a remote show from the controller. Okay. And, and the honors controller is on a remote machine, the 111. And, and our compromised switch is this machine, the 108. So, and this is the web component of the honors. We can see that there's no devices in the controller yet. Okay. And we can load our framework to attack the honors controllers and get assist and show from the controllers. Now, this is our device is connected. Well, as you can see, we successfully get the system show. Um, yes. So, this is exploit channel with multistage exploitation that works. So, how it actually works is we have a Let's, next I will give you more details about the DRC chain. As shown in the picture, our target is the get diagnostic function which read and execute a script from the file system. So to abuse this function we need to control two assets, to harvest two assets. The first is the script itself. To execute arbitrary commands we need to inject payloads into the script. However, controlling the script is not enough. We also need to access the REST API that calls the diagnostic function. As I have mentioned, important components are usually specially protected. So the REST API is protected by a basic authentication. We need an authentication token for this REST API. Let's check out what assets we can actually control in our first stage. Well, we found XSS in the web component as you can see. This vulnerability can be explored by a customer field. So now we can control the assets that expose to the XSS such as some network configurations. However, we cannot still directly attack our target function. So let's move on to the second stage, the harvest stage. So the first stage is to get the token. First let's try to handle the basic authentication issues. We found that the authentication token is store as plain text at a config file. So as long as we can control and read this file we can get the token. This means that we need to find a new vulnerability that can read some contents. After several days hard work we find our fourth zero-days anonymous. It is an XSE. It can be and it can be used to find other users. So let's talk about XSS. First, XSS is a user-friendly and it can be explored by a customer field that we control. As a result we can read the token to solve the auth problem. Now we can try to control the script aset with the fifth zero day we found in honors. It is a pass traversal bug in the unzip function. This function is to handle the zip files uploaded from the web component. Remember that in the first stage we discover XSS vulnerability in the web component. Now we can leverage this XSS to upload a craft zip file and then overwrite arbitrary files with any content we want. So finally we control the script. This is the complete attack graph for the exploit champ. We use five previously unknown vulnerabilities in three different stages to construct the remote command execution champ. I'm sorry. So how about the impact of the customer field? We analyzed five popular SDN controllers and there are 54 applications. In total we identified 18 vulnerabilities and construct 24 exploit champs. I hope you enjoyed this video. Thank you for watching. If you liked the video, consider subscribing to our channel and turn on your notification sit on notifications. Until the next video, have a great day! more than one attack effect. And we found that honors has the largest number of vulnerabilities. And I think this is because honors is very easy to use. We can install any components we want with a simple click. By contrast, hacking the open daylight is very difficult. To install or debug a component, we need to spend the whole afternoon. And so we can only find three bugs in the open daylight. So maybe making your project hard to use can be a great defense. Yes, that's what I found important findings in our research. Okay, that's all. Thanks for listening. Okay, I forgot him. Thank you.