[00:00.000 --> 00:03.620] So this is called, your blacklist is dead, air-gapped everything, [00:04.440 --> 00:09.100] and is my diatribe on why I think that the future of command and control for [00:09.100 --> 00:12.340] malware is in the cloud. Just to give a little bit of background [00:12.340 --> 00:16.060] on you, my name, on you, on me, my name is Eric [00:16.060 --> 00:18.640] Lincoln. I'm a threat researcher at Netscope. [00:18.640 --> 00:21.480] I study applied mathematics at Johns Hopkins University. [00:21.820 --> 00:26.460] I wear some lib t-shirts because I'm not allowed to talk about politics [00:26.460 --> 00:31.760] in this presentation. So why am I here? [00:32.320 --> 00:34.860] Well, I'm here because I think a lot about malware. [00:35.080 --> 00:39.760] And I think a lot about what malware authors are going to do. [00:40.800 --> 00:43.120] And, right, so what motivates malware authors? [00:43.120 --> 00:46.100] They don't want to get caught, right? That's the number one thing. [00:46.100 --> 00:49.060] If you have malware on a system, you probably don't want to get caught. [00:49.060 --> 00:52.800] Of course, there are exceptions, you know. But for the most part, [00:52.800 --> 00:55.700] you want to be surreptitious. So how do you avoid detection? [00:55.700 --> 00:58.800] You blend in, right? And so if you're talking to this [00:58.800 --> 01:02.400] sketchy server in Ukraine or you're calling out to an OVH IP, [01:02.400 --> 01:06.420] which if any of you have ever seen malicious network traffic, [01:06.420 --> 01:10.500] you've probably seen, it's pretty obvious, right? [01:10.560 --> 01:15.120] But if I talk to a whitelisted domain, something that is very specifically [01:16.040 --> 01:19.380] authorized instead of a sketchy server in France or Ukraine, [01:20.120 --> 01:22.560] that's a much harder problem to solve, right? [01:23.120 --> 01:27.260] And if you've ever written IDS rules for unspecified IDSs [01:27.260 --> 01:30.600] that I'm not allowed to name, it's really, really hard to detect [01:30.600 --> 01:36.960] things that look like normal traffic but are bad, right? [01:36.960 --> 01:41.500] So you look at Angular exploit kit used a bunch of BBS patterns [01:41.500 --> 01:45.260] when it was trying to put out its landing pages. [01:45.260 --> 01:48.140] And that made it really, really hard for me at the time [01:48.140 --> 01:50.760] to write IDS rules to mitigate it. [01:51.940 --> 01:55.200] So before we really dive into the meat of it, [01:55.200 --> 01:58.380] why do people even use SaaS applications, right? [01:58.380 --> 02:02.460] We have software as a service. I'm willing to bet that everyone here [02:02.460 --> 02:05.780] has some authorized SaaS application in their enterprise. [02:05.780 --> 02:07.440] So what's it good for, right? [02:07.740 --> 02:11.640] I mean, you don't manage the physical infrastructure. [02:11.640 --> 02:14.760] It's patched for you. Users can use it from everywhere. [02:15.580 --> 02:18.760] It's easy. It's cheap. It's effective. [02:18.760 --> 02:22.960] And it's growing, right? Small companies are using it. [02:22.960 --> 02:27.740] Large companies are using it. G Suite, Slack, Dropbox, Box. [02:27.740 --> 02:30.240] You name it, someone is using it, right? [02:30.480 --> 02:34.340] And so it's everywhere and it's easy. [02:35.140 --> 02:39.620] A minor digression is I've had a lot of debate about [02:39.620 --> 02:43.580] is social media SaaS, right? Is social media software as a service? [02:44.820 --> 02:47.980] Salesforce thinks so. I think so. [02:47.980 --> 02:51.640] If you disagree, then you're wrong. [02:52.680 --> 02:55.060] I'm so sorry. You're wrong. [02:55.540 --> 03:01.000] So Reddit is SaaS and Facebook is SaaS. And again, that's not up for discussion. [03:01.380 --> 03:07.240] So is SaaS good for security? And the answer is a resounding maybe, right? [03:07.420 --> 03:10.580] In some sense, you want to offload your risks to a third party. [03:10.580 --> 03:16.180] You want Microsoft to be responsible for protecting your data and encrypting it [03:16.180 --> 03:21.540] because they're probably better at protecting encryption keys than you are. [03:22.000 --> 03:27.000] So it decreases the attack surface of your actual enterprise network. [03:27.260 --> 03:31.660] And also, right, capitalism, because we live in a society, [03:31.660 --> 03:35.060] incentivizes protecting your stuff. If somebody is really, really bad [03:35.060 --> 03:38.820] at protecting your data, you're not going to trust them with it, right? [03:38.820 --> 03:43.760] You're not going to pay them money to do it. That's kind of how the market works. [03:45.260 --> 03:49.300] So does having a bunch of whitelisted services decrease your visibility? [03:50.360 --> 03:55.500] Yeah, right? You have a bunch of network traffic outbound that you assume is good. [03:55.500 --> 03:59.620] You're not inspecting that traffic. Not in any meaningful way. [03:59.860 --> 04:03.280] So yeah. It's a land of contrasts. [04:04.280 --> 04:06.880] So we'll start with a blue team perspective, right? [04:07.900 --> 04:11.760] I do want to start with a caveat that other people are much better at this than I am. [04:11.760 --> 04:15.040] There are people here who have spoken today whose presentations you have seen [04:15.040 --> 04:22.600] who have thought about the blue team approach to protecting against malware and things. [04:22.720 --> 04:26.940] And they're better than I am. So if you saw those talks, good for you. [04:26.940 --> 04:31.940] Otherwise, they're recorded. So I've got a timeline here. [04:31.940 --> 04:35.260] And you can't read it because the text is super tiny. [04:35.260 --> 04:37.820] So I'm just displaying it so I can talk about it. [04:37.820 --> 04:42.260] But basically, we've got kind of different phases of the cyber kill chain. [04:42.260 --> 04:46.680] You've got your actions on objectives. You've got command and control, delivery and exploitation. [04:46.860 --> 04:54.980] And we have seen since about 2009, every single one of these three phases [04:54.980 --> 05:01.060] used in different ways with different services to do all kinds of different things, right? [05:01.060 --> 05:05.360] So you have Google App Engine being used for command and control. [05:05.820 --> 05:09.780] Using EC2 all the way back in 2009, right? [05:09.780 --> 05:16.920] Recently, Trend Micro, and we wrote about it too, but Trend Micro did it first, [05:16.920 --> 05:21.660] wrote about Slub, which uses a variety of SaaS services to do [05:22.100 --> 05:25.020] a couple of different steps of this process, right? [05:25.540 --> 05:34.020] You have Rock Group, which was using GitLab and Giddy, which is a Chinese Git clone or a GitHub [05:34.020 --> 05:39.400] clone, to download follow-on scripts and second-stage payloads, right? [05:39.400 --> 05:44.660] So these things are happening. We had a pretty good run there in 2014, [05:44.660 --> 05:49.560] where there's a decent cluster where you've got PlugX, Inception Framework, right? [05:49.560 --> 05:57.060] So it's being used by cyber criminals, APTs. It's being used by everybody. [05:57.060 --> 05:59.080] And it's only getting easier. [06:00.860 --> 06:05.860] And part of the reason for that is, if you think about domain generation algorithms, [06:06.240 --> 06:12.320] right? So our first domain generation algorithm that we've really observed and kind of the one [06:12.320 --> 06:16.620] that we call the first is Kraken, right? And that was back in 2008. [06:16.620 --> 06:25.200] So in the last 11 years, we've written over 22,500 academic papers. [06:25.200 --> 06:30.860] That's not blog posts and Medium posts and, like, shitty things you wrote and marked down [06:30.860 --> 06:35.300] but never published. These are academic papers that are on Google Scholar, right? [06:35.300 --> 06:41.440] This is a well-researched, well-trodden topic. And if you've spent any time in malware analysis [06:41.440 --> 06:47.000] or blue teaming, some of these names are familiar. You may have heard of Conficker. [06:47.000 --> 06:51.520] You may have heard of the Zeus botnet. Those are things you might have heard of. [06:51.700 --> 06:54.980] Or if you're new, you probably haven't, and that's fine. [06:55.200 --> 06:59.680] So we've spent a lot of time on domain generation algorithms, right? And we've spent a lot of [06:59.680 --> 07:05.740] resources researching how to detect domain generation algorithms. And what's the point [07:05.740 --> 07:10.960] of a domain generation algorithm? It's to make sure that you can't blacklist a domain and kill [07:10.960 --> 07:18.360] the CNC, right? It's to evade IDS detection that depends on the domain. It's to evade firewalls. [07:18.880 --> 07:24.340] Well, if you're just calling out to API.slack.com, you don't need to write a DGA, [07:24.340 --> 07:28.820] and when somebody figures out your DGA, you have to write a whole new DGA. [07:28.960 --> 07:37.300] You can just use API.slack.com, right? So it may not get rid of domain generation algorithms [07:37.300 --> 07:42.380] forever and always, but it is an alternative to domain generation algorithms that serves [07:42.380 --> 07:48.840] the same purpose. And I want to talk a little bit about Slub, which, again, [07:48.840 --> 07:54.060] Trend Micro wrote about, and then we wrote about as well. We being Netscope. [07:54.560 --> 08:00.980] So one of the things that Slub did was it got commands from GitHub gists, [08:00.980 --> 08:06.560] posted command responses in Slack, and then exfiltrated files when it would upload files, [08:06.560 --> 08:11.680] right? It would upload them to file.io, which doesn't require any authentication or API keys, [08:11.680 --> 08:16.480] right? And there are really good blog posts about this if you're interested in the technical [08:16.480 --> 08:24.780] details of Slub. And they've actually really the Slub authors have released a new version [08:24.780 --> 08:33.320] that kills GitHub, which I personally don't think is super great, but I understand it. [08:33.980 --> 08:37.420] And they use Slack a lot more. So they use Slack for passing commands and [08:37.420 --> 08:43.160] for returning responses. And it's a beautiful piece of malware. It really is. If you don't [08:43.160 --> 08:48.480] love malware, you're probably at the wrong conference, honestly. [08:49.440 --> 08:56.180] Right. So why was Slub so effective, okay? It used a bunch of different SaaS services, right? [08:56.180 --> 09:02.500] And file.io in particular is an anonymous upload. So it just uploads it. It doesn't ask you for a [09:02.500 --> 09:09.540] key. You don't log in. There's nothing. You just pass the binary bit or you pass not the binary, [09:09.540 --> 09:19.120] pass the hex bytes of the file to the upload path. And that's it. That's the API. File.io [09:19.120 --> 09:25.420] slash upload. That's all. Just a post. So that's really hard to detect, right? Unless you're [09:25.420 --> 09:30.760] looking at the content of the payload. And of course, looking at the content of the payload [09:30.760 --> 09:37.740] is difficult because all of these things have TLS, right? That's one of the other beauties of [09:37.740 --> 09:44.680] SaaS services as CNC is that they all provide TLS by default. You don't need to create your own cert, [09:44.680 --> 09:51.640] you don't need to get your let's encrypt cert every 30 days. It just uses Dropbox, [09:51.640 --> 10:00.480] file.io, whoever. It uses their TLS cert. And again, it's sneaky. It looks like API calls. [10:00.480 --> 10:06.100] API calls to legitimate websites don't look like CNC traffic. So you're not going to blacklist [10:06.100 --> 10:11.540] these domains, you're not going to blacklist these IPs. And if you write an IDS signature, [10:12.280 --> 10:16.240] you're probably not going to key off of that. You're going to have to key off of something in [10:16.240 --> 10:22.360] the content of the body, right? And that's assuming that you get through the TLS encryption, [10:22.360 --> 10:27.860] meaning that you're probably in line and you're stripping SSL. Which not everybody does. [10:29.120 --> 10:35.500] So how do you defend against SaaSy malware? Well, DLP solutions are pretty good. If you [10:35.500 --> 10:41.000] upload a sensitive file to Dropbox and you have a DLP solution in line that looks at your files [10:41.000 --> 10:47.440] as you upload them to Dropbox or as an attacker uploads them to Dropbox, it's going to say, hey, [10:47.440 --> 10:52.340] these are a bunch of social security numbers. It's probably not good. And you'll get an alert. [10:53.720 --> 10:59.020] Careful monitoring of traffic, which is really just a generic thing that doesn't mean anything. [10:59.020 --> 11:04.540] I'm just saying it so that I cover my ass when one of you asks me what about IDS. [11:05.680 --> 11:15.340] Aggressive user education, right? Not just, like, don't click links unless you trust them. But, [11:15.340 --> 11:22.700] like, ask yourself why you trust a link. If you're clicking a link that was messaged to you in Slack [11:22.700 --> 11:31.100] that goes to a Dropbox, maybe make sure. And then, of course, endpoint detection, right? [11:31.100 --> 11:36.340] Endpoint detection doesn't care what method you use for command and control. It just cares about [11:36.340 --> 11:42.080] whether or not it's detecting the malware. So, it can use domain generation algorithms or call [11:42.080 --> 11:51.520] out over port 666 or listen on port 777, which is sub 7 for the 11 of you who are old enough to [11:51.520 --> 11:59.600] remember that, right? So, that's a good way to do it. And one thing I want to do while I have a [11:59.600 --> 12:06.780] soapbox to stand on, one of my hobby's horse, is there's nothing new under the sun. All of these [12:06.780 --> 12:13.400] services, if you're a blue teamer, you need to think about Dropbox, you need to think about Slack, [12:13.400 --> 12:18.440] you need to think about all of these things the way that you think about ports on your server, [12:18.440 --> 12:24.720] right? If you're hardening a server and you've got FTP open, and you say, well, we don't run [12:24.720 --> 12:32.940] we don't need FTP open on this server. We've got FTPD running, but this isn't an FTP server. [12:33.180 --> 12:42.020] What do you do? You kill FTPD forever. You block port 24, 3, 4, shit, whatever. You know what I [12:42.020 --> 12:48.980] mean. It's been a long day. I yelled at most of you. But the point is, you block that port, [12:48.980 --> 12:54.700] you kill that service. If you don't run Dropbox in your enterprise, don't let people use Dropbox. [12:55.320 --> 13:01.920] Right? What personal Dropbox do they need to use for your corporate files? And I know that's such [13:01.920 --> 13:07.420] an awful thing to say at DEF CON, but seriously, if you're a blue teamer, really give thought to [13:07.420 --> 13:16.560] how you manage these services and be false positive tolerant on them. Because it will screw you. [13:17.700 --> 13:25.420] Now, for the more fun part, right? If you're a red teamer, or if you just like red team things, [13:26.500 --> 13:36.620] how do we use these sorts of services to do stuff? Well, as always, getting in is the hard part, [13:36.620 --> 13:41.880] right? And all of these slide titles are references to music, and you might not get any [13:41.880 --> 13:50.020] of them, and that's okay. This is Tom Petty on the Heartbreakers, yeah. But how do you get in [13:50.020 --> 13:56.040] in the first place? You abuse lax IAM permissions, you force logins, social engineering, old-fashioned [13:56.040 --> 14:02.820] exploitation, you know? Endpoints have vulnerabilities. People don't patch everything. [14:02.820 --> 14:10.960] People run, like, ancient versions of VLC, which is so weird. People run just the weirdest stuff. [14:10.960 --> 14:20.720] Somebody had FileZilla open, like, two months ago? Why? I don't know. And then you've got whatever [14:20.720 --> 14:28.720] blue you want, because people still haven't patched MS17010. Which, if you're in this room, [14:28.720 --> 14:36.300] and you have a box that you know of that hasn't applied that patch, leave. The whole conference, [14:36.300 --> 14:42.440] the state of Nevada, go home and patch it. It's been two years. [14:43.820 --> 14:51.000] Right? And so, then once you have the access, then you can get by IDS, right? And you can pull [14:51.000 --> 14:57.480] your tools from Dropbox. You can pull your tools from S3. You can pull scripts from Pastebin. [14:57.540 --> 15:06.060] Seriously. Just put the Python in Pastebin and make a curl request to the raw and then [15:06.060 --> 15:13.520] pipe it to Python. It's that easy. And it runs and it works. And I don't know. Some people aren't [15:13.520 --> 15:20.000] mitigating this in any way, shape, or form, and it's nuts. And GitHub. GitHub is such an [15:20.900 --> 15:28.660] underutilized way to abuse trust relationships that companies have. Most places, if you have [15:28.860 --> 15:35.680] a GitHub repo, and you make a pull from another GitHub repo or a clone from another GitHub repo, [15:36.360 --> 15:42.040] they just let you. Nobody's blocking GitHub traffic, right? Because what if it breaks your Jenkins [15:42.040 --> 15:50.040] pipeline? Yeah, that one guy found it funny. That was good. Thank you. You specifically. [15:50.620 --> 15:55.940] But seriously, you can just pull code. You can pull whatever from GitHub. And if you have file [15:55.940 --> 15:59.940] storage, forget about it. You can pull executables. You can do whatever you want, right? [16:02.380 --> 16:07.720] Nobody gets this one. That's okay. Carole King had a song called I Can't Hear You No More. [16:07.920 --> 16:13.120] It's fine. And then there's tried and true techniques for doing exfiltration over these [16:13.120 --> 16:20.400] sorts of services, right? You make a draft email in Gmail and attach something to it, but you don't [16:20.400 --> 16:27.360] send it. So, it never trips like an ESA, which is something I wasn't supposed to say. You know, [16:27.360 --> 16:33.960] Slack has an upload feature. Twitter, Dropbox, whatever. You can send data over these things, [16:33.960 --> 16:41.400] and they are usually trusted. You can create a private Reddit and just post whatever in there, [16:41.400 --> 16:46.500] and nobody will ever see it, and nobody will ever block it. It is a great way for you as a red [16:46.500 --> 16:54.460] teamer to exfiltrate data in a way that is super surreptitious. And one more thing I wanted to [16:54.460 --> 17:01.460] talk about. Before I talk about it, I do want to pay homage. This is not new. People have done [17:01.460 --> 17:10.120] this before. I am just demoing my version of it. So, Gcat, Twitter, Slackor, Slub, all did this [17:10.120 --> 17:18.860] really well, right? Slackor in particular is real nice. Coalfire put that out. So, huge props to [17:18.860 --> 17:26.500] them. And a little bit of a shout out to the Slub authors, because A, I jacked their program flow, [17:26.500 --> 17:34.060] and B, it is a sweet piece of malware. It is really good. It was fun to reverse. It was fun [17:34.060 --> 17:42.760] to reverse the second time. It was a real friend, you know? So, I want to demonstrate something that [17:42.760 --> 17:50.480] we have been calling sassy boy, which is I've got this shirt. That guy has a shirt, too, because he [17:50.480 --> 17:58.840] works with me. And I'm going to pause it like six times, and you probably can't see it. So, I'm [17:58.840 --> 18:07.100] really sorry, which is why I'm going to talk you through it. So, let's do that. Okay. Right. So, we [18:07.100 --> 18:16.440] run the oh, Jesus. Okay. There we go. So, we run the agent. Okay. And this is not full screened. Not [18:16.440 --> 18:25.940] well enough. That's fine. Right? And so, you can see on the right, we've got our Slack, and on the [18:25.940 --> 18:32.140] left, we have a terminal. And in real life, your malware is not going to be so cooperative and [18:32.140 --> 18:38.480] provide you with a terminal. But I have done it so that I can know when things start and end. Also, [18:38.480 --> 18:45.420] because I like recording my screen this way. So, play. There we go. Right? So, we run the agent. [18:45.420 --> 18:51.180] Okay? And the first thing that happens is it checks in here, and it tells you some basic [18:51.180 --> 18:55.600] information. So, down at the bottom, which you can't read, and I should have tried this on a big [18:55.600 --> 19:06.340] screen. It says current user is not admin. Username is Eagle Lincoln. Mac scope.local. So, what's it [19:06.340 --> 19:13.440] doing? It is checking who the current user is, what their UID is, what their OS is, and what the [19:13.440 --> 19:23.000] computer name is. And you see, we pop calc, because you have to. It did download the actual calc.app [19:23.000 --> 19:31.260] and run it. So, it is downloading and executing code. That's just a law of demos. If anybody gave [19:31.260 --> 19:39.180] you a demo today and didn't pop calc, they're fired. Right? And so, then what did it do? It [19:39.180 --> 19:44.240] listed this directory. It listed the current directory that it's running out of. Because I'm [19:44.240 --> 19:48.180] lazy and didn't want to move it around or compile it into an executable. But you can do that with [19:48.180 --> 19:55.620] pants. Or whatever you want. So, what do we have here? Right? We've got some stuff. And then we're [19:55.620 --> 19:59.360] gonna give it a command. We're gonna tell it to list dir. We're gonna have it list our home [19:59.360 --> 20:06.280] directory. Users, Eagle Lincoln. And it takes a couple seconds to think about it. And then it [20:06.280 --> 20:11.140] comes back. Right? And we've got a bunch of files and directories there, because I don't keep my [20:11.140 --> 20:17.280] home dir clean. But we have one in particular that's pretty neat. And that's .ssh. [20:18.180 --> 20:27.180] I'm assuming that everyone here knows what lives in .ssh. So, we're gonna go ahead and upload [20:27.780 --> 20:36.440] our SSH private key to Dropbox. All we pass it... right? So, this... all of this functionality is [20:36.440 --> 20:45.020] not hardcoded. We're passing it a path for a file and we're passing it an OAuth key for Dropbox. [20:45.020 --> 20:54.120] The Dropbox is not hardcoded. The only thing that lives in the malware is the upload API call [20:54.120 --> 21:01.280] for Dropbox. And then it creates a folder called max scope, which is the name of the computer. [21:01.860 --> 21:09.560] And hey, there's my RSA private key. Right? And we love it. And yeah. I'm not gonna show you my [21:09.560 --> 21:14.280] RSA private key. I thought about it. And then I remembered that that's my actual production [21:14.280 --> 21:21.940] laptop for work. That would be a mistake to display at DEF CON. Yeah, there would be like [21:21.940 --> 21:27.840] 45 people taking pictures. Right? And then we tell it destroy. And then when it destroys, [21:27.840 --> 21:34.480] it kills the whole thing. So, it just dies. That's it. That's the whole demo. Thank you. [21:35.560 --> 21:42.700] Thank you. Right? So, code is available. That's not the correct address anymore. [21:42.700 --> 21:48.700] It's at net scope OSS. I can modify it. I'll make it available. We have a blog post that [21:48.700 --> 21:55.620] links to the code, too. Net scope OSS slash sassy underscore boy. S-A-A-S-Y. [21:58.360 --> 22:05.540] But I've open sourced the whole thing. You can see my crappy Python. And you can run it and you [22:05.540 --> 22:11.460] can test your own security stuff against it and see what your logs say. Which is why I'm opening [22:11.460 --> 22:21.850] it. My caveat is it ran on my Mac, it ran on my Windows VM, and it ran on my Linux installation. [22:22.380 --> 22:29.640] I am not promising it will work on yours. Whatever your environment looks like, [22:29.640 --> 22:36.060] I hope it works. Or not. I hope it doesn't work if you don't want this running. Right? [22:36.060 --> 22:41.120] Anyway, what have we learned? Right? You guys sat here and listened to me talk for [22:41.660 --> 22:47.780] however long it's been. So, what have we learned? Right? What are the lessons you should take away? [22:48.520 --> 22:54.220] SaaS applications can increase your attack surface. Even though you are not running an [22:54.220 --> 23:00.420] NFS that is exposed to the internet and you're running Dropbox instead, now you are trusting [23:00.420 --> 23:08.260] Dropbox. Which means if you are not making sure that it is your Dropbox that is being used, [23:08.260 --> 23:14.640] you're increasing your exposure. SaaS applications move data very surreptitiously. [23:15.240 --> 23:19.380] One thing I thought about demoing, but didn't know what fun commands to run, [23:19.380 --> 23:26.380] is that Sassy Boy is basically a reverse shell over Slack, right? And it uses Twitter, too, [23:26.380 --> 23:32.740] that's another thing it does. It's got fallback methods. I gotcha. [23:34.500 --> 23:37.520] But it opens a reverse shell. You can run whatever command you want. If you want to [23:38.400 --> 23:45.020] RMRF slash, go for it. I'm not doing it. I was going to do a live demo and let you guys give [23:45.020 --> 23:50.780] me commands, but then I realized that somebody would want to run that and then it would be over. [23:51.880 --> 24:00.320] And APIs make it really easy to use one or two or eight services to do bad stuff. And to do bad [24:00.320 --> 24:09.280] stuff in a way that has built in TLS, built in IDS evasion, and is just genuinely hard to detect [24:09.890 --> 24:15.820] with traditional things. As is customary, I also want to do props and slops. [24:15.820 --> 24:22.440] Props to Slack for having a super easy to use REST API. And props to Facebook. Because I tried [24:22.440 --> 24:28.560] to use Facebook instead of Slack. And they made it really, really difficult to build a chat bot [24:28.560 --> 24:35.460] that abuses their TLS. It's an absolute nightmare to use. And it requires you to jump through way [24:35.460 --> 24:41.200] too many hoops. So, I just didn't do it. You probably could, if anybody here is determined. [24:41.200 --> 24:46.660] You can definitely... it's possible. It just sucks. And, like, they'll kill it. [24:48.100 --> 24:53.400] Props to Polsack, Coalfire, Trend Micro. And anybody who sat through this whole presentation [24:53.400 --> 25:00.380] is like, yeah, obviously, idiot. You can use Slack for C&C. And props to Jenko, who took a [25:00.380 --> 25:04.600] seat from somebody in the hallway because he doesn't love or care about you. Who made the [25:04.600 --> 25:10.980] timeline for this graphic. And a paper that we're releasing about a related topic made it far [25:10.980 --> 25:17.460] nicer. Because my original one was hideous. Also, slops to Slack for having a really easy [25:17.460 --> 25:26.920] to abuse REST API. Somebody, maybe not in this room, because now you are the enlightened few, [25:27.580 --> 25:31.640] is going to have a really nasty piece of malware, which is probably going to be Emotet, [25:31.640 --> 25:36.620] because it's always freaking Emotet. They're so good. If any of you know the Emotet authors, [25:36.620 --> 25:42.960] please introduce me. I want to meet them so bad. Right? Somebody's going to get popped with [25:42.960 --> 25:48.460] malware and it's going to use Slack and it's going to go undetected for like 230 days and [25:48.580 --> 25:52.620] a CISO is going to get fired and they're going to be like, oh, my God, it ruined our TDR. [25:53.140 --> 25:59.660] Whatever. You've all been warned. Slops to Facebook for making it really hard for me to [25:59.660 --> 26:05.360] have a chatbot that abuses their TOS. I really wanted to use Facebook Messenger. There were [26:05.360 --> 26:11.400] allegedly people coming here who are from Facebook. Maybe none of you made it because [26:11.400 --> 26:17.120] you heard that I wasn't doing it anymore. I don't know. But, yeah, that really sucked and was really [26:17.120 --> 26:22.420] frustrating. And slops to my cat, Dasha, who spilled coffee on my keyboard when I was trying [26:22.420 --> 26:29.320] to write the malware and cost me like an hour drying out my laptop. That really sucked. So, [26:29.320 --> 26:33.980] thank you all for listening to my talk. That's my Twitter and my personal blog. We also have a blog [26:33.980 --> 26:38.960] at Netsco. That's it. That's all. You can applaud now. Thank you.