WEBVTT

00:00.600 --> 00:01.540
Hey, what's up?

00:01.540 --> 00:02.460
I'm Jason.

00:02.580 --> 00:03.920
It's great to be here.

00:03.920 --> 00:06.900
I'm super passionate about Voice over IP security.

00:06.960 --> 00:07.980
This is Arjun.

00:10.860 --> 00:13.300
I'm going to tell you... I'm going to start off with a quick little story.

00:13.300 --> 00:15.820
And it's the reason why I like Las Vegas so much.

00:16.300 --> 00:18.260
We were here last month.

00:18.260 --> 00:22.080
Viper spoke at SansPenTest Summit on Voice over IP pen testing.

00:22.380 --> 00:30.040
And only in Las Vegas do I get taken up onto the stage of Cirque du Soleil's Humanity.

00:31.780 --> 00:35.660
And little did I know that they were going to try and take off my pants.

00:36.540 --> 00:37.480
The girls.

00:37.480 --> 00:39.680
That's not a bad thing when girls want to take off your pants.

00:39.680 --> 00:42.940
But lucky for me, I wasn't wearing any underwear.

00:43.120 --> 00:44.760
So I kind of escaped that part.

00:44.760 --> 00:46.380
Lucky for the audience as well.

00:47.000 --> 00:49.100
So I was telling the Sans guy this story.

00:49.100 --> 00:51.540
And it was kind of funny because they nicknamed me Commando.

00:51.540 --> 00:56.540
And it was Paul Asadorian with Paul.com security.

00:56.540 --> 00:57.880
I hope he's in the room.

00:57.880 --> 01:00.340
But anyways, Paul.

01:00.340 --> 01:02.080
So he called me Commando.

01:02.080 --> 01:04.080
So I think that's going to be my new handle now.

01:04.080 --> 01:04.940
Commando.

01:14.570 --> 01:19.810
So Paul, wherever you are, I want you to know that I'm going Commando for this talk.

01:19.810 --> 01:21.450
In your honor.

01:22.610 --> 01:24.170
So let's get started here.

01:24.170 --> 01:26.210
We've got a lot of stuff to talk about.

01:26.210 --> 01:29.790
I'm going to go really fast at the beginning on the overview of UC.

01:29.790 --> 01:32.230
And then we've got three really cool demos to do.

01:32.230 --> 01:35.990
We're going to talk about an intro to some of this video stuff that we're talking about.

01:35.990 --> 01:40.950
And if you guys stick around to the end, the last ten minutes, we're going to have some awesome really cool pen testing stuff.

01:41.050 --> 01:44.230
Lessons learned and tricks that we learned here a few weeks ago.

01:48.340 --> 01:51.720
So VIPER stands for Voice over IP Exploit Research.

01:51.800 --> 01:57.240
And really all we are is we're a highly specialized pen test firm dedicated towards UC and Voice over IP.

01:57.360 --> 02:04.260
We do structural research on generic implementation of VOIP and finding vulnerabilities in VOIP protocols.

02:04.260 --> 02:08.180
But it's basically penetration testing and then our research around this.

02:08.860 --> 02:12.040
We built a real production enterprise network.

02:12.040 --> 02:14.060
It's basically Cisco of I and Microsoft.

02:14.160 --> 02:16.800
And what we do is we go in and we do the pen test with the customer.

02:16.880 --> 02:18.480
We learn more about the configuration.

02:18.480 --> 02:19.800
We recreate it in our lab.

02:19.800 --> 02:23.600
And then we're even more effective in our pen test and our research feeds into that.

02:24.340 --> 02:26.040
So obviously this is Arjun here.

02:26.040 --> 02:26.920
I'm Jason.

02:26.940 --> 02:28.440
We're VIPER team members.

02:29.100 --> 02:31.400
This is our lab actually in Dallas.

02:31.400 --> 02:34.020
And like I said, we have a Cisco network IPS.

02:34.020 --> 02:36.860
We do all types of VOIP exploits through the network IPS.

02:37.280 --> 02:42.840
We have like Cisco of I and Microsoft phones and video phones and so forth.

02:43.520 --> 02:45.260
So UC definitions.

02:45.780 --> 02:52.420
At first it was the first marketing buzzers was a converged convergence, which was voice and data over the same pipe.

02:52.460 --> 02:53.420
I added that.

02:53.420 --> 02:56.780
My definition of unified communication is just adding video into that.

02:56.780 --> 03:00.500
And we also have presence as well.

03:02.200 --> 03:04.220
So this is just a simple slide.

03:04.320 --> 03:05.800
Why do we do what we're doing here?

03:05.800 --> 03:08.880
We're publishing these free assessment tools for education and awareness.

03:08.880 --> 03:14.260
Because we believe that the only way to show people that VOIP attacks are for real is to actually demonstrate it to them.

03:14.260 --> 03:16.500
And the way you do that is you use security tools.

03:16.760 --> 03:21.940
We enable security professionals to test the network to show the customer the risk of VOIP.

03:22.060 --> 03:28.300
And we also enable VOIP owners, like people deploying VOIP, to test the network themselves so they can see the risks.

03:28.300 --> 03:33.800
Because they're really the ones that have to make the risk decision if their risk tolerance level will accept that risk.

03:35.260 --> 03:38.360
So let's look at some real-world business examples.

03:38.360 --> 03:40.200
And we're talking about IP video here.

03:41.300 --> 03:47.260
So private IP video calling between users, like the CEO calling the CFO.

03:48.140 --> 03:50.140
Telepresence or video conferencing.

03:50.460 --> 03:53.500
IP video surveillance, which we're going to take a close look at.

03:53.500 --> 03:55.820
Then there's these video streaming applications.

03:55.820 --> 03:59.620
And it's really interesting to study these.

04:00.280 --> 04:04.680
And we welcome you guys to come to us if you've seen stuff, because all this stuff is new in the market.

04:04.680 --> 04:06.940
And we're just now seeing this come out.

04:11.270 --> 04:13.830
Okay, so here's a business case.

04:13.830 --> 04:19.250
We're just taking a quick look at what is driving these video rollouts.

04:19.890 --> 04:24.510
So saving money, going green, not having to save on travel costs.

04:25.710 --> 04:31.190
Wachovia, as a result of their telepresence solution, cost cuts.

04:32.290 --> 04:45.150
And then IP video surveillance, we're kind of taking a look at these video analytics applications that you can do user-driven analysis, automated, on DSPs and coprocessors that are on the video surveillance cameras.

04:47.090 --> 04:56.890
Okay, on the IP video streaming applications, we have America's team, the Dallas Cowboys.

04:57.130 --> 05:00.090
Brand new stadium, awesome.

05:00.310 --> 05:04.390
And we've got a lot of stuff in the press about the Dallas Cowboys.

