1 00:00:00,000 --> 00:00:03,280 Okay, everyone. Welcome to Malware Freak Show 2. 2 00:00:06,540 --> 00:00:10,080 So here's the agenda for you. We're not going to really walk through each bullet by bullet, 3 00:00:10,140 --> 00:00:16,540 but just one thing to note is that this is a continuation from a talk that we did last year at DEF CON 17, 4 00:00:17,040 --> 00:00:21,000 and we wanted to dig a lot deeper and expand it to some various different classes of malware, 5 00:00:21,440 --> 00:00:25,120 but also show you some new things that are going on in the world of malware development. 6 00:00:25,580 --> 00:00:29,160 So we're going to spend a lot of our time in this presentation during the sample analysis. 7 00:00:30,000 --> 00:00:33,160 So just keep in mind, there's going to be a lot of demos. We have four demos for you this year. 8 00:00:34,580 --> 00:00:40,060 So a little bit about us. I'm Nick Percoco. I'm the Senior Vice President, Head of Spider Labs at Trustwave. 9 00:00:40,260 --> 00:00:43,320 I have around 15 years' experience in information security. 10 00:00:43,740 --> 00:00:46,760 I built and lead the Spider Labs team at Trustwave. 11 00:00:47,180 --> 00:00:51,460 Some of my areas of interest are targeted malware, attack prevention, mobile devices, 12 00:00:51,900 --> 00:00:55,400 but really from a business and social impact standpoint. And this is Jabron. 13 00:00:55,580 --> 00:00:59,420 Hi, I'm Jabron Elias. I have been in this industry for about eight years. 14 00:00:59,540 --> 00:00:59,980 I'm a business manager at Trustwave. 15 00:01:00,000 --> 00:01:02,860 I recently got my master's from Northwestern University. 16 00:01:03,320 --> 00:01:07,680 And when I'm not doing work, I'm actually doing work, which is anti-forensics, 17 00:01:07,720 --> 00:01:09,800 artifact analysis, and real-time defense. 18 00:01:10,200 --> 00:01:11,800 So turn it over to Nick. 19 00:01:11,960 --> 00:01:17,600 Sure. So to go over introduction here, so basically we had a very busy year. 20 00:01:17,980 --> 00:01:24,820 As a team, we visited over 200 environments, 200 incidents, and that spanned about 24 different countries. 21 00:01:25,000 --> 00:01:29,980 So we had hundreds of samples to pick from, and we worked together to pick, 22 00:01:30,000 --> 00:01:34,580 what we thought was the most interesting pieces of malware that we saw over the last 12 months, 23 00:01:34,780 --> 00:01:36,860 and present those to you for you here today. 24 00:01:37,340 --> 00:01:40,780 So we have some new targets, and so if anybody attended the talk last year, 25 00:01:40,840 --> 00:01:45,140 we talked about the target environment, showed you how the environments work from a technical standpoint. 26 00:01:45,380 --> 00:01:48,980 We're going to fast-forward a little bit past that and really describe just the environment at a high level, 27 00:01:49,060 --> 00:01:51,180 and spend a lot of the time focusing on the malware itself. 28 00:01:51,840 --> 00:01:56,140 And with the new targets, we have our sports bar in Miami, an online adult toy store, 29 00:01:56,340 --> 00:01:58,780 international VoIP provider, and a U.S. defense contractor. 30 00:01:59,340 --> 00:01:59,980 So, we have a lot of new targets. We have a sports bar in Miami, an online adult toy store, international VoIP provider, and a U.S. defense contractor. 31 00:01:59,980 --> 00:02:00,320 So, we have a lot of new targets. We have a lot of new targets. We have a lot of new targets. 32 00:02:00,320 --> 00:02:04,220 One thing to note that we realized during the preparation for this talk is that 33 00:02:04,220 --> 00:02:08,480 malware developers were very busy over the last 12 months updating, 34 00:02:08,720 --> 00:02:12,520 and making enhancements, and making changes to the malware that they had been developing. 35 00:02:13,360 --> 00:02:16,780 Really, it's many improvements they made to avoid mistakes, 36 00:02:16,980 --> 00:02:18,800 and we're going to go into those in a lot of detail in this presentation. 37 00:02:19,220 --> 00:02:22,400 But we were really chatting and thought maybe they saw our freak show last year, 38 00:02:22,800 --> 00:02:26,040 because we pointed out some flaws, and they seem to have improved them over the last year. 39 00:02:28,060 --> 00:02:29,480 So, what is a malware freak show? 40 00:02:29,980 --> 00:02:32,860 Basically, the bottom line question sort of answered there, 41 00:02:32,940 --> 00:02:35,580 but basically, we have access to breach environments. 42 00:02:35,800 --> 00:02:38,120 Now, these are actual environments that were confirmed breaches. 43 00:02:39,820 --> 00:02:43,700 Very important information, very valuable information, very valuable data 44 00:02:43,700 --> 00:02:46,480 was taken out of these environments using malware. 45 00:02:46,740 --> 00:02:50,280 And so, really, historically, smash and grab was used, 46 00:02:50,380 --> 00:02:57,780 where an attacker would break into a website or break into a physical location and steal data. 47 00:02:57,880 --> 00:02:59,480 They just take the data and run off with it. 48 00:03:00,360 --> 00:03:02,160 Today, they don't do that very often anymore. 49 00:03:02,320 --> 00:03:07,800 What we found is that they spend an average of 156 days within these environments. 50 00:03:08,200 --> 00:03:12,220 So, this means that they hack into an e-commerce site, 51 00:03:12,340 --> 00:03:17,760 and they'll be on that e-commerce server in their database for an average of 156 days before someone catches them. 52 00:03:18,060 --> 00:03:20,620 So, that's something really, really important to keep in mind. 53 00:03:21,300 --> 00:03:24,680 Also, when they're in that system, they have a lot of time to explore. 54 00:03:24,880 --> 00:03:28,920 And so, they run into business systems, systems that are not the run-of-the-mill systems. 55 00:03:28,920 --> 00:03:32,280 Maybe they're custom-developed, and they have a lot of time to develop their malware 56 00:03:32,280 --> 00:03:35,000 and craft them to target those specific environments. 57 00:03:36,200 --> 00:03:38,180 And that sort of leads us to the next bullet there, 58 00:03:38,240 --> 00:03:40,500 is that custom and targeted malware is now the norm. 59 00:03:40,620 --> 00:03:41,580 It's not the exception. 60 00:03:41,800 --> 00:03:45,900 I think when we were doing cases, say, even investigating cases like five years ago, 61 00:03:46,160 --> 00:03:47,220 smash and grab was the norm. 62 00:03:47,300 --> 00:03:48,860 And then we started seeing things ramp up. 63 00:03:48,980 --> 00:03:50,700 And nowadays, when we go out into the field, 64 00:03:51,200 --> 00:03:56,320 it's basically every single case has malware involved with it in some form or fashion. 65 00:03:58,160 --> 00:03:58,900 So, basically, 66 00:03:58,920 --> 00:04:02,080 the reason we're doing this freak show is basically to gather information, 67 00:04:02,300 --> 00:04:03,760 perform analysis on each piece of malware, 68 00:04:04,560 --> 00:04:07,540 and then the real benefit is to learn about the sophistication of the authors 69 00:04:07,540 --> 00:04:10,280 and learn about the sophistication of the current threats. 70 00:04:10,720 --> 00:04:15,360 And so, the whole bottom-line goal there is to rethink the way we alert, detect, and defend in these environments. 71 00:04:16,960 --> 00:04:19,280 So, what I'm going to walk through, before we get into the demos, 72 00:04:19,300 --> 00:04:23,580 I think it's important to walk through what we feel is sort of the anatomy of a successful malware attack. 73 00:04:23,860 --> 00:04:28,660 Now, what we did is we took a look at the malware that we saw that was successful in the last 24 months, 74 00:04:28,920 --> 00:04:30,920 and sort of came up with sort of a blueprint. 75 00:04:31,200 --> 00:04:33,060 Like, if you were to sit down and decide, 76 00:04:33,060 --> 00:04:35,540 I'm going to write a piece of malware and I want it to be successful, 77 00:04:35,980 --> 00:04:40,040 not just make a lot of noise and crash things and a lot of bells and whistles goes off, 78 00:04:40,180 --> 00:04:42,720 but you want to have something that's a targeted, custom piece of malware 79 00:04:42,720 --> 00:04:46,140 that's going to be highly successful in getting data out of an environment. 80 00:04:46,680 --> 00:04:52,080 We put together sort of the steps here that we thought were what the malware authors were actually using. 81 00:04:53,000 --> 00:04:55,580 So, we're going to go through each of these steps here. 82 00:04:55,760 --> 00:04:56,620 So, step one. 83 00:04:56,840 --> 00:04:57,360 We have... 84 00:04:57,360 --> 00:04:59,280 The authors have to identify a target. 85 00:04:59,460 --> 00:05:02,920 And so, you're not just going to sit down and write a piece of malware with no target in mind. 86 00:05:03,160 --> 00:05:05,740 And so, there's a lot of information out there. 87 00:05:05,820 --> 00:05:07,160 There's intellectual property. 88 00:05:07,500 --> 00:05:08,580 There's bank account information. 89 00:05:09,460 --> 00:05:10,500 There's PII information. 90 00:05:10,900 --> 00:05:11,600 There's HIPAA information. 91 00:05:11,740 --> 00:05:14,180 There's a lot of information out there that attackers could focus on. 92 00:05:14,400 --> 00:05:19,880 But in the real world, or in anything, the end goal is for someone to get money, right? 93 00:05:20,000 --> 00:05:22,080 And you're not just going to write a piece of malware and unleash it. 94 00:05:22,280 --> 00:05:26,520 You may, but a lot of the cyber criminals and the organized crime groups want the cash. 95 00:05:26,520 --> 00:05:27,840 They want to get cash in the end. 96 00:05:28,060 --> 00:05:31,740 So, the two big focuses that we see is credit card data. 97 00:05:32,120 --> 00:05:34,020 That's one piece of data they're looking for. 98 00:05:34,180 --> 00:05:36,080 And then also ATM and debit card data. 99 00:05:36,620 --> 00:05:37,980 Now, in the credit card world... 100 00:05:37,980 --> 00:05:43,600 In the credit card data world, the data exists in clear text in many locations and environments. 101 00:05:44,460 --> 00:05:49,240 It's not supposed to be in clear in all environments post that, after it's been used. 102 00:05:49,400 --> 00:05:50,480 But we often find it is. 103 00:05:50,560 --> 00:05:52,520 And we'll talk a little bit more about why that is. 104 00:05:52,700 --> 00:05:55,680 But basically, the cash itself... 105 00:05:55,680 --> 00:05:57,460 You sort of see this chain that's on the screen there. 106 00:05:57,500 --> 00:05:59,320 That's sort of what I call the malware food chain. 107 00:06:00,080 --> 00:06:02,420 And basically, the cash is at the end, right? 108 00:06:02,480 --> 00:06:06,220 So, when you have track data, which is the data that's stored in the back of your credit card... 109 00:06:06,220 --> 00:06:09,760 When you have that data in your possession, you can go and clone a card. 110 00:06:10,100 --> 00:06:13,440 You then can go and commit some sort of fraud, right? 111 00:06:13,480 --> 00:06:15,040 You go to a store, you buy a plasma TV. 112 00:06:15,240 --> 00:06:18,260 You now have a plasma TV in your hands that you bought with a stolen credit card. 113 00:06:18,540 --> 00:06:19,360 But then you have to... 114 00:06:19,360 --> 00:06:20,960 You could either use that for your own use. 115 00:06:21,240 --> 00:06:23,020 But in most cases, they want to get cash. 116 00:06:23,120 --> 00:06:25,480 So then they have to go and sell those goods to somebody else. 117 00:06:25,680 --> 00:06:26,500 To collect the cash. 118 00:06:27,040 --> 00:06:30,660 In the ATM and debit card world, the data looks very, very similar. 119 00:06:30,880 --> 00:06:33,080 There's pins that are associated with ATM cards. 120 00:06:33,280 --> 00:06:36,100 But the data itself is basically identical. 121 00:06:36,960 --> 00:06:39,700 But the cash is much closer to the criminals. 122 00:06:40,000 --> 00:06:44,040 They get a hold of ATM card numbers and PIN numbers. 123 00:06:44,300 --> 00:06:46,660 And they can go to a machine and take out the cash. 124 00:06:46,880 --> 00:06:48,520 They don't have to find a buyer for that. 125 00:06:48,800 --> 00:06:55,180 And so, we hear about large or organized crime groups who go and they'll hit a large number of ATM machines all at the same time. 126 00:06:55,240 --> 00:06:55,660 And they don't have to find a buyer for that. 127 00:06:55,680 --> 00:06:57,340 And they'll literally suck cash out of those machines. 128 00:06:57,560 --> 00:06:58,680 And now they have that cash. 129 00:06:58,840 --> 00:07:02,100 They don't have to worry about going on the street and finding a buyer. 130 00:07:02,200 --> 00:07:04,360 They have that cash and they can move on to their next operation. 131 00:07:05,940 --> 00:07:07,480 So that's where you've identified the target. 132 00:07:07,600 --> 00:07:13,660 So it may be a bank, an ATM network, or an organization that takes credit card information may be your target. 133 00:07:14,300 --> 00:07:15,460 Now, developing the malware. 134 00:07:15,820 --> 00:07:18,420 So really, we break these things down into the big three. 135 00:07:18,600 --> 00:07:25,220 These three functions are basically going to help you obtain the data in the most efficient way. 136 00:07:25,220 --> 00:07:28,380 So a keystroke logger, a network sniffer, and a memory dumper. 137 00:07:28,460 --> 00:07:29,940 And so we're going to go through those. 138 00:07:29,980 --> 00:07:31,440 I'm not going to talk in detail what those are. 139 00:07:31,680 --> 00:07:36,380 Because when Jabron does some of the demos, we're going to touch on the network sniffer and the memory dumper. 140 00:07:36,460 --> 00:07:38,620 Everybody here probably knows what a keystroke logger is. 141 00:07:39,200 --> 00:07:40,600 It records keystrokes. 142 00:07:40,760 --> 00:07:44,400 But they're using this, the attackers are using this in a little bit different way. 143 00:07:44,560 --> 00:07:46,260 And so I'll just touch on that real briefly. 144 00:07:46,400 --> 00:07:53,880 Is that when the data itself is being inputted into a system, the data itself is being inputted via a keyboard type device. 145 00:07:53,880 --> 00:07:54,800 A swipe device. 146 00:07:55,040 --> 00:08:00,220 If anybody ate here at one of the coffee shops or someplace and you saw them swipe your card, 147 00:08:00,420 --> 00:08:03,780 that data is actually being inputted into the system just like you would if you typed it in. 148 00:08:03,840 --> 00:08:06,020 It's just being read off the mag stripe and inputted in the system. 149 00:08:06,160 --> 00:08:07,600 Nothing really special is going on. 150 00:08:09,040 --> 00:08:11,820 And so then we also sort of have their sort of disk parcel with a question. 151 00:08:11,980 --> 00:08:13,160 We often don't see that. 152 00:08:13,420 --> 00:08:15,220 Now, there is data sometimes stored in the system. 153 00:08:15,340 --> 00:08:17,260 But it would just be easier to take the file and leave. 154 00:08:17,420 --> 00:08:23,540 The persistent types of attacks are going to use things that are going to try to access data when it's being used in an active state. 155 00:08:23,880 --> 00:08:29,180 If you think of a system that is obtaining data encrypted, it's releasing data encrypted, it's storing data encrypted, 156 00:08:29,380 --> 00:08:35,280 what better way of obtaining that data than through things when it's either on the network in the clear, 157 00:08:35,440 --> 00:08:38,120 if it's in the memory in the clear, or being entered into the system in the clear. 158 00:08:38,820 --> 00:08:40,120 Some other design considerations. 159 00:08:40,560 --> 00:08:41,140 Naming convention. 160 00:08:41,800 --> 00:08:46,020 Blahblah.exe is not the best name to use if you're trying to be stealthy in an environment. 161 00:08:46,800 --> 00:08:49,340 Then choose something like svchost.exe. 162 00:08:49,600 --> 00:08:50,720 That's much better. 163 00:08:50,840 --> 00:08:53,780 Most IT administrators that are looking at their tasks, 164 00:08:53,880 --> 00:08:56,100 are not going to notice that as something out of the ordinary. 165 00:08:57,080 --> 00:08:58,620 Also, slow and steady wins the race. 166 00:09:00,240 --> 00:09:03,580 The attackers and the attacks using malware that we see are very successful. 167 00:09:03,840 --> 00:09:07,120 They don't jump in there and make a lot of noise and start doing a lot of damage. 168 00:09:07,280 --> 00:09:08,480 They're going to stick around for a while. 169 00:09:08,640 --> 00:09:11,880 The malware is going to run and just collect data and siphon it out of the environment. 170 00:09:12,220 --> 00:09:13,380 And then, of course, persistency. 171 00:09:13,460 --> 00:09:16,160 When they reboot a box, you don't want to have to reinstall your malware. 172 00:09:16,300 --> 00:09:20,760 You want to be within that system and maintain persistence through many, many reboots. 173 00:09:21,640 --> 00:09:22,820 And then data storage as well. 174 00:09:22,820 --> 00:09:26,580 You've got to make sure that the data you're collecting is not going to fill the hard drive of the system. 175 00:09:27,340 --> 00:09:29,320 So here's step three. 176 00:09:30,480 --> 00:09:31,700 Basically, infiltrating your victim. 177 00:09:31,940 --> 00:09:33,140 So we have a couple different ways. 178 00:09:33,240 --> 00:09:34,560 You have basically the physical way. 179 00:09:34,680 --> 00:09:35,660 And we see these attacks. 180 00:09:35,880 --> 00:09:36,900 You walk up to a computer. 181 00:09:36,980 --> 00:09:38,060 You stick a USB key in. 182 00:09:38,300 --> 00:09:40,460 And it basically puts the malware on the system. 183 00:09:41,380 --> 00:09:42,700 That's a physical way. 184 00:09:43,340 --> 00:09:47,880 The easy way that we often see is sort of remote desktop and default passwords. 185 00:09:48,120 --> 00:09:49,300 We see those all the time. 186 00:09:49,420 --> 00:09:52,800 Now, the malware itself that's being installed has complex properties. 187 00:09:52,800 --> 00:09:55,000 The attack factor is very, very simple. 188 00:09:55,140 --> 00:09:56,920 And it's something that should not be there. 189 00:09:57,100 --> 00:09:59,780 But we see that hundreds of times in many environments. 190 00:10:00,100 --> 00:10:01,140 And then you have the Uber way. 191 00:10:01,340 --> 00:10:02,700 You have basically the O-Day. 192 00:10:02,880 --> 00:10:04,940 And we do see that from time to time. 193 00:10:05,040 --> 00:10:08,280 But in most cases, the attackers are going to use vulnerabilities that are rather old. 194 00:10:08,420 --> 00:10:10,240 Things that have been around for a very long time. 195 00:10:10,440 --> 00:10:15,120 And basically, they're just available there for the attackers to take advantage of. 196 00:10:16,840 --> 00:10:17,940 Now, finding the data. 197 00:10:18,040 --> 00:10:20,620 Now, the software we found holds the secrets. 198 00:10:20,860 --> 00:10:21,280 Right? 199 00:10:21,280 --> 00:10:25,100 If you're on a system, you're looking to find out where that data is stored within the environment. 200 00:10:25,540 --> 00:10:27,220 The task manager is a really good tool. 201 00:10:27,540 --> 00:10:29,900 You can see the processes that are very, very busy. 202 00:10:30,100 --> 00:10:32,100 That usually is placed where there's data being processed. 203 00:10:32,280 --> 00:10:34,160 And that's where you can then hook your memory dumpers into. 204 00:10:35,320 --> 00:10:36,180 And then the folders. 205 00:10:36,360 --> 00:10:37,660 You know, the processes folders. 206 00:10:37,800 --> 00:10:38,180 Temp files. 207 00:10:38,360 --> 00:10:39,960 We still see those containing a lot of data. 208 00:10:40,560 --> 00:10:43,020 Configuration files that contain debug parameters. 209 00:10:43,380 --> 00:10:45,580 You turn the debug parameter on on a system. 210 00:10:45,660 --> 00:10:48,800 And sure enough, it starts logging all the activity that it's doing to the hard drive. 211 00:10:49,000 --> 00:10:50,620 It's typically there for someone to troubleshoot it. 212 00:10:50,620 --> 00:10:52,960 But it makes the attacker's life pretty, pretty easy. 213 00:10:53,500 --> 00:10:54,560 And then, of course, the wire. 214 00:10:54,740 --> 00:11:02,400 In most environments that we run into, even financial institutions, the data on a local network is often not encrypted. 215 00:11:02,640 --> 00:11:05,780 Now, it's encrypted when it goes across the Internet to other locations. 216 00:11:05,920 --> 00:11:12,580 But when it's on a local environment, many organizations don't feel that it's important that they encrypt that data as it's being transmitted between systems. 217 00:11:12,900 --> 00:11:16,120 So that's a big place where you can find data. 218 00:11:18,200 --> 00:11:19,380 Then getting the loot out. 219 00:11:19,380 --> 00:11:25,460 Basically, once you try to get the data out of the environment, many, most of these environments have little to no egress filtering. 220 00:11:25,680 --> 00:11:30,660 So you don't have to worry about just trying to, you know, it's just limited, say, you know, port 80 or 443. 221 00:11:30,840 --> 00:11:34,680 But that doesn't mean use 31337 as the port you use to send that data out. 222 00:11:35,200 --> 00:11:36,100 Don't reinvent the wheel. 223 00:11:36,180 --> 00:11:38,500 Use what's commonly available, common Internet protocols. 224 00:11:39,100 --> 00:11:43,900 And because, really, the IT security professionals that are going to look at those firewall logs are going to look for freaks. 225 00:11:43,980 --> 00:11:45,880 They're going to look for things that look out of the ordinary. 226 00:11:46,160 --> 00:11:49,360 If you're sending your data out of port 80, they're probably not going to notice. 227 00:11:49,360 --> 00:11:50,560 They're going to notice it very quickly. 228 00:11:52,540 --> 00:11:59,720 The last step here, basically covering your tracks and obfuscation, we find this is rather sometimes optional, right, from a successful malware attack. 229 00:12:00,440 --> 00:12:05,340 Like I said earlier, we found the average of these attacks lasted about 156 days. 230 00:12:05,560 --> 00:12:08,360 That's a long time for someone to be in the environment before someone noticed it. 231 00:12:08,560 --> 00:12:15,580 So being, you know, trying to be covert and trying to cover in your tracks, not always extremely important, but it can help. 232 00:12:15,940 --> 00:12:17,720 Now, some notes, though. 233 00:12:17,800 --> 00:12:18,500 Don't be clumsy. 234 00:12:19,840 --> 00:12:26,900 Successful, you know, something to take away as far from a successful malware writer has to put within their malware. 235 00:12:27,380 --> 00:12:29,700 Basically, you know, crashing systems, that's sort of bad. 236 00:12:29,920 --> 00:12:32,300 You know, filling up disk space is really bad. 237 00:12:32,500 --> 00:12:39,580 And, you know, filling up disk space, you know, you might get away with because a lot of the clients that we see sometimes actually aid the clients. 238 00:12:40,180 --> 00:12:44,420 We've seen an instance where, you know, the attackers were kind of filling up the disk space. 239 00:12:44,600 --> 00:12:46,000 And guess what the IT guys were doing? 240 00:12:47,240 --> 00:12:49,100 They're installing another terabyte hard drive. 241 00:12:49,100 --> 00:12:50,880 And then another one and then another one. 242 00:12:51,080 --> 00:12:52,620 And, you know, that's not it. 243 00:12:52,760 --> 00:12:59,480 So when they, you know, spend enough money, like $300 on hard drives, they're like, yeah, let's delete the 2003 accounting data, 2004. 244 00:13:00,760 --> 00:13:04,800 And finally, they picked up the call, the phone and said, hey, hey, trust me, we need your help. 245 00:13:05,120 --> 00:13:06,820 So it's kind of a note there. 246 00:13:07,000 --> 00:13:09,060 Yeah, and then just then command prompts popping up. 247 00:13:09,140 --> 00:13:11,500 We've seen some malware that's poorly written that does those types of things. 248 00:13:11,640 --> 00:13:12,540 That's just stupid, right? 249 00:13:12,880 --> 00:13:14,180 You have things popping up. 250 00:13:14,280 --> 00:13:19,080 We actually received a call from somebody who said, you know, I think there's something going on around here. 251 00:13:19,080 --> 00:13:19,380 And it was from our system. 252 00:13:19,580 --> 00:13:21,340 And it was because the mouse was moving around by itself. 253 00:13:24,200 --> 00:13:26,560 So you're making things obvious to the end user. 254 00:13:26,640 --> 00:13:29,080 Even to someone who's not technical is not a good sign. 255 00:13:29,640 --> 00:13:32,200 But then you want to mess with the investigators and the cops, right? 256 00:13:32,260 --> 00:13:33,200 So you don't want to make things easy. 257 00:13:33,800 --> 00:13:40,020 MAC times, you're going to modify those to match the install dates of a lot of the utilities or the files that are in Win32. 258 00:13:40,240 --> 00:13:40,980 We're going to show you this. 259 00:13:41,120 --> 00:13:46,520 A lot of these new attributes here came into play in the last 12 months when they started doing these things. 260 00:13:46,800 --> 00:13:48,440 Office getting output, we're going to show you that. 261 00:13:49,080 --> 00:13:49,560 New malware samples. 262 00:13:50,380 --> 00:13:53,200 Packing, basically packing the bag of tricks, using packers. 263 00:13:53,300 --> 00:13:57,080 You don't have to pack the custom malware you wrote because EV is never going to detect it. 264 00:13:57,280 --> 00:14:05,500 But if you're bringing along some other utilities, you have to actually pack those in order to really be covert in some fashion. 265 00:14:06,300 --> 00:14:08,300 Basically automating but randomizing events. 266 00:14:08,500 --> 00:14:11,440 And we're going to show you some things that are going on in some of the latest pieces of malware. 267 00:14:11,680 --> 00:14:15,560 But most of the malware writers today are basically lazy, right? 268 00:14:15,600 --> 00:14:18,380 So they're going to install this malware and they don't want to keep coming back. 269 00:14:18,540 --> 00:14:19,060 And so they're going to install this malware. 270 00:14:19,080 --> 00:14:26,080 So they want to watch a website or watch an FTP directory and just collect the data as it flows in after they've installed this malware in many, many environments. 271 00:14:27,080 --> 00:14:30,220 So randomizing those events can help avoid detection as well. 272 00:14:30,360 --> 00:14:31,180 And then rootkits. 273 00:14:31,320 --> 00:14:38,620 So that's one of the latest pieces we've been seeing in this type of malware is they're getting away from executables and diving down into using rootkits. 274 00:14:40,340 --> 00:14:41,760 So now we're going to jump into some demos. 275 00:14:41,940 --> 00:14:47,540 And so like I mentioned, we're going to spend a lot of time, a big portion of the presentation in the demo aspect of it. 276 00:14:47,540 --> 00:14:50,280 So let's talk about this environment real quickly. 277 00:14:50,860 --> 00:14:53,140 This is the memory rootkit malware. 278 00:14:53,340 --> 00:14:55,380 We gave this guy the code name Captain Brain Drain. 279 00:14:55,940 --> 00:14:58,760 It is basically, you know, it looks like a normal Windows file name. 280 00:14:58,860 --> 00:15:03,200 Sort of they get the win for a file name choice. 281 00:15:03,800 --> 00:15:05,640 It targets Windows platforms. 282 00:15:05,960 --> 00:15:10,460 Now the key features, I'm not going to talk about that because Gibran is going to demo all of those for you in a couple minutes. 283 00:15:11,160 --> 00:15:13,020 But I am going to talk a little bit about the environment. 284 00:15:13,160 --> 00:15:14,320 This was a Miami sports bar. 285 00:15:14,780 --> 00:15:15,900 It was an elite location. 286 00:15:16,040 --> 00:15:17,520 It had a lot of celebrities that fit in. 287 00:15:17,520 --> 00:15:18,160 I frequent that location. 288 00:15:18,860 --> 00:15:21,760 The IT operations was outsourced to a third party. 289 00:15:21,860 --> 00:15:22,620 This is not uncommon. 290 00:15:23,000 --> 00:15:26,800 Most organizations below normal enterprises outsource everything. 291 00:15:27,120 --> 00:15:30,420 And so they have really no ability to manage these systems themselves. 292 00:15:30,600 --> 00:15:32,240 So they're going to outsource it to another company. 293 00:15:33,020 --> 00:15:38,760 When we talked to the owner, we actually, you know, we talked to them and asked them about security, about what they do with their systems. 294 00:15:38,900 --> 00:15:43,120 He basically said he was getting notices from his bank about online security and compliance. 295 00:15:43,600 --> 00:15:45,100 And he basically gave them a headache. 296 00:15:45,160 --> 00:15:46,460 So he just basically tossed them in the garbage. 297 00:15:46,460 --> 00:15:48,020 He basically admitted that to us. 298 00:15:48,440 --> 00:15:54,340 And then the other sort of byproduct here is that the point of sale system was also the sports bar's DVR. 299 00:15:54,520 --> 00:15:56,340 It was also the DVR server. 300 00:15:56,900 --> 00:16:03,920 So if you ever wonder what goes on in a Miami sports bar after hours, you really don't want to know. 301 00:16:04,620 --> 00:16:12,340 If you sit in a bar and you see sort of this long, flat, hard, sturdy bar, and you're sitting there having a drink and eating some food, 302 00:16:12,460 --> 00:16:15,720 if your fry falls off the plate, the five-second rule does not apply. 303 00:16:16,460 --> 00:16:16,540 Oh, man. 304 00:16:19,460 --> 00:16:20,980 So now we're going to jump into some demos. 305 00:16:21,400 --> 00:16:21,980 All right. 306 00:16:22,780 --> 00:16:25,220 So can everyone hear me okay in the back? 307 00:16:26,280 --> 00:16:26,840 All right. 308 00:16:26,880 --> 00:16:28,540 So are you all ready for the demos? 309 00:16:28,640 --> 00:16:29,700 We've got about four demos. 310 00:16:30,160 --> 00:16:33,400 And I want you to say, oh, yeah, if you are ready for the demos. 311 00:16:33,680 --> 00:16:34,920 Are you ready for the demos? 312 00:16:37,140 --> 00:16:38,520 Am I ready for the demos? 313 00:16:38,600 --> 00:16:38,760 No. 314 00:16:38,860 --> 00:16:39,620 I've got to move this cup. 315 00:16:40,280 --> 00:16:40,820 All right. 316 00:16:40,900 --> 00:16:44,280 So without further ado, let's go into the demos. 317 00:16:44,920 --> 00:16:45,280 Okay. 318 00:16:45,280 --> 00:16:48,720 So the first example I have is it's called the memory rootkit. 319 00:16:48,900 --> 00:16:58,340 So as Nick mentioned, you know, a lot of malware, you know, now that databases are getting encrypted, we can't really do just smash and grab. 320 00:16:58,880 --> 00:17:03,780 So what the attackers need to do now is basically maintain persistency in the system. 321 00:17:03,900 --> 00:17:07,140 And they basically dump the memory where the data resides unencrypted. 322 00:17:07,300 --> 00:17:08,580 So you guys are very lucky. 323 00:17:08,680 --> 00:17:14,660 You guys are going to see an actual malware that is going to install itself as a rootkit and steal data from the memory. 324 00:17:14,660 --> 00:17:19,100 So without further ado, let's go on to it. 325 00:17:21,400 --> 00:17:21,940 Let's see. 326 00:17:22,020 --> 00:17:22,820 Is the resolution okay? 327 00:17:25,300 --> 00:17:25,820 Yep. 328 00:17:25,820 --> 00:17:26,160 It's fine. 329 00:17:26,360 --> 00:17:26,620 Okay. 330 00:17:29,140 --> 00:17:29,660 Okay. 331 00:17:31,880 --> 00:17:36,800 So I'm going to go to the folder that has the memory rootkit malware. 332 00:17:37,080 --> 00:17:38,200 I call it memkit. 333 00:17:38,360 --> 00:17:41,220 And let's actually see what samples it has. 334 00:17:41,400 --> 00:17:43,120 So it's got a loader.exe. 335 00:17:43,120 --> 00:17:46,740 Which is basically a file that loads the rootkit into the kernel. 336 00:17:47,120 --> 00:17:49,400 Then you've got ram32.sys. 337 00:17:50,100 --> 00:17:53,060 And actually, you know what, this demo is going to be really interactive. 338 00:17:54,120 --> 00:17:58,520 We really planned prizes for you guys, but we lost all our money in blackjack last night. 339 00:17:58,620 --> 00:18:02,520 So the most we could do is give you a Twitter mention if you answer a question. 340 00:18:02,820 --> 00:18:08,380 So ram32.sys wants to take a guess what this file could be. 341 00:18:08,840 --> 00:18:11,600 This is the actual rootkit that gets installed. 342 00:18:11,600 --> 00:18:18,840 And searcher.dll that has the track data expressions and whatnot to enable you to search the data on the hard disk. 343 00:18:19,080 --> 00:18:22,300 So let's actually see what loader.exe is all about. 344 00:18:22,460 --> 00:18:25,620 So I'm just going to run a strings command on loader.exe. 345 00:18:25,680 --> 00:18:27,880 And I'm going to show you what it has. 346 00:18:28,160 --> 00:18:32,600 So as you can see, the usage of this, attackers, you know, they program really neatly, too. 347 00:18:32,720 --> 00:18:35,720 So they have, like, a whole usage area in the program. 348 00:18:35,980 --> 00:18:38,140 I is to install the system driver. 349 00:18:38,540 --> 00:18:41,580 It must be in the current directory, so they're helping us out as well. 350 00:18:41,600 --> 00:18:44,320 R is to start and resume the capturing. 351 00:18:44,540 --> 00:18:49,800 So if you have the malware on the system, if you want to start or, you know, stop, there's an option right there. 352 00:18:49,980 --> 00:18:51,320 S is to stop the capturing. 353 00:18:51,440 --> 00:18:53,400 And U, obviously, is to install. 354 00:18:53,700 --> 00:18:56,940 And they also tell you, hey, it doesn't install until you reboot. 355 00:18:57,180 --> 00:18:58,220 So pretty helpful there. 356 00:18:59,980 --> 00:19:00,380 Okay. 357 00:19:00,460 --> 00:19:06,940 So what we're going to do is just load this rootkit into our kernel. 358 00:19:07,720 --> 00:19:10,780 So as you can see, loader.exe, I just give it an I switch. 359 00:19:10,780 --> 00:19:12,020 And it's installed. 360 00:19:12,200 --> 00:19:14,120 It installs RAMSYS32 driver. 361 00:19:15,120 --> 00:19:16,640 Now we want to run this. 362 00:19:16,840 --> 00:19:17,940 We want to start this, right? 363 00:19:18,320 --> 00:19:19,960 So loader.exe R. 364 00:19:20,260 --> 00:19:21,360 So far, so good. 365 00:19:21,900 --> 00:19:22,580 All right. 366 00:19:22,840 --> 00:19:26,680 So now we're going to go to this Windows folder where malware actually dumps the files. 367 00:19:26,900 --> 00:19:32,860 So I'm going to sort my files by date modified, you know, because the file should be created right now. 368 00:19:33,520 --> 00:19:35,420 As you can see, we don't see any files. 369 00:19:35,520 --> 00:19:40,440 So what I'm going to have to do and actually I'm going to let you guys answer this. 370 00:19:40,440 --> 00:19:41,420 What do I need to do here? 371 00:19:42,740 --> 00:19:43,520 Show it in files. 372 00:19:43,760 --> 00:19:44,240 All right. 373 00:19:44,840 --> 00:19:46,560 You guys are on this, right? 374 00:19:47,560 --> 00:19:47,960 Okay. 375 00:19:49,040 --> 00:19:51,540 And I'm going to sort this by date modified again. 376 00:19:52,460 --> 00:19:53,040 Oh, no. 377 00:19:55,020 --> 00:19:55,580 No, no. 378 00:19:55,620 --> 00:19:56,480 It's not the demo. 379 00:19:56,540 --> 00:19:58,420 There's one more thing that the malware has. 380 00:19:58,760 --> 00:20:00,780 Anyone want to take a guess of what that could be? 381 00:20:02,460 --> 00:20:03,240 There you go. 382 00:20:03,360 --> 00:20:04,360 You're getting a Twitter mention. 383 00:20:05,640 --> 00:20:06,220 All right. 384 00:20:06,260 --> 00:20:08,020 So we go to view again. 385 00:20:08,180 --> 00:20:09,720 And we uncheck this box. 386 00:20:10,440 --> 00:20:12,260 This is the protected operating system files. 387 00:20:12,540 --> 00:20:13,260 We do that. 388 00:20:13,340 --> 00:20:14,040 It gives us a warning. 389 00:20:14,260 --> 00:20:15,260 But what the hell? 390 00:20:15,360 --> 00:20:15,740 You know? 391 00:20:15,800 --> 00:20:16,580 Just go with it. 392 00:20:18,980 --> 00:20:19,420 Okay. 393 00:20:19,540 --> 00:20:20,780 So now we see a weird looking file. 394 00:20:21,220 --> 00:20:22,160 Can everyone see it? 395 00:20:23,920 --> 00:20:25,700 7152, whatever the random digits are. 396 00:20:26,300 --> 00:20:28,160 And it's 0 KB right now. 397 00:20:28,640 --> 00:20:30,120 So why it's 0 KB right now? 398 00:20:30,240 --> 00:20:33,660 Because we haven't sent any data to the memory for the malware to attack. 399 00:20:33,940 --> 00:20:35,960 So I'm going to open this file in text pad. 400 00:20:36,920 --> 00:20:37,840 Favorite text editor. 401 00:20:39,940 --> 00:20:41,960 And all right. 402 00:20:42,060 --> 00:20:42,880 Are you part of the team? 403 00:20:44,600 --> 00:20:45,000 Okay. 404 00:20:45,100 --> 00:20:50,340 So right now there's no data there because in the memory we haven't processed any tracked data. 405 00:20:50,580 --> 00:20:56,100 So what I'm going to do is I am going to go to my pending payments folder. 406 00:20:56,640 --> 00:20:59,420 And I'm just going to, you know, open some checks. 407 00:21:00,140 --> 00:21:03,040 So this is basically so these are basically the temporary files. 408 00:21:03,160 --> 00:21:06,960 Like when you swipe your credit card at a bar, at a restaurant, at a hotel. 409 00:21:06,960 --> 00:21:09,360 You know, these temporary files get created. 410 00:21:09,460 --> 00:21:12,600 But just for a very tiny, you know, maybe a millisecond. 411 00:21:12,620 --> 00:21:13,680 And then it goes to the database. 412 00:21:14,020 --> 00:21:17,040 Or it just goes to the memory and then to the application to the database. 413 00:21:17,280 --> 00:21:23,100 So these are some files that I'm just going to load up in my memory just to kind of see what's out there. 414 00:21:24,480 --> 00:21:32,460 And basically in my all transactions I'm going to say since we don't have a real point of sale program, I'm going to say all payments processed. 415 00:21:33,240 --> 00:21:33,700 All right. 416 00:21:34,580 --> 00:21:34,940 Cool. 417 00:21:35,280 --> 00:21:35,740 All right. 418 00:21:35,740 --> 00:21:36,380 So I save this. 419 00:21:36,600 --> 00:21:39,120 And now we go back to this file. 420 00:21:39,480 --> 00:21:41,340 And text pad. 421 00:21:41,520 --> 00:21:44,960 It's alerting us that, hey, some application has updated this file. 422 00:21:45,180 --> 00:21:46,680 Now, we didn't write anything through the file. 423 00:21:46,800 --> 00:21:46,880 Right? 424 00:21:46,960 --> 00:21:48,960 So it's got to be the malware that did the job. 425 00:21:49,460 --> 00:21:50,900 So we're going to reload it. 426 00:21:51,460 --> 00:21:52,460 And here you go. 427 00:21:52,580 --> 00:21:56,600 So we see, you know, credit card numbers, the names. 428 00:21:56,780 --> 00:21:58,580 And this is basically the pattern of tracked data. 429 00:21:58,800 --> 00:22:00,340 Track one data and track two data. 430 00:22:00,620 --> 00:22:02,740 Now, this malware has an additional feature. 431 00:22:02,980 --> 00:22:05,720 Now, a lot of the companies, like, are in the business. 432 00:22:05,740 --> 00:22:09,500 They're investing in DLP software and, you know, credit card data scanners. 433 00:22:09,860 --> 00:22:12,760 Who can tell me what's wrong with the tracked data format here? 434 00:22:14,280 --> 00:22:18,600 So there's one really tiny thing that this malware does. 435 00:22:19,040 --> 00:22:21,360 And it's a really neat feature. 436 00:22:21,620 --> 00:22:30,660 So if you see here in the first line after these numbers right before the tangent of star tangent, we see a percentage sign. 437 00:22:30,800 --> 00:22:32,260 In track one data format. 438 00:22:32,260 --> 00:22:36,700 In the real data, in the real file that I opened, we see a caret character. 439 00:22:37,560 --> 00:22:40,360 Now, this is actually a big indicator for track one data. 440 00:22:40,520 --> 00:22:45,520 And a lot of DLP software, they code this into them to be able to detect track one data. 441 00:22:45,680 --> 00:22:49,560 So what the malware is doing is replacing all the caret keys and replacing it with a percentage sign. 442 00:22:49,680 --> 00:22:52,620 So if anyone is searching for tracked data, they won't get it. 443 00:22:52,940 --> 00:22:57,000 And, you know, you guys might be wondering why people don't just search for cardholder data. 444 00:22:57,260 --> 00:23:01,640 And that's because a lot of times when you search for cardholder data, you get a lot of false positives, a lot of noise. 445 00:23:01,760 --> 00:23:02,240 So a lot of people don't get it. 446 00:23:02,260 --> 00:23:03,940 People just search for track one and track two data. 447 00:23:04,320 --> 00:23:06,540 So that's one thing that they do. 448 00:23:06,720 --> 00:23:10,240 And then also if you look at the track two data. 449 00:23:10,640 --> 00:23:13,640 So in here, there's an equals two sign, right? 450 00:23:14,040 --> 00:23:16,260 So guess what the malware does to the equals two sign? 451 00:23:17,780 --> 00:23:18,340 Damn right. 452 00:23:18,420 --> 00:23:19,160 They turn it into money. 453 00:23:20,000 --> 00:23:20,400 Right? 454 00:23:23,360 --> 00:23:25,880 So that's basically how neat their output is. 455 00:23:25,960 --> 00:23:32,200 As you notice, like, you know, my file, my actual transaction file had a lot of other stuff. 456 00:23:32,200 --> 00:23:38,220 But when the malware runs and it searches the memory for the data, it basically parses out just the tracked data. 457 00:23:38,340 --> 00:23:40,060 And it puts it in this neat format. 458 00:23:40,400 --> 00:23:49,180 And the last feature of this malware that I want to demonstrate is that since Nick mentioned, you know, they don't want to come in every time and, you know, rotate the files themselves. 459 00:23:49,480 --> 00:23:50,720 So it has an automated feature. 460 00:23:50,940 --> 00:23:56,660 So what it does at about 10 a.m. every day is that it changes the file. 461 00:23:56,740 --> 00:24:01,280 So let me change the system time to 9.59. 462 00:24:01,280 --> 00:24:04,380 And I'm going to make it a.m. 463 00:24:07,400 --> 00:24:11,440 So right now we see the date modified 7-31-6-24. 464 00:24:11,820 --> 00:24:12,500 All right. 465 00:24:12,720 --> 00:24:18,900 So right when the clock hits 10 o'clock, this basically becomes 0 KB. 466 00:24:19,260 --> 00:24:21,580 And the new time is 10 a.m. 467 00:24:21,620 --> 00:24:24,220 So any guesses what happened to the data in this file? 468 00:24:27,640 --> 00:24:28,780 So this is our file. 469 00:24:28,880 --> 00:24:30,780 Now it's got no data. 470 00:24:31,280 --> 00:24:33,820 So what happened was this malware actually rotated the file. 471 00:24:33,920 --> 00:24:36,520 And it created a new file with today's date. 472 00:24:36,680 --> 00:24:39,220 So it says s 2010 7-31. 473 00:24:39,820 --> 00:24:42,220 And this is the file that has all the data. 474 00:24:42,340 --> 00:24:46,160 So if I just do word wrap, you'll see the exact same data that you did in that file. 475 00:24:46,420 --> 00:24:48,320 So that's basically it for the memory dumper malware. 476 00:24:48,540 --> 00:24:50,860 And we're going to move on to the next malware now. 477 00:24:57,640 --> 00:24:58,040 Okay. 478 00:24:58,300 --> 00:24:58,740 All right. 479 00:24:59,980 --> 00:25:01,880 Let's jump back into the presentation real quick. 480 00:25:02,660 --> 00:25:06,560 So this next piece of malware is basically a Windows credential stealer. 481 00:25:06,620 --> 00:25:08,620 So we gave it the code name Don't Call Me Gina. 482 00:25:09,640 --> 00:25:14,960 And you'll see when we're going through this why the file name is sort of a good choice as well. 483 00:25:15,400 --> 00:25:17,160 But again, the target platform is Windows. 484 00:25:18,000 --> 00:25:22,540 Now the victim here, just to set this up a little bit, this was an online adult toy store. 485 00:25:22,980 --> 00:25:24,360 They had about a 100-person company. 486 00:25:24,460 --> 00:25:26,340 They had some stores as well, some physical locations. 487 00:25:26,340 --> 00:25:32,300 But they decided to outsource all of their hosting and development to a low-cost provider. 488 00:25:32,600 --> 00:25:34,420 And it was a sort of well-known provider. 489 00:25:34,980 --> 00:25:38,440 They found information about that company in sort of the back of a tech magazine. 490 00:25:38,520 --> 00:25:39,260 It looked really great. 491 00:25:39,920 --> 00:25:44,380 And just like everybody else when they're shopping for hosting providers. 492 00:25:44,780 --> 00:25:51,060 And basically they found that there was a remote desktop enabled, which basically was a terminal server. 493 00:25:51,320 --> 00:25:55,840 And so just to set it up a little bit, the attackers were able to get into the remote desktop. 494 00:25:55,840 --> 00:26:02,740 Or system, or the terminal server that was used by the hosting provider to get access to all the systems they were hosting. 495 00:26:03,160 --> 00:26:04,980 And so I'll set that up for you. 496 00:26:05,120 --> 00:26:14,040 And then one other piece is that at the end result, the attackers were able to then modify the adult online toy store's website. 497 00:26:14,300 --> 00:26:17,580 So that it would query the database when you called a certain page. 498 00:26:17,740 --> 00:26:22,060 And it would dump all the latest transactions into a web page for them to then go and download. 499 00:26:22,340 --> 00:26:25,680 Now the attack itself, from the Gina functionality. 500 00:26:26,100 --> 00:26:27,080 Gibran's going to demo that. 501 00:26:27,240 --> 00:26:30,620 But I just wanted to set it up and show you the first part of how they got in. 502 00:26:30,700 --> 00:26:31,420 And sort of the end result. 503 00:26:31,640 --> 00:26:35,240 But the real meat of the malware is actually in the middle of what they're able to do. 504 00:26:36,760 --> 00:26:37,360 All right. 505 00:26:37,420 --> 00:26:39,520 So we are ready for demo number two. 506 00:26:39,640 --> 00:26:42,280 Are you ready for demo number two? 507 00:26:42,540 --> 00:26:43,620 All right. 508 00:26:44,300 --> 00:26:46,520 So by the fourth demo, we should be here in track one. 509 00:26:46,600 --> 00:26:46,760 All right. 510 00:26:48,820 --> 00:26:51,500 So this is actually one of my favorite malware. 511 00:26:51,700 --> 00:26:53,600 And actually this relates to all of us. 512 00:26:53,660 --> 00:26:55,560 Because, you know, a lot of us. 513 00:26:55,840 --> 00:27:00,680 You know, if we don't use Windows XP computers, we touch it at some point in time. 514 00:27:00,720 --> 00:27:02,160 Because they're so damn insecure. 515 00:27:02,680 --> 00:27:03,540 But anyhow. 516 00:27:03,680 --> 00:27:07,080 So I'm going to show you the pieces of the malware. 517 00:27:09,840 --> 00:27:13,420 And I don't know why when I do it first time, it doesn't do it. 518 00:27:13,520 --> 00:27:13,780 Anyway. 519 00:27:15,580 --> 00:27:17,000 So call it Gina. 520 00:27:17,900 --> 00:27:21,180 And let's actually see what's in this package. 521 00:27:21,440 --> 00:27:23,160 So we've got fsgina.dll. 522 00:27:23,320 --> 00:27:25,400 Now who can tell me what msgina.dll. 523 00:27:25,840 --> 00:27:27,120 Anyone have heard of msgina.dll? 524 00:27:27,380 --> 00:27:27,760 Yeah. 525 00:27:30,380 --> 00:27:33,440 So it's basically, you know, it helps with the authentication process. 526 00:27:33,660 --> 00:27:33,740 Right? 527 00:27:33,800 --> 00:27:38,620 So when you see that screen with your name on it and it says, hey, come enter your password so I can steal it. 528 00:27:38,780 --> 00:27:41,960 You know, that's msgina or, you know, a slight variation of it. 529 00:27:42,760 --> 00:27:45,280 So fsgina is basically a variation of msgina. 530 00:27:45,400 --> 00:27:50,520 It tries to get loaded with msgina so that it could capture the passwords upon legit logins. 531 00:27:51,080 --> 00:27:53,720 Now fsgina.reg is actually an automated script. 532 00:27:53,800 --> 00:27:55,080 If I, you know, just run this. 533 00:27:55,840 --> 00:27:56,580 It's going to load in the registry. 534 00:27:56,720 --> 00:28:02,740 But I'm actually going to be nice enough and I'm going to show you guys exactly which key it changes in the registry. 535 00:28:03,060 --> 00:28:10,800 And this timestomp.exe, that is actually a piece of malware that actually changes the time of the malware files. 536 00:28:11,220 --> 00:28:20,260 So I'm going to copy these two files, fsgina and timestomp, in Windows system 32 directory. 537 00:28:23,100 --> 00:28:25,580 So what we're going to see is that these two files. 538 00:28:26,480 --> 00:28:28,980 Basically, you know, they show up at the top, right? 539 00:28:29,140 --> 00:28:35,140 So a lot of times when we're investigating a Windows computer, you know, for a friend or your mom or your grandmom, whatever. 540 00:28:35,280 --> 00:28:39,620 You basically go through to this task manager of Windows system 32 folder, right? 541 00:28:39,660 --> 00:28:40,720 To check, hey, you know what? 542 00:28:40,760 --> 00:28:42,120 Is there a malware infection there? 543 00:28:42,340 --> 00:28:44,980 So likewise, you know, attackers know that. 544 00:28:45,100 --> 00:28:50,400 And what they try to do is basically try to hide their malware around the time when operating system was installed. 545 00:28:50,660 --> 00:28:53,180 So this timestomp utility actually does that for them. 546 00:28:53,420 --> 00:28:55,580 So I have this. 547 00:28:55,580 --> 00:28:57,780 I have this command here that is going to change it. 548 00:28:57,900 --> 00:29:02,720 But I'm going to tell you a reason why I chose this time, Saturday, 4-13-2008. 549 00:29:02,960 --> 00:29:07,260 It's not because it's my birthday, but it actually has a meaning. 550 00:29:07,660 --> 00:29:15,040 So I'm going to go to system 32 folder and actually check the time of msgina.dll. 551 00:29:15,500 --> 00:29:24,220 Now, if I'm a good malware author and, you know, I'm actually on the system, I want my fsgina, like the fake sgina, 552 00:29:25,580 --> 00:29:26,700 the same time as msgina. 553 00:29:26,840 --> 00:29:30,180 So it's basically 4-13-2008, 1042 p.m. 554 00:29:30,200 --> 00:29:31,840 So what do the malware writers do? 555 00:29:32,340 --> 00:29:33,800 They do the same time. 556 00:29:34,240 --> 00:29:41,620 So if you notice right here, fsgina right now has date modified of 6-16 and date created of 7-31. 557 00:29:41,980 --> 00:29:46,180 When I run this command here, it's going to change the time. 558 00:29:46,380 --> 00:29:50,120 And look what it changed it to, 4-13-1042. 559 00:29:51,600 --> 00:29:54,720 So, yeah, now, you know, if you're the hacker, 560 00:29:54,720 --> 00:29:56,940 you would want to delete timestamp.exe. 561 00:29:57,520 --> 00:30:02,340 So when someone does this, date modified, date created, sorted by that, you don't see any malware, right? 562 00:30:02,520 --> 00:30:08,260 And fsgina basically shows up with, you know, all the other files. 563 00:30:08,360 --> 00:30:10,100 It's lost in the system's other defaults. 564 00:30:10,240 --> 00:30:16,260 So now to infect fsgina and to win logon process, we actually need to change our registry key. 565 00:30:16,480 --> 00:30:21,680 And the registry key that you need to change is you go to HKEY LOCAL MACHINES, SOFTWARE, MICROSOFT. 566 00:30:21,820 --> 00:30:24,700 And it's... 567 00:30:24,720 --> 00:30:28,500 A lot of people would think it's Windows, but it's actually Windows NT. 568 00:30:29,740 --> 00:30:35,060 So you go to Windows NT, current version, and find winlogon folder. 569 00:30:37,660 --> 00:30:42,580 And basically, all you need to do is add a string value. 570 00:30:42,800 --> 00:30:44,760 And you call it gina-dll. 571 00:30:47,220 --> 00:30:51,120 And when you add gina-dll, you also have to give a path. 572 00:30:51,560 --> 00:30:53,600 So I do a lot of typos. 573 00:30:53,600 --> 00:30:57,280 So I'm actually going to make sure that I just copy and paste. 574 00:30:58,580 --> 00:30:59,080 All right. 575 00:30:59,100 --> 00:31:02,220 So what we're doing is we're saying, okay, add another registry entry. 576 00:31:02,420 --> 00:31:08,420 So when winlogon.exe loads with the operating system, it's going to load msgina, but it's also going to load fsgina. 577 00:31:08,600 --> 00:31:12,740 And fsgina is going to be the malware that is actually going to take the data. 578 00:31:13,700 --> 00:31:16,180 So now that it's here, I'm going to reboot the computer. 579 00:31:18,620 --> 00:31:21,840 And we are going to log on to the system to see if it actually works. 580 00:31:24,400 --> 00:31:28,420 So while it's rebooting, I guess it's going to take a couple seconds for it to reboot, 581 00:31:28,960 --> 00:31:32,220 it really sort of raises the question about sort of third parties. 582 00:31:32,380 --> 00:31:37,960 We see a lot of environments, especially organizations who don't have the ability to manage their own systems, 583 00:31:38,420 --> 00:31:40,080 putting a lot of trust in third parties. 584 00:31:40,220 --> 00:31:43,720 And we see a lot of those third parties letting people sort of stray. 585 00:31:43,940 --> 00:31:45,880 I mean, they say that they're supporting the systems correctly. 586 00:31:46,020 --> 00:31:48,840 They say they're securing the systems, but they're actually not. 587 00:31:49,080 --> 00:31:51,220 And so when we see these environments, 588 00:31:51,220 --> 00:31:58,560 really the organization was compromised because a third party left their perimeter really, really laxed. 589 00:31:58,560 --> 00:32:00,780 And so I think it should be coming up soon. 590 00:32:00,860 --> 00:32:05,940 But basically that's the main takeaway from this piece of the demonstration, 591 00:32:06,200 --> 00:32:11,920 is that once that file is on the system, it not only left that one organization exposed, 592 00:32:12,180 --> 00:32:18,460 but all the clients that were accessed through that terminal server also were exposed as well. 593 00:32:18,620 --> 00:32:18,900 Right. 594 00:32:18,960 --> 00:32:20,040 And remote desktop. 595 00:32:20,100 --> 00:32:20,720 I know. 596 00:32:21,220 --> 00:32:23,940 When it came out, you know, everyone jumped on it. 597 00:32:24,060 --> 00:32:27,700 And still now, you know, we see a lot of the environments that say, 598 00:32:27,840 --> 00:32:29,900 okay, yeah, yeah, it's remote desktop, but it's secure. 599 00:32:30,040 --> 00:32:31,320 It has encrypted session. 600 00:32:31,500 --> 00:32:35,440 But, you know, just to get to remote desktop, if you're running remote desktop on port 3389, 601 00:32:35,960 --> 00:32:38,880 your chances of getting pwned are really, really high. 602 00:32:39,000 --> 00:32:43,060 Because what the attackers do these days, they're looking for remote entry points, right? 603 00:32:43,140 --> 00:32:44,580 They're looking for low-hanging fruit. 604 00:32:44,740 --> 00:32:49,640 So if they get remote desktop, VNC, PC anywhere, yeah, believe it or not, 605 00:32:49,640 --> 00:32:51,400 a lot of people still use it. 606 00:32:51,960 --> 00:32:55,580 And so they basically write, you know, cracking programs for remote desktop. 607 00:32:56,500 --> 00:33:00,740 And, you know, once they get into one, it's their way then. 608 00:33:00,940 --> 00:33:04,960 So what I'm going to try to do now is try to log on with, like, you know, fake credentials. 609 00:33:05,040 --> 00:33:07,540 I'm going to say, hey, DEF CON, blah, blah, blah. 610 00:33:08,500 --> 00:33:09,920 And, you know, just try to log on. 611 00:33:10,040 --> 00:33:15,660 But just to kind of show you that all the fake logins, the malware is not going to care about. 612 00:33:17,200 --> 00:33:18,840 So we log in with the correct credentials. 613 00:33:18,840 --> 00:33:25,380 And when we go to Windows system 32 folder, what I'm going to show you is that there's going to be a file. 614 00:33:25,600 --> 00:33:27,560 And the file is going to be just plain text file. 615 00:33:27,840 --> 00:33:32,320 And we'll see how clearly we can see the username and password. 616 00:33:35,020 --> 00:33:38,140 So we go Windows, system 32. 617 00:33:40,820 --> 00:33:41,380 All right. 618 00:33:41,420 --> 00:33:44,780 So you see, like, on 731, it created a new file, users.dat. 619 00:33:45,960 --> 00:33:48,820 So let's, you know, double-click it and see what happens. 620 00:33:48,840 --> 00:33:49,100 Let's see what it has. 621 00:33:51,900 --> 00:33:52,520 There you go. 622 00:33:52,880 --> 00:33:54,940 So all it has is my machine name. 623 00:33:55,240 --> 00:33:56,880 Then it has TW. 624 00:33:57,140 --> 00:33:57,860 That was the username. 625 00:33:58,380 --> 00:33:59,400 And the password. 626 00:33:59,860 --> 00:34:04,020 So basically, you know, you saw me writing DEF CON and, you know, all those other fake ones. 627 00:34:04,160 --> 00:34:06,240 It only captured the one that it needed to. 628 00:34:06,280 --> 00:34:07,080 And that was the legit one. 629 00:34:07,340 --> 00:34:09,520 So with that, we're going to go to the next demo. 630 00:34:10,020 --> 00:34:11,080 It's called CTA. 631 00:34:11,900 --> 00:34:13,940 Actually, Nick's going to talk about it. 632 00:34:16,740 --> 00:34:17,100 Okay. 633 00:34:18,840 --> 00:34:20,100 So we're going to go over this very, very quickly. 634 00:34:20,260 --> 00:34:24,540 But basically, this environment was an international VoIP provider. 635 00:34:24,680 --> 00:34:25,860 So they had a lot of customers. 636 00:34:26,000 --> 00:34:28,540 They had two different methods of sort of taking data into their environment. 637 00:34:28,740 --> 00:34:31,800 One was via kiosks where people were buying these prepaid cards. 638 00:34:31,960 --> 00:34:33,460 And another method was on a website. 639 00:34:33,780 --> 00:34:38,760 And so basically, in their hosting center, they had a server that was processing all of this data. 640 00:34:38,960 --> 00:34:46,700 Now, one thing to note about this data center, when we went to do our investigation, we actually walked up and out came about 20 cats out of the data center. 641 00:34:46,760 --> 00:34:48,820 Because it was really at a barn in the middle of the city. 642 00:34:48,820 --> 00:34:49,020 It was nowhere. 643 00:34:49,380 --> 00:34:51,020 This is where the hosting provider was. 644 00:34:51,520 --> 00:34:55,960 And so we were sort of confused why all these cats were sort of living there and living around these servers. 645 00:34:56,220 --> 00:34:59,140 But then actually just last week, I was watching on television with my son. 646 00:34:59,320 --> 00:35:00,540 And out came a commercial. 647 00:35:00,640 --> 00:35:02,280 It was cats versus dogs 3D. 648 00:35:02,560 --> 00:35:04,100 And I had this revelation. 649 00:35:04,220 --> 00:35:05,540 I was like, that's what was going on. 650 00:35:05,580 --> 00:35:07,020 The cats were running the ISP. 651 00:35:09,040 --> 00:35:13,860 So we'll jump in to the payment switch demo of the Kleinstein Transit Authority. 652 00:35:14,140 --> 00:35:14,460 All right. 653 00:35:14,540 --> 00:35:17,160 So are we ready for demo number three? 654 00:35:17,160 --> 00:35:18,160 All right. 655 00:35:18,900 --> 00:35:19,080 All right. 656 00:35:19,080 --> 00:35:19,940 You're kicking it. 657 00:35:20,600 --> 00:35:21,180 All right. 658 00:35:21,180 --> 00:35:24,280 So hey, we got a background change. 659 00:35:24,480 --> 00:35:24,800 Awesome. 660 00:35:26,060 --> 00:35:29,380 So notice how we have this cool background for every little malware. 661 00:35:30,000 --> 00:35:30,480 OK. 662 00:35:30,840 --> 00:35:33,040 So we will go. 663 00:35:33,160 --> 00:35:34,500 This time it's perfect. 664 00:35:34,720 --> 00:35:37,540 So I'm going to go to the directory that has pieces of malware. 665 00:35:37,700 --> 00:35:40,640 I know we are running short time. 666 00:35:43,160 --> 00:35:45,480 Actually, malware freak show, sniffer. 667 00:35:46,660 --> 00:35:47,140 OK. 668 00:35:47,160 --> 00:35:48,460 So you see Hydra.Sys. 669 00:35:48,580 --> 00:35:51,560 Now, if you learned from the past, Hydra.Sys is a rootkit. 670 00:35:52,400 --> 00:35:54,660 System32 DLL, that has the configuration settings. 671 00:35:55,280 --> 00:35:57,560 Win32 is one of the special programs that you'll see. 672 00:35:57,720 --> 00:35:59,480 Windsurf32 is actually the controller. 673 00:35:59,740 --> 00:36:03,700 So what I'm going to do is I'm going to actually show you the settings of this malware. 674 00:36:04,080 --> 00:36:10,740 And this is, again, pretty System32 here. 675 00:36:11,360 --> 00:36:16,180 So as you can see, the settings are such that the log would be in Windows directory, 676 00:36:16,840 --> 00:36:17,640 system40.log. 677 00:36:17,960 --> 00:36:21,560 Here's a command line for a malware, win32.exe, with these options. 678 00:36:21,780 --> 00:36:25,320 Now, with looking at just these commands, can you guess which tool it is? 679 00:36:27,420 --> 00:36:27,980 All right. 680 00:36:28,020 --> 00:36:29,280 It's basically NGRAP. 681 00:36:29,460 --> 00:36:32,340 So they've changed the name for NGRAP, and they're running. 682 00:36:32,780 --> 00:36:34,380 It's basically a sniffer malware, right? 683 00:36:34,420 --> 00:36:37,040 So it's going to sniff the internal network for confidential data. 684 00:36:37,480 --> 00:36:39,460 Now, this password, don't know yet. 685 00:36:39,660 --> 00:36:41,040 But host name, hacksers. 686 00:36:41,520 --> 00:36:44,240 You know, we had to change a little just for this demo. 687 00:36:44,380 --> 00:36:46,160 But hacksers.spyder.com. 688 00:36:46,160 --> 00:36:48,520 It has a username and password. 689 00:36:49,000 --> 00:36:50,320 And, you know, off you go. 690 00:36:50,660 --> 00:36:55,280 So I'm going to clear this screen and actually run the malware. 691 00:36:56,360 --> 00:36:57,520 So nothing happened. 692 00:36:57,740 --> 00:36:59,400 The malware runs pretty silently. 693 00:36:59,940 --> 00:37:06,680 What I want to show you here is that if you check the task manager, you're actually not going to see it. 694 00:37:06,920 --> 00:37:12,680 And last year, I know someone asked me the question, you know, if you don't see it in task manager, would you see it in sysinternals process explorer? 695 00:37:12,960 --> 00:37:13,880 The answer is no. 696 00:37:13,880 --> 00:37:16,180 This piece of malware, you won't even see it. 697 00:37:16,220 --> 00:37:20,560 Because what all this malware is doing is loading the rootkit and actually starting it right. 698 00:37:20,900 --> 00:37:25,840 So I'm actually going to show you the file that it is supposed to store data in. 699 00:37:26,300 --> 00:37:27,180 And here you go. 700 00:37:27,240 --> 00:37:29,540 System 40.log file. 701 00:37:30,020 --> 00:37:34,580 Right now, again, there's no data because we haven't done any network transactions of cardholder data. 702 00:37:34,860 --> 00:37:43,100 So I am going to go to my fake point of sale application and communicate on port 5500. 703 00:37:43,100 --> 00:37:45,360 So I'm going to go to this payments folder. 704 00:37:45,500 --> 00:37:48,200 It's going to ask me, what's your username and password? 705 00:37:48,620 --> 00:37:49,020 There. 706 00:37:49,120 --> 00:37:50,000 I'm a legit user. 707 00:37:50,280 --> 00:37:54,400 So I'm going to just, you know, browse through certain checks, temporary checks. 708 00:37:55,980 --> 00:37:57,880 And let's basically see what's out here. 709 00:37:58,000 --> 00:38:01,360 So dark tangent, he's got his card stolen again. 710 00:38:01,980 --> 00:38:05,800 This poor guy, Colin Shepard, he's got his card stolen. 711 00:38:08,220 --> 00:38:11,220 And this guy doesn't need cards because he has a lot of cash. 712 00:38:12,100 --> 00:38:12,500 . 713 00:38:12,940 --> 00:38:18,240 And, yeah, so, you know, again, you know, these attackers are freaking killing it, right? 714 00:38:18,540 --> 00:38:19,560 So we go to this file. 715 00:38:20,480 --> 00:38:23,000 And as you see, our file is updated. 716 00:38:23,320 --> 00:38:28,120 So when we see the output, we see that this is basically ngrep output. 717 00:38:28,300 --> 00:38:37,960 So if you use ngrep hour, you see basically the interface name, the poor mint, regular expression for tracked data, and, you know, the IPs that it was communicating to. 718 00:38:38,180 --> 00:38:41,260 So now that file is there, what do the attackers do to actually get the data? 719 00:38:41,260 --> 00:38:46,660 Now, in the previous malware, what you guys saw that the attackers still had to come into the system to actually take out the data. 720 00:38:46,860 --> 00:38:47,900 Now, this is one better. 721 00:38:48,640 --> 00:38:49,740 And we'll see how. 722 00:38:50,080 --> 00:38:59,140 So I'm going to change the system time because, you know, the malware writers, that's one of the shortcomings of this malware, actually. 723 00:38:59,460 --> 00:39:03,740 They basically transferred the data at around the same time every day. 724 00:39:04,640 --> 00:39:05,380 All right. 725 00:39:05,480 --> 00:39:06,880 So 59. 726 00:39:09,380 --> 00:39:12,860 And I'm going to give you ten seconds to kind of pray for the demo to work. 727 00:39:14,700 --> 00:39:16,780 So this is our FTP root directory. 728 00:39:16,900 --> 00:39:18,700 This is where the malware should dump data. 729 00:39:19,000 --> 00:39:23,860 And this is actually, you know, we're running a local FTP server on the local machine. 730 00:39:24,100 --> 00:39:25,140 So it's 1 o'clock. 731 00:39:25,240 --> 00:39:25,820 Let's see. 732 00:39:25,900 --> 00:39:29,380 One, two, three, four, five, six. 733 00:39:29,640 --> 00:39:30,060 Oh. 734 00:39:31,860 --> 00:39:32,300 Oh. 735 00:39:34,540 --> 00:39:35,840 The demo is not there. 736 00:39:36,000 --> 00:39:36,320 It's AM. 737 00:39:36,920 --> 00:39:37,320 Oh. 738 00:39:37,460 --> 00:39:37,740 It's AM. 739 00:39:37,940 --> 00:39:38,160 Okay. 740 00:39:38,360 --> 00:39:39,120 Good call. 741 00:39:39,420 --> 00:39:39,860 All right. 742 00:39:39,900 --> 00:39:41,460 So we're going to change it to. 743 00:39:41,780 --> 00:39:42,780 You're getting two dimensions. 744 00:39:44,260 --> 00:39:44,660 Okay. 745 00:39:44,760 --> 00:39:45,040 Perfect. 746 00:39:45,540 --> 00:39:49,420 So this time I'm actually going to do a good job. 747 00:39:51,340 --> 00:39:52,160 So hit apply. 748 00:39:53,060 --> 00:39:53,960 And let's see. 749 00:39:54,020 --> 00:39:55,560 Now we've got three more seconds to pray. 750 00:39:57,760 --> 00:39:58,160 One. 751 00:39:58,520 --> 00:39:59,060 Uh-oh. 752 00:39:59,320 --> 00:39:59,960 Keep praying. 753 00:40:00,060 --> 00:40:00,360 Keep praying. 754 00:40:00,520 --> 00:40:00,900 All right. 755 00:40:01,080 --> 00:40:01,680 We got it. 756 00:40:03,480 --> 00:40:03,880 Okay. 757 00:40:04,920 --> 00:40:06,860 Now there's this one last feature that I want to show you. 758 00:40:06,860 --> 00:40:08,780 Now if I try to extract these files. 759 00:40:08,900 --> 00:40:09,920 So this is what the attackers get. 760 00:40:10,100 --> 00:40:10,120 Right? 761 00:40:10,260 --> 00:40:11,600 So I try to extract it here. 762 00:40:12,020 --> 00:40:12,500 Oh. 763 00:40:12,680 --> 00:40:13,480 There's a password. 764 00:40:14,060 --> 00:40:18,240 Now remember we had this one config file a long time ago? 765 00:40:22,120 --> 00:40:23,080 Strings.exe. 766 00:40:23,080 --> 00:40:24,180 And I'm going to just. 767 00:40:25,120 --> 00:40:25,800 There we go. 768 00:40:25,880 --> 00:40:27,220 So we had this weird looking password. 769 00:40:28,200 --> 00:40:29,680 It looks like someone from UK. 770 00:40:29,980 --> 00:40:31,140 But we're. 771 00:40:32,720 --> 00:40:33,200 Piccadilly. 772 00:40:33,320 --> 00:40:34,440 And we try this. 773 00:40:34,800 --> 00:40:35,400 And boom. 774 00:40:35,520 --> 00:40:36,200 It works. 775 00:40:36,340 --> 00:40:36,840 And this is what we get. 776 00:40:36,840 --> 00:40:37,740 This is basically the same file. 777 00:40:37,820 --> 00:40:39,700 The system 40 file that we had over there. 778 00:40:39,880 --> 00:40:41,280 So that's about it for this different malware. 779 00:40:41,540 --> 00:40:44,140 Now the last piece of malware is the most awesome. 780 00:40:44,240 --> 00:40:45,300 So you better stick around for that. 781 00:40:45,800 --> 00:40:47,600 And Nick's going to tell you about the background. 782 00:40:47,820 --> 00:40:50,160 But that is going to be super. 783 00:40:50,260 --> 00:40:51,500 It's called Dwight's Duper. 784 00:40:51,680 --> 00:40:51,900 So. 785 00:40:53,540 --> 00:40:54,040 All right. 786 00:40:55,100 --> 00:40:55,460 Okay. 787 00:40:55,580 --> 00:40:56,960 So we have a couple of minutes. 788 00:40:57,160 --> 00:40:59,080 I think we have like six minutes. 789 00:40:59,260 --> 00:40:59,960 So we're going to. 790 00:40:59,980 --> 00:41:00,020 All right. 791 00:41:00,020 --> 00:41:00,440 We're going to do this. 792 00:41:00,440 --> 00:41:00,940 We're going to go through this. 793 00:41:01,020 --> 00:41:01,400 So basically. 794 00:41:01,580 --> 00:41:02,560 So let me set this up. 795 00:41:02,640 --> 00:41:04,160 This is a client side PDF attack. 796 00:41:04,400 --> 00:41:06,040 Now the difference between this environment. 797 00:41:06,200 --> 00:41:06,460 And the. 798 00:41:06,480 --> 00:41:06,820 And the. 799 00:41:06,820 --> 00:41:07,680 And the previous three environments. 800 00:41:07,820 --> 00:41:09,540 The security posture in the previous three. 801 00:41:10,120 --> 00:41:11,300 Previous three environments was. 802 00:41:11,360 --> 00:41:12,260 Was basically horrible. 803 00:41:12,880 --> 00:41:14,740 This environment is a U.S. 804 00:41:14,740 --> 00:41:15,300 Defense contractor. 805 00:41:15,580 --> 00:41:17,300 They have a very high level of security. 806 00:41:17,660 --> 00:41:18,900 They had nothing allowed inbound. 807 00:41:19,060 --> 00:41:20,540 The only thing that was allowed outbound. 808 00:41:20,660 --> 00:41:21,840 Was port 80 and 443. 809 00:41:22,020 --> 00:41:23,560 And everybody had email access. 810 00:41:24,040 --> 00:41:24,380 And so. 811 00:41:24,460 --> 00:41:25,620 This really set this up. 812 00:41:25,820 --> 00:41:26,260 The. 813 00:41:26,360 --> 00:41:28,920 The employees of this organization received an email. 814 00:41:29,160 --> 00:41:29,900 They had an attachment. 815 00:41:30,420 --> 00:41:32,200 And everything else sort of went from there. 816 00:41:32,340 --> 00:41:33,740 Now we couldn't really use. 817 00:41:34,060 --> 00:41:34,580 U.S. 818 00:41:34,600 --> 00:41:36,540 Defense contractors details and things like that. 819 00:41:36,580 --> 00:41:36,780 In the. 820 00:41:36,820 --> 00:41:40,720 demonstration so we chose a different company so let's go let's go to the demo 821 00:41:40,720 --> 00:41:44,400 now all right last one are we ready for demo number four? 822 00:41:44,860 --> 00:41:54,440 all right so okay so basically yeah so we couldn't choose the defense 823 00:41:54,440 --> 00:42:01,300 contractor so this is the company that we chose and again so this is 824 00:42:01,300 --> 00:42:10,940 basically Jim Halpert desktop all right so so who likes Dwight all right you 825 00:42:10,940 --> 00:42:14,120 guys are gonna love it then all right so this is basically Jim's 826 00:42:14,120 --> 00:42:20,540 mailbox and basically you know he's got emails from his company mates right so 827 00:42:20,540 --> 00:42:26,040 first email is from Michael, Scott you know you finally got the lost ending you 828 00:42:26,040 --> 00:42:30,740 know then then we've got a weird one here from Kelly Kapoor and that's 194 KB 829 00:42:30,740 --> 00:42:31,280 and that's 500 comments so you would be a crazy guy an amazing guy man yeahíamos 830 00:42:31,280 --> 00:42:33,520 That says continuing from lunch conversation. 831 00:42:34,320 --> 00:42:36,060 All right, so let's see what it's about. 832 00:42:36,200 --> 00:42:40,160 Oh, that's the pages full of rants again, all right? 833 00:42:42,280 --> 00:42:46,400 And this last one, and, you know, a lot of people, a lot of us get these announcements, right? 834 00:42:46,460 --> 00:42:50,660 HR announcements, and we, you know, without thinking twice about it, we just, you know, click on. 835 00:42:50,760 --> 00:42:51,700 And this looks pretty real. 836 00:42:51,820 --> 00:42:53,140 You know, it looks, it has a disclaimer. 837 00:42:53,380 --> 00:42:56,060 It says that it's going to be released at 9 o'clock. 838 00:42:56,060 --> 00:43:04,900 So, you know, before running this PDF file, I'm actually going to show you the temp folder that it actually has. 839 00:43:06,620 --> 00:43:12,000 So if you go to this temp folder, what you're going to see, what actually happens behind the scenes when we run this PDF file. 840 00:43:12,600 --> 00:43:15,320 So here we go. 841 00:43:16,040 --> 00:43:16,960 It's an announcement. 842 00:43:17,760 --> 00:43:19,900 Jim Halpert opens up his PDF. 843 00:43:19,960 --> 00:43:23,200 The PDF closes for a second, and it opens up again. 844 00:43:23,300 --> 00:43:24,840 And now the file name has changed. 845 00:43:24,840 --> 00:43:30,060 And as you can see, Dwight Schrute has finally been awarded the official position of assistant regional manager. 846 00:43:31,000 --> 00:43:33,720 But Jim, Jim has been pawned, right? 847 00:43:35,100 --> 00:43:39,060 So as you can see, there's a folder called goldmine, and, you know, there's a RAR file. 848 00:43:39,220 --> 00:43:41,400 You know, RAR files are usually sent out. 849 00:43:41,480 --> 00:43:42,720 So let's see what's in the goldmine folder. 850 00:43:43,380 --> 00:43:46,880 Bank account details, bank statements, client lists and commissions. 851 00:43:47,440 --> 00:43:50,800 Oh, if Dwight's looking at it, Dwight prank logs it. 852 00:43:51,540 --> 00:43:54,760 And with that, it's got Firefox passwords, IE passwords. 853 00:43:54,840 --> 00:43:56,460 And just about everything else. 854 00:43:56,640 --> 00:43:58,180 And guess where it comes from. 855 00:43:58,460 --> 00:44:00,920 It's basically what the attack is doing. 856 00:44:01,020 --> 00:44:03,320 It's basically taking all the files from the my documents folder. 857 00:44:03,600 --> 00:44:07,840 It's RARing the folder into goldmine and sending it out. 858 00:44:08,140 --> 00:44:11,180 And this is basically, you know, the FTP server again. 859 00:44:11,260 --> 00:44:12,540 This is where it sends out. 860 00:44:12,720 --> 00:44:16,080 And again, you know, there is a password on the FTP server. 861 00:44:18,460 --> 00:44:23,660 And so Dwight gets his data, and he basically has all of Jim's information. 862 00:44:23,920 --> 00:44:24,820 So guess who's going to win? 863 00:44:24,820 --> 00:44:25,860 Who's going to win the sales prize this year? 864 00:44:26,640 --> 00:44:27,220 Dwight Schrug. 865 00:44:28,440 --> 00:44:30,240 All right, and that's about it for our demo. 866 00:44:30,440 --> 00:44:31,520 This was our fourth demo. 867 00:44:31,680 --> 00:44:32,860 And thankfully, all of them worked. 868 00:44:39,880 --> 00:44:41,800 Yeah, so just to sum it up. 869 00:44:41,920 --> 00:44:46,400 So, you know, what we learned here is that customization of malware is the key, right? 870 00:44:46,480 --> 00:44:48,320 So we're seeing customized malware targeting environments. 871 00:44:48,660 --> 00:44:53,300 Like you saw in the U.S. defense contractor example, that's very, very customized, targeting 872 00:44:53,300 --> 00:44:53,860 that environment. 873 00:44:53,860 --> 00:44:58,920 It's specifically crafted to basically own those employees at that company. 874 00:44:59,320 --> 00:45:01,300 And then, you know, slow and steady wins the race. 875 00:45:01,540 --> 00:45:01,720 Right. 876 00:45:01,940 --> 00:45:04,200 And then basically, you know, you saw the anti-forensics features. 877 00:45:04,360 --> 00:45:07,500 They don't have to, but they do it anyway, just for the brownie points. 878 00:45:08,120 --> 00:45:09,320 Automation is another big thing. 879 00:45:09,400 --> 00:45:10,340 And you know what? 880 00:45:10,700 --> 00:45:11,680 They're not slowing down. 881 00:45:11,880 --> 00:45:15,700 And you know, the funny thing Nick mentioned at the beginning of this talk, last year we 882 00:45:15,700 --> 00:45:16,720 gave the Malware Freak Show. 883 00:45:16,920 --> 00:45:20,720 And the shortcomings that we gave last year, they basically went ahead and corrected the 884 00:45:20,720 --> 00:45:20,920 malware. 885 00:45:22,120 --> 00:45:23,840 So, you know, if you come next year, you're going to see a lot of malware. 886 00:45:23,840 --> 00:45:25,920 We might have DEF CON Malware Freak Show 3. 887 00:45:26,080 --> 00:45:28,700 And thank you guys for being such a wonderful audience. 888 00:45:29,500 --> 00:45:30,120 Thank you.