1 00:00:00,000 --> 00:00:05,440 Thanks very much for coming to this Spy vs. Spy presentation. My name is Michael. This 2 00:00:05,440 --> 00:00:09,700 is my cohort in Shenanigans, Chris, and we're going to talk about spyware that's on cell 3 00:00:09,700 --> 00:00:13,540 phones. And we're going to start with the opening comment that I'd like to introduce 4 00:00:13,540 --> 00:00:19,340 you to the latest spy in spyware. That would be this green guy right up here. And we say 5 00:00:19,340 --> 00:00:25,440 that because it's incredibly easy for spyware to show up on mobile devices. And a lot of 6 00:00:25,440 --> 00:00:30,360 times that involves duping the user to installing an app, but it happens. And if you believe 7 00:00:30,360 --> 00:00:34,340 Lookout Secure, you'll believe that it happens three times more likely on a mobile phone 8 00:00:34,760 --> 00:00:39,600 than it does on a desktop computer, which is kind of a scary thought, which means people 9 00:00:39,600 --> 00:00:44,840 have left their brains at home when it comes to working with mobile devices. And there's 10 00:00:44,840 --> 00:00:49,660 a lot of spyware and malware out there. Right? The third quarter of 2011 saw a 500% increase 11 00:00:49,660 --> 00:00:55,420 in spyware. Okay. And this spyware exists in raw malware form, but also in the form 12 00:00:55,420 --> 00:01:02,120 of a commercially available product. Outstanding. You can go buy it if you want to. And it 13 00:01:02,120 --> 00:01:08,100 started in January 2011. Sound miner came out. And it was grabbing all sorts of credit card 14 00:01:08,100 --> 00:01:12,040 information and whatever people were typing in their keypads and they were sending it off 15 00:01:12,040 --> 00:01:19,720 via stealthy text messages, which was great. As we moved to August 2011, F Secure dropped this 16 00:01:19,720 --> 00:01:25,400 news article out there saying people are stealing pictures for blackmailing purposes. And they 17 00:01:25,420 --> 00:01:28,820 ufid you the box. And then we had a whole host of people color the Internet with beautiful 18 00:01:28,820 --> 00:01:34,100 pictures of all sorts of wonderful things. And that showed up everywhere and long live 19 00:01:34,100 --> 00:01:44,980 spyware. Nikibot came out in September 2011. And Nikibot was critically analyzed by the 20 00:01:44,980 --> 00:01:51,120 Department of Computer Science down at the North Carolina State University. And they 21 00:01:51,900 --> 00:01:55,400 dissected, dissected the code, and I gave you the link up on the screen, and it's in 22 00:01:55,400 --> 00:01:59,080 available in the presentation if you want to look at it. And we noticed there was spyware 23 00:01:59,080 --> 00:02:03,620 that was responding to text messages. Where the spyware would intercept a text message 24 00:02:03,620 --> 00:02:08,260 and say is this for me? It is great. I won't show the user but I'll perform a certain set 25 00:02:08,260 --> 00:02:14,760 of functions. Okay. And this application showed up as the Android system log. So it didn't 26 00:02:14,760 --> 00:02:21,100 appear very stealthily but people were still duped and Nikki bot showed up. And then we 27 00:02:21,100 --> 00:02:26,400 had a whole bunch of commercialization of spyware. It's everywhere. And it's primarily 28 00:02:26,400 --> 00:02:31,880 sold under three types of advertising venues. One, it's designed to catch your cheating 29 00:02:31,880 --> 00:02:37,060 spouse. You're no good, dirty lying, lousy cheater, boyfriend, girlfriend, husband, wife, 30 00:02:37,700 --> 00:02:44,000 dog, whatever. Children. That was for you. Employees. I mean, it was designed to capture 31 00:02:44,000 --> 00:02:48,000 all those people. But if you take a look at the screen, you'll notice it's not just for one 32 00:02:48,000 --> 00:02:51,080 platform. It's for just about every platform in the world. It's designed to capture all those 33 00:02:51,080 --> 00:02:54,740 people. It's for every platform that's out there. Whether it was Android, iPhone, I mean, 34 00:02:54,780 --> 00:03:00,560 the Blackberry, taking a look, Windows mobile, Nokia. And it was pretty popular. And there was 35 00:03:00,560 --> 00:03:05,260 a real short list on this particular website that said, hey, you don't have to buy any one 36 00:03:05,260 --> 00:03:09,500 particular package. We're going to list five or six right here. Well, this is the short list. 37 00:03:09,960 --> 00:03:14,220 Turns out that there are dozens of commercially available spyware packages out there. And 38 00:03:14,220 --> 00:03:19,580 they're all sold as subscription services. You don't just buy the software and install it and 39 00:03:19,580 --> 00:03:21,060 run it. You actually buy the software and install it and run it. You don't just buy the software 40 00:03:21,080 --> 00:03:25,480 and install it and then you pay to log in to the website to retrieve the data that's out 41 00:03:25,480 --> 00:03:31,760 there. And the subscription service is usually sold for either three months, six months or one 42 00:03:31,760 --> 00:03:37,360 year at a time. I couldn't be bothered to spy on someone for a year at a time. But that's the 43 00:03:37,360 --> 00:03:44,880 way they sell it. Yeah, I do have a short attention span. So there's a lot of commercial 44 00:03:44,880 --> 00:03:49,320 versions out there. And you would think that most of the time it would require rooting of an 45 00:03:49,320 --> 00:03:51,060 Android phone. But that's not the case. There's a lot of commercial versions out there. And you 46 00:03:51,080 --> 00:03:58,120 discover that's not necessarily the case anymore. There are spyware packages for rooted and 47 00:03:58,120 --> 00:04:02,900 nonrooted phones. But in the case, you'll notice that there's an asterisk on the screen. In the 48 00:04:02,900 --> 00:04:09,920 case of iPhones, they always wanted it jailbroken. Every single time. Okay. So I'll play. We'll 49 00:04:09,920 --> 00:04:15,780 jailbreak it. So I don't know if you've been looking to see what this spyware does. So quick 50 00:04:15,780 --> 00:04:21,040 little rundown just so we're on the same page. Most of the spyware packages out there do the same 51 00:04:21,080 --> 00:04:25,920 thing. They will scoop up all the text messages that are bound for a phone. They will ship them 52 00:04:25,920 --> 00:04:32,220 off to a website. They'll grab GPS coordinates and we'll go over a point shortly that shows that 53 00:04:32,220 --> 00:04:37,520 that is somewhat misleading. It will scoop up all the pictures. It will grab whatever videos are 54 00:04:37,520 --> 00:04:44,140 on the phone. It will capture call logs, browser activity, not necessarily the cache, but the 55 00:04:44,140 --> 00:04:49,520 URLs that people have used. It will pull off emails and identify whether or not a SIM card has been 56 00:04:49,520 --> 00:04:55,280 changed on a particular phone. And all of this stuff just runs on a routine. And every so often, 57 00:04:55,380 --> 00:05:00,580 it sends it right up to the website. Now, some of these spyware packages operate in interactive 58 00:05:00,580 --> 00:05:06,680 mode. Which means if I send a specially crafted text message to the phone, the phone is going to 59 00:05:06,680 --> 00:05:11,960 respond. And sometimes it's going to be remotely launching the camera to take a picture. Sometimes 60 00:05:11,960 --> 00:05:18,200 it's going to record a video for 15 to 30 seconds and upload that to the website. Sometimes it's 61 00:05:18,200 --> 00:05:19,500 going to automatically engage the phone. And sometimes it's going to automatically engage the 62 00:05:19,520 --> 00:05:24,300 phone call where it doesn't light up the phone. So essentially it's stealth mode so you can record 63 00:05:24,300 --> 00:05:29,400 what's happening. Sometimes it's going to wipe the phone. I think that's a great way to bug someone. 64 00:05:29,620 --> 00:05:33,900 You buy a cheap phone. You install the spyware. You drop it in someone's car. And when you think 65 00:05:33,900 --> 00:05:38,200 you're about to be discovered, you hit wipe. Unfortunately, the wipe command here doesn't wipe 66 00:05:38,200 --> 00:05:43,960 the phone. It just wipes user sensitive data and leaves all the applications there. And on some of 67 00:05:43,960 --> 00:05:49,500 the newer spyware, you actually get a chance to remotely view what the user would be doing. So 68 00:05:49,500 --> 00:05:51,760 you can see what the user would see on their particular phone, which I thought was kind of 69 00:05:51,760 --> 00:05:58,680 crafty. And it all works the same way. All of this phone is taken, harvested up and sent 70 00:05:58,680 --> 00:06:03,420 automatically across the net to, you know, the infecting website. And all that is done through 71 00:06:03,420 --> 00:06:06,940 an Internet connection. None of it is done through audio. It's all done through the data channel. 72 00:06:08,520 --> 00:06:13,080 And it's fairly routine. And there's a number of examples out there. For example, if you go to 73 00:06:13,080 --> 00:06:18,800 Spybubble's website, it looks a bit like a third grader designed it if you look at the fonts. But 74 00:06:19,500 --> 00:06:23,100 the functions are on the left-hand side. And then you get all sorts of call detail records that 75 00:06:23,100 --> 00:06:28,120 show up with the date, the time, whether it's an inbound or outbound call with the listing of the 76 00:06:28,120 --> 00:06:33,960 numbers. You'll notice you can capture live pictures. You'll see one here. It's black. The 77 00:06:33,960 --> 00:06:39,820 phone was actually in my pocket at the time when it went off. So that's a picture of my pocket. 78 00:06:40,020 --> 00:06:43,960 The one next to it, I was actually holding the phone at the time when it went off. And you'll 79 00:06:43,960 --> 00:06:49,220 notice that most of these photos are just raw camera activity, raw flashes of the camera. 80 00:06:49,500 --> 00:06:54,580 The flash doesn't go off. So none of them are focused. So a lot of them are blurry and they show 81 00:06:54,580 --> 00:06:59,360 up. You get a listing of all the text messages that show up and this particular screen is from 82 00:06:59,360 --> 00:07:05,560 Moby Stealth. And then a lot of times you can grab GPS coordinates and the GPS coordinates are 83 00:07:05,560 --> 00:07:10,160 supposed to identify where the phone is. Well, I can tell you for this particular phone that was 84 00:07:10,160 --> 00:07:13,780 infected with spyware, you're not seeing the location of the phone. You're seeing all the 85 00:07:13,780 --> 00:07:19,480 cell phone towers that the signals bounced off of. So I was in, you know, part of northern Virginia. I drove to 86 00:07:19,500 --> 00:07:23,660 the airport and all of a sudden you see towers all over the place. So the phone wasn't actually 87 00:07:23,660 --> 00:07:29,880 there. You also get recorded phone calls that you can download and play at your convenience, which 88 00:07:29,880 --> 00:07:34,300 is kind of nice. It will automatically record the call and then send it up, which I thought was a 89 00:07:34,300 --> 00:07:40,700 nifty feature and it worked fairly well. And a lot of times in addition to sending all of this data 90 00:07:40,700 --> 00:07:49,300 directly up to a website, it will also capture the information and send an alert to the spy, the 91 00:07:49,500 --> 00:07:54,540 guy who's watching me. And what usually happens is one of two things. The phone that's been 92 00:07:54,540 --> 00:08:00,260 infected will send a message. It will go out to the website, whether it's Flexi Spy or Moby 93 00:08:00,260 --> 00:08:05,940 Stealth and then they will send a message directly over to the user. I feel like I've been 94 00:08:05,940 --> 00:08:11,420 buzzed. It's not me. The other thing is sometimes there is a text message that might go out 95 00:08:11,420 --> 00:08:17,200 directly from the user and go over and hit directly to the spying phone. So you have two ways of 96 00:08:17,200 --> 00:08:19,480 notifying people when activity happens. So if there's a message that's coming from the user, you can 97 00:08:19,480 --> 00:08:22,100 send it to the spy. If there's a certain e-mail that's showing up or if there's a certain text 98 00:08:22,100 --> 00:08:28,520 message that you're watching for, the information goes out and gets relayed to you. Sending 99 00:08:28,520 --> 00:08:34,720 commands back to the infected phone is interesting. It's usually done one of two ways. The 100 00:08:34,720 --> 00:08:39,920 first way is if the spyware is designed for it, I send a specially crafted text message to the 101 00:08:39,920 --> 00:08:46,740 phone, it intercepts it, it actually formats a process. Or I can go to my particular website. I 102 00:08:46,740 --> 00:08:49,460 can say go retrieve the data and the infected phone will send a message to the spyware. And the 103 00:08:49,460 --> 00:08:53,140 infected phone will actually pull the website and say, oh, there's a waiting command for me, I'm 104 00:08:53,140 --> 00:08:58,240 going to go out, I'm going to go run the command and then send the data back up. So if I need to 105 00:08:58,240 --> 00:09:03,700 automatically know where someone is, I can send the command, out it goes. If I need to find out 106 00:09:03,700 --> 00:09:07,800 what particular e-mail is there, please tell me right away. If I want you to take a picture right 107 00:09:07,800 --> 00:09:14,040 now because I think something is happening, you can go do that. And that worked for malware, the 108 00:09:14,040 --> 00:09:18,700 malware version of spyware and it also worked for the commercial version of spyware. But there was a 109 00:09:19,460 --> 00:09:23,640 two major differences in looking at spyware from the malware version and the commercialized 110 00:09:23,640 --> 00:09:31,020 version. One is the attack vector. And the second was the manner of logging that takes place on 111 00:09:31,020 --> 00:09:36,780 commercial spyware. It's just downright scary to see how much logging takes place. So with 112 00:09:36,780 --> 00:09:41,700 respect to the installation attack vector, for all of the products that we looked at, you had to be 113 00:09:41,700 --> 00:09:47,360 in physical possession of the phone to install the spyware. And that was for two reasons. One, 114 00:09:47,360 --> 00:09:53,360 you actually have to go out and download the software to install on the phone. The second thing 115 00:09:53,360 --> 00:09:57,880 is you actually have to go out and you have to enter in the registration key that goes with your 116 00:09:57,880 --> 00:10:02,200 software to unlock it. So it's not enough to have the software installed, you actually have to 117 00:10:02,200 --> 00:10:08,840 enter a registration key. Android didn't necessarily require a routing to take place. iPhone 118 00:10:09,400 --> 00:10:14,080 always required jail breaking to take place. It was always necessary to have an Internet 119 00:10:14,080 --> 00:10:17,340 connection because that's how the data was going to be transferred. And then you have to go out and 120 00:10:17,340 --> 00:10:21,740 download it. On Android phones you had to flip the switch to say, hey, allow apps to be installed 121 00:10:21,740 --> 00:10:28,420 from unknown sources. And in some cases, and this killed me, you had to reboot the phone after you 122 00:10:28,420 --> 00:10:33,260 installed the spyware. That's not real stealthy, especially if you don't know the password for 123 00:10:33,260 --> 00:10:38,140 that particular phone. And then lastly you need the software registration key. That's a whole lot 124 00:10:38,140 --> 00:10:42,380 of information. So if you're planning on installing spyware on someone's phone when they run 125 00:10:42,380 --> 00:10:46,760 off to the bathroom, hopefully they're going to be in there for a while. I mean, because you're 126 00:10:47,340 --> 00:10:51,100 going to be there in four, five, six, seven, eight minutes. It's not a real quick thing. Or you just 127 00:10:51,520 --> 00:10:57,020 knock them on the head and then while he's out like a light, then you go do it. And according to 128 00:10:57,020 --> 00:11:04,040 the websites, all this stuff is undetectable. They all make the claim. We cannot be detected by 129 00:11:04,040 --> 00:11:15,900 the user. Undetectable. Undetectable. Challenge accepted. Okay. We'll see if you're undetectable. 130 00:11:15,900 --> 00:11:23,140 So that brings us up to the big question. How can you tell if you've been pwned? All right. He's a 131 00:11:23,140 --> 00:11:29,180 paranoid bastard. He wants to know if someone is spying on him. I'm a paranoid bastard. I want to 132 00:11:29,180 --> 00:11:32,700 know if someone is spying on me. I want to know if they've installed spyware on my phone. So how 133 00:11:32,700 --> 00:11:39,460 do we tell if we can do that? Well, we thought about that. Here's what we did. We decided to 134 00:11:39,460 --> 00:11:45,800 forensically examine five phones using the same tools that the cops would use. Nothing special. 135 00:11:45,900 --> 00:11:50,680 We would want to know what the feds or local law enforcement would do. And we used five 136 00:11:50,680 --> 00:11:56,300 different phones, five different spyware packages. And here's what we came up with. We grabbed an 137 00:11:56,300 --> 00:12:07,060 HTC Wildfire S, an LG Optimus Elite, an LG Optimus 5, a Samsung Galaxy, no, I'm going to say 138 00:12:07,060 --> 00:12:15,880 5. Think Roman. Samsung, what? I'm Greek. I'm Greek. I'm Greek. I'm Greek. I'm Greek. I'm 139 00:12:15,900 --> 00:12:23,440 Greek. I don't care if you're Greek. Can the goons remove him? Samsung Galaxy Prevail and an 140 00:12:23,440 --> 00:12:28,240 Apple iPhone 4S. And we picked the different packages. We grabbed a copy of Flexi Spy because 141 00:12:28,240 --> 00:12:33,240 they advertised really well and it's a U.K. company and we thought they spoke neat with funny 142 00:12:33,240 --> 00:12:38,700 accents. We grabbed a copy of Spy Bubble. We grabbed a copy of Moby Stealth. We grabbed a copy 143 00:12:38,700 --> 00:12:44,980 of Mobile Spy. And lastly, we grabbed a copy of Spyra. That company is based out of Hong Kong. We 144 00:12:44,980 --> 00:12:49,840 picked them all up. We listed the individual versions of Android that were on the phones. We 145 00:12:49,840 --> 00:12:54,800 didn't do anything special to the phones. We literally walked into Best Buy. I'd like to buy 146 00:12:54,800 --> 00:13:02,840 some phones. Okay. What kind of phones do you want? Here are the five phones I want. You want 147 00:13:02,840 --> 00:13:14,720 five? Yeah, I want five. Really? Do you want to sell me the phones or not? Okay. Do you want 148 00:13:14,980 --> 00:13:20,140 me to sell you the phones? We'll set you up. No. One month, please. We got a month to do this. We 149 00:13:20,140 --> 00:13:26,540 kept the version of Android that was on those phones. We didn't upgrade them. So we played the 150 00:13:26,540 --> 00:13:32,280 dumb user. Well, he did. So the dumb user, so we just, no upgrade. We grabbed it. We took it 151 00:13:32,280 --> 00:13:39,460 home. We registered. We activated it. We picked, hey, dude, cut it out. We picked up T-Mobile. We 152 00:13:39,460 --> 00:13:44,960 picked up Virgin. Sprint and Boost. We also picked up our iPhone, which was unlike the others. We 153 00:13:44,980 --> 00:13:52,800 locked on T-Mobile as well. Now, I'm not an attorney. He's not an attorney. And if there's 154 00:13:52,800 --> 00:13:56,740 an attorney here, I don't know and I don't want to know. But they had some legal text on 155 00:13:56,740 --> 00:14:00,020 all their websites so we thought we'd share that with you just to make sure everyone here was 156 00:14:00,020 --> 00:14:04,920 informed before we got into our shenanigans. Flexi spy came out and said we will never 157 00:14:06,460 --> 00:14:11,820 release your private information or your account information except under the threat of legal 158 00:14:11,820 --> 00:14:16,080 action or court order. So they're up front about it. They're like they threaten us. We're 159 00:14:16,080 --> 00:14:22,160 coughing up all your data. Don't do anything you shouldn't. If you ask nicely, we'll give it 160 00:14:22,160 --> 00:14:28,800 to them. You had all sorts of people list the computer fraud and abuse act. This was 161 00:14:28,800 --> 00:14:32,600 Moby Stealth's particular web page. They literally just copied the text and pasted it there and 162 00:14:32,600 --> 00:14:38,700 said we're going to make sure you adhere to that. Spy bubble comes out and says we're 163 00:14:38,700 --> 00:14:41,800 basically designed for monitoring your spouse, children, children, children, children, children, 164 00:14:41,800 --> 00:14:49,080 or employees having smart phone. Either you should own the phone or you should have 165 00:14:49,080 --> 00:14:56,500 permission to monitor the user. Really? I'm going to go up to my kid and say hey, junior, I'm 166 00:14:56,500 --> 00:15:04,220 going to spy on you. I need your permission. What do you say? No, dad, screw you. Then we 167 00:15:04,220 --> 00:15:08,980 have mobile spy. Mobile spy came out and said you have to own the device or you have to have 168 00:15:08,980 --> 00:15:11,780 the expressed written consent of the owner. You should have permission to monitor the user. 169 00:15:13,540 --> 00:15:19,660 written consent. Right. Hi, employee, I'm going to spy on you here. I need written consent 170 00:15:19,660 --> 00:15:24,740 from you to let me do that. And then we have spy error and I love this one. They came out 171 00:15:24,740 --> 00:15:31,760 and said it's the responsibility of the user to ascertain and obey all applicable laws to 172 00:15:31,760 --> 00:15:40,180 use spy error for sneaky purposes. Outstanding. At least they know, I mean, they're being 173 00:15:40,180 --> 00:15:44,180 honest. They're like, hey, we know what you're going to do. But they give all this legal text. 174 00:15:44,480 --> 00:15:48,420 Actually, if you read their disclaimer statement, they are more concerned about you stealing 175 00:15:48,420 --> 00:15:54,640 their intellectual property than going out and getting caught. And a number of the user 176 00:15:54,640 --> 00:15:59,600 agreements come out and say, look, we know you're going to spy on someone, but we don't want 177 00:15:59,600 --> 00:16:04,440 you reverse engineering our software. That would be wrong. So I'm just going to ‑‑ okay. 178 00:16:05,440 --> 00:16:09,940 I'll be more than happy not to reverse engineer your software. It doesn't mean I can't do a 179 00:16:10,180 --> 00:16:14,360 forensic examination with these three tools. So we went out and we picked up a copy of 180 00:16:14,360 --> 00:16:19,060 physical analyzer. We grabbed a copy of device seizure and we picked up micro system 181 00:16:19,060 --> 00:16:27,300 x-ray. Here we go. So we pick up flexi spy. Now, flexi spy is owned by the company called 182 00:16:27,300 --> 00:16:34,060 flexi spy, but it's sold through a third party called gate to shop online solutions. And that's 183 00:16:34,060 --> 00:16:39,540 an interesting point. All of these packages you don't buy directly from the software maker. You 184 00:16:40,180 --> 00:16:44,780 buy it through a third party source. A lot of times those third party sources are based in the 185 00:16:44,780 --> 00:16:51,620 U.S. So while flexi spy might be based in the U.K., if the software company is based in the U.S. 186 00:16:51,620 --> 00:16:56,060 and you sell it, where do you think the feds are going to go to try to find out who purchased 187 00:16:56,060 --> 00:16:59,260 the software? Are they going to try to fight the battle overseas or are they going to try to 188 00:16:59,260 --> 00:17:04,220 fight the battle domestically? Right. That's what I thought. So let's talk about flexi spy. 189 00:17:05,100 --> 00:17:09,320 And we're going to do all these presentations in the exact same way. We're going to show some 190 00:17:09,320 --> 00:17:14,460 history or evidence of download. We're going to talk about some of the operational activity and 191 00:17:14,460 --> 00:17:19,960 then we're going to start diving underneath the covers to find out what's going on. Flexi spy 192 00:17:21,240 --> 00:17:24,280 I'm going to stay out of your covers. Don't worry. I don't want to be in there. Dude. And I'd 193 00:17:24,280 --> 00:17:31,200 be so sorely disappointed. So flexi spy sits there and you can download stuff directly from 194 00:17:31,200 --> 00:17:35,280 that website. They give you the registration key so you can go download it. And according to 195 00:17:35,280 --> 00:17:39,300 their instructions, they have you delete the cache and delete all sorts of information to get 196 00:17:40,880 --> 00:17:47,320 information from the browser. Even after we did that with the forensic tools, we still found 197 00:17:47,320 --> 00:17:54,180 the particular URL from where we downloaded the spyware. And this particular URL had the 198 00:17:54,180 --> 00:17:59,840 registration key unique to that installation right there. That's our first piece of attributable 199 00:17:59,840 --> 00:18:06,680 information. We can tie it back to a particular purchase. Okay. Doesn't sound like it's too 200 00:18:06,680 --> 00:18:09,300 invisible. If we yank the SD card, it's gone. It's gone. It's gone. It's gone. It's gone. It's 201 00:18:09,320 --> 00:18:13,180 gone. It's gone. We were able to find stuff in the download directly, specifically the APK that 202 00:18:13,180 --> 00:18:19,800 was used for the installation. That doesn't sound too stealthy to me. I'm smelling something 203 00:18:19,800 --> 00:18:25,400 that's detectable. So I start looking around and I dive in the cache. And this is kind of cool. 204 00:18:26,420 --> 00:18:31,380 I dug down into the bookmark thumbnail cache for this particular software and there was this 205 00:18:31,380 --> 00:18:38,740 neat picture there. It was the installation page for the software. With the registration key, 206 00:18:38,740 --> 00:18:48,420 as part of the picture. Really? Along with the support address. Support at flexispy.com. 207 00:18:48,800 --> 00:18:53,100 Now I don't have to wonder about what type of spyware got installed. I now have a name. It's 208 00:18:53,100 --> 00:18:59,120 right there. I thought that, you know, particular piece of attribution was interesting. So we now 209 00:18:59,120 --> 00:19:04,760 have evidence that, yeah, it was downloaded and we tied it to a particular purchase, particular 210 00:19:04,760 --> 00:19:08,720 registration key. Then we noticed some glitches in the registration key. We noticed some glitches 211 00:19:08,740 --> 00:19:12,660 in the software itself. Every one of the pieces of software had glitches in them. 212 00:19:12,680 --> 00:19:16,360 Yeah. I don't know if you can hear them. They all had glitches. They had lots of glitches. 213 00:19:16,840 --> 00:19:20,820 They were all buggy in one way or another. And some of them was pretty darn obvious. In 214 00:19:20,820 --> 00:19:25,600 Flexispy, every 10 to 15 minutes, a little message would pop up at the top of the screen that 215 00:19:25,600 --> 00:19:36,740 says, unknown, just obtained super user access. Really? And now sometimes the software, 216 00:19:36,960 --> 00:19:38,720 you know, occasionally I'd reboot the file. I'd reboot the file. I'd reboot the file. I'd 217 00:19:38,740 --> 00:19:42,400 reboot the phone because I was looking at it. And the software would just stop working. So I 218 00:19:42,400 --> 00:19:47,720 called support or I e-mailed them and they said, oh, yeah, we're having a glitch. We need you to 219 00:19:47,720 --> 00:19:53,940 wipe the phone and reinstall the spyware. Very stealthy. Really? Very stealthy. I'm 220 00:19:53,940 --> 00:20:04,640 spying on a guy. You want me to completely wipe the phone? Yes. All right. Okay. So the 221 00:20:04,640 --> 00:20:08,520 question up front in the front row, which was asked in a very polite fashion was, was this a 222 00:20:08,740 --> 00:20:15,940 rooted phone? HTC Wildfire S was a rooted phone. The other phones were not. So this one was 223 00:20:15,940 --> 00:20:25,560 rooted. And it still had issues. The message appeared on this phone running this spyware. We 224 00:20:25,560 --> 00:20:29,780 didn't cross contaminate them. Because if we cross contaminated it and did a five by five 225 00:20:29,780 --> 00:20:33,640 matrix, well, then all of a sudden we would have issues and we would start seeing artifacts 226 00:20:33,640 --> 00:20:38,720 from different phones. So one phone to one spyware. It was a very, very, very, very 227 00:20:38,740 --> 00:20:42,740 good phone. It wouldn't always work. So they had me reinstall it. The next thing is I picked up a 228 00:20:42,740 --> 00:20:50,280 CDMA phone, an HTC Wildfire S, CDMA. I install the software. I send my first stealthy text command to 229 00:20:50,280 --> 00:20:57,300 the phone. And the phone shows up in the clear. I'm like, what the hell? So I'm like, I must have 230 00:20:57,300 --> 00:21:02,240 done something wrong. I must have mistyped the big long registration key. So I do it again. And it 231 00:21:02,240 --> 00:21:07,880 still shows up in the clear. I'm like, son of a gun. So I send them another support message and 232 00:21:07,880 --> 00:21:08,720 said, hey, you know what? I'm going to do it again. I'm going to do it again. I'm going to do it 233 00:21:08,740 --> 00:21:12,080 again. I'm a stupid user. I must be doing something wrong. What's the deal? And they're like, 234 00:21:12,160 --> 00:21:19,940 oh. We forgot to tell you. We don't really work well on CDMA phones. You should make sure that 235 00:21:19,940 --> 00:21:29,120 your user, you know, flip them over to GSM. Hold it. You had me wipe their phone. Now I've 236 00:21:29,120 --> 00:21:33,080 got to go up to the person and say, you're not going to notice that I'm changing the logo from 237 00:21:33,080 --> 00:21:38,580 Verizon to AT&T, are you? And change the billing. And they're like, it only works with GSM. We're 238 00:21:38,740 --> 00:21:44,640 sorry. Goodbye. So I took that phone. I ditched it. I went out and bought another phone. Go back 239 00:21:44,640 --> 00:21:52,820 to the Best Buy. You're back? I need another phone. So then I go out and I pick up an HTC Wildfire 240 00:21:52,820 --> 00:22:03,280 S, GSM version, and I go to root that. Has anyone here tried to root an HTC Wildfire S, GSM? 241 00:22:04,300 --> 00:22:08,360 It's a pain in the ass. So now we had to go order an XTC clip from England, have that shipped 242 00:22:08,360 --> 00:22:12,600 shipped over, we finally get into the phone, we unlock it and then we root it and we're 243 00:22:12,600 --> 00:22:18,840 good to go. I go through all this. Two months later the company released a new version of 244 00:22:18,840 --> 00:22:23,180 the software. Son of a bitch. That's okay. I'm just going to stick with my current plan. 245 00:22:24,340 --> 00:22:28,920 We noticed when we ran this through one of the tools that 152 running apps showed up 246 00:22:28,920 --> 00:22:32,900 for our Android phone. We didn't do anything. We installed the root checker just to see 247 00:22:32,900 --> 00:22:37,420 if we rooted things correctly and we installed this particular spyware. And wouldn't you 248 00:22:37,420 --> 00:22:44,580 know that super user shows up as one of the running applications. Hmm. Interesting. Nowhere 249 00:22:44,580 --> 00:22:49,460 in their description of trying to hide applications and icons did they even mention trying to 250 00:22:49,460 --> 00:22:56,420 get rid of super user. The next thing that shows up, we dug down under data slash system 251 00:22:56,420 --> 00:23:00,560 slash usage data slash blah, blah, blah, blah. And we found a reference to an application. 252 00:23:01,080 --> 00:23:07,400 It didn't show up on the application list. But com.android.m security. Bingo. We found 253 00:23:07,400 --> 00:23:13,500 our spyware. We actually pulled that out. And then we noticed this big, large directory 254 00:23:13,500 --> 00:23:19,880 structure. Data slash mish slash DM. That's a lot of files for something that's supposed 255 00:23:19,880 --> 00:23:27,740 to be undetectable. It was cool. So we started rifling through that. Handed some of the files 256 00:23:27,740 --> 00:23:32,020 to him. Handed some of the files to me. Start digging. And then all of a sudden we hit this 257 00:23:32,020 --> 00:23:37,380 little file called FX.log. Holy crap. This thing is a scam. It's a scam. It's a scam. 258 00:23:37,380 --> 00:23:43,100 is journaling all the activity that the spyware does on the phone. Everything. We have confirmation 259 00:23:43,100 --> 00:23:47,580 that we've connected to the remote website. We have the registration key. We have the 260 00:23:47,580 --> 00:23:53,700 name of the product, the software version, Pro X. We have all the little hidden commands 261 00:23:53,700 --> 00:23:57,960 so if I want to start sending more stealthy commands to it, you know, it shows up. For 262 00:23:57,960 --> 00:24:01,080 all you guys who are sitting there back there trying to text me right now, the phones are 263 00:24:01,080 --> 00:24:07,020 off and they're not here. They're dead. Interesting that it all showed up. We kept 264 00:24:07,020 --> 00:24:11,860 going down and now all of a sudden we start to see attribution. We now start to see the 265 00:24:11,860 --> 00:24:20,240 phone number that's doing the spying. So as I send text messages to the phone that's infected, 266 00:24:20,520 --> 00:24:25,240 all of a sudden there's a record saying, hey, the guy who's spying on you, this is his phone 267 00:24:25,240 --> 00:24:30,600 number. Really? I've seen debug logs that aren't this thorough. It was rather 268 00:24:30,600 --> 00:24:33,860 impressive. Uh-huh. 269 00:24:38,120 --> 00:24:45,440 Did it start to hide it? It did. However, there was a little glitch. So I activated 270 00:24:46,140 --> 00:24:51,700 the remote spying feature and I flip it in and I start listening on the phone call. And 271 00:24:51,700 --> 00:24:57,840 I have the other phone sitting across the room and all of a sudden I coughed. They heard 272 00:24:57,840 --> 00:25:06,720 the cough on the other end. See, what actually happens is it establishes a phone call directly 273 00:25:07,020 --> 00:25:12,980 to the infected phone. Phone calls are bidirectional. Bidirectional. You have to hit mute on your 274 00:25:12,980 --> 00:25:21,720 phone. Otherwise they hear you. Is this the spyware of choice for Rupert 275 00:25:21,720 --> 00:25:28,120 Burdock? This is a British company, right? It is a British company. Yes. If this was 276 00:25:28,120 --> 00:25:37,000 yeah. It does, doesn't it? No kidding. So foiled. So they did a better job of hiding 277 00:25:37,020 --> 00:25:41,500 the actual text messages that are being received. But then they go and keep a log of everything 278 00:25:41,500 --> 00:25:46,080 that happens. So the user doesn't necessarily see this, but it didn't take much to peel 279 00:25:46,080 --> 00:25:50,260 back the layers and find this. Right. So as we move in, we find another file called 280 00:25:50,260 --> 00:25:55,880 logcat. And logcat starts to confirm outbound connections from the phone. And it tells me 281 00:25:55,880 --> 00:26:02,400 where it's going. It tells me when it's making the connection. Now, to their credit, the 282 00:26:02,400 --> 00:26:07,000 software vendor actually starts to purge the database every so often. And that's what 283 00:26:07,020 --> 00:26:12,280 happens. No problem. We actually have a record of it cleaning up the database itself and 284 00:26:12,280 --> 00:26:16,160 running through that. We also notice that this particular spyware was starting to watch 285 00:26:16,160 --> 00:26:21,180 other services on the phone. I don't know why the spyware would watch and be concerned 286 00:26:21,180 --> 00:26:26,240 whether or not the phone was charging or not. But it looked. It also made references to 287 00:26:26,240 --> 00:26:32,020 slacker radio, including all the process ID numbers. Thank you for making our life easier. 288 00:26:32,200 --> 00:26:36,840 We do appreciate that. We wish everyone did the same thing. Now we start to go through logcat 289 00:26:36,840 --> 00:26:42,740 some more and we see the database maintenance routines. This is a dirty database. I need to do 290 00:26:42,740 --> 00:26:46,340 maintenance. I have to call it out. And now I have a listing of all the demons that get used. 291 00:26:50,100 --> 00:26:55,680 Outstanding. Now I know what's actually running my spyware. Now, we also picked up one of the 292 00:26:55,680 --> 00:27:00,520 tools, the celebrate you fed was kind of outstanding in this regard in doing a physical dump 293 00:27:00,520 --> 00:27:06,140 from the phone and we started looking through the raw data and we found data that was supposedly 294 00:27:06,140 --> 00:27:11,100 deleted from the phone during the purging of this database in these log files. And we found 295 00:27:11,100 --> 00:27:17,640 records that went all the way back to the very first moment that the spyware was installed. So 296 00:27:17,640 --> 00:27:22,380 it's not like, you know, they would keep only 100 records in their file. It's actually 297 00:27:22,380 --> 00:27:27,480 several hundred records. But when they would delete it, we would still find it on other 298 00:27:27,480 --> 00:27:31,040 portions of the phone. And some of the stuff we found, just to make it easier for you to read, 299 00:27:31,480 --> 00:27:36,120 looked like this. We were able to identify when the SIM card was changed, which means, you know, 300 00:27:36,120 --> 00:27:42,600 this spyware wasn't tied to information on the SIM card. We still had the spyware number and we 301 00:27:42,600 --> 00:27:48,480 still had instructions being sent back and forth to the command. We also saw the controlling 302 00:27:48,980 --> 00:27:53,980 phone number. The phone number that was spying on you in the deleted data. So even after this 303 00:27:53,980 --> 00:27:58,780 particular piece of spyware was uninstalled and we deleted those records, we still found all of 304 00:27:58,780 --> 00:28:06,100 that old data. And with that, we're going to move over to spybubble. All you guys are doing is 305 00:28:06,120 --> 00:28:10,520 you can keep your clicker thing. You're really good at it. Thank you. Trying to make you feel 306 00:28:10,520 --> 00:28:15,900 better. So spybubble is a different company, different set of rules. They are a, I already 307 00:28:15,900 --> 00:28:21,680 forgot. California-based company. California-based company that, yeah, they were. 308 00:28:21,960 --> 00:28:25,900 Yeah, California-based company. Actually, they sold their software through a company called 309 00:28:25,900 --> 00:28:30,500 Plymouth in California. So very easy for law enforcement to go after them. If you want to 310 00:28:30,500 --> 00:28:36,100 install one of them, this is the one that I would go with because it makes the FBI's job a 311 00:28:36,120 --> 00:28:43,000 lot easier. The URL history, we had a download link from where we downloaded the actual file. 312 00:28:43,140 --> 00:28:48,320 That still showed up in the history file. The downloads database still showed a registry of the 313 00:28:48,320 --> 00:28:55,060 APK file coming in. Your downloads backup, the database, has time stamps on every one of those 314 00:28:55,060 --> 00:29:02,940 entries. So we knew exactly when the spyware was downloaded onto the phone. This was the only 315 00:29:02,940 --> 00:29:06,100 phone that didn't come with an SD card. So we had to supply an SD card to the phone. We had to 316 00:29:06,120 --> 00:29:11,120 install an SD card with it. And that actually changed some things. Because this was an 317 00:29:11,120 --> 00:29:16,620 external SD card that was getting the spyware installed onto it, because it was downloading to 318 00:29:16,620 --> 00:29:21,980 that SD card, it was externally mounted media, that actually caused this piece of spyware to log 319 00:29:21,980 --> 00:29:26,300 some things that weren't logged on the other phones, which actually gave us even more artifacts 320 00:29:26,300 --> 00:29:34,360 to look at later. The, to turn on the spyware once it was installed, you were supposed to go into 321 00:29:34,740 --> 00:29:36,100 the dialer like you're making a phone call. You're supposed to go into the dialer like you're 322 00:29:36,120 --> 00:29:42,920 making a phone call. And kind of like with standard GSM calls, you dial a pound 9999 was the 323 00:29:42,920 --> 00:29:47,120 default ID number, and then a star, and that's supposed to activate the user interface for the 324 00:29:47,120 --> 00:29:52,780 spyware. Now, I'm sure their intention was to hook the dialer and make this a special function 325 00:29:52,780 --> 00:30:00,240 that did nothing but open this up. But it actually tried to call this phone number. So back to how 326 00:30:00,240 --> 00:30:05,080 stealthy they were, you now have this in the call logs any time the user hits the recent button and 327 00:30:05,080 --> 00:30:06,100 looks to see what else they've done. And then you have this in the call logs any time the user hits the 328 00:30:06,120 --> 00:30:09,980 set of buttons they've been calling, this was there. Which meant they were 329 00:30:09,980 --> 00:30:16,540 going to dial it out of curiosity and see this interface that's on the screen. Brilliant 330 00:30:16,540 --> 00:30:24,000 design plan. So they, that six-digit number is someone that you can configure if you wanted to 331 00:30:24,000 --> 00:30:30,260 change it to something else. But we can figure out what it was pretty easily. when we looked 332 00:30:30,260 --> 00:30:36,100 through the ROD dump of what was on the device, we came across the actual execution. That technically 333 00:30:36,100 --> 00:30:39,120 executables. In this particular screen shot we're showing that 334 00:30:39,120 --> 00:30:44,240 the text message that gets delivered to the person that's 335 00:30:44,240 --> 00:30:47,880 spying on you to tell you that it's installed successfully is 336 00:30:47,880 --> 00:30:53,160 on disk in about 30 different languages. Multicultural. 337 00:30:53,720 --> 00:30:57,860 I thought it was nice of them. So we were able to find 338 00:30:57,860 --> 00:31:01,400 that which led us back to the actual executable which led us 339 00:31:01,400 --> 00:31:04,100 back to all of its partner apps and everything that went with 340 00:31:04,100 --> 00:31:09,480 it. Not well hidden at all. It was merely hidden from normal 341 00:31:09,480 --> 00:31:14,500 user activity. Just like any other app, it had a data 342 00:31:14,500 --> 00:31:18,880 partition for all of its user data. In here we found a whole 343 00:31:18,880 --> 00:31:22,880 host of log files and settings files that told us everything 344 00:31:22,880 --> 00:31:26,720 about how this piece of spyware was going to operate. Most of 345 00:31:26,720 --> 00:31:31,180 that was... You're fingering at me like you were going to say 346 00:31:31,180 --> 00:31:33,940 something. In the advanced settings text file there 347 00:31:34,100 --> 00:31:37,720 was everything we needed to know about how the settings were 348 00:31:37,720 --> 00:31:40,820 working. This relates back to that screen shot where it shows 349 00:31:40,820 --> 00:31:43,240 us turning all the settings on and off. This is where they're 350 00:31:43,240 --> 00:31:46,180 actually saved. We could see what those settings were even if 351 00:31:46,180 --> 00:31:48,260 we're dealing with a dead device and not going through the user 352 00:31:48,260 --> 00:31:52,140 interface to find it. There are user intervals that are listed 353 00:31:52,140 --> 00:31:54,640 on the bottom of that. Tells us how often the spyware is going 354 00:31:54,640 --> 00:31:58,180 to look at our phone and then how often is it going to call me 355 00:31:58,180 --> 00:32:01,920 to tell me what you're doing on this piece of phone. Next one. 356 00:32:04,100 --> 00:32:07,520 Anything useful in that one? It's basically the same thing. 357 00:32:07,880 --> 00:32:11,300 GPS was enabled on this one. It would actually send us back the 358 00:32:11,300 --> 00:32:16,620 locations of where the device was. Every 15 minutes I would 359 00:32:16,620 --> 00:32:20,700 get an update sent out to a website and then we could log 360 00:32:20,700 --> 00:32:23,460 in to the website and follow this phone as it was moving 361 00:32:23,460 --> 00:32:31,700 around. The next file down from that was buddy.txt. This is the 362 00:32:31,700 --> 00:32:34,080 phone number of the person who is using the device. This is a 363 00:32:34,100 --> 00:32:37,740 phone number of the person who is spying on you. I love the 364 00:32:37,740 --> 00:32:45,660 name. Buddy. Hi, buddy. Really? Really. So very small text 365 00:32:45,660 --> 00:32:48,780 file. Just had a phone number in it. This gave us attribution. So 366 00:32:48,780 --> 00:32:51,440 now we not only know what's installed, we can actually go 367 00:32:51,440 --> 00:32:54,860 find it. By finding the executable that had the name 368 00:32:54,860 --> 00:32:57,820 embedded into it so we know what website to go to, we know what 369 00:32:57,820 --> 00:33:01,100 company to subpoena for records, but now we actually have 370 00:33:01,700 --> 00:33:04,080 which bad guy do I want to go after. And then we can actually 371 00:33:04,100 --> 00:33:06,200 go back to the user because we've got his phone number of the 372 00:33:06,200 --> 00:33:10,060 phone he's using to control our spy don phone. There was a 373 00:33:10,060 --> 00:33:15,160 secret.txt file that contained just the pin number. So instead 374 00:33:15,160 --> 00:33:17,660 of six nines, we could change that number to whatever we 375 00:33:17,660 --> 00:33:21,100 wanted to. That got saved in this text file. Then we were able 376 00:33:21,100 --> 00:33:25,320 to see what that was. This is especially helpful if the user 377 00:33:25,320 --> 00:33:27,540 has changed it and we don't know how to bring up that interface. 378 00:33:28,140 --> 00:33:31,740 We can image the phone, dig through all these files. Now we 379 00:33:31,740 --> 00:33:33,980 know how to pull the interface up and we can go back to the 380 00:33:34,100 --> 00:33:36,700 phone and show the user that they've been getting spied on. 381 00:33:37,400 --> 00:33:41,940 They like that. There was also a serial text file in there. This 382 00:33:41,940 --> 00:33:45,380 gave us the registration number that was used to license this 383 00:33:45,380 --> 00:33:48,700 piece of software. This gave us our third piece of attribution 384 00:33:48,700 --> 00:33:52,600 because now we've got this registration ties to a purchase 385 00:33:52,600 --> 00:33:56,160 database back at the company which tells us whose credit card 386 00:33:56,160 --> 00:34:01,680 paid for this piece of software to be on this device. And then 387 00:34:01,680 --> 00:34:03,660 what was the name of this one? I don't remember the name of this 388 00:34:04,100 --> 00:34:11,700 one. SpyPurse.XML. This is more preferences. This gave us a 389 00:34:11,700 --> 00:34:15,140 time stamp of every single piece of activity that was going on on 390 00:34:15,140 --> 00:34:18,680 the phone. So the spyware is logging all the different things 391 00:34:18,680 --> 00:34:22,000 that it's done and giving us a time of when was the last time 392 00:34:22,000 --> 00:34:24,460 the user made a phone call, when was the last time he sent a text 393 00:34:24,460 --> 00:34:28,320 image. And we were able to track a lot of activity about the 394 00:34:28,320 --> 00:34:31,540 device and about the spyware activating on the device through 395 00:34:31,540 --> 00:34:31,960 this file. 396 00:34:34,100 --> 00:34:37,300 We sent this one, one of the features that it had, we 397 00:34:37,300 --> 00:34:43,600 could via text message or the website sent off the request? I 398 00:34:43,600 --> 00:34:46,400 forget now. You can do both. Either one. So we would send a 399 00:34:46,400 --> 00:34:50,500 text message to his phone and that would tell his phone take a 400 00:34:50,500 --> 00:34:54,420 picture of whatever you see. Now there was a small lag in 401 00:34:54,420 --> 00:34:56,800 getting the text message on to his phone and then getting the 402 00:34:56,800 --> 00:35:00,240 spyware to activate. So the first one that we tried to do 403 00:35:00,240 --> 00:35:03,860 this with, it actually went off in his pocket, which is why the 404 00:35:04,100 --> 00:35:07,600 picture is just a black square. So we tried it again with him 405 00:35:07,600 --> 00:35:11,340 taking the phone out and leaving it up on a counter. And what we 406 00:35:11,340 --> 00:35:13,740 ended up with was a blurry mess that you can't tell what's 407 00:35:13,740 --> 00:35:17,500 going on because it's not using the actual camera app to take the 408 00:35:17,500 --> 00:35:20,660 photo. It's just doing a raw dump of whatever the camera can 409 00:35:20,660 --> 00:35:25,360 see, which means it doesn't focus. Didn't make it terribly 410 00:35:25,360 --> 00:35:27,920 useful in any of the photos we tried to grab with this thing. 411 00:35:29,180 --> 00:35:32,700 One last thing. Those particular photos we didn't find 412 00:35:32,700 --> 00:35:33,120 on the phone? 413 00:35:34,100 --> 00:35:36,060 We didn't find those file names on the phone or those 414 00:35:36,060 --> 00:35:39,060 time date stamps anywhere, which was interesting. We actually 415 00:35:39,060 --> 00:35:42,080 pulled up some of the photos and grabbed some of the raw code and 416 00:35:42,080 --> 00:35:44,720 tried to do a hex search for it and still didn't find the 417 00:35:44,720 --> 00:35:51,600 pictures. What we did find, though, was if we started 418 00:35:51,600 --> 00:35:55,120 looking through the Android logs, not related to the spyware 419 00:35:55,120 --> 00:35:59,740 itself, but Android itself kept ‑‑ it was throwing fatal 420 00:35:59,740 --> 00:36:04,080 exceptions. So the spyware was causing errors in Android. And 421 00:36:04,100 --> 00:36:08,380 a lot of the errors were related back to the spyware executing or, in 422 00:36:08,380 --> 00:36:13,300 this particular screenshot, the camera app. So it appears what the 423 00:36:13,300 --> 00:36:17,120 spyware does to get the picture is causes an error in the camera 424 00:36:17,120 --> 00:36:19,740 app, which gives us a log of every time we tried to take a 425 00:36:19,740 --> 00:36:23,560 picture. So even though we couldn't find the actual pictures 426 00:36:23,560 --> 00:36:28,220 on the device, we were able to go through the event logs that are 427 00:36:28,220 --> 00:36:31,640 tied to Android and find events tied with every one of those 428 00:36:31,640 --> 00:36:32,620 pictures being taken. 429 00:36:35,380 --> 00:36:36,840 You're doing the finger thing again. 430 00:36:36,980 --> 00:36:39,280 I did the next thing. Come on. We've got 15 minutes. 431 00:36:39,380 --> 00:36:43,820 So there's another exception that was thrown that was related to ‑‑ 432 00:36:43,820 --> 00:36:45,040 which one was this related to? 433 00:36:45,200 --> 00:36:46,620 Live picture service. 434 00:36:47,000 --> 00:36:49,020 Live picture service. It's still related to the pictures. Next 435 00:36:49,020 --> 00:36:50,780 one. We've already moved on from that. 436 00:36:50,980 --> 00:36:51,400 App history. 437 00:36:51,680 --> 00:36:54,000 When we get into the app history, this is another 438 00:36:54,000 --> 00:36:58,020 Android file. This isn't related to the spyware itself, but this 439 00:36:58,020 --> 00:37:00,960 tells us all of the installed apps that Android is tracking. 440 00:37:01,480 --> 00:37:04,080 And this one in here, which actually shows all the apps that 441 00:37:04,100 --> 00:37:05,600 are being installed. The spyware being installed. This 442 00:37:05,600 --> 00:37:09,660 also gives us a date time stamp of when this was installed. This 443 00:37:09,660 --> 00:37:11,880 one actually works out to be a couple minutes after it was 444 00:37:11,880 --> 00:37:14,880 downloaded, which works well in our timeline of what's going on. 445 00:37:14,980 --> 00:37:19,800 Next. We're also able to pull up a bunch of recent activity. 446 00:37:20,040 --> 00:37:22,820 This is another Android thing where it's tracking all the 447 00:37:22,820 --> 00:37:25,740 recent things that happened inside the phone and gives us 448 00:37:25,740 --> 00:37:29,120 date time stamps and activity. And if you just search for the 449 00:37:29,120 --> 00:37:31,480 radio app, because that's what they actually named their app, 450 00:37:31,560 --> 00:37:34,080 was radio ADV. If you just search for that in there, you'll 451 00:37:34,100 --> 00:37:36,220 find all of those event logs. You ended up with a date time 452 00:37:36,220 --> 00:37:38,620 stamp and a list of activities of everything the spyware was 453 00:37:38,620 --> 00:37:44,080 doing on the phone that was infected. We also, since the 454 00:37:44,080 --> 00:37:46,680 phone was on and live when we did the image on here, we've got 455 00:37:46,680 --> 00:37:49,260 the list of running processes. It did nothing to try and hide 456 00:37:49,260 --> 00:37:51,820 itself from the list of running processes. Since normal users 457 00:37:51,820 --> 00:37:54,600 can't see that anyway, they didn't care. I thought it was a 458 00:37:54,600 --> 00:37:58,000 great coincidence, though, that it happened to be process ID 666. 459 00:38:01,600 --> 00:38:04,080 And that moves us off to Mobistill. So we're going to 460 00:38:04,100 --> 00:38:04,500 look at the application. So we're going to look at the 461 00:38:04,500 --> 00:38:06,680 application. So Mobistill, a company based out of Massachusetts, 462 00:38:07,100 --> 00:38:11,100 they sell their software through Plymouth as well. We found a 463 00:38:11,100 --> 00:38:14,140 history of that software the same way we did before. It's in 464 00:38:14,140 --> 00:38:17,560 the URL history. It showed up. And they were very creative in 465 00:38:17,560 --> 00:38:22,140 what they called their application. Mobistill V2. So 466 00:38:22,140 --> 00:38:24,860 we actually dug through the list of apps and this is what we 467 00:38:24,860 --> 00:38:26,520 thought interesting. They actually called the 468 00:38:26,520 --> 00:38:30,520 application from the user's point of view Lookout Secure. I 469 00:38:30,520 --> 00:38:34,080 wonder if Lookout's aware that they're using that name. So we 470 00:38:34,100 --> 00:38:36,620 actually start to go through it. Now this is a picture of what you 471 00:38:36,620 --> 00:38:39,520 see on the website. And the website allows you to send 472 00:38:40,220 --> 00:38:43,300 particular commands directly to the phone. It also allows you to 473 00:38:43,300 --> 00:38:47,980 configure the phone remotely. So here where we have particular 474 00:38:47,980 --> 00:38:51,800 arrows pointed, we add a key word and we add a phone number. 475 00:38:52,060 --> 00:38:55,300 And the spyware says if I receive a text message with that 476 00:38:55,300 --> 00:38:59,120 word from that phone number, I'll do whatever you say. I will 477 00:38:59,120 --> 00:39:02,660 report the location information. Great. So I added my phone 478 00:39:02,660 --> 00:39:04,080 number. I added the word location. I added the location. 479 00:39:04,080 --> 00:39:06,740 And then I went and looked at the phone. And wouldn't you know 480 00:39:06,740 --> 00:39:10,260 that I found the database with the word location and with my 481 00:39:10,260 --> 00:39:14,020 phone number. A SQLite database. I now know who's doing 482 00:39:14,020 --> 00:39:17,340 the spying of me on the phone. I also went down and I found 483 00:39:17,340 --> 00:39:21,080 another debug log. These guys love debug logs. I've never seen 484 00:39:21,080 --> 00:39:24,740 someone do this so much. But we found a debug log down here and 485 00:39:24,740 --> 00:39:28,700 we were able to identify a lot of the services. And the GPS 486 00:39:28,700 --> 00:39:31,360 information and the coordinates, which was great. And they carried 487 00:39:31,360 --> 00:39:34,060 out something like 12 to 15 digits. And then I went down and 488 00:39:34,080 --> 00:39:35,920 checked the GPS coordinates. If you go directly to the website, 489 00:39:36,100 --> 00:39:38,440 you'll see the exact same numbers and the GPS coordinates 490 00:39:39,060 --> 00:39:42,260 reported correctly. But all of that information shows that you 491 00:39:42,260 --> 00:39:45,200 have a time history of when this particular software was 492 00:39:45,200 --> 00:39:48,980 running. Now, this particular piece of spyware also grabbed 493 00:39:48,980 --> 00:39:51,820 all the photos off the phone. And when it grabbed the photos 494 00:39:51,820 --> 00:39:56,640 off the phone, it used a time stamp in the name. And we found 495 00:39:56,640 --> 00:40:00,620 that in the log file under logged pictures.ser. We found 496 00:40:00,620 --> 00:40:03,440 three pictures that were taken directly from the phone. They 497 00:40:04,080 --> 00:40:07,560 went directly to the website. I've highlighted one here. And all 498 00:40:07,560 --> 00:40:09,820 of a sudden it goes up. And you'll notice that the names are 499 00:40:09,820 --> 00:40:12,880 the same. So we took the picture from the phone and we 500 00:40:12,880 --> 00:40:15,120 took the picture directly from the website and downloaded it 501 00:40:15,120 --> 00:40:19,420 and we hashed it. They were identical. So we can trace the 502 00:40:19,420 --> 00:40:22,260 activity directly to that particular user account. Now, 503 00:40:22,280 --> 00:40:26,760 this is the part that kills me, though. This super ‑‑ don't 504 00:40:26,760 --> 00:40:32,160 tell anyone. This super secret stealthy software uses FTP to 505 00:40:32,160 --> 00:40:34,060 send all its data. . . . . . . . . . . . . . . . 506 00:40:35,700 --> 00:40:40,660 All of it. The website name, the credentials, all of that is 507 00:40:40,660 --> 00:40:44,000 listed in an XML file directly on the phone. All fully readable. 508 00:40:46,560 --> 00:40:50,100 Outstanding. I think that's great. So if we were worried 509 00:40:50,100 --> 00:40:53,420 about attribution before, when it got installed, when it was 510 00:40:53,420 --> 00:40:55,480 running, I think we've taken care of that with this product. 511 00:40:55,800 --> 00:41:00,380 That moves us on to Mobile Spy. Mobile Spy is based out of 512 00:41:00,380 --> 00:41:03,900 Jacksonville, Florida. But they, just like all the others, they're 513 00:41:04,080 --> 00:41:06,200 using somebody else to do all their credit card transactions. 514 00:41:07,260 --> 00:41:09,840 These came through a Dutch company. It was one of the few 515 00:41:09,840 --> 00:41:13,640 that went outside the U.S. to do their credit card purchases. But 516 00:41:13,640 --> 00:41:17,060 it's a legit company. It's the same one you go to Tuxera to buy 517 00:41:17,060 --> 00:41:21,680 your NTFS drivers and such with. They showed up in the downloads 518 00:41:21,680 --> 00:41:24,680 history. The one thing they did different, they do have a 519 00:41:24,680 --> 00:41:28,560 separate website that you're downloading the APK from so that 520 00:41:28,560 --> 00:41:31,500 it almost doesn't attribute back to them except for the fact that 521 00:41:31,500 --> 00:41:34,060 it does say MS for Mobile Spy right in the, you know, the 522 00:41:34,080 --> 00:41:37,760 URL. This one did have a couple of problems with how it 523 00:41:37,760 --> 00:41:41,440 executed. We were, you're supposed to be getting emails 524 00:41:41,440 --> 00:41:45,120 sent to the person that's monitoring you. And sometimes 525 00:41:45,120 --> 00:41:48,620 we would receive an email that told us a certain action had 526 00:41:48,620 --> 00:41:51,400 occurred and we would log into the website to see the full log 527 00:41:51,400 --> 00:41:55,200 of activity and it wouldn't be there. So sometimes the logs 528 00:41:55,200 --> 00:41:58,700 weren't being updated correctly. The other problem we have with 529 00:41:58,700 --> 00:42:01,220 this particular piece of spyware is the battery life on 530 00:42:01,220 --> 00:42:04,020 the phone got cut into a little less than half as soon as 531 00:42:04,080 --> 00:42:06,740 we installed it. We had to keep this phone plugged in for the 532 00:42:06,740 --> 00:42:12,040 rest of the day every time we played with it after that. Oh, 533 00:42:12,160 --> 00:42:14,700 this is good. Oh, this is it. I like this one. Oh, yeah, I 534 00:42:14,700 --> 00:42:16,900 almost forgot about this one. This one actually pissed both of 535 00:42:16,900 --> 00:42:22,660 us off. The spyware, after a few days, what was it, 60 days? 536 00:42:22,820 --> 00:42:26,140 It was 60 days. It threw us out an email telling us that we 537 00:42:26,140 --> 00:42:29,860 needed to go log back into their website and change our username 538 00:42:29,860 --> 00:42:33,180 and password. And we were, like, so happy that they were 539 00:42:33,180 --> 00:42:34,060 actually employing D.C. 540 00:42:34,080 --> 00:42:37,400 security policy. So we logged in, we changed our username and 541 00:42:37,400 --> 00:42:41,340 password, and then we stopped receiving alerts from the phone 542 00:42:41,920 --> 00:42:45,400 because you also have to go to the phone and change the username 543 00:42:45,400 --> 00:42:47,880 and password there, otherwise it doesn't know how to log into the 544 00:42:47,880 --> 00:42:54,280 service and upload its data. So I'm still baffled as to how they 545 00:42:54,280 --> 00:42:56,240 think that's supposed to work, especially on an enterprise 546 00:42:56,240 --> 00:43:01,700 level. Yeah. This one we had the same kind of thing where any 547 00:43:01,700 --> 00:43:04,060 application you install is going to have its own user data. So 548 00:43:04,080 --> 00:43:06,580 we had a new section full of files. This one, just like all the 549 00:43:06,580 --> 00:43:10,320 others, had a whole host of log files and settings files that we 550 00:43:10,320 --> 00:43:13,660 were able to go through. For this particular piece of 551 00:43:13,660 --> 00:43:17,220 software, they called the application Retina. So once we 552 00:43:17,220 --> 00:43:21,460 figured that out, Googling, or not Googling, searching for that 553 00:43:22,080 --> 00:43:25,320 name throughout the device brought us back a whole bunch of 554 00:43:25,320 --> 00:43:32,320 extra files. We had a packages XML file. This is part of Android, 555 00:43:32,580 --> 00:43:34,060 not part of the spyware. We had a package XML file. This is part of 556 00:43:34,080 --> 00:43:36,760 Android. And in there, we were able to see all of the installed 557 00:43:36,760 --> 00:43:39,320 packages on the device. So we were able to find it, even though 558 00:43:39,320 --> 00:43:41,480 it was attempting to hide from the user. We found a bunch of 559 00:43:41,480 --> 00:43:44,720 information about it being installed. There was a shared 560 00:43:44,720 --> 00:43:48,820 preferences section, which gave us all of the different 561 00:43:48,820 --> 00:43:52,380 preferences for the spyware, which when we started digging 562 00:43:52,380 --> 00:43:55,220 through what all those different preferences settings were, it 563 00:43:55,220 --> 00:43:59,560 gave us the website information, the username information 564 00:44:00,380 --> 00:44:03,860 associated with the person who's doing the spying on us. 565 00:44:05,640 --> 00:44:08,020 Great. I always wanted the e-mail address of the person who's 566 00:44:08,020 --> 00:44:11,320 spying on me. If you're going to have a stalker, that's the best way 567 00:44:11,320 --> 00:44:17,940 to have one. Literally. There's their e-mail address. We also got a 568 00:44:17,940 --> 00:44:21,200 time stamp in here every time it was updating back to us so we know 569 00:44:21,200 --> 00:44:24,880 how long it's been doing it. And this friendly number. This one was 570 00:44:24,880 --> 00:44:28,000 the other one that pushed me over the edge. This is the phone number 571 00:44:28,000 --> 00:44:30,740 of the person that's spying on me. So now I have his e-mail address 572 00:44:30,740 --> 00:44:33,980 and his phone number, and we've got all the other information about 573 00:44:34,080 --> 00:44:36,640 the serial and licensing from before that we can go subpoena and 574 00:44:36,640 --> 00:44:40,740 prove he paid for it. It's only fair. So that brings us, that was 575 00:44:40,740 --> 00:44:43,100 four, right? That's four. That brings us up to four. We got 576 00:44:43,100 --> 00:44:45,340 them. Do you have a question on four or do you want us to do five 577 00:44:45,340 --> 00:44:45,580 first? 578 00:45:07,080 --> 00:45:14,460 Okay. Well, we're going to talk about the iPhone in just a minute. So 579 00:45:14,460 --> 00:45:17,820 I'm going to ask you to hold off on that for just a second. We're going to 580 00:45:17,820 --> 00:45:21,640 hit our last one, which is based out of Hong Kong, although they're 581 00:45:21,640 --> 00:45:23,920 selling their software through a California-based firm. 582 00:45:24,600 --> 00:45:27,560 I had to include this one because we were beating up on Android so 583 00:45:27,560 --> 00:45:29,940 much. I wanted to be fair and beat up on Apple as well. 584 00:45:30,160 --> 00:45:33,780 Right. So we took a look at this. As soon as we popped it up on our 585 00:45:33,780 --> 00:45:34,060 forensics site, we had a lot of questions. We had a lot of questions. We 586 00:45:34,080 --> 00:45:34,220 were asking about the cameras. We were asking if we had good cameras. 587 00:45:34,220 --> 00:45:35,420 We had the cameras, the tools, they all came back and said hey, 588 00:45:35,460 --> 00:45:38,220 this phone has been jailbroken. Okay. That's going to be a 589 00:45:38,220 --> 00:45:43,840 problem. We noticed a couple of funny listed applications on the 590 00:45:43,840 --> 00:45:50,340 phone. Hmm. Cydia shows up as well as own spy. demon. Okay. 591 00:45:50,500 --> 00:45:53,980 That's fine. So we took a look at the phone and we grabbed a copy of 592 00:45:53,980 --> 00:45:58,900 the screen to show you we didn't have any applications there. So we 593 00:45:58,900 --> 00:46:01,940 didn't find any apps there. All right. So, hey, maybe there's no 594 00:46:01,940 --> 00:46:04,060 software there. So, hey, we're selling our iPhone. We are 595 00:46:04,080 --> 00:46:09,740 we pulled up the icon state P list to identify all the applications were good, but then we 596 00:46:09,740 --> 00:46:15,100 compared it directly to the desired icon state and we noticed that there were two applications 597 00:46:15,100 --> 00:46:19,740 at the bottom that are being hidden. When we compare the two files, we identify the 598 00:46:19,740 --> 00:46:24,240 fact that one, it has been jailbroken and the second one, we have spyware running on 599 00:46:24,240 --> 00:46:28,800 our phone. Now, when we go in and we pick up this particular file here, you'll notice 600 00:46:28,800 --> 00:46:33,820 that we have a very unique key. This is the one that takes us back to the spyware software 601 00:46:33,820 --> 00:46:38,780 company and also takes us back to the company that sold it to us. So if the Hong Kong company 602 00:46:38,780 --> 00:46:42,820 doesn't want to play ball and we notice that they routed their traffic to a whole bunch of 603 00:46:42,820 --> 00:46:47,700 different websites before sending it back home, we can always go back to Plymouth and just 604 00:46:47,700 --> 00:46:51,900 say, hey, you're the ones who sold it, just like the way a gun dealer would sell a particular 605 00:46:51,900 --> 00:46:56,840 gun. You don't go back to the manufacturer. They can track that information. We also have a 606 00:46:56,840 --> 00:47:01,140 whole bunch of preference information that shows up to let us know what's running on this 607 00:47:01,140 --> 00:47:03,800 particular spy phone. So we have a whole bunch of preference information that shows up to let us 608 00:47:03,800 --> 00:47:06,540 know. We also have information that says, yes, it had to be jailbroken and yes, this 609 00:47:06,540 --> 00:47:12,280 information runs in the background. Good news, this guy decided to create logging as well 610 00:47:12,280 --> 00:47:17,360 called own spy.log. In there we have a whole bunch of information. The very first time the 611 00:47:17,360 --> 00:47:22,220 spyware has been run. I know when it's installed, and as soon as it's installed it goes 612 00:47:22,220 --> 00:47:26,740 out and checks. Are you registered, are you registered, are you registered, Bueller, Bueller. 613 00:47:28,000 --> 00:47:32,000 It's registered, and now all the sudden we start to see activity. And there's even a thank 614 00:47:32,000 --> 00:47:33,780 you note in there. In the logs, yeah. You could have read it in reports and stuff like that. 615 00:47:33,800 --> 00:47:39,140 logs. Thank you for registering. The user never sees it. I didn't see it when I installed 616 00:47:39,140 --> 00:47:45,640 it, but I was thanked, you know, you're welcome. Coming along, we also found that unique 617 00:47:45,640 --> 00:47:51,860 information. We also dig the fact that this particular piece of spyware gave an MD5 of the 618 00:47:51,860 --> 00:47:57,440 device itself. It uniquely identified that particular phone. We also have a listing of the 619 00:47:57,440 --> 00:48:02,460 demon that runs it. We have check information. We can also see that it goes through and checks 620 00:48:02,460 --> 00:48:06,600 the SMS log and says I found something. I'm going to go upload it. I'm going to give you the 621 00:48:06,600 --> 00:48:10,780 date and time. I'm also going to tell you how fast your phone is moving. And then we found a 622 00:48:10,780 --> 00:48:17,740 whole bunch of cached images. Do any of those logos look familiar to you? Huh. Interesting. I 623 00:48:17,740 --> 00:48:22,280 cleared out everything that I was asked to, but these cached files still show up. I also have 624 00:48:22,280 --> 00:48:28,200 the date and time when this was installed on the phone. Now, the your company, for all you 625 00:48:28,200 --> 00:48:32,400 app developers out there, yeah, that's the official your company. He never changed a 626 00:48:32,400 --> 00:48:36,720 default. And then I have a whole bunch of files that show up. Tons of them that come up on 627 00:48:36,720 --> 00:48:41,660 this particular list. I also have other information that identifies the particular application 628 00:48:41,660 --> 00:48:47,960 in library. And a big long list and X ray and the U fed were able to identify both of 629 00:48:47,960 --> 00:48:53,520 those. So that with 90 seconds to go brings us to the bottom line. Because there is a bottom 630 00:48:53,520 --> 00:48:57,940 line. There's always a bottom line. How can you tell if you've been phoned? Pretty easy. Check 631 00:48:57,940 --> 00:49:02,380 the SD card, check the history, see what's been downloaded and installed in the phone. Then go to the 632 00:49:02,380 --> 00:49:05,820 check to see what other databases are running there because chances are there's going to 633 00:49:05,820 --> 00:49:10,480 be configuration information sitting there in the clear. Lastly, you're going to find 634 00:49:10,480 --> 00:49:15,520 all sorts of logging. Great. Go read the logs. I mean, you don't need a special tool to go 635 00:49:15,520 --> 00:49:19,380 read the logs, but you can go pick them up. You can also check to see if there are new 636 00:49:19,380 --> 00:49:24,300 services running on the phone. So while an application might be, you know, withheld from 637 00:49:24,300 --> 00:49:27,640 the screen interface, you're still going to see certain processes and then you can go 638 00:49:27,640 --> 00:49:34,780 look for signs of rooting and jail breaking. One last note. This particular presentation has 639 00:49:34,780 --> 00:49:38,880 been updated since the DVD. There's a little more information. We gave you an e‑mail address 640 00:49:38,880 --> 00:49:43,780 at the bottom of the screen. Give me the presentation at gmail.com. You send us the e‑mail 641 00:49:43,780 --> 00:49:49,520 address. We'll send you back. It's a big file, like 18 to 20 megs in size because it has 642 00:49:49,520 --> 00:49:56,660 pretty pictures. We'll be happy to share that with you. That takes us to 50 minutes. We're 643 00:49:56,660 --> 00:49:57,520 going to the Q&A room. 644 00:49:57,520 --> 00:50:01,760 We'd love to see you there. Probably won't all fit unless we drive a clown car, but we 645 00:50:01,760 --> 00:50:03,920 could try it anyway. Enjoy the rest of the con.