05:04.390 --> 05:06.190
They have an all IP video network.

05:06.190 --> 05:09.170
It's this new Cisco Stadium Vision technology.

05:09.390 --> 05:11.530
Cisco's partnered up with the Dallas Cowboys.

05:11.530 --> 05:18.750
And supposedly every single IP TV, the video boards and everything, all has an IP address.

05:18.750 --> 05:20.290
So what does that mean for us?

05:20.290 --> 05:21.710
A lot of fun.

05:22.930 --> 05:32.250
Now the Cisco Stadium Vision is like targeted revenue streams where they can customize the whole view of all the IP phones and all the IP TVs.

05:32.270 --> 05:38.710
They can customize that for whatever the event is, if it's like a Cowboys game or if it's like a concert and so forth.

05:40.510 --> 05:44.750
The two 60-yard long HDTV video boards are the largest in the world.

05:45.330 --> 05:48.510
$40 million, they're manufactured by Mitsubishi.

05:50.170 --> 05:52.730
Yankee Stadium is also doing this as well.

05:53.590 --> 05:54.990
Toronto Blue Jays.

05:57.010 --> 06:00.710
Okay, let's take a look at some example UC attacks.

06:05.000 --> 06:10.120
Now we're looking at is the video replay attack where we can replay...

06:10.120 --> 06:11.680
Thank you, Coop.

06:12.560 --> 06:13.680
Appreciate that.

06:13.680 --> 06:16.380
What's your blog website again?

06:16.920 --> 06:17.900
Heycoop.com?

06:17.900 --> 06:18.920
Check it out.

06:18.920 --> 06:19.720
Good guy.

06:20.340 --> 06:27.860
Video replay, we can do a video replay against an IP video surveillance system by placing a safe video stream and creating the blind camera.

06:28.740 --> 06:31.720
And then while the bad guys are sneaking in and doing the bad stuff.

06:31.720 --> 06:35.140
We can also... we've actually seen some people do this.

06:35.780 --> 06:41.020
We can record the CEO in the middle of like a conversation.

06:41.140 --> 06:48.080
We had one guy use UC sniff to do this and he showed his CEO that he had recorded the live conversation.

06:48.080 --> 06:49.480
But you can actually replay that.

06:49.480 --> 06:58.120
So imagine if like in the middle of an important conference call, there's like a previous conference call from two weeks ago and the CEO is like saying the same thing.

06:58.380 --> 06:59.640
A little strange.

07:04.080 --> 07:06.100
Okay, IP video hijack.

07:06.100 --> 07:08.880
We're calling this video interception, video denial of service.

07:08.880 --> 07:12.620
So we're intercepting the video and then we're replaying whatever we want.

07:12.620 --> 07:20.080
Whether it be replaying a previous like AVI or taking a random AVI clip and playing it against the target video session.

07:22.060 --> 07:25.320
And then we have the video eavesdropping example that we just talked about.

07:29.890 --> 07:30.850
Okay.

07:32.590 --> 07:35.390
I want to do like an overview of UC sniff.

07:35.390 --> 07:37.870
UC sniff is our next generation VoIP sniffer.

07:38.170 --> 07:43.330
And I want to walk through like what's the progression of UC sniff and what's happened with UC sniff.

07:43.430 --> 07:50.290
First of all, there's no other security software that can decode G722 audio codec automatically.

07:50.350 --> 07:58.810
If people try and use Wireshark and Ettercap when they're doing their VoIP sniffing in a pen test, you're limited because you can't actually reconstruct G722.

07:58.810 --> 08:07.450
This is the first security tool that does G722, which is the new codec that's showing up in all the new AVI and Cisco networks.

08:08.190 --> 08:22.090
Also, UC sniff, the very first, we released this right after TorCon, combines a man-in-the-middle art poisoning, automatic VLAN hop, and auto constructs forward and reverse into a single WAV file for both G711 and G722.

08:22.090 --> 08:23.730
All of this done automatically.

08:24.470 --> 08:27.750
Another thing is we have a target mode that we introduced.

08:27.750 --> 08:29.190
And we've done this in a pen test.

08:29.190 --> 08:32.250
We can actually intercept Cisco Unity voicemail passwords.

08:32.250 --> 08:34.130
We can steal voicemail passwords.

08:34.290 --> 08:37.850
And we do that by intercepting the skinny keypad button messages.

08:38.510 --> 08:45.170
So the design of UC sniff is a little different because we basically combine the signaling and the media together.

08:45.170 --> 08:50.850
We don't actually start eavesdropping on the RTP media until we've detected that a call has started via the signaling.

08:50.850 --> 08:55.030
So we use SCCP or SIP to detect that that's started.

08:55.030 --> 08:58.790
Then we close down the RTP dissector after we know that the call has ended.

08:58.970 --> 09:04.650
The result of this design is we can tell who is calling, not just random IP streams.

09:05.370 --> 09:15.870
We can actually, if you see the screenshot here, we can reconstruct who's tied into the corporate directory, like the CEO is calling someone else.

09:16.690 --> 09:20.650
And in security testing, the reason why we did this is time is money with pen testing.

09:20.650 --> 09:25.850
And I don't want to spend a lot of time trying to search through WAV files and so forth, trying to find what I'm looking for.

09:26.690 --> 09:39.290
So another new feature of UC sniff, the very first feature with 1.0, was we actually mimic the entire behavior of the phone, and this is the phone on the left, to download the corporate directory, and we load it into memory of the tool.

09:39.290 --> 09:46.170
So we're actually targeting corporate VoIP users based on their name or their directory entry in the corporate directory.

09:47.430 --> 09:52.790
Now, UC sniff 2.0, when we released this February, is the first ever IP video sniffer.

09:52.910 --> 09:55.350
So there's no other tool out there doing that right now.

09:55.390 --> 10:00.750
We decode the H.264 video codec, which Arjun is going to go into in detail.

10:01.470 --> 10:02.650
So we didn't stop there.

10:02.650 --> 10:04.330
We're going to keep on going on this.

10:04.490 --> 10:11.270
April 2009, we released another version that could eavesdrop on Microsoft OCS IM conversations.

10:11.270 --> 10:14.270
Because they use the SIP subscribe message.

10:14.310 --> 10:16.910
We have support now for Avaya SIP as well.

10:16.910 --> 10:19.130
We stress tested that in our lab.

10:19.250 --> 10:22.410
We've actually enhanced the ARP poisoning with Unicast ARP requests.

10:22.410 --> 10:23.910
We're going to talk about that in a second.

10:23.910 --> 10:26.770
And now we have support for G711 ALOG codec.

10:27.550 --> 10:31.070
So the gratuitous ARP thing is really, really, really cool stuff.

