What's up? I'm Jason Ostrom. Can you guys hear me back there? Cool. This is Bill Borski. Hello. We flew in yesterday from Dallas and unfortunately our third speaker, Carl Feinauer, couldn't make it today. So first of all, I want to thank all the friends and peers of myself and Bill for being here in the room. I really appreciate it. We appreciate it. This is a really, really special talk to us. We're really passionate about this stuff. Let me tell you, give you guys kind of an idea of what we're going to talk about here. Islands of VoIP is something I could talk about for two hours. It's something that really excites me. So what we're going to do is we're going to talk, we're going to, at a hacker conference, you would want to see like a live hacking demo. So we didn't bring that. But we have some surprise UC vendor research that's a major manufacturer that, we're going to take a look at some potential vulnerabilities. And that's a surprise. If you guys stick around a little bit, Bill's going to show some technical details on that. And I'm going to talk to you guys about something that's really important to me. And what I want this to be is an exploration of an idea. And I think it could change the way we communicate in the future. And I want you guys to be a part of that. And I'm going to give this away to the community because it's something that you guys could be involved in. So this is a community effort. And we're releasing two open source tools in addition to the vendor research and a configuration for something special. So let's go ahead and jump into this. First of all, a small little disclaimer here. This doesn't necessarily represent the opinion of our employer. And just because we stand up here doesn't make what we say exactly right. Always challenge what's being said. We're here to explore an idea. And the idea could be disruptive to the traditional business of incumbents, to the status quo. So we're here to explore an idea. And the idea could be disruptive to the status quo. So what is VIPER? VIPER stands for Voice Over IP Exploit Research. Two main missions we have. We do VoIP UC pen testing. And we have a security research lab that we look at vulnerabilities in VoIP and UC. Okay. So Islands of VoIP. What am I talking about here with Islands of VoIP? What I've done here is I've kind of shown an architecture drawing of this idea that I've created. And I've kind of shown an architecture drawing of this idea that I've kind of shown up with. Islands of VoIP has been something that a lot of people talk about. And what it means is I started doing this pen testing really with SIP like in 2008. And I've wanted to present this for like a long time. If you look at Enterprise A, what was going on in like the mid-2000s is lots of companies were using VoIP internally on their network and reaping a lot of business benefits from using VoIP. But they weren't actually using SIP trunks. They would have a VoIP gateway that would translate from IP to TDM. And they would have a VoIP gateway that would translate from IP to TDM. And they would use like a PRI trunk. And they were going through the carrier. So the idea Islands of VoIP, what this means is we have many different disconnected separate VoIP networks where enterprises and organizations are using VoIP, but they're not connected together. They're not reaping the major benefits of VoIP. And so they actually all end up going through the PSTN. And you end up paying costs going through the PSTN. So that was Enterprise A was the first one. And then what we're seeing more and more here in like the late 2000s is, you know, the companies doing SIP trunking. And so the predominant architecture for this that I see a lot, and we do a lot of these VoIP pen tests. We go into the internal enterprise of the customer. We'll either have, you know, Enterprise B and Enterprise C doing a private IP MPLS network connected to a large carrier doing SIP trunking. And what's so ironic is that these two enterprises are, they could be connecting directly to each other with VoIP, yet they have to go through the carrier and pay the carrier for the cost. What's ironic is that, you know, you don't do this with email in your HTTP traffic, right? You advertise yourself in DNS. Why should we be doing this with VoIP? It's something to kind of think about. Why do you have to go through a carrier to do your voice communications? Here's another representation of the Islands of VoIP idea. So one thing that people are talking about with connecting the Islands of VoIP is using Enum. And Enum is basically a, it's a special resource record where we map E.164 telephony numbers to a SIP URI. And so it solves the problem of interconnecting the Islands of VoIP because you can look up the number and you can go over two different SIP networks can connect to each other directly by dialing by number. So that fits when you're still thinking in the terms of dialing by number. One of the issues with Enum is it hasn't seen widespread adoption, and there's political and economic barriers to it. And so Enum is a great resource to this because the carriers, it requires the consensus of too many competing carriers on this. So we did an Enum experiment, and this is actually how this all started with Enum. What we did is we wanted to look at the privacy considerations for publishing ourselves into Enum, into the directory. So we took some numbers and started putting ourselves in, and we found we couldn't add ourselves into this. This is the E.164 org directory. So it kind of was just seeming like I wanted to do this experiment with a registrar in the UK called Nominet, and I wanted to basically create a tool that could do an Enum lookup on every single number in the UK and see if there were privacy considerations where I could actually connect to that endpoint SIP device just by having a range of telephone numbers. So that was kind of how this whole thing started with this Enum. So there's got to be a better way. And so there's got to be a better way of doing this. So there's got to be a better way of doing this. And so this is where that Enum hasn't proven itself to work because of these too many barriers. So the SIP peering using DNS-SRV. If you've read this abstract, everything that we're talking about here is in this abstract. We're just going to be filling in some details. So we dial by name and SIP address. We peer directly using SIP DNS-SRV routing. So this is how it works here. So this is how it works here. We can interconnect all the islands of VoIP directly using DNS. DNS is built for high availability and load balancing. It's already supported. It's a resilient protocol that's lasted for a very long time. So we can call via your SIP URI. Call via your SIP, your email address. So not calling by your number. And no more dialing by number. And it's easier to remember. And it matches your email address and your SIP URI. There's a large cost savings of direct SIP peering using this method and not having to pay your PSTN carrier. And then the PSTN will be increasingly diminished. So the special DNS SRV record is RFC 2782. RFC 3263 specifies this usage for SIP. And so SRV service location, it's already built for fault tolerance and load balancing. This is a sample record here. So we have service protocol. We call it a name, which is the DNS domain. And the service returns the priority, weight, port, and target. So what we can do here, here's a sample zone file record. When we have all 10 for the priority, then we match it up with the load balancing group. So then you add up the numbers 60, 20, 10, and 10. And so 60% of the traffic will go to big box. 20% to small box. So we have automatic. And it's just like MX records for mail transport. It's just like MX records for agents for matching. It works the exact same way. So why aren't more people doing this? We started thinking of this. Why are all these companies directly connecting to their carriers and not doing this method? So let's look at a sample architecture for this. So Jason is connected on example.com. And his SIP service with his enterprise is connected on the edge of his network. So he sends a SIP invite in the DNS SRV lookup for foo.com. So he wants to call Bill's organization. And then the record returns. So then he routes the traffic directly to Bill's organization. And the invite comes in via the AOR, the address of record for Bill's SIP user agent. Knows the IP address with his registered user agent and routes the call directly to him. So we have a fault-tolerant, high availability method of routing SIP traffic, bypassing the PSTN, which can be managed by each organization. Each, the important thing, it brings the power back to the organization, back to the enterprise, and not having to go through, rely on the carrier for this. Then the carrier, we can use the carrier more for the network transport. So then VoIP becomes another application on the network, just like email and HTTP. And this is the way it was meant to be, in my opinion. And so then we set up the, we answer the SIP invite, and then we have RTP media directly between the SIP servers. And that's how we started anchoring the media. So we started looking at this as a research goal. We want to measure the growth of SIP peering on the internet over a period of time. So the first idea is, Bill and I were out in, we were out in another country doing a VoIP pen test for four weeks. So we ran out of time to do everything we wanted to do. But we want to look at the DNS SRV plotted over time, how it increases. We wanted to look at the proliferation of enum records on the public internet. And then we wanted to do, scan the internet, and then we wanted to do, scan the internet, for the number of listening SIP services. So I'm releasing a new tool that I had the idea to do like a long time ago. I finally released it, and it's on the website right now on SourceForge. It's enumerator.sourceforge.net. What is enumerator? It's written in C. I'm the author. Carl, the other guy that's not here, helped out with it. And it can be used for R&D purposes like we did. It can also be used for VoIP pen testing in the recon phase. We wrote some special features that can look for organizations for the existence of SIP services. It's optimized for VoIP. The DNS SRV lookups can be for a single domain or for a text input list. It also supports MX record lookups because we wanted to compare SRV to MX and plot this over time and see how SRV was catching up with MX records for all top level domains. So that was a part of the experiment. And we support enum in enumerator. And that was one of the things that we were initially looking at. So what did I do here? What did we do with the research? We had to get special permission from network solutions and org to get all the top level domains for com, net, and org. And we wanted to find the number of SRV enabled. So we collected this data here, about 5 gig, 292 million domains. And so we had to do some benchmarking to figure this out. Once enumerator was coded, we basically split up. We decided to split this up into 11 different servers. And then we benchmarked this to basically split enumerator into 800 separate processes and to parse a single large log file into 800 chunks. And so each of the 800 enumerator processes would basically do its workload in parallel on the host. And so we benchmarked this at 140 domain queries per second was the fastest we could get this. And 4 SRV queries per domain. And I'm going to tell you what those queries are. It's those queries right there. This is the most standard way to host an SRV record. The last one is Microsoft specific for federation. So here's the results. 3.30% of domains on the public internet, com, net, and org, support SRV. So it was 8.7 million domains. And those are the states. That's what it looks like there. So enumerator in action. Let's take a look at just a couple of screenshots here because we... So we have a domain, the DNS SRV lookup for a single domain. And it returned the records there, the targets. And then when we can do the input domain list right there and the MX records as well. And here's what it looks like for the input list. So if you have a large file, it'll just start querying through. And that's what it looks like. And until it gets to the end at 100%, then it displays all its statistics. So here's what the enum support looks like. Minus E, minus R. You can look up a range of numbers. So we didn't get to the point where we were going to scan. We were looking at all the North American numbers or all the numbers in the UK. So here's a single number. So this is what the enum looks like. It looks up the number and it finds it of that CPURI right there. And then it's going to do a batch test at sip.nemox.net. So here's another view of doing a range of addresses. And it calculates some statistics at the end of its little enum scan. So I've already released this, like I said. And the tool, you can go into SRV.C. And these are the lines right here if you want to modify the code and add your own SRV lookups. And EnumArrayer can measure the usage of UC Federation services or SIP-enabled DNS on the public internet. So we're giving this away as a research tool. And as we do more, find more SRV record types, we can add this into EnumArrayer. So now we're taking a transition into UC Federation. Naturally, as our research, we were looking at public SIP DNS SRV peering. We started hearing about this term UC Federation. What is it? It basically allows business-to-business communication and collaboration the same way between organizations that you do it within your organization. So HD voice and video between different domains. Collaboration tools like whiteboarding, desktop, application sharing between companies. It's the next killer app with UC that everyone's talking about. You can go out and Google UC Federation. And this is what we started looking at. And this is the next thing we're going to talk about. It does promise many business benefits. And so we looked at two vendors initially. We looked at Cisco and Microsoft. I love Cisco. We have friends in the room here with Cisco. The Cisco solution uses the PSTN initially to do the Federation connection. And it builds like a hash of the two users. And then after that, they can use TCP IP. We wanted to focus more on, for a couple reasons, on the Microsoft. Because we like the way Microsoft does the UC Federation. So surprise, Microsoft is the surprise vendor that we ended up doing research on. And it looks like their solution is really taking off. So we're really interested in it. And what's going on here in the industry? If you look at this guy here, Matt Landis, he's published a public Federation directory. And so what they're doing, they want to create education and awareness around, with other Link users, with other Microsoft UC users, to let other people know who's doing Federation. So he published this directory. And we actually, with Carl and Bill and myself, we set up our own, like, Microsoft UC honeypot. We built our own installation of Microsoft Link, which is the solution we're going to talk about. And we published our, we got a root CA domain. We purchased a domain. And we published ourselves into this directory. We tried putting ourselves into this directory. But this guy wouldn't allow it. So he didn't publish us into the directory. Because we wanted to study and see, like, what would happen. Now, this is really interesting, because you can download his, it's a spreadsheet. And you can go download it. And you can see the top three countries are Canada, USA, and Norway. And with 9,700 domains. So, um, this directory is a second directory that we found. It's linkedirectory.com. It's a public directory. You can go look at that. We were able to add our test UC Federation deployment in this directory. They granted us into this. I think it had something to do with the certificate that we initially had. We went out and purchased a real certificate. And we advertised ourselves the right way. So we went back. We'd probably get into that other directory. But it is really interesting, because there's more and more awareness about this Federation. You can go out and look this up. And companies are trying to communicate to each other, using this peering, using DNS SRV. And it's opening up a lot of business opportunities. But it also introduces risk in the environment. Because you have the balance between security and usability. So I'm going to hand this over to Bill. He's going to talk a little bit about the specifics of the Microsoft solution. All right. This is a really high-level overview of how Lync architecture looks. You have edge servers. And that's how people connect through the public Internet. And behind that, you have the Lync front-end servers for internal users. The front-end servers really just negotiate authentication for the back-end. And you can... It still works the same way with DNS SRV lookups. So Gilgamesh can call... I didn't write these names. These are kind of ridiculous. Gilgamesh can call Mark Aurelius at his organization. And just like he said before, he just looks up the record and then the IP address for the other Lync... company using Lync comes up. And then they can talk. But what's different is there's a TLS tunnel between the two edge servers. And it's pretty secure. I mean, the way they set it up. If you want to add anything to that. Yeah, no, it's just... You have to go out. You have to buy a real certificate. If you spoof... When they negotiate a TLS handshake, if you have a certificate that doesn't match your domain, the connection gets rejected. We did a lot of research on this. We did a four-week-long security assessment for a customer that had this solution. So we were testing it in our lab. And we were actually testing it against the customer. So we found all this stuff about the way this works. And also, if you... You can talk about the whitelisting, but yeah. Two edge services. They have public IP addresses. And you can look them up with DNS SRV. So you can find any one of these companies using this. And so these ports are open on the Internet. So this is an exposure point. It introduces risk where in the future, you're hacking web servers and email servers. You can hack UC servers now on the public Internet. Right. So there are different types of federation. There's dynamic, which just uses SRV discovery. And that means anybody can connect to your infrastructure if they have a valid domain and a CA. They can connect and send your... They can enumerate users. They can send anybody messages, which can be obviously dangerous. The next level would be the blacklist, which you just put in there a blacklist of servers that you don't want to be able to contact your federation. And then the best way to do it is a whitelist that has a list that just has trusted partners that you want to federate with. We started working with the dynamic setup because it's the easiest to attack. And so, yeah, that's what this says here. So my coworker, Carl, he worked in C Sharp to develop this code to make a custom link client so we could send our own messages through. And he worked for a few weeks on this, and he used the official Microsoft documentation, but almost everything in the documentation was wrong or just... Yeah, everything from how they did NTLM authentication to everything. And he just used the logging engine on the link server and just kept sending messages and sending messages, and he finally got it working. And we started sending, and we looked, and it just sends HTML over a special SIP message packet, and that's how you do IAM. And we started looking into it, and it looked like we could get something done. Some people released something before we got a chance to get that deep into it, but the safe HTML issue that was... that Microsoft made a patch for just recently. We were getting right there, but we had to leave, and we didn't really get there. We didn't really get much done. But it was a long process getting this working. And here's... I'm not sure what this code is. This is actually how you send a message. It's a standard SIP message, except for you have to do TLS negotiation, and then you have to use... If you want to be an authenticated user, like we said before, you don't actually have to be authenticated on someone's domain to send people messages. But you have to negotiate TLS, and then you have to authenticate with NTLM, but a weird NTLM. And this is essentially how you build a message. It's just a string, and then you send it over. So... Sorry, I guess I... Yeah. So he made two tools. Out of working with this. And one is called Link Spoof, and the other is Federator. Link Spoof allows you to just act as a legitimate link client and send messages, but you can modify the messages, and you can modify the fields, which can be pretty handy in this field. And Federator acts as a federated link client, and you can connect to it, connect to someone's federated infrastructure, and do things like enumerate users or send high rates of messages to lock up link clients. So we'll show you... show you a couple of videos here of both these tools going. Okay, video one first. So this is the... This is the Federator tool. I'm gonna start it right now. Okay. Try to zoom in or something. All right, so I don't know if you guys can see this, but you enter your local domain. It has to be a real domain. And then the domain name of the link server. And... He's opening up a word list for... users. So this is a user enumeration attack. So on the Internet, you can use this tool with SRV discovery, and you can basically enumerate all the target users in Active Directory on a UC-hosted customer. All right, so open the file, and this is gonna send SIP invites. And the differential response from the invite packets will tell you if a user exists or not. And this can be kind of damaging because, as I said before, these are... It uses NTLM authentication, so these are likely domain accounts. So from... If you have Open Federation, someone can just enumerate a list of usernames. And if they use the other part of the link client, then they can... do a word list attack against the authenticators on those usernames that were discovered. Yeah, so that federator was for when dynamic SRV discovery is enabled. That federation type. And anyone can do this, an attacker. So there's a... While it's good for, like, discovery, it's not so good for security. Here's video two. This one is... This is federator again. This is just a different attack. Yeah. So he's doing an IM... He's basically doing a spoofed IM message. So you see that everything that's sent over is just in div boxes, and they have... You have the ability of controlling the style inside the div. So you can do things... You can still do things like CSS expressions and whatnot. So here's sending just a... Just an href. And so this could be kind of damaging if you... If you make a domain that looks similar to a trusted domain and send someone a link, click it. It's just a... Social vector, really. Yeah. So it's like a targeted VoIP spear phishing attack is what it is. When you have SRV dynamic enabled, you could federate to that. You do a malicious federation connection. You can put a fake link, and the link client on the customer end doesn't sanitize the HTML. So if you... So you could actually trick them into clicking on a link that could be like a spear phishing attack. Correct? All right. That's exactly it. Video three. This is the link spoof where he... Carl did basically a malicious link connection, and he... He basically reverse-engineered the NTLM in authentication. So this is the code. There's no real interface for this. And right now, he's doing a flooding attack by sending a high rate of SIP messages. And over here, you can see that the client is just locked up because by default... And we asked Microsoft about this, and they said that there are ways to sort of prevent this, but there's no real way to do it. You actually have to write code on the link server to make it rate limit the messages. But the UI of the link client is just completely hosed. It's completely crashed. You can't... You can't... You have to go to the process manager and kill the process because it's done for. So that's a real... That's a real vulnerability with a malicious link client. And what it is, is you have to be an authenticated user. So you're one... You have to have someone's credentials. You connect as that user. But that user can target all the other users and do a targeted DOS via the attack you just saw. That is a real vulnerability. And so Microsoft, you know, their response was, you... Well, you can create... You can create a filter on the server to rate limit the traffic. And that was... That was basically their response. Their response is, you can do security best practice. But by default, that is not enabled on the server. So every link deployment is vulnerable to that issue. Yeah, and it's also not just an option. You have to... You have to write your filter and install it on the link server. Okay. Let's get back to the slides. Thank you, Bill. So we got... We're about... We're doing good. So... So here's... Here's what we're looking at on the SRV discovery stuff that I told you about with that enumerator tool. We kind of looked at... What's really cool about... I really like this Microsoft link client. This is what it looks like. You have automatic configuration or you have manual configuration. This is the UI. With manual configuration, I can do this. I can put in my different SIP servers if I want a different one, my internal versus external. And then automatic uses DNS SRV. So basically, link is like hard-coded to look up certain SRV records, right? When you use your email client, normally, you have to, like, put in the actual, you know, pop or mail or whatever. But what's interesting is you can kind of take advantage of this from a DNS attack surface for any customer. And so the enumerator tool could actually look at all the domains that support the Microsoft version. So you can kind of take advantage of this of SRV discovery. See, like, SIP internal TLS and .domain.com. So I haven't added support yet for enumerator for this, but we could actually have a special project where we could scan all the domains just for Microsoft-enabled UC Federation. These are the two special records. And then this is another one that shows, for, like, the Office 65, the hosted version of Federation, which you can do with link. That's the, these are some of the records. So you could create, like, a Twitter account tool that scans for, like, these CNAME records that resolves to Microsoft's online service. This is, like, their online hosted UC Federation in the cloud for link. So we didn't touch this stuff, right? I mean, we're not gonna, we're not gonna do any type of research or attacks against Microsoft's public web service. But you know, you have that Office 65, that hosted UC solution. Well, these are the actual servers that they use for this for hosted customers, right? So people need to be, start thinking about this, because as UC Federation takes off, all these customers, you know, for a recon perspective, they have to be locked down because these domains are, like, wide open from, as far as finding certain domains to attack and companies to attack. So it's, it's always the, the balance between discovery versus privacy. While it's easier to, when you turn on this Federation, it's, it's easy to be discovered, but it's also easier to get attacked. Now let's look at UC Federation technically. You know, we do have the Cisco way of doing it, but from a Microsoft UC Federation perspective, what it means is, is SIP signaling and control plane, SIP, SIP for signaling, RTP for apps requiring real-time communication, and then DNS SRV for service discovery. So in the future, you could have new records that you create to use for new UC communications and applications. Microsoft appears to be the market leader in this UC Federation. They have a strong default security with SIP TLS and SRTP. They have a strong default to SIP TLS and SIP TLS And, and we, we have, we have a strong default to SIP TLS and SRTP. you can, you can use any modest of SIP TLS to control on the network. So we're doing a new a SIP TLS proxy tool, and we're able to peek into the messages. And so we're releasing this to the community. We're releasing this to the community. Objective one. Thank you. Objective one was decrypt the SIP TLS message flow and learn how it works. That's complete. That's up on the Enumerator SourceForge website. You can go to enumerator.sourceforge.net. Now we want to have a fuzzing engine, and it's what we're working on, where we can freeze the message, modify it using a UI, re-sign it, and send it to the server, and see what type of fun stuff we can get into. So here's a screenshot from the Python. But this is kind of what it looks like. That's the actual Python script right there, thread py. And message me if you'd like to know details on how it works. It's not too complicated at all. But what you have to do with your Microsoft Link client is, is you have to trick it into connecting to your proxy instead of the legitimate server. And how you do that is, you modify your Etsy host record on your Microsoft Windows, and whatever the automatic discovery is set to, the SIP server, you just change it to be your proxy server. And then save it, and it'll automatically connect to your proxy server. And that's what it looks like when it's gotten a 200 OK and authenticated. That's compressed data in the SIP message. So we need to figure out also how we can read some of that compressed data. So here's what the, I kind of explained how it works. The proxy decrypts the traffic. We can inspect the traffic and clear text. And then it negotiates a TLS handshake to the remote server, the legitimate server, and encapsulates that in TLS. It uses the Python TLS module. I had the idea to do this. I worked on the networking code. I got the initial connection working. Then I had to go to Paris to do this pen test for four weeks. And so there was another engineer in Viper that finished this. So we're going to give him a big thanks for finishing this code. But here's the first. It's basically a negotiate. And it's negotiating the compression of LZZ78K. It's the only value that can be used. And so we can play with actually turning off that negotiation or that compression algorithm so that we can actually see the SIP message once we get the 200 OK. So the Microsoft Edge server inspects the compression header, matches it, and then responds with 200 OK that it will support the compression. Then the third message out of the eight is the first register message sent by the link client. And so this is always a part of the application flow. So this is NTLandMan authentication in SIP. So if you're familiar with NTLandMan with HTTP, this is the same thing in SIP. You see the WW authenticate headers. It supports TLSDSK and NTLandMan. The TLSDSK is like a certificate that gets stored on the client. And it's actually really, really interesting. We encountered that on the SIP. It's on the pen test. And then that 401, so then the link client sends a second register with the authorization header in NTLandMan. So that is the authorization. I see it there. Somewhere there. Yeah, there it is. Authorization NTLandMan. Then the server responds with 401 unauthorized with actually the challenge with the GSAPI data. And you see it. You see it there in the W authenticate NTLandMan there and the data right there. So then the client, the link client, just uses that data to create the proxy authorization header with NTLandMan. And the data section there is actually a base64 encoded NTLM packet. Cool. So then we get the message number eight, the 200 OK. And there we go. We've seen the whole flow. It's pretty cool. We get the 200 OK at the top. You can see SIP 200 OK. Message from the read from the server and sending to a client. And then the rest of that is the compressed data. So we can play around with turning off the compression so that we can see the SIP message and then we can eventually start doing some fuzzing attacks. And this is a work in progress. This is the first phase. I'm excited to show this to you guys because I think that we're the first ones that are really looking into this and trying to give away this research to the community. So hopefully other people can pick this up. Everyone can start looking at this because it's pretty cool and exciting. I think this is going to change the way we communicate. Many thanks to Anil Mahali. So Anil is the Viper researcher that finished this code. And this is our goal of building education awareness and it's on enumerator.sourceforge.net. No, that is not an ad for OKCupid. That actually is a Viper Lab researcher. It's not eHarmony either. And speaking of thanks, I also wanted to thank Carl. Carl's an awesome dude. He couldn't make it here, like I said. He's a Windows developer. And he actually picked up Linux really fast as well. He reverse engineered the SIP messaging of Lync. He authored Lync Spoof and Federator. The guy is somewhat of a mystery. I can't tell you a lot about him other than he's a pretty smart guy. But we were able to capture a secret picture of him. And here he is. That actually looks like one of his shirts. So, perfect timing, man. Two minutes ahead of time. So, you take it over. All right. So, as many of you know, there's a panel discussion every year about how DEF CON groups can stay in touch. I think this would be a good way to do this using open source, UC Federation, using Asterisk and mobile phone applications. I was pretty surprised when I came here and saw these NinjaTel guys who pretty much did this, but just for DEF CON. What the benefit of it is, it's out of band. So, you control the endpoints. You control the media. And it goes over the internet. But, I mean, what doesn't go over the internet? So, it can be used for audio, video, and instant messaging. And you can save money by instead of using your cell phone minutes to call out-of-country numbers, it just goes over the internet instead. And all the software is open source. Asterisk is a little buggy sometimes, but it's free. So, this is kind of the architecture. It's similar to Lync, only you don't have the front-end and back-end servers. So, you would have a guy in America call the guy in Amsterdam. It would just look up SRV record and place the call. The media would be anchored between the servers. And you could have soft phones or hard phones or just soft phones on a cell phone. And it would just use your data plan. You can enable SIP TLS and SRTP for privacy. And then you have a whole kind of darknet group of voice communications that's outside of the realm of the PSTN. So, it could be pretty useful to people. So, Asterisk Federation works pretty much the same way as the Lync Federation. Again, it's not as complex, though. You just put in the config to enable SRV lookups. And when you're on your network, you call somebody on another network, you just use the SIP URI, like their name, at domain.com. And the server figures out the address, the address of the other server, and negotiates the call. There's no need for the PSTN. The SIP trunks do all the work. And that means no long-distance fees, no international calling fees. So, it's good. We have an open-source federation project. We have them running on Linodes so we can bring them up or down in an IP range of any country we want at any time. And we set up fake companies. We set up fake companies with websites. And they all have SIP servers tied to them, email servers and all. I'm not gonna tell you what they are because we don't want people attacking them. This is part of our research. And we can call one another using our cell phones. And it works very well. And I think it would be a good way for people here to stay in touch with one another. If you want to check out our configuration files, you can go to the same SourceForge website. You can go to the same SourceForge website. We showed you before for the enumerator tool. And we have some redacted copies of our federated asterisk configs. I'll take over here. Thanks, Bill. So, as Bill said, we wanted to basically look, we started taking our smartphones on iPhone and Android and we registered them using a SIP user agent on our phones, our smartphones, to our Linodes, to our UC Federation, our SIP servers. We did a bunch of benchmarking tests. And it was funny because everyone talks about IPQOS. We had really good quality of service on Wi-Fi or 3G, 4G, actually. We could do calls all the time. And we were using it to just communicate with each other. And anyone can do this right now. I mean, you can go out and do this right now. And this is what we're tying in here on this conclusion. Let's take a look at this. A lot of people, Asterisk is a popular vendor. It's an open source IP PBX. And that's the way it's advertised. But in reality, we kind of changed this when we started looking at our research. If you move the PBX on your Asterisk server from the internal network, which is what a lot of companies do because they use it for voicemail and get all the advantage of UC. If you take that Asterisk server and put a public IP address and move it on the edge of your network to move it outside your network, it can do something what's called RTP media anchoring. So, what it becomes is it becomes a B2B UA, a back-to-back user agent. So, all your SIP users are going to be able to access it. If you have a user agent registered to Asterisk, Asterisk will terminate the connection with the media and reinitiate to a remote peer, another Asterisk server. So it's what's called a poor man's SBC. It's a back-to-back user agent. So since we're vendor agnostic, Viper, we're only talking about open source solutions for this SBC. There are other solutions out there. But that's the way this works. And so Asterisk could function for your organization for $20 a month. You could use a line node and you could host your own VoIP for your organization, exactly like what we did. You can have all your desktop phones be SIP on your internal network, register to your SBC, and you can peer with other companies. You can also use your smartphone using DNS, SRV, to register to your SIP server and place calls to other people on their smartphones. Why aren't more people doing this? You can all use it with DNS. It's the way it was meant to be, right? So peer directly to your SBC. You don't have to pay your carrier. You don't connect to the PSTN. And now, another thing here, you can still connect to the PSTN while you do this, right? So for the people that you want to talk to, DNS, you use your email address, you peer to them. You still keep your SIP trunk connection, so you still connect to the PSTN. It's just whenever you want to dial by number, you go out your SIP trunk to the PSTN with your carrier. Whenever you want to communicate with everyone else. You use the DNS. So it doesn't have to go away. One more thing. This is pretty cool. Linode.com. We found these guys, gotcha. So create your own UC Federation and SIP DNS SRV peering service. We're giving this idea away to you guys. Go out and make some money. Go out and start playing around with Linode.com and Asterisk. Create your own new product or service. Create a hosted DNS SRV service in the UC cloud. See more and more people can do this UC cloud service and then there can be peering out on the internet here and all we have to really handle is this IPQS problem. So carriers, the existing telcos, I mean I have a network engineering background. The telcos, you know, I mean there's a lot of incumbents, there's a lot of companies that will be threatened by the status quo with this business model. But you know, I believe everyone can adapt to this. It's just that you'll be buying IPQS. The carriers in the future, mobile carriers or wired networks, will become, will start selling IPQS networks. So they'll start selling IPQS for Federation, for SIP DNS to make sure that there's acceptable quality of service for video and VoIP and any data collaboration tools. And if you look at this, if you really look at this with the mobile carriers and the smart phones, that's where this is really interesting too. Because with my smart phone. You know, we started calling all the carriers and we kind of researched this a little bit. Everyone in the US, it appears that you can't buy a data only plan on a smart phone. On a tablet you can, but not on your smart phone. Why is this? I was talking to some people and some insiders and I almost got the answer on this. I'm really curious. I mean, to me it's like some kind of regulatory issue. It's an issue that's hidden that we don't know about. But you know. If I have to pay for voice, I mean, that's why no one really wants to, there's no driver or incentive to go out and get VoIP on my smart phone unless I'm traveling internationally and use Skype. There's no incentive because I'm already paying for voice in the US. If I already have to pay my carrier for voice minutes in the US, why am I going to even be compelled to like set up a SIP user agent, you know, counter path on my smart phone? There's less incentive unless they start unlocking this so we can buy data only plans on our phone. Then we can use VoIP as an app like we use everything else and then we can have presence. I see two killer apps right now for this. I see voice with DNS SRV and I see presence on smart phones. Video is probably, you're probably not going to use video as much on your smart phone. Data collaboration is not going to work as well on tablets like on the iPad. Data collaboration is really cool, right? But just voice and presence would be really cool between organizations for free hosted by your organization. Take the power back into your organization. That's the way I think this stuff is meant to be. So we're giving away these ideas. Again, IPQS for real time communications on GSM, on cell networks. That's where you're going to run into problems and, you know, the carriers, they dominate the network so they can, if they figure out you're running VoIP, I'm not sure how that works. I'm not an expert in that area. But there's been rumblings of this. There was an article just a few weeks ago, AT&T hints of data only wireless plans on smart phones. So this stuff is about to happen. I mean, there's a lot of disruptive things that are about to happen in this area and we live in a very exciting time. No matter what, even if I'm not right, like this stuff is about to happen. It is very interesting and this stuff is really, really changing right now. I don't know if you guys have heard of this, Project Fishbowl. This is freaking cool stuff. All the stuff we're talking about, the NSA did a secure mobility package and basically is what we're talking about within one company using security. So they had two layers of security. There's IPsec, IPsec Android built into the SIP user agent on smart phones. And then there's SIP TLS SRTP. So they created, they're creating a whole architecture recommendation. But how can we do this with security between companies is what, combine this with between companies and this is exactly what Bill mentioned, the NinjaTel phone that he got, they have their own cell tower and they're kind of doing that security within the organization with their own cell tower. Last thing, last point here, WebRTC could be completely disrupted to this. HTML5 and JavaScript natively and web browsers. Take a look at WebRTC. This stuff could disrupt all of the SIP stuff. And then last, I don't know if you guys have heard of Metcalfe's Law, but that's what I'm really talking to you guys about today. Metcalfe's Law says the more people using a telecom network, the more valuable it becomes. Since everyone's using the PSTN, it gives a lot of power over VoIP. If you started using VoIP, you're going to get a lot of power over VoIP. The more it becomes, more people on it with DNS SRV becomes more valuable to everyone. And that's the end of our talk. And I thank you for coming. You can reach out to Bill and I, Carl as well. A copy of this presentation is on the SourceForge site.