So we'll begin the presentation with a quick recap of what Evil Twin is and then the rest of the session is organized as follows. We'll look at some of the fundamentals of multipod and then look into the technical details that are related to the operation of multipod. Specifically, we will kind of see what are the technical details involved in the operation of a multipod and why multipod can evade the present day defenses. Then we'll move on to two specific threat scenarios that are caused by multipod and finally, we'll have a demonstration of multipod threat. So let us have a quick recap of Evil Twin. So in case of Evil Twin, basically an attacker sets up an AP that looks similar to a legitimate AP and tries to lure an authorized client to connect to such an AP. So once the connection happens, the attacker can perform man-in-the-middle attacks and retrieve sensitive information from the client. And as many of us may know, there are various tools that are commonly available online. For example, the internet to perform such an attack and example tools include Karma, Delegate D, Hotspotter and so on. So this threat is more rampant in hotspots and it can also be present in enterprise and academic environments. So looking at the picture, what we have is a legitimate AP with XYZ as SSID. And we have another AP which is represented in the red color and this is an Evil Twin of that AP with the same SSID. Now, the Wi-Fi client which is supposed to connect to the legitimate AP is actually connecting to the Evil Twin AP and through this, the attacker can basically launch man-in-the-middle attacks on this particular client. So having seen what an Evil Twin is, let us look at what are some of the prevalent countermeasures against Evil Twin. So Level 1 defense. So what we are looking at here is see if we can avoid a client to actually connect to the Evil Twin. So this is a wonderful idea because it eliminates the problem completely. However, let us see to what extent this can be practical. So we give three examples of how this can potentially be achieved and see what are the limitations of those. The first one is what is known as a watchful user in which case the user is so knowledgeable and observant that they will never connect to a Evil Twin AP. As most of us know here, there is no such thing as a watchful user and obviously this does not work. So another potential approach is to use some kind of mutual authentication between the client and the AP. To make sure that the client is actually connecting to a G9 AP. However, the problem here is this will work only in certain scenarios such as enterprise networks or academic networks where it is known a priori what are the list of APs that are authorized. If you consider the hotspot scenario implementing such a policy, such a mutual authentication may be impractical or close to impossible. Similarly, the third option which is to have a pre-programmed list of legitimate APs MAC addresses will also not work in hotspot environments because it is hard to know what is the universal set of MAC addresses that correspond to a hotspot vendor, for example T-Mobile. And hence, this approach, though a very good idea, is not foolproof and not always practical. One more interesting thing to note in this approach is that it requires some kind of a client-side software to basically ensure that the client is not connecting to Evil Twin APs. And as we all can expect, the users can manually turn off that software and go ahead and connect with the Evil Twin. So this necessitates a level 2 defense. And the level 2 defense we are looking at is what is known as a virtual defense. This is a wireless intrusion prevention system. And a wireless intrusion prevention system consists of a set of sensors which scan the wireless medium or ear and determine whether certain communication is authorized or not. So once it determines that certain communication is unauthorized, it can take some preventive measures to make sure that such a communication does not happen. One of the popular techniques used to prevent such unauthorized communication is what is known as over-the-air session containment. So in this case, the sensors transmit certain packets on the wireless medium to disrupt unauthorized communication. And a popular technique used for this is known as deauthentication technique, wherein the sensor launches a deauthentication attack to break the communication between the unauthorized client and the AP. So for example, in this case, once the sensor detects that a client is connecting to Evil Twin AP, it will launch deauthentication attack to disrupt the communication. And the good news is that such a communication can be easily disrupted using this technique. So having seen what is Evil Twin and what is a good countermeasure against it, let us look at multipod. Multipod is simply multiple APs acting as Evil Twin. So one can notice that this is a simple extension of Evil Twin. However, as we all know, simple things can also be dangerous. And that is what multipod is. And in case of multipods, we have multiple APs with identical SSID and they feed data into a common endpoint. An example of such a common endpoint may be an attacker. An attacker's laptop. And the attacker can use such an AP, such a multipod, to launch man-in-the-middle attacks against authorized clients. So one of the key things to note in case of multipod is that the previously discussed deauthentication technique does not work against this. The reason being, once the session containment starts on one of the APs to which the client is associated, the client simply hops to another AP and still continues its communication. So that is the reason why multipod is a serious threat. So looking at the picture, we have an authorized Wi-Fi client that is supposed to connect to a legitimate AP. But it is actually connecting to a multipod which are indicated by two APs represented by red color. And the client is still able to communicate even in presence of session containment of a wireless intrusion prevention system. So this slide is a graphic representation or illustration of what happens in presence of a multipod and the authorized client connecting into it. So as we see, there is an authorized client which is connecting to a multipod which consists of three APs. So it is currently connected to one of the APs in the multipod. However, let us see what happens when a wireless intrusion prevention system launches deauthentication-based session containment on this particular session. As we are seeing, the connection between the client and the first AP in the multipod got disrupted. However, the client immediately hops to the second AP and is still able to communicate with the attacker. So this process continues and the end effect is that the client communicates without any major disruption even in presence of session containment of a wireless intrusion prevention system. So having looked at the fundamentals of multipod, let us do a threat analysis of multipod and see some of the technical details behind this. So one of the things to note is that a VIPS sensor has certain finite delay associated in detecting a new association and launching the deauthentication attack. So there are couple of reasons for this. One is that the sensor needs to operate on several channels to detect any unauthorized communication. As we all know, there are maximum 14 channels in the .11g band and similarly there are about 25 channels in the .11a band. Further, to complicate the matters, there are certain proprietary modes such as the atheros turbo mode on which the sensors need to scan to comprehensively determine any unauthorized communication in the environment. So as a result, the sensor has to spend its time on several channels. And the reason for that being most of the sensors that are out there today are built using commodity hardware and such hardware is not capable of transmitting and receiving on several channels simultaneously. So as a result, the sensor needs to dwell on each channel for some time and then scan the various channels in some order. For example, it can do that in a round-robin order. So there is always a finite delay associated in determining a new association and taking some counter measures against that. And our observations indicate that the delay can be of the order of a second and even up to 10 seconds in some systems. So having looked at the sensor behavior, let us look at the behavior of a client. So let us have a quick 101 of what happens when a .11 client receives a deauthentication packet. So after receiving a .11 deauthentication packet, a client basically enters what is known as the MAC level reconnection state. So in this state, it enters a probe phase, an authentication phase, and an association phase before it can actually transmit the data. So looking at the picture, which explains this in a slightly more detailed way, after receiving a deauthentication packet, the client enters a probe phase wherein it visits various channels and tries to compile a list of APs that are available. And it uses some logic to determine which AP it needs to connect to, and once it does determine the AP, it will actually enter the authentication phase wherein it will go ahead and authenticate with the AP. And finally, it binds with that AP through the association phase, and then it is ready for further activities such as the data transfer or a higher level authentication, which is the case in scenarios such as .11i or RSN security networks. So the important point to note here is that the MAC connection handshake logic or scheme is not specified in the .11 standard. So as a result, various vendors implement this logic in their own ways, and what we have seen is there is a certain heterogeneity in the way they implement this. What I mean is that some of the clients are really aggressive in reconnecting to an AP, whereas some of the clients are not. And the next slide is basically presenting some experimental results on what is known as the re-association latency of a client. So we define the re-association latency as the time required for a client to complete its association after it receives a deauthentication packet. So what we are looking at in this particular picture is that we have plotted the re-association latencies. Of four cards, three of them are different models of the popular Centrino client, and one of them is the Cisco 350 client card. And we have used a D-Link AP for these measurements, and what we have done is written our packet injection tool to launch deauthentication packets and come up with some homegrown scripts to basically do a trace analysis on the timing of re-association. So looking at the graph 1, which represents Centrino 2200 model, we can clearly see that the client re-associates with an AP in less than 100 milliseconds. Although we see some numbers which indicate that it is taking up to 400 milliseconds sometimes, but more often than not, it is re-associating within 100 milliseconds. And the same observation holds true for Centrino 2915 and D-Link AP. And the more recent 3945 model as well. Similarly, a Cisco 350 series card also re-associates with an AP in the order of 300 to 500 milliseconds. So what this means is that the clients such as Centrino and Cisco 350 are really aggressive in connecting to an AP. And we have frequently observed that Centrino client can reconnect to an AP within 30 milliseconds. And that is real quick. So summarizing the threat analysis we have done so far, a VIP sensor has certain finite delay associated with it in determining a new connection and that is of the order of seconds. However, certain fast clients such as Centrino and Cisco 350 reconnect with an AP and this is of the order of milliseconds. So obviously what we are looking at in the case of multipod is a scenario wherein the VIP sensor gets trapped into a cat and mouse game with the client. And given the above timing disparities, it is always the client which is going to win this cat and mouse game. As a result, in case of multipod, the client's wireless application continues to work with minimal disruption even in presence of a deauthentication-based session containment. So having looked at the reason for the behavior of multipod, let us see how prevalent countermeasures perform against it and why they do so. So as noted earlier, deauthentication-based session containment is not effective for multipods due to the fact that the client hops to multiple APs. And similarly, as we have noted in the case of Evil Twin, client-side software is also not enough because the user can simply turn it off and then circumvent the solution. Another popular approach which is used for containing unauthorized wireless communication is what is known as wired-side port blocking. In which case, the intrusion prevention system identifies the port associated with unauthorized wireless communication and then simply turns it off from the wired side. However, it should be noted that this also will not work against a multipod. The reason being, multipod will not have a controllable switch port associated with that. This is because multipod involves an authorized client connecting to an external AP and will not have any controllable switch port related to that external AP. Continuing on our countermeasure analysis, one might argue that starting session containment on multiple channels concurrently may be a good solution for this. However, our answer is no. The reason being, a WIP sensor will have to send deauthentication packets at a certain frequency for reliably blocking the communication of multipod. However, as we have just now seen, certain clients reconnect with their APs very quickly and that is of the order of 30 milliseconds in many cases. And the sensor will not be able to block the communication on more than two channels concurrently. So this is also not a good solution. And similarly, using multiple sensors, say N sensors for blocking multipod, is also not a good idea. For one, it is not scalable. And the second reason being, it is relatively easy for an attacker to set up N plus 1 AP in the multipod and beat the countermeasure. So what we are presenting now are some packet traces based on our experiments. These packet traces validate our understanding of a multipod. So this particular packet trace was collected with a multipod with two APs. One AP on channel 6 and another AP on channel 11. And the client used was a Centrino client. And we collected the packet trace using Wireshark utility which is freely available over the internet. Looking at the red arrow at the top right corner, what we can see is that on the channel 6, the sensor is launching deauthentication packets. And this has prompted the client to move to the AP on channel 11. And it continues its communication on that channel. Although that is not shown in this particular trace, by observing the ping packets of the client, we are able to verify that the client indeed is continuing to communicate. After a certain point of time, which is about slightly more than 2 seconds, the WIP sensor detects that the client has actually changed the association and moves on to channel 11 to launch the deauthentication attack. That prompts the client to actually come on channel 6. And at this point, we are clearly seeing that the ping traffic of the client is continuing. The same procedure can be observed in the bottom red arrow indicated in the slide. And here we are seeing that the deauthentication packets are again seen on channel 6, which means that the sensor has started launching the deauthentication attack on this channel, which has again prompted the client to move to the channel 11 and continue its traffic. So this slide shows similar data but with HTTP traffic. So what we are seeing here is that the client is able to continue on its web transfer even in presence of a session containment. So this particular trace confirms our understanding that on launching a deauthentication attack, the client in a multiport scenario hops to multiple IPs. Basically what we are showing here is that a ethereal or a wireshark trace with the appropriate filters applied to show only the association response packets. And we can clearly see that the client is continually associating with the IPs in the multiport one after another. So having seen the reason for multiport behavior, let us look at two major threat scenarios in which multiport can cause a security issue. So scenario one is what is known as the naturally occurring habitat wherein which can potentially occur in an enterprise or academic institutions. In this case what we are referring to is the presence of multiple IPs with identical SSIDs around the enterprise or an academic institution. So one important thing to note is that most of the organizations have some policies against their authorized Wi-Fi clients communicating to external IPs or it may be a metro or municipal IP for that matter. The reason is obvious, nobody will want their users to communicate with their neighboring IPs. So what we are saying here is that in the presence of multiport, such policies may not be implemented by the present day WIPs. So as a result, there can be non-policy compliant communication in such enterprises in presence of multiport. The second threat scenario which we have already referred to is what is known as the handcrafted or a malicious variant of multiport in which case the attacker can deliberately set up a multiport close to a hotspot AP and lure the clients into connecting to such a multiport. And consequently, the attacker may be able to launch man-in-the-middle attacks on the client and retrieve any sensitive information such as passports or credit cards from such an AP. And again as we have discussed earlier, the present day intuition prevention systems will not be able to basically stop this attack. So let us look at the related work of some of the researchers in this area. So in the past there have been some conjectures that the wireless intrusion prevention of say a WIPs can be evaded in future. Like one specific work in this direction is from Josh Wright who basically created a paper stating that wireless intrusion prevention techniques in a WIPs are good but they can have two problems. One is that they can be fingerprinted and the second is that there can be some evasive techniques against that. However, he has not mentioned any specific evasive techniques and we believe that this is a first evasive technique which we are presenting currently. And similarly, there is some work from DARPA and Department of Homeland Security and the project is called MAP which is an acronym for Measure, Analyze and Protect. And this is also aimed at creating defenses against future attacks. And even in this case they have not referred to any specific new attacks against WIPs and we believe that this is one of the new attacks. So having understood some of the details of multipot, what we want to do is we want to show a live demonstration of the multipot. I have my colleague Sohail here and I would like to acknowledge his help and one more colleague Amit's help in this demo. And what we are going to show is that the multipot, a client can communicate even in presence of a WIP sensor while it is connecting to a multipot. So let me give you a brief explanation on the setup of the demo. So as you can see on the picture, we have an authorized Wi-Fi client. We are using Centrino for this purpose. And we have two APs constituting a multipot. So one of the APs is on channel 3 and another AP is on channel 10. And they have some SSID and the client will be communicating with this multipot APs. And what we will notice is that the deauthentication attack launched by a laptop which is acting as a sensor in this case, will not be able to stop such communication. Yes, so what will be seen in the demo is that the Centrino client will swiftly hop between APs in the multipot in response to the deauthentication session containment. And as a result, the ping traffic which we are using as an illustration will continue to happen even in presence of the session containment. Yeah. Why is the deauthentication supposed to be a phrase of the client? It is both ways basically. That is what is leading the client to hop. Right. So what we are saying is if you have one AP, this is going to work. If you have one AP, this is going to work. But if you have multiple APs, it will go and jump and hop onto the other channel. And the communication continues there. Right. See, the problem is, as I mentioned earlier, say if the VIP sensor sends deauthentication or dissociate frames on one of the channels, it will hop onto the other channel. Right? So now, if I understand you right, you are suggesting that you send it on all the channels. You don't have to dissociate. Why do you have to dissociate? If you have one AP, this is going to get so rough. So you have to dissociate the AP from one of the channels. Right. So what I, if you notice, one of the things I also mentioned is that when you send dissociate frames even after it has hopped, there is a limit on the number of channels on which you can do it concurrently. As I explained earlier, a sensor will typically not be able to contain a client on more than two channels. So suppose, I mean, the approach you are saying will work with two channels. But if you have a third channel, the sensor will not be able to contain that. That is why what we are saying is the deauthentication-based approach has a fundamental limitation in handling such multipots. Right, but is the time difference not going to be that much? No, the time difference is... Right. No, but what I am saying is basically there is a limit to which you can do it that way because of the fact that deauthentication packets will let the client hop. That is where the problem is. So you cannot solve it in a generic way. It can be a patch solution to that, but our argument is that there is a fundamental problem in the fact that deauthentication leads a client to hop and that is not a good thing. So now let us look at the demo. So what we can see in the demo is that we are having a Sentinel client which is pinging one of the APs, which is pinging a laptop which is connected at the back end of both the APs in the multipot. So what we are seeing is that the ping communication is actually continuing even in presence of a deauthentication attack. And what we can see in the background is a software called Wi-Fi Hopper which basically gives us, which represents what AP is a client connected to. So if you can notice, the yellow bar is the AP to which the client is currently connected and as we can clearly see that is blinking which means that the client is actually getting disconnected temporarily and then it is again reconnecting to the next AP in the multipot. And what we can also see is that the ping communication is happening with very minimal disruption. So this ping we have used as just a representative traffic. However, the important point to note is that in presence of multipot, the communication, any communication continues and this is definitely a serious threat for today's Wi-Fi enterprises. So to conclude the talk, what we have showed is that the multipot threat will basically create more complications to the already prevalent evil twin threat and the present day countermeasures are completely ineffective against that. Especially the deauthentication based session containment used in most of the WIPs today. They are not sufficient to prevent this threat and hence there needs to be some effort and investigation in this direction to prevent this threat from creating more security issues. So this concludes my talk and if you have any questions I will be happy to answer it now or I can, I will be available in the Q&A room and I will be available till tomorrow. So thanks a lot for your time and if you have any questions I can take that up. . The SSID is Vegas and there are two APs with, there are two Cisco APs and they have different BSSIDs. . So I'm sorry we could not enlarge it further. . Yes, the fact that the yellow bar is blinking shows that the client is hopping between two APs and the ping communication still continues. . . Right, thanks a lot. . .