10:31.370 --> 10:42.810
We actually were researching and we found that like these nice 7985 video IP phones, that we couldn't actually ARP poison them unless we sat there with UCSIP for 10 minutes.

10:42.810 --> 10:46.050
So we designed like Unicast ARP requests, which actually speeds it up.

10:46.050 --> 10:48.010
Now we can do ARP poisoning like immediately.

10:48.070 --> 10:50.330
We just hit a button and they're ARP poisoned.

10:50.430 --> 10:52.610
We found the same thing with Avaya IP phones.

10:52.610 --> 10:54.210
They actually don't advertise a feature.

10:54.210 --> 10:58.970
But you cannot ARP poison Avaya phones at all unless you use Unicast ARP requests.

11:00.630 --> 11:07.130
But also we ran into a problem because the unified IP phones have a GARP disabled feature, which we're going to talk about here at the end.

11:07.130 --> 11:09.490
And that really kind of stymied us in a lot of things.

11:09.910 --> 11:12.750
So UCSIP 3.0, I'm going to get into this in a second.

11:13.470 --> 11:14.790
We have a GUI now.

11:14.790 --> 11:16.070
We have a Windows port.

11:16.070 --> 11:18.670
We have Windows VLAN support, thanks to Arjun.

11:18.790 --> 11:25.370
We're working on a real-time video monitor where you can actually like eavesdrop live and see like both ends of the reverse and forward video.

11:25.910 --> 11:29.450
We actually built Cisco UCM 7.0 and 7.1 support.

11:29.490 --> 11:33.790
That was not even like... it didn't work at all in the old versions of UCSIP.

11:33.790 --> 11:35.270
So we're going to release this in a second.

11:35.270 --> 11:37.470
All the new deployments are 7.0, 7.1.

11:37.470 --> 11:39.810
And then we have GARP disablement bypass.

11:40.650 --> 11:42.510
I'm going to run out of time here.

11:42.850 --> 11:46.710
GARP disabled is the feature that I was telling you about.

11:50.510 --> 11:59.230
Okay, so GARP disabled is basically preventing us from ARP poisoning the connection from the phone to the network.

11:59.230 --> 12:04.190
We can still do the network to the phone, but when this feature... and this is the default now in new deployments.

12:04.390 --> 12:09.550
So you're basically... unless the phones are on the same VLAN, we're going to get to a second how we defeated that.

12:09.810 --> 12:13.350
But basically, no successful ARP poisoning means no man-in-the-middle condition.

12:13.610 --> 12:19.790
And we can only get the downstream connection coming from a remote VLAN into the phone.

12:19.790 --> 12:26.530
But we can't get any of the... we can't reconstruct the entire media, especially for the phone going to the network in a default config.

12:28.650 --> 12:35.270
So basically, we devised a new feature, and what we did is we're going to beat the race condition on the phone.

12:35.370 --> 12:45.250
Because we can actually predict when GARP is disabled, what happens is the phone will send an ARP request as soon as the two RTP peers, right?

12:45.250 --> 12:52.130
So as soon as the phone... let's say that both phones are on the same VLAN, they're going to send an ARP request right before the RTP media starts.

12:52.130 --> 13:02.050
So we can actually... we've actually programmed UCSIF to look for a message called start media transmission, which is basically the server telling the phone who the remote RTP peer is, right?

13:02.050 --> 13:13.050
So when that happens, then we know we can actually construct our own spoofed Unicast ARP reply packet, and we can actually flood both phones, and so that's how we're winning the race condition.

13:13.050 --> 13:15.170
We actually ARP poison the phones that way.

13:15.950 --> 13:25.530
So this is the entire process here, and it's the new feature, it's dash dash GARP disablement bypass, and that's going to be released with UCSIF 3.0.

13:26.370 --> 13:33.590
So, but with this though, if both phones are on the same VLAN, we can definitely reconstruct the media, because we can use this feature to beat them.

13:33.590 --> 13:44.770
But the phones, they only send ARP requests when they boot up and talk to the server, so like when they're talking to remote peers, we can't defeat that right now.

13:44.770 --> 13:48.450
But that's another story, we actually can, but we're going to get into that later.

13:49.230 --> 13:55.010
So, like I just said, we can't, we can only get unidirectional if it's remote peers in another VLAN.

13:55.730 --> 13:57.750
Okay, ready Arjun?

14:00.530 --> 14:07.930
Hello guys, I'm going to talk about the UCSIF development, and show you a demonstration of IP video eavesdropping using UCSNF.

14:08.010 --> 14:12.030
So UCSNF GUI, we developed it using the juice libraries.

14:12.030 --> 14:17.010
So juice is a C++ class library for developing cross-platform applications.

14:17.030 --> 14:23.710
So it's really good for creating highly specialized user interfaces, and for handling graphics and sound.

14:24.070 --> 14:35.290
So it's really easy to create a GUI application using the juicer, because the juice libraries come with an application called juicer, and it also has some sample demo applications.

14:35.630 --> 14:40.110
So why we selected juice libraries for developing the GUI?

14:40.110 --> 14:49.190
We needed a cross-platform C or C++ application, so that UCSNF GUI looks the same way in Mac, Linux, and Windows.

14:49.190 --> 14:54.250
So we are working, we are currently working on porting UCSNF to Mac.

14:56.050 --> 14:58.110
So UCSNF Windows port.

14:58.110 --> 15:02.710
So we ported the UCSNF Linux code to Windows using the MinGW.

15:02.710 --> 15:06.010
So MinGW stands for Minimalist GNU for Windows.

15:06.010 --> 15:13.670
So basically it ports all the GNU GCC and the GNU binutils for development of native Windows applications.

15:14.270 --> 15:17.090
So creating a voice VLAN interface on Windows.

15:17.090 --> 15:28.370
So actually creating a voice VLAN interface on Linux is pretty easy and straightforward, but on Windows we have to follow the toughest procedures by developing two network drivers.

15:28.370 --> 15:35.450
So we have to develop an NDIS protocol driver and an intermediate driver using the Windows driver development kit.

15:35.450 --> 15:41.230
So we will be releasing these two drivers as a separate package along with UCSNF.

15:42.130 --> 15:43.870
So what is NDIS?

15:43.870 --> 15:47.850
So NDIS is a Windows network driver interface specification.

15:47.990 --> 15:57.410
So we use the NDIS protocol driver for querying and setting the .1Q tag on the Ethernet interface.

15:57.410 --> 16:05.610
So we can also use the NDIS protocol driver for sending and receiving raw Ethernet packets on Windows.

16:05.610 --> 16:11.050
It can be used like WebNet, but it's like more programming than using WebNet.

16:12.630 --> 16:14.690
So installing NDISProt.

16:14.690 --> 16:18.470
So we use the open source tool for installing NDISProt.

16:18.470 --> 16:20.030
So it's called Prot Install.

16:20.030 --> 16:23.830
You can see a screenshot of NDISProt getting installed.

16:25.550 --> 16:27.970
So starting the NDISProt service.

16:27.970 --> 16:30.610
So you just need to execute net start NDISProt.

16:30.610 --> 16:33.270
So the NDISProt is installed as a service.

16:33.270 --> 16:35.930
So just started from the Windows command prompt.

16:36.070 --> 16:42.170
So all the steps will be automated before we officially release UCSNF.

16:43.030 --> 16:44.890
So the IAM driver.

16:44.890 --> 16:47.490
So what does the IAM driver do actually?

16:47.490 --> 16:51.910
So it creates the actual virtual interface for both the wired and the wireless connection.

16:51.930 --> 16:55.030
So this virtual interface will be tagged with the voice VLAN ID.

16:55.030 --> 16:57.550
And the interface will be a part of the voice VLAN.

16:59.880 --> 17:02.080
So installing IAM driver.

17:02.080 --> 17:10.260
So we added the support for installing and uninstalling the IAM driver on the open source NDISProt tool.

17:10.880 --> 17:12.680
So here's the interesting thing.

17:12.680 --> 17:15.100
Decoding video support on UCSNF.

17:15.100 --> 17:19.760
So UCSNF decodes the H.264 content from the RTP payload format.

17:19.780 --> 17:29.400
So this decoder is compliant with the RFC 3984, which is the specification for the RTP payload format for H.264 video codec.

17:29.400 --> 17:36.720
So then UCSNF creates a raw H.264 file format using the decoded H.264 contents.

17:36.720 --> 17:41.900
But this video file is only playable using VLC and MPlayer and it does not have any audio.

17:41.900 --> 17:43.640
It's only a video only file.

17:43.740 --> 17:53.440
So if you have configured UCSNF with FFmpeg library support, UCSNF adds an AVI container to the video files that it creates.

17:53.440 --> 17:58.360
And it also muxes audio and video together using the FFmpeg libraries.

17:58.360 --> 18:06.840
So this AVI file can be played using any famous or well-known media players, including Windows Media Player.

18:07.420 --> 18:11.780
Here's a screenshot of the new UCSNF GUI, just an overview.

18:13.760 --> 18:16.300
Here's a very cool animation.

18:18.830 --> 18:22.310
So here's a cool animation that shows how UCSNF works.

18:22.310 --> 18:24.310
It's pretty simple and very basic.

18:24.350 --> 18:30.670
So all you need to do is unplug the phone from the Ethernet wall, plug in UCSNF.

18:31.350 --> 18:39.650
UCSNF uses CDP, it's a Cisco Discovery Protocol, for finding the VLAN ID and for creating a VLAN interface.

18:40.010 --> 18:43.810
Then it uses DHCP to get an IP address in the voice VLAN.

18:44.950 --> 18:47.850
Then it ARP scans and ARP poisons the voice VLAN.

18:49.110 --> 18:51.310
So at this point, UCSNF is a middleman.

18:51.330 --> 18:56.350
It receives all the traffic from the network and forwards it to the right destination clandestinely.

18:57.090 --> 19:04.810
So for any active call that comes through, UCSNF stores the media to a media file and then it forwards it to the right destination.

19:05.270 --> 19:07.610
This is how pretty much UCSNF works.

19:08.390 --> 19:13.210
So now I'm going to show you a demonstration of IP video use dropping using UCSNF.

19:13.210 --> 19:16.210
The targets are the two Cisco 7985 phones.

19:17.530 --> 19:19.610
Let me start UCSNF.

19:31.120 --> 19:33.020
This is UCSNF.

19:33.020 --> 19:39.160
So I'm selecting the interface to VLAN ARP and to SNF the WIPE traffic.

19:45.600 --> 19:48.840
I would start the ENDISPORT service if I were to do that.

19:57.510 --> 19:59.870
We're going to need a volunteer here in a second.

20:14.320 --> 20:16.300
I'm selecting the man in the middle mode.

20:16.320 --> 20:18.520
So there is an option to VLAN ARP.

20:18.960 --> 20:24.840
So there are like three ways to VLAN ARP, by spoofing CDP or by SNFing CDP or by specifying the VLAN ID.

20:24.840 --> 20:28.760
So spoofing CDP is the fastest way to learn the VLAN ID and to VLAN ARP.

20:28.760 --> 20:31.200
So I want to download the corporate directory.

20:31.660 --> 20:37.400
So in a Cisco network, MAC address of the phone is the authentication token for downloading the corporate directory.

20:37.640 --> 20:45.080
So you can get the MAC address of the phone from a small label on the back of the phone or from the network configuration settings if the screen is unlocked.

20:45.080 --> 20:47.140
So I have memorized the MAC address.

21:01.240 --> 21:03.260
So there are two man in the middle modes.

21:03.260 --> 21:05.900
Number one is the learning mode and the second is the target mode.

21:05.900 --> 21:11.700
So in learning mode, UC-SNF ARP poisons all the hosts in the network and then it eavesdrops on every phone call.

21:11.700 --> 21:17.480
But in target mode, we can target like specific users and then eavesdrop only on phone calls to and from that user.

21:17.480 --> 21:24.880
We recommend using the target mode because the network impact is really low during penetration testing or security assessment.

21:24.880 --> 21:27.780
So Jason is going to talk more on this after the demo.

21:29.300 --> 21:32.080
So I'm enabling Unicast ARP Request Poisoning.

21:32.600 --> 21:34.440
I'm starting UC-SNF.

21:34.440 --> 21:40.140
So it has discovered the VoIP VLAN which is 200 and it's waiting for an IP address.

21:40.320 --> 21:45.020
It has downloaded the TFTP configuration file for the MAC address specified.

21:45.020 --> 21:47.440
It has also downloaded the corporate directory.

21:49.040 --> 21:50.960
So here's the directory list.

21:51.000 --> 21:53.980
It's the same as you can browse through the phone.

21:54.340 --> 21:55.620
Here's the host list.

21:55.920 --> 21:57.040
It's the active calls tab.

21:57.040 --> 21:58.580
There are no current active calls.

21:58.780 --> 22:04.200
Here's the media files tab, which shows the current media files in the current working directory.

22:04.200 --> 22:06.780
So UC-SNF has a built-in audio player.

22:06.860 --> 22:11.640
We are also working on a video player as a plug-in.

22:12.100 --> 22:13.760
Here's the targets list.

22:15.100 --> 22:18.120
So we need a volunteer to make a video call with Jason.

23:00.360 --> 23:01.480
So there you go.

23:01.480 --> 23:04.960
UC-SNF has created like three media files.

23:04.960 --> 23:07.900
So number one is the bi-directional audio stream.

23:07.900 --> 23:09.200
Let me play that.

23:21.180 --> 23:22.540
It's not playing.

23:23.880 --> 23:26.420
It's playing, but it's not...

23:29.520 --> 23:31.500
Let me play the video files.

23:40.620 --> 23:44.820
Here's the forward direction video file from the calling phone to the call party.

23:53.860 --> 23:54.900
There you go.

23:56.520 --> 23:57.000
Thanks

24:02.310 --> 24:03.250
, man.

24:03.670 --> 24:07.550
We're going to put it up on YouTube later on tonight, so UC-SNF up there.

24:11.010 --> 24:13.810
Here's the reverse direction video file.

24:21.900 --> 24:23.720
I think the audio driver is messed up.

24:23.720 --> 24:24.540
It's not working.

24:32.950 --> 24:33.910
So there you have it.

24:33.910 --> 24:37.130
First video eavesdropping, you know, duly written.

25:30.240 --> 25:31.520
Give us one second.

25:31.520 --> 25:35.120
We're just getting back set up here so we can jump on to the next one.

25:42.580 --> 25:46.000
So what we have here is we're going to be talking about VideoJack next.

25:46.000 --> 25:50.540
And VideoJack is our IP video interception and replay tool.

25:50.540 --> 25:52.580
It's like hijacking IP video.

25:52.580 --> 25:55.100
And it's basically like a cousin tool of UC-SNF.

25:55.100 --> 25:58.440
It has man-in-the-middle feature supports.

25:58.580 --> 26:00.420
And what we're using is one of our...

26:00.420 --> 26:03.220
We're going to be targeting unidirectional video streams.

26:03.660 --> 26:07.120
Looks like it has a problem, so you're going to have to...

26:15.880 --> 26:21.560
Okay, so VideoJack was released February 2009 along with the UC-SNF video support.

26:21.560 --> 26:25.320
It's a free assessment tool hosted on SourceForge.

26:25.320 --> 26:26.740
And you can go download it right now.

26:26.740 --> 26:30.780
But we're about to release this new version of VideoJack here right after DEF CON.

26:30.780 --> 26:35.280
But it is this first security assessment tool to support H.264.

26:35.280 --> 26:39.240
Even before UC-SNF, we were using VideoJack all the time.

26:39.240 --> 26:44.620
We first started targeting the two 7095 Cisco unified video phones.

26:44.620 --> 26:48.720
And now we just moved into the realm of video surveillance security.

26:48.720 --> 26:55.600
So we're going to be talking about this 1080p high-definition video surveillance camera, Cisco 4300 series camera.

27:22.680 --> 27:23.540
Okay.

27:24.540 --> 27:31.880
So the new features of VideoJack is it can replay an AVI file in a continuous loop.

27:31.900 --> 27:38.140
It can do a targeted video DOS against a random AVI file that we select, which is essentially the same attack.

27:38.140 --> 27:43.840
But we can actually also take a raw H.264 file and replay it against the phones.

27:43.840 --> 27:46.560
So we're working on getting that going against the surveillance camera.

27:48.180 --> 27:53.650
Can you talk about this while I work on this?

27:54.350 --> 27:58.850
So I'm just going to talk about some trivial challenges we face while developing VideoJack.

27:58.850 --> 28:02.370
So number one is finding a valid H.264 RDP stream.

28:02.390 --> 28:09.490
It is very easy to find a H.264 RDP stream if we can intercept the signaling on the session being negotiated.

28:09.490 --> 28:16.230
But what happens is initially the session and the signaling gets negotiated at the very beginning.

28:16.230 --> 28:19.730
And it does not happen very frequently once the session is established.

28:20.150 --> 28:38.310
So particularly in the case of IP video surveillance camera, the media could be streamed to the destination for days without having any signaling taking place.

28:38.310 --> 28:43.170
So we thought how to find a valid media RDP stream without any signaling.

28:43.170 --> 29:00.370
So we came up with a module that intelligently detects a media stream just by looking at the IP and the UDP parameters, and the RDP version, and the RDP payload type, and the SSRC, and also the monotonically increasing sequence number and timestamp values.

29:00.530 --> 29:05.250
So we do this for a periodic interval of 15 to 20 packets.

29:05.250 --> 29:13.670
And if the RDP packet matches any one of the RDP streams, we try to map it to a valid RDP stream.

29:19.570 --> 29:22.050
So here is a screenshot of

29:27.690 --> 29:34.010
a sample capture of a session getting established between an IP video camera and a monitoring endpoint.

29:34.010 --> 29:40.870
So here you can see RTSP and STP, which exchanges the session and the codec parameters.

29:40.970 --> 29:44.430
And here is also the H.264 RDP media codec.

29:46.830 --> 29:50.810
So H.264 payload format and fragmentation.

29:51.050 --> 29:54.950
There are like four types of H.264 RDP payload formats.

29:54.950 --> 29:58.170
Number one is the single network abstraction layer unit.

29:58.170 --> 30:00.130
Number two is the fragmentation unit.

30:00.130 --> 30:04.350
Number three is the single-time aggregate packets and multi-time aggregate packets.

30:04.350 --> 30:13.510
So what a H.264 client does is, if the H.264 payload size exceeds the MTU, the payload will be fragmented at the H.264 level.

30:13.510 --> 30:17.630
So these H.264 formats are called FUA or FUB.

30:17.690 --> 30:24.290
But some H.264 clients, like the Cisco Videophones, they do not handle this FUA or FUB packets.

30:24.290 --> 30:25.470
They just drop it.

30:25.470 --> 30:36.790
So for a VideoJack attack to work successfully against this 1785 phones, we automatically convert the FU type payload to a single NALU type payload.

30:36.930 --> 30:43.970
And then we also fragment it at the IP level so that it works perfectly.

30:43.970 --> 30:49.830
So this feature of VideoJack makes sure VideoJack works against every H.264 video client.

30:49.830 --> 30:59.990
So VideoJack also uses the FFmpeg libraries to convert the AVI and the raw H.264 file format to an RTP media stream.

31:00.010 --> 31:14.090
So the converted RTP media stream will be initialized with the original RTP streams, SSRC, payload type, increased sequence and timestamp values, and spoof source IP and UDP port of the valid source sender.

31:22.640 --> 31:25.540
So just an overview of VideoJack.

31:25.540 --> 31:26.660
It's 100.4.

31:26.660 --> 31:27.840
I just pinged it.

31:28.000 --> 31:29.940
You should be able to connect to it.

31:43.200 --> 31:45.920
So we're reconnecting to the surveillance camera.

31:45.920 --> 31:50.380
And this is actually a Cisco ActiveX control web application.

31:50.380 --> 31:52.400
And it basically streams over RTP.

31:52.400 --> 31:54.580
So this is not like HTTP that we're doing here.

31:54.580 --> 31:58.640
We're actually streaming over RTP negotiated via RTSP.

32:00.940 --> 32:02.800
Looks like we're going to come up here.

32:05.940 --> 32:07.200
It's okay.

32:08.180 --> 32:11.120
So let's just talk a quick overview of VideoJack.

32:11.320 --> 32:15.240
We're selecting right now a one-way video stream that we're targeting.

32:15.700 --> 32:17.640
We start the attack.

32:17.700 --> 32:23.700
And as soon as we start, we're black-holing the valid RTP packets from the valid IP phone.

32:23.840 --> 32:27.440
Then we select the AVI or the H.264 file.

32:27.440 --> 32:33.020
And then we're using LibNet to reconstruct the H.264 RTP packet.

32:33.020 --> 32:37.660
We use the SSRC, the timestamp values, and other values of the drop packet.

32:37.660 --> 32:40.360
So basically it's a very intelligent attack.

32:40.360 --> 32:44.240
We're taking everything of the valid drop packet and we're recreating it.

32:44.240 --> 32:48.140
But we're putting our own custom H.264 payload in there.

32:48.540 --> 32:52.300
The video interception, like I said, can be a replay or a random movie clip.

32:52.300 --> 32:57.700
And then we target the video device and send it at the destination RTP port.

33:00.430 --> 33:03.250
So here's a little animation to kind of show this.

33:03.490 --> 33:08.950
First off, on the network, we have the streams, the valid H.264 stream.

33:08.950 --> 33:12.290
The VideoJack attacker has to have physical access to the port.

33:12.370 --> 33:14.790
Now this could be at a physically remote location.

33:14.790 --> 33:19.470
And there's a misconfiguration where the VLANs... a member of the same VLAN where the video network is.

33:19.590 --> 33:22.770
So once... he basically does the ART poisoning attack.

33:22.770 --> 33:24.550
He creates the man-in-the-middle condition.

33:24.550 --> 33:28.710
Now the packets are going through the attacker, but the attacker is just silently forwarding this on.

33:28.710 --> 33:30.290
He's not doing anything at this point.

33:30.290 --> 33:41.510
Then when he hits the button to start the attack with whichever file he chooses, then what happens is he's actually dropping that packet, he's constructing his own packet, and thus the attack works that way.

33:44.560 --> 33:46.560
Okay, here's our target right up here.

33:46.560 --> 33:52.420
It's kind of hard to see right here, but it's a beautiful little new 4300 series IP surveillance camera.

33:53.920 --> 33:55.680
It's a 1080p, high definition.

33:55.680 --> 33:59.040
We bought it from a Cisco video surveillance reseller.

33:59.040 --> 34:01.460
It uses RTP for port negotiation.

34:01.760 --> 34:05.640
It does support security features, like it supports encryption, SRTP.

34:05.640 --> 34:07.580
By default, it's not enabled.

34:08.000 --> 34:10.480
And it supports 802.1X as well.

34:10.540 --> 34:14.240
So like I said, we're using the web application to stream it over.

34:20.150 --> 34:21.990
So here's for our demo here.

34:23.710 --> 34:25.930
Now to get us in the mood for this...

34:32.070 --> 34:34.290
I have to play this for a second.

34:55.110 --> 34:59.130
Okay, so they basically took the Fabergé egg.

34:59.130 --> 35:02.330
And it was the type of attack that we're going to demonstrate here.

35:02.330 --> 35:05.530
Here's our Fabergé egg, the little water bottle over here.

35:09.100 --> 35:10.840
Okay, let's give this demo a try.

35:31.640 --> 35:32.680
Ah, it works.

35:32.680 --> 35:33.480
All right.

35:33.960 --> 35:35.800
Let's start VideoJack.

35:36.340 --> 35:39.660
So first thing we're going to do is we're going to capture the safe video stream.

35:47.740 --> 35:50.880
So we use UC-SNF to capture the safe video stream.

35:51.860 --> 35:53.340
Are we running Wireshark?

35:53.340 --> 35:58.280
So we're also going to run Wireshark and we're going to capture into a PCAP the traffic with Wireshark.

35:58.280 --> 36:01.200
We have to sample the traffic for about 20 seconds.

36:03.040 --> 36:05.360
So we're going to need another volunteer.

36:15.950 --> 36:19.510
So on this other laptop, on the attacker laptop, we're capturing this.

36:27.360 --> 36:29.720
So this is like a real surveillance camera here.

36:29.720 --> 36:32.420
It's watching the Fabergé egg right over there.

36:33.040 --> 36:34.000
Can you get it?

36:34.480 --> 36:36.720
Okay, let's stop it.

36:36.720 --> 36:38.900
Okay, so UC-SNF has finished its work.

36:38.900 --> 36:41.540
Let's hope that we captured a good video stream.

36:42.520 --> 36:43.220
blah.pcap

36:52.080 --> 36:53.940
Okay, Arjun saved off.

36:53.940 --> 36:55.740
We're VideoJack teammates here.

36:55.740 --> 36:57.500
We saved off blah.pcap.

36:57.500 --> 37:10.500
So right now I'm going to create, I'm going to use a tool called VideoSnarf, which is a new tool that we're introducing that basically takes as input an offline PCAP and it basically detects all the video and audio streams and outputs them into separate files.

37:10.500 --> 37:18.580
So if you're like a network administrator and you have a monitor span session and you want to actually see all the video and audio going, you can use VideoSnarf.

37:18.580 --> 37:20.460
And we're going to release this in a little bit too.

37:20.500 --> 37:22.440
Also, you can use like Ettercap and Wireshark.

37:22.440 --> 37:26.120
If you don't want to use UC-SNF, you can use VideoSnarf, Ettercap, and Wireshark.

37:34.570 --> 37:36.630
Okay, so we've detected a couple streams here.

37:47.020 --> 37:52.280
Now we're using FFmpeg to convert the H.264 raw file into an AVI file.

37:52.720 --> 37:54.760
So can I get like a volunteer?

37:54.760 --> 37:56.780
Let's try and get a girl this time.

37:57.780 --> 37:58.980
Any girls?

38:00.560 --> 38:01.260
Anyone?

38:01.260 --> 38:01.820
Anyone?

38:02.800 --> 38:03.900
Oh, we do have a girl.

38:03.900 --> 38:04.480
She's coming up.

38:04.480 --> 38:05.200
All right.

38:06.900 --> 38:08.140
Round of applause.

38:11.830 --> 38:14.510
Okay, you're going to be like the person stealing the egg.

38:15.470 --> 38:17.730
Don't do anything until we tell you exactly what to do.

38:17.730 --> 38:19.710
So go right over here.

38:21.350 --> 38:23.030
So FFmpeg is doing its work.

38:26.130 --> 38:28.510
And we're ready to start the VideoJack attack.

38:36.200 --> 38:41.600
Okay, so why don't you like put your hand like here and just like show that... put it in the water.

38:41.600 --> 38:42.700
Now you can see her hand.

38:42.700 --> 38:45.960
You can see that like a video surveillance camera would like capture that.

38:45.960 --> 38:47.120
So move your hand out.

38:47.980 --> 38:49.660
Okay, now move out a little bit.

38:49.660 --> 38:50.400
There you go.

38:50.900 --> 38:51.500
Okay.

38:52.580 --> 38:54.540
So VideoJack has detected a stream.

38:58.580 --> 38:59.960
We select Other.

39:00.360 --> 39:02.100
We're going to do a looping attack.

39:02.420 --> 39:04.440
And we're going to select replay.avi.

39:04.440 --> 39:06.000
Now watch the screen here.

39:08.060 --> 39:09.820
I don't know if you guys noticed anything.

39:09.820 --> 39:12.760
Maybe for a split second there, there was a problem with the AVI file.

39:12.760 --> 39:14.920
But now go ahead and reach in and take the water bottle.

39:16.400 --> 39:17.120
Nothing.

39:17.180 --> 39:18.480
Let's stop the attack.

39:20.760 --> 39:23.000
Water bottle is gone.

39:23.420 --> 39:24.740
Let's try it one more time.

39:24.740 --> 39:26.060
So put the water bottle back.

39:26.840 --> 39:27.480
Okay.

39:33.610 --> 39:35.050
Replay.avi.

39:37.710 --> 39:40.250
So the water bottle was almost pushed in the same direction.

39:40.250 --> 39:41.630
Now remove the water bottle.

39:42.410 --> 39:43.750
And keep it out.

39:44.290 --> 39:44.910
Now watch.

39:44.910 --> 39:45.890
Stop the attack.

39:46.210 --> 39:47.630
Water bottle gone.

39:48.310 --> 39:49.270
Okay.

39:49.470 --> 39:50.770
There's VideoJack.

39:52.390 --> 39:53.510
Thank you.

39:53.610 --> 39:56.150
Actually, you can have the water bottle as a present.

39:57.010 --> 39:58.130
Okay, go ahead.

39:59.730 --> 40:01.610
So here's the last demo.

40:01.610 --> 40:08.850
I'm going to show a VideoJack attack by playing a movie clip on an active video conversation against the Cisco 7985 video phones.

40:09.150 --> 40:10.910
I'm going to use VideoJack.

40:11.170 --> 40:13.050
This time I'm going to VLAN hop.

40:37.840 --> 40:40.540
I'm enabling Unicast ARP Request Poisoning.

40:40.640 --> 40:42.200
So, yeah, it's ready to go.

40:43.560 --> 40:45.300
Let me make a video call.

40:55.360 --> 40:57.460
We're actually reading the output.

40:57.800 --> 41:02.840
So I press F to find an active video stream.

41:02.840 --> 41:06.500
So I find one from the extension 8000 to the extension 8001.

41:06.500 --> 41:07.980
I select the video stream.

41:07.980 --> 41:11.800
Now I can do a very precision attack by attacking either one of the two phones.

41:11.800 --> 41:14.800
I'm going to attack the phone with the extension 8000.

41:15.600 --> 41:17.100
It's the phone on the left.

41:19.600 --> 41:21.780
So it's a 7985 model.

41:21.820 --> 41:23.500
I'm just going to do a one-time attack.

41:23.500 --> 41:27.680
I'm playing the movie clip Italian Job.

41:29.540 --> 41:30.820
There you go.

41:40.380 --> 41:41.800
I'm stopping it.

41:41.800 --> 41:43.880
So I'm going to target the next extension.

41:44.080 --> 41:45.780
It's 8001.

41:45.860 --> 41:47.160
It's the same procedure.

41:54.580 --> 41:55.620
There you go.

41:56.340 --> 42:04.200
So I could have played like a prerecorded video conversation, a prerecorded H.264 video file, or any dirty movie on an active video conversation.

42:04.460 --> 42:06.140
It's funny when you say dirty movie.

42:09.260 --> 42:10.300
Thanks, man.

42:10.360 --> 42:13.140
So imagine the impact of this at like a...

42:13.140 --> 42:24.240
I mean, basically you have to monetize this attack, and I don't believe attackers attack for no good reason other than graffiti, but you could do this at like an entertainment venue, like a very high-profile event.

42:26.940 --> 42:32.160
Okay, so let's jump on to the end here, the exciting VoIP pen testing lessons learned.

42:38.770 --> 42:45.490
Okay, so I've been using UCSF this way, doing on-site pen testing for a while, and it's something I've been meaning to tell a lot of people.

42:45.490 --> 42:47.510
I never run UCSF in learning mode.

42:47.510 --> 42:49.190
I always run it in target mode.

42:49.230 --> 42:57.490
And one of the problems you run into is like when you're doing the pen test, you want to target like a remote IP phone, but you really don't know the IP address of the phone.

42:57.490 --> 43:12.390
So what you can do is you can take a hub in an environment where you're doing your pen testing, and you can share the hub with the attacker's laptop, and you can pick up and find any user in the corporate directory, and you basically call that user, and then you use Wireshark attached to the hub,

43:12.390 --> 43:14.910
and you find the IP address of the remote phone.

43:14.910 --> 43:26.750
It's not something you really think of, but it's very effective, because normally when you're plugged into the Ethernet switch port, there's really not a way you can find the remote IP phone, unless you kind of finagle yourself like this way.

43:26.750 --> 43:33.990
So I find the IP address, and I create this file targets.txt on the phone, within UCSF working directory.

43:33.990 --> 43:37.650
And then I specify UCSF in targeted user mode.

43:37.650 --> 43:41.230
And what it does is we select from a menu, we select the user.

43:41.810 --> 43:43.830
UCSF takes care of the front end for you.

43:44.610 --> 43:51.770
And now it's extremely low risk of service impact, because all we're doing is targeting the traffic between that phone and the rest of the network.

43:51.770 --> 43:56.830
So if something crashes, it's not going to impact rest of all the IP phones on the network.

43:56.830 --> 44:00.090
So it's a very silent, effective attack, and this is the way I recommend it.

44:00.090 --> 44:03.510
So it's kind of like a little tips and tricks that we learned running UCSF.

44:04.530 --> 44:06.270
Okay, now this is really, really cool.

44:06.270 --> 44:08.450
This is like I'm saving the best for the last.

44:08.490 --> 44:09.770
How much time do we have?

44:10.530 --> 44:17.290
Okay, so we were engaged, and there was a Viper security consultant that was in Europe just a couple weeks ago.

44:17.290 --> 44:21.950
And basically they had, it was a UCM 7.1 brand new deployment.

44:21.950 --> 44:24.070
They had gratuitous ARP disabled.

44:24.410 --> 44:27.030
Now I've actually talked to Cisco PSIRT about this.

44:27.030 --> 44:28.710
I've already communicated this.

44:28.710 --> 44:32.270
This is not something that can't be protected against.

44:32.270 --> 44:36.310
So it's something that can be remediated by just turning on security features.

44:36.490 --> 44:41.270
But we couldn't intercept skinny keypad messages, and they had the GARP disabled feature on.

44:41.370 --> 44:44.030
So the GARP disabled looks exactly like this.

44:44.030 --> 44:44.750
Perfect.

44:45.670 --> 44:47.730
GARP disabled was no.

44:47.890 --> 44:50.310
And I talked about this before, what this means.

44:50.390 --> 44:53.750
This means I can't get any messages from the phone to the network.

44:53.750 --> 44:58.330
So I can't get the media from the phone to the network, and I can't get anything that the user dials.

44:58.330 --> 45:01.130
And it's really nice to be able to steal voicemail passwords.

45:01.970 --> 45:03.470
So what did we know?

45:03.470 --> 45:05.730
We had to figure out a way to defeat this.

45:05.850 --> 45:10.310
We knew that GARP enabled is a setting that's managed server side.

45:10.310 --> 45:18.190
We also knew that the Cisco Unified phone downloads the configuration file via TFTP, which tells the IP phone how to configure itself.

45:18.190 --> 45:24.550
So basically this configuration file was everything that the phone used, that it parses and it learns how to configure itself.

45:25.470 --> 45:28.630
And it's only downloaded when the phone boots up.

45:28.670 --> 45:32.070
Could there be a way for us to force this IP phone to download this configuration file?

45:32.070 --> 45:33.490
This is what we figured out.

45:33.750 --> 45:35.890
We figured out a method to do this with UCCIF.

45:35.890 --> 45:39.190
We call it the TFTP man-in-the-middle modification attack.

45:39.310 --> 45:42.270
What we do is we immediately start.

45:42.270 --> 45:43.530
We target the phone.

45:46.530 --> 45:48.230
We create targets.txt.

45:48.230 --> 45:53.210
We launch UCCIF with the new feature that we created for UCCIF, which we're about to release.

45:54.390 --> 45:56.970
First off, what we do is we drop keepaliveac messages.

45:56.970 --> 46:00.050
Now this is a heartbeat mechanism between the phone to the server.

46:00.050 --> 46:05.150
But we can't intercept what's from the phone to the network, but we can intercept the return traffic back to the phone.

46:05.150 --> 46:10.270
So we start blocking the keepaliveac message from the server to the phone, no matter where the server is.

46:10.830 --> 46:14.450
Now all of a sudden what the phone will do is it will think that it's lost registration.

46:14.450 --> 46:17.010
So it will try and re-register to the server.

46:17.210 --> 46:22.130
When it does this, it actually does a tftp.get for its configuration file.

46:22.130 --> 46:23.070
Well, guess what?

46:23.070 --> 46:28.650
When it does a tftp.get, the return traffic, we can add a tftp.dissector.

46:28.650 --> 46:31.650
So we capture the UDP stream on the way back.

46:31.650 --> 46:36.070
And all we do is look for and intercept that gratuitous ARP setting.

46:36.070 --> 46:41.590
So we take it from whatever its setting is 1, and we change that to 0, to GARP enabled.

46:42.430 --> 46:44.630
So then UCCIF does its work.

46:46.090 --> 46:51.310
And Cisco, the phone, downloads, finishes parsing the file, and now it has the new configuration.

46:51.910 --> 46:53.210
GARP enabled, yes.

46:54.810 --> 46:57.590
So this all happens in less than 30 seconds.

46:57.590 --> 47:02.010
If the user is watching the phone, they might be able to catch it, but they might not think anything of it.

47:02.050 --> 47:05.470
And all you have to do is wait until the users go home for the day.

47:05.650 --> 47:08.210
And you target each phone, pick it off one by one.

47:08.350 --> 47:13.630
And when they arrive for work the next morning, they have gratuitous ARP enabled on all the phones in the environment.

47:13.890 --> 47:17.910
We can add new features onto this when we come up with new ideas.

47:17.990 --> 47:19.710
So we basically pwn the phone.

47:19.710 --> 47:21.790
We can change anything on the phone we want to.

47:21.790 --> 47:27.630
I'm going to show a quick... and like I said, you can totally remediate this following Cisco security best practices.

47:27.930 --> 47:32.170
Now I'm going to show one little quick video of this actual attack.

47:36.830 --> 47:38.590
Oh, it just started actually.

47:39.250 --> 47:40.390
There we go.

47:43.780 --> 47:46.160
Okay, so I'm going to the phone right now.

47:46.180 --> 47:49.080
And I'm finding its IP address, 200.6.

47:49.320 --> 47:52.640
And then I'm going to its device configuration.

47:56.620 --> 47:58.400
And gratuitous ARP is no.

47:58.400 --> 48:00.640
We're just verifying that on the phone.

48:00.960 --> 48:04.060
And then we go to UCSTIFF and we launch with the new feature.

48:04.600 --> 48:06.360
We select the targeted phone.

48:06.700 --> 48:08.180
UCSTIFF ARP scans.

48:08.180 --> 48:09.480
It's VLAN hopped.

48:09.900 --> 48:11.340
Now it's listening for traffic.

48:11.340 --> 48:14.840
It's listening for that keepalive.ac message.

48:16.240 --> 48:19.140
It's the most important part of the con.

48:25.770 --> 48:27.170
So it takes a second here.

48:34.600 --> 48:38.400
See, dropping the keepalive.ac, all of a sudden the phone loses registration on the left.

48:44.070 --> 48:48.830
Now the phone is actually going out via TFTP and getting the new configuration file.

48:48.830 --> 48:51.970
We're going to intercept the return traffic from the server.

48:52.090 --> 48:55.910
The CERD file coming from the server to the IP phone.

48:56.410 --> 48:59.810
In a couple seconds here, it's going to...

49:02.140 --> 49:05.340
Watch the phone, it's going to turn...

49:05.340 --> 49:08.820
And we just, on the right, just modified the setting.

49:08.840 --> 49:10.120
Now we go into the phone.

49:10.120 --> 49:11.660
It's re-registered.

49:15.490 --> 49:17.030
And new configuration.

49:17.030 --> 49:18.230
Gratuitous ARP enable.

49:25.530 --> 49:27.250
I guess that's really it.

49:27.450 --> 49:28.610
Great time being here.

49:28.610 --> 49:29.510
Thanks for everything.

49:29.510 --> 49:31.070
And we'll be in the Q&A room.

49:31.070 --> 49:32.230
It's room 104.

49:32.330 --> 49:33.990
We'll be there for about 20 minutes.

