[00:00.000 --> 00:05.040] Hey, this is Alex. This is Dan. And I got something really cool to talk about. [00:08.120 --> 00:13.840] How are you guys doing? Last talk of the day. Then you guys are going to go to bed right [00:13.840 --> 00:20.400] after this, I imagine. Thanks for coming out, guys. This is pretty exciting for us. My name [00:20.400 --> 00:24.660] is Alex Levenson. I've got Dan here. Today we're going to go through a tool that we wrote [00:24.660 --> 00:29.020] the agenda today. We're going to talk about droppers and stagers, as some of you might [00:29.020 --> 00:33.420] call them. Not really going to get pedantic about the terminology there. And how we kind [00:33.420 --> 00:37.100] of got here today. After that, we're going to go into this technology that we built and how [00:37.100 --> 00:41.180] it works. And we'll talk about some of the real world applications and then we'll give you a [00:41.180 --> 00:46.840] demo which will inevitably fail. But, you know, we'll see how that goes. First off, just an [00:46.840 --> 00:53.040] introduction for us. My name is Alex Levenson. I'm a senior security engineer at Uber. I've [00:53.040 --> 00:57.980] been there for a couple of years. My specialty is really in tool development and red teaming. I [00:57.980 --> 01:04.380] am a core red team member at the national CCDC and also the western regional CCDC as well. [01:04.680 --> 01:14.480] Thank you. Hey guys. I'm Dan Borges. I'm a senior red team operator and dev. I also partake [01:14.480 --> 01:20.580] in national CCDC on the red team. And Alex and I play a lot of cyber competitions together. [01:20.800 --> 01:27.040] So we're just here to show you some of our cool tools. So we got to go back a little bit. We [01:27.040 --> 01:30.460] are going to talk about what is a dropper, what is this classification thing we're talking [01:30.460 --> 01:36.180] about. In our little hyper local kill chain right here, we have an exploit. This is your [01:36.180 --> 01:40.280] initial vector. This is how you're getting on the server. This is usually like a memory [01:40.280 --> 01:44.280] corruption attack, something like that. Next attackers usually move to some kind of stager. [01:44.280 --> 01:49.020] This is moving from memory to their next tool. Often this can reach out and download more shell [01:49.020 --> 01:53.280] code, do something like that. And then this is really where we're going to focus on. This is [01:53.280 --> 01:58.120] your stage one. Some people call it the stage one, the stage two. This is the dropper. You're [01:58.120 --> 02:03.180] moving from your exploit to bringing over your tools. This is what's going to bring over your [02:03.180 --> 02:08.720] malware. It's going to put your persistence on the box, your deep slow stuff. And then finally [02:08.720 --> 02:13.880] you have your own malware. These are your custom applications, maybe your specific TTPs that you [02:13.880 --> 02:18.240] want to put on a box. And again, using a dropper here is important because you can protect your [02:18.240 --> 02:24.860] TTPs, your tools and tactics and procedures by using the dropper. So where are droppers [02:24.860 --> 02:29.960] used? We're trying to emulate what we see in the wild. What we see is a lot of third party [02:29.960 --> 02:34.220] crime where people use these exploit kits and then between the exploit kit and their own [02:34.220 --> 02:38.740] private malware, they'll usually lever some kind of dropper. They can do this as a form of [02:38.740 --> 02:44.960] packing to either bundle it with other executables or just as a way to get their malware on to [02:44.960 --> 02:49.760] the system. We can also use a dropper to be contextually aware and have contextually aware [02:49.760 --> 02:54.940] implants. This is kind of like Stuxnet. Do you want to land on this system? Do I want to [02:54.940 --> 02:59.760] deploy my payload? Sometimes you don't want to infect this host. That's a good thing for a [02:59.760 --> 03:05.040] dropper to say and back off and not put the malware down. We use it a lot in our red team [03:05.040 --> 03:09.660] operations for CCDC. We like to go fast and hard. This is the perfect tool for us to lay on [03:09.660 --> 03:16.800] the pain fast. So a little bit of history about how we arrived here. Back in the day on the [03:16.800 --> 03:20.280] CCDC red team, all these people would be bringing these super cool kits. We'd have really [03:20.280 --> 03:23.760] advanced techniques. And they'd be going against a single team and they'd be using this [03:23.760 --> 03:29.000] technique on this team. And what we wanted to do is we wanted to apply this pain to [03:29.000 --> 03:35.640] everybody equally. So we started wrapping it in shell scripts, in PowerShell, bash and all [03:35.640 --> 03:40.680] these great techniques to really just kind of drop six, seven implants, up to ten on a [03:40.680 --> 03:44.980] single team. So now each team is not getting just one implant made specially for them. They're [03:44.980 --> 03:51.120] getting all ten implants we made for everybody. So we can really share. And then around [03:51.480 --> 03:55.280] 2015, 2016, we moved to these, like I said, these scripts. But they started to have [03:55.280 --> 04:01.240] drawbacks, right? They had like forensic drawbacks, right? People could find the scripts on [04:01.240 --> 04:05.260] the systems, PowerShell script lock logging and they could tell exactly what we were doing. [04:05.260 --> 04:10.920] They could get our source code, which was pretty dangerous for us as operators. So in late [04:10.920 --> 04:16.460] 2016, early 2017, we moved a lot of our tool chain to Golang. We did this for a number of [04:16.460 --> 04:21.180] reasons, mostly because you get natively compiled executables. So you can get a binary that [04:21.180 --> 04:26.700] runs specifically on an architecture. This means you have to disassemble it. It's hard to [04:26.700 --> 04:31.540] decompile, which means you can't get that source code back. It's difficult to reverse. And [04:31.540 --> 04:36.900] while we were doing this, we also started looking at what is a dropper? This had all of our [04:36.900 --> 04:42.020] tactics built into it. And we really wanted to say, let's abstract our specific techniques [04:42.020 --> 04:49.760] out and make a pure dropper that we can put any technique into. And at 2017 at a national [04:49.760 --> 04:54.700] CCDC, we had a few friends, Virus, Lucas, and they put together this thing called Genesis, [04:54.700 --> 04:58.480] where we had an SMB share, and you could just drop binaries in it. And we bundled them all [04:58.480 --> 05:02.520] into one executable and ran it on the disk. It would run everything you put into the SMB [05:02.520 --> 05:07.640] share. Just a native executable. This was really cool. This was really good. But it had a few [05:07.640 --> 05:12.860] drawbacks. Instead of just running everything together, we wanted to specifically instrument [05:12.860 --> 05:21.200] them in a certain way. So I think it was late 2017 into the 2018 CCDC season, Alex started [05:21.200 --> 05:26.260] working on this prototype of G script, the Genesis scripting engine, which we'll get to. And [05:26.260 --> 05:30.760] we used it. We used it all through this last CCDC season. It was really successful. We dropped [05:30.760 --> 05:35.820] it on every single team at nationals. Everybody felt the pain. And then between then, which [05:35.820 --> 05:42.180] was April 2018 and now, we've added a ton of cool new features. Like really sweet stuff. And [05:42.180 --> 05:49.240] that's what we're going to get into today. Woo! Thank you, Dan. Yeah, as Dan said, today we [05:49.240 --> 05:55.280] are going to show the world, you guys, the awesome information security community that we're [05:55.280 --> 06:00.360] part of. Basically what we've done cumulatively over the last several years, but also some [06:00.360 --> 06:04.760] really awesome features that even if you were at CCDC, you really didn't get a chance to play [06:04.760 --> 06:10.060] with. But from now on, I'd like to introduce the Genesis scripting engine, or as we call it, [06:10.060 --> 06:15.860] G script. What is G script? Dan covered sort of this thing. It's this dropper. It lets us take [06:15.860 --> 06:20.760] malware and bundle it together and tape it up in a big ball and throw it at somebody. Great, [06:20.760 --> 06:24.060] that's a good explanation. But how do you use it? What does it look like to you as the red [06:24.060 --> 06:30.340] teamer? It's really easy. You have your payloads. You write a script for your payload. You use [06:30.340 --> 06:36.100] the G script compiler on the command line. You get out a native binary. It couldn't be more [06:36.100 --> 06:41.140] simple than that. I use this all over our documentation. G script is a framework that [06:41.140 --> 06:46.940] allows you to rapidly implement custom droppers for all three major operating systems. So let's [06:46.940 --> 06:54.920] talk about what makes up G script, right? So first off, there's the engine. The engine is the [06:54.920 --> 07:00.920] thing that is inside of that native binary that you made that actually runs and executes the [07:00.920 --> 07:07.060] logic that you've specified in your script. There's the compiler. The compiler takes your [07:07.060 --> 07:12.340] script and turns it into that native binary. There's an obfuscator that's hooked into the [07:12.340 --> 07:15.980] compiler that we wrote to try and make it a little bit harder for you blue team folks out [07:15.980 --> 07:22.100] there. We really do like you, but, you know, we want to make you mad sometimes. We've got a [07:22.100 --> 07:26.140] standard library. These are functions that you can use inside of your Genesis scripts. We've [07:26.240 --> 07:30.200] got a command line tool. That's how you interact with the compiler and other things. And we [07:30.200 --> 07:35.760] also have an interactive debugger to help you develop these scripts in a more reliable way, [07:35.760 --> 07:39.960] let you test them out ahead of time so you're not doing stuff live. A high level walkthrough, [07:39.960 --> 07:46.140] here's what happens. When you use the compiler and that three step process we just showed, [07:46.140 --> 07:50.640] what ends up happening very first is the compiler goes and creates essentially [07:50.640 --> 07:56.440] representations of engines within memory for each of the scripts that you pass into it. The [07:56.440 --> 08:00.380] next thing it's going to do is every one of the payloads that you gave into it, we'll have [08:00.380 --> 08:04.500] an interpreter payload, we'll have some shell code, we'll have some, you know, SSH keys that [08:04.500 --> 08:09.380] we're going to drop somewhere, it encrypts and embeds them directly into that virtual [08:09.380 --> 08:14.260] machine that it's got in memory. After that, it's going to take all in number of virtual [08:14.260 --> 08:18.760] machines. Remember, it has a virtual machine isolated for each script. It's going to take all [08:18.760 --> 08:23.300] in number of those and it's going to sew it all together. It's like with needle and thread [08:23.840 --> 08:29.040] into an actual executable for whatever platform you're targeting. And then when that [08:29.040 --> 08:34.780] executable is run, that main that it sewed up together is going to launch every one of those [08:34.780 --> 08:40.400] run times in parallel. So let's do just a quick, quick walkthrough. You all know what, thank [08:40.400 --> 08:46.340] you. So a quick walkthrough of this, just to kind of hopefully illuminate you guys on how [08:46.340 --> 08:53.140] easy this is to use. So I've got a little example here. The example isn't, isn't crazy, it's [08:53.140 --> 08:57.680] really simple. So we're going to write a script, it's eight lines. There's some important [08:57.680 --> 09:01.940] things to note in this, though. It looks like JavaScript, for all intents and purposes it is [09:01.940 --> 09:06.560] JavaScript, we've sprinkled some syntactic sugar in the form of comment macros, so [09:06.560 --> 09:10.800] compiler macros that you see in the very first line there. That import statement is [09:10.800 --> 09:16.540] telling the G script compiler, I want you to import this file off my disk when we go to bundle [09:16.540 --> 09:21.320] this together. The next line, line three, is just a normal variable declaration like you [09:21.320 --> 09:25.560] would call in JavaScript. And then lines five through eight there is a function called [09:25.560 --> 09:29.960] deploy. Now when I talked before about when you run main, it launches all those virtual [09:29.960 --> 09:36.960] machines, the JavaScript VMs essentially need an entry point to launch when that happens, [09:36.960 --> 09:41.480] that's what it launches. It launches the deploy hook. So every one of your G scripts, no [09:41.480 --> 09:45.440] matter what you're doing in it, will always have a function deploy with something defined [09:45.440 --> 09:51.920] in it. What's defined in ours here? We get the payload dot text, the data that was in that [09:51.920 --> 09:57.320] file, we get it as a string called payload data, and then we write that to the destination [09:57.320 --> 10:03.240] file which we defined in line three. So very quick, very easy G script that anybody can [10:03.240 --> 10:08.100] write. But hey, this is not just for one script, this can be for multiple things, right? So [10:08.100 --> 10:12.680] let's write another one. What's this one doing? It's simply writing a file, second underscore [10:12.680 --> 10:20.860] file dot text with the string rect. So what do we do now? Step three, just use the compiler, [10:20.860 --> 10:28.440] one command, G script compile with an output file, star dot GS. GS is our file extension for [10:28.440 --> 10:36.660] G script. That's it. And what did we get? At the top, we got dropper dot bin. What is dropper [10:36.660 --> 10:43.160] dot bin? It's a 64 bit Mocko executable, I'm doing this on OSX. What else is in ‑‑ I run [10:43.160 --> 10:48.620] it on the bottom of the first box there. And then what happens? All of a sudden you see [10:48.620 --> 10:53.780] desk dot text and second file dot text in that directory. What's in those? Exactly the [10:53.780 --> 11:00.720] contents that we had placed in them initially. All of you guys seem pretty quiet. Was that too [11:00.720 --> 11:06.640] easy? Thank you. All right. So let's just talk about that. That seemed, you know, why [11:06.640 --> 11:11.140] couldn't you do that with PowerShell or shell script or something like that? Well, first off, [11:11.140 --> 11:15.480] you're getting a native binary. You're getting a native binary that I could have written the [11:15.480 --> 11:19.580] first script, Dan could have written the next one. And if Dan messed his up or I messed mine [11:19.580 --> 11:23.820] up, it's not going to take down the entire binary. It's going to keep executing. That's the [11:23.820 --> 11:28.300] whole point of this is to be robust and resilient in the case of failure. When you do these [11:28.300 --> 11:32.940] large scale red team ops and you have many people contributing code, you don't necessarily [11:32.940 --> 11:37.880] have the luxury of constantly testing to make sure that somebody's payload isn't going to [11:37.880 --> 11:41.700] mess up something in your process. So we really wanted to give the people writing the [11:41.700 --> 11:46.580] payloads the ability to come up with their logic on how they wanted this to be bundled in to [11:47.320 --> 11:52.260] the actual final binary. So you've got your native binary, you've got your isolated G script [11:52.260 --> 11:57.340] engines, you've got the user defined logic in those scripts that is actually encrypted and [11:57.340 --> 12:02.220] embedded just like the assets are into the binary. And then you've got the embedded assets [12:02.220 --> 12:07.740] in their payloads. Those all get bundled together into one container inside of your native [12:07.740 --> 12:13.160] binary. So let's talk about some of the features here, right? So first off, number one [12:13.160 --> 12:18.080] feature we saw was that you get to do this in JavaScript. Now, I'm not a JavaScript [12:18.080 --> 12:24.760] developer, but I think that we need to be making tools that are as easy for the broadest [12:24.760 --> 12:29.100] selection of us to use, right? So I know a lot of people in here probably see programmers, a [12:29.100 --> 12:33.360] lot of people in here do a lot of low level stuff. I wanted to make something common that [12:33.360 --> 12:36.800] people were familiar with. There's a lot of people that do web pin testing. JavaScript [12:36.800 --> 12:40.860] seems pretty familiar right now to a lot of people, so let's just go ahead and go with that. [12:40.940 --> 12:44.620] So it's easy to write, it's easy to learn, there's good documentation on how to write [12:44.620 --> 12:49.320] JavaScript well. Next thing is it's resilient to failure. As we talked about, if script 2 [12:49.320 --> 12:55.900] failed, script 1 would have kept on going. Third, it's highly customizable. So things like [12:55.900 --> 13:01.400] order of operations of your script, timeouts, all of the stuff you can customize with those [13:01.400 --> 13:05.300] compiler macros that we showed you, right? We showed you one, but there's many more you can [13:05.300 --> 13:11.980] go with. So how is this cross-platform? It's written in Go. Essentially, this whole thing [13:11.980 --> 13:17.440] is sort of leveraging the power of the Go compiler to make cross-platform malware for [13:17.440 --> 13:23.860] anybody to be using here. Number 5, it's secure. We ran into this at CCDC where we had our [13:23.860 --> 13:27.780] droppers essentially be reverse engineered very easily by just looking at the PowerShell [13:27.780 --> 13:33.080] logs. I'm excited to release this today because I'm excited to see how hard it is for [13:33.080 --> 13:36.620] somebody to actually reverse engineer one of these binaries. That is a challenge. Let me know [13:36.620 --> 13:42.180] if you do. I'd love to see it. And the number one thing that is new to anybody who has seen [13:42.180 --> 13:47.640] Genesys in the past is now you can actually call native Go from within your JavaScript. We'll [13:47.640 --> 13:53.180] get into that. I know that sounds kind of wacky. So we talked about this initially, but [13:53.180 --> 13:58.080] this diagram kind of gives you a little bit more context as to what happens. You've got your [13:58.080 --> 14:03.540] main of your final binary. And when that gets run, you have all of these engines that are in [14:03.540 --> 14:08.420] their own isolated namespace essentially get created. They initialize the JavaScript [14:08.420 --> 14:13.380] virtual machine within them. They inject the scripts, all the assets and any libraries, [14:13.380 --> 14:17.680] native Go libraries that you've called into it. And then it calls that deploy function, that [14:17.680 --> 14:23.620] entry point, if you will, on each of those. And that happens pending any custom order of [14:23.620 --> 14:28.920] operations with your macros. That happens all concurrently. So what does Gscript really let [14:28.920 --> 14:33.740] you do? It lets you focus on what your stager is doing, not how am I going to implement this [14:33.740 --> 14:41.540] for OSX even though I don't really know OSX or Windows or Linux. So this has been a process [14:41.540 --> 14:48.020] for us, right? I'm not a computer science, you know, master's student who's studied the deep [14:48.020 --> 14:52.800] internals of how software is made. I would like to say I was, but I definitely wasn't. I [14:52.800 --> 14:57.420] started to take an operating systems class in college and I was way over my head. So this has [14:57.420 --> 15:01.600] been a learning experience for me. And this is sort of some of the technology that I've [15:01.600 --> 15:06.400] figured out and implemented here within Gscript. So when you go to do a compile, what [15:06.400 --> 15:10.880] happens? Straightforward, the first thing that happens is it looks through all your scripts [15:10.880 --> 15:15.520] and gets a essentially a mapping of all the macros that you've defined. The next thing it's [15:15.520 --> 15:21.740] going to do is it's going to walk the abstract syntax tree of your JavaScript, notating [15:21.740 --> 15:26.980] things like, oh, you imported a Go library with this macro and then you called it down here. [15:27.120 --> 15:30.920] And registers, you know, things like how many arguments are you calling with it? What [15:31.340 --> 15:35.440] might the type be? What can I infer the type might be of that argument? It then goes [15:35.440 --> 15:39.880] through all the Go packages that you've included in that as well and does the same thing. [15:39.880 --> 15:44.100] Walks all the AST there looking for places where functions are defined that you've called [15:44.100 --> 15:49.160] from your JavaScript. Next, it's going to start marrying those together. It's going to [15:49.160 --> 15:54.400] essentially create foreign function interface wrappers in Go on the fly for all of the [15:54.400 --> 15:58.440] functions that you've called in JavaScript that are instrumented in native Go so that [15:58.440 --> 16:04.780] you're, and then inject those into the VM that we're bundling itself together. That's [16:05.340 --> 16:09.300] a probably another three talks worth of material to get into, but if you'd like to, it's [16:09.300 --> 16:14.600] definitely on GitHub, you can go check it out. After that, we embed all the assets, we [16:14.600 --> 16:20.360] encrypt them. Each VM has its own encryption key that all the assets get embedded with. [16:20.540 --> 16:25.400] And the assets themselves don't actually get decrypted until you call them within your [16:25.400 --> 16:31.600] script. So until you retrieve the asset, the asset isn't sitting in memory unencrypted. And [16:31.600 --> 16:36.600] then the final step, optional, but we do enjoy it, is the obfuscation step. So we do the [16:36.600 --> 16:42.840] obfuscation both before and after native compilation. And we've got some interesting [16:42.840 --> 16:46.980] stuff we'll kind of cover as to how that works there. So creating these standalone [16:46.980 --> 16:51.520] executables, right? How do we go about doing that? Well, I said we leverage the Go compiler [16:51.520 --> 16:56.620] to do that. Now, what's interesting about this is, if you can kind of see up here on [16:56.620 --> 17:02.520] this, on the picture, we take your scripts and payload, and we actually write out an [17:02.520 --> 17:07.460] entire Go program that contains the logic and everything needed that we just covered it [17:08.220 --> 17:12.620] into this Go program. Now, there's flags in our compiler. You can go look at that code and [17:12.620 --> 17:17.500] see what that looks like. It's incredibly unreadable. We needed to make it that way for [17:18.080 --> 17:24.460] security, right? But it's been a really interesting thing to consider that, you know, [17:24.460 --> 17:28.400] we're in a place in time where it's no longer enough to just write malware. You have to [17:28.400 --> 17:34.220] write code that writes code that writes your malware, right? So we talked about this [17:34.220 --> 17:40.220] before, too, and now I want to dive into this. Linking JavaScript and native Go. I was [17:40.220 --> 17:45.360] called crazy a couple times in the process of this. This was definitely one of those. And I [17:45.360 --> 17:49.340] still think it might be crazy. It's probably not the safest thing you can be doing in the [17:49.340 --> 17:57.780] world, but it is crazy. Thank you. It's an interesting thing, right? You've got two [17:57.780 --> 18:02.340] languages on completely opposite ends of the spectrum in terms of how they work. And [18:02.340 --> 18:07.000] figuring out a way for a user to almost not know the difference between them is a [18:07.000 --> 18:11.520] fascinating endeavor for me and Dan for us to kind of implement this and somebody in the [18:11.520 --> 18:17.580] back who shall remain nameless. So here I've got a little example, right? So we use the [18:17.580 --> 18:22.760] Go import macro, the compiler macro we talked about. We're going to import Redis. We're [18:22.760 --> 18:27.280] going to import Redis because as far as I know, other than Node.js, there's really just [18:27.280 --> 18:31.680] not an easy Redis library for JavaScript. There certainly isn't one for G script. You can't [18:31.680 --> 18:36.720] import Node.js modules into this. So how are we going to interact with Redis and G [18:36.720 --> 18:43.400] script? We're going to import the Go package for Redis. So we import that. And from there, [18:43.400 --> 18:49.360] you import it, as you see there, as Redis. That as blank, blank is equal to the namespace [18:49.360 --> 18:53.940] within the JavaScript program that you're defining here in your G script. So on the next [18:53.940 --> 18:59.960] one, I call the functions directly. So Redis.parseURL is actually a exported function [18:59.960 --> 19:07.260] within that Go package. And I can call it just like I would in Go. Now, one thing to [19:07.260 --> 19:15.620] note, there's no multiple assignment in JavaScript. We're in ES5, not ES6. So in this [19:15.620 --> 19:22.600] version, there's no multiple assignments. So if you look on line 5, you'll see R0. R0 is [19:22.600 --> 19:28.120] because in our linker that we do, when we see that you're calling a Go function that's [19:28.120 --> 19:33.240] returning multiple assignment, we actually make a dynamic array of that and give you back the [19:33.240 --> 19:39.940] return of that inside a single object that is an array of various types. So R0 in that is [19:39.940 --> 19:46.520] going to actually be the Redis client, the Redis connection URL. So line 5, we create a [19:46.520 --> 19:52.680] Redis client. And line 6, we simply interact with it as we would any Go program, right? And [19:52.680 --> 19:58.140] then down there, you look at the script, we compiled it normally and ran it and boom. Got [19:58.140 --> 20:05.860] the, was able to interact with Redis right from G script using this native bridge. So I [20:05.860 --> 20:11.880] wouldn't give you something incredibly, incredibly unsafe without some way to at least [20:11.880 --> 20:16.000] play around with it and see how it worked and test your stuff, right? So we spent a lot of [20:16.000 --> 20:21.360] time on an interactive debugger. It's pretty nice and easy to use. So at any time after you've [20:21.360 --> 20:26.780] installed G script, you can simply do G script shell and it will drop you into a REPL right [20:26.780 --> 20:32.120] there. The REPL has the entire standard library which we'll get into bundled into it. And you [20:32.120 --> 20:36.700] can do kind of some various things. So for example, we talked about macros. How do you get a [20:36.700 --> 20:41.400] macro into the shell when it's something the compiler knows? Well, in G script shell, you [20:41.400 --> 20:46.260] can just pass the dash into it with macros. You can pass multiple as many as you'd like into [20:46.260 --> 20:50.560] it. And then when it drops into that shell, it says if you've dropped into the deploy [20:50.560 --> 20:58.260] function with that VM instrument. Other things you can do is you can step through your code. So [20:58.260 --> 21:02.800] in this, you can see that I'm essentially doing the exact same thing that we were in the [21:02.800 --> 21:07.060] previous demonstration of the native linking except now I've got some functions that as I'm [21:07.060 --> 21:11.540] stepping through help me understand a little bit more about what's going on. So the function [21:11.540 --> 21:17.520] type of, you can see is the third function I'm calling there. It's actually showing me that [21:17.520 --> 21:22.600] under the hood in JavaScript, this is actually a pointer to a Redis client object in Go's [21:22.600 --> 21:30.020] namespace. And that's a pretty nice thing to have to be able to use here as well. Also, [21:30.020 --> 21:35.700] any time you're in a script, if you want to compile your binary for yourself but then be [21:35.700 --> 21:40.440] able to drop into a debugger, we have a compiler flag enable debugging and you can just [21:40.440 --> 21:44.560] use the function debug console just like you would debugger in Chrome or anything like [21:44.560 --> 21:48.440] that. And when you run your binary, it will drop you into the same console right where you're [21:48.440 --> 21:54.060] at in the context of your script. Outside of that, as I mentioned before, type of, we have a [21:54.060 --> 21:58.580] bunch of specialty functions that are only available from within the debugger. That's been [21:58.580 --> 22:04.300] something we've expanded on in the last several weeks to try and make the native linking a lot [22:04.300 --> 22:09.900] more easy for people to do. Another one is symbol table. So you can call the symbol table [22:09.900 --> 22:13.560] function in the interactive debugger and that's actually going to go through and show you all [22:13.560 --> 22:18.320] the functions within Go's namespace that you've imported in there. Our standard library is [22:18.320 --> 22:22.400] actually instrumented in Go. You don't have to import it as a Go module. The compiler is [22:22.400 --> 22:25.900] smart enough to know, oh, you're calling a standard library function. I need to link against [22:25.900 --> 22:32.080] that. So we talked about how cool it is. There are some limitations and we'll just get these [22:32.080 --> 22:38.140] out of the way real quick. First thing, no free VSD support. I know that some of you neck [22:38.140 --> 22:45.400] beards in the crowd, I'm looking front row here, are going to be real upset about that. But I [22:45.400 --> 22:49.840] don't think it's impossible. It's just something where it was on a medium priority list for us [22:49.840 --> 22:55.480] to go and get done. I think as Go becomes more free VSD compliant in things like its OS and [22:55.480 --> 23:00.480] user lib, we'll be able to extend support to this as well. One of the other limitations that [23:00.480 --> 23:05.220] kind of people I've seen have issues with is these are large binaries. If you've ever worked [23:05.220 --> 23:10.400] with Go before, you know that Go binaries are never known to be the smallest, tiniest [23:10.400 --> 23:15.500] payloads in the world. Another limitation is the regular expressions. If you're going to do [23:15.500 --> 23:21.040] any regular expressions in JavaScript, they need to be essentially compliant with the RE2 [23:21.040 --> 23:26.600] library that Go uses. So things like look ahead and stuff like that, you're not going to [23:26.600 --> 23:30.720] have compatibility in that. So you've got to be careful. You can't use crazy complex regular [23:30.720 --> 23:35.840] expressions in it. Another thing that's been kind of difficult for us has been versioning. [23:36.340 --> 23:41.880] Go's versioning story has not been the greatest part of the language as it's evolved over the [23:41.880 --> 23:46.880] years. And that made it hard for us to do things like lock you into a specific version of it. So [23:47.620 --> 23:51.660] as Dan and I have done this, Dan will go write a bunch of G scripts and I'll come around and [23:51.660 --> 23:55.240] make a compiler change that will break all his scripts and he'll be like, oh, why can't I [23:55.240 --> 23:59.880] still stick with the old version? Well, a lot of that has been tied to this Go versioning [23:59.880 --> 24:06.940] problem. In the future, Go is releasing in 1.11 their new Go mod support. I think in the [24:06.940 --> 24:12.520] next major version of G script will actually release with an ability to lock your engines to [24:12.660 --> 24:16.960] a specific version of G script and be able to have backwards compatibility. As we said [24:16.960 --> 24:22.820] before, ES5 is the only thing we support right now. Working on ES6 support, there's [24:22.820 --> 24:27.260] complicated reasons why that's difficult for us. But something we'd like to do as we talk to [24:27.260 --> 24:30.660] people that write a lot of JavaScript, they seem to think that would have been a really nice [24:30.660 --> 24:35.160] feature for us. So we're working on that. Also something that we don't have is a lot of the [24:35.160 --> 24:40.200] JavaScript concurrency primitives that you guys might be used to. Just like in ES6 you have [24:40.200 --> 24:44.020] async. We don't have that stuff right now. Because our virtual machine is actually [24:44.020 --> 24:48.980] instrumented in native Go, we have to do all of this concurrency actually outside of that [24:48.980 --> 24:54.440] virtual machine's namespace. But as I mentioned before, we have the standard library. You [24:54.440 --> 24:59.960] don't need to be a Go programmer to know how to use this on a basic level. We've got [25:00.680 --> 25:05.140] libraries that cover almost every type of basic OS functionality you'll need. They're [25:05.140 --> 25:09.720] entirely cross platform. They're supported by us. If there's ever a bug in one of these that [25:09.720 --> 25:14.580] you find, please file it against us. We will fix it immediately. It is exactly the type of [25:14.580 --> 25:21.640] stuff where as we sat down and used G script in our jobs and at CCDC, we were able to say, [25:22.360 --> 25:27.840] there's some parts of Go that are just complicated and maybe not straightforward for the [25:27.840 --> 25:32.620] normal person. So let's just go kind of wrap that basic functionality in our standard [25:32.620 --> 25:37.560] library and present that to users for ease. So with that, I'm going to hand it back to Dan. [25:37.560 --> 25:41.540] Dan's going to talk about some of the ways that we've used this in the real world and why it [25:41.540 --> 25:49.770] just has really been powerful for us. So like Alex was saying, one of the number one [25:49.770 --> 25:55.090] reasons we use it is because we encounter a wide array of systems. Windows, Linux and Mac. [25:55.090 --> 25:59.430] And we didn't want to keep rewriting our techniques for these different operating systems. [25:59.430 --> 26:03.510] It was really kind of a pain. So we really like the cross platform features of it. You can [26:03.510 --> 26:08.550] actually write G scripts completely system, you can write them completely cross platform [26:08.550 --> 26:13.550] where the binary itself will determine which operating system it's on using Go and then [26:13.550 --> 26:19.570] execute according to that. Obviously you have to compile it to a specific architecture. So at [26:19.570 --> 26:22.610] the compilation time, there's always that. And when you're embedding assets, you still need [26:22.610 --> 26:26.670] to embed assets that can run on that specific architecture. But the platform itself is [26:26.670 --> 26:31.730] cross platform. So I love that. It's also really easy to use. Originally we were [26:31.730 --> 26:36.070] considering like having people write the Golang for that original Genesis dropper and then [26:36.070 --> 26:41.930] use that to embed their stuff. And it was a really hard kind of ask for people to learn [26:41.930 --> 26:45.890] Golang. So instead we decided to roll this out because now all they have to do is learn [26:45.890 --> 26:50.530] JavaScript. And JavaScript is really forgiving. Unlike Golang where it's really opinionated [26:50.530 --> 26:54.090] and you have to handle all your errors. So we think the barrier to entry with JavaScript [26:54.090 --> 27:00.330] is a lot lower than Golang. Another neat feature of that is when we added the Golang native [27:00.330 --> 27:05.130] linking, now it's also a good like gateway to learn Golang, right? You can start with [27:05.130 --> 27:08.910] JavaScript, you can play around in the debugger and eventually you can just start writing [27:08.910 --> 27:13.730] your own Golang native libs and then call them from G script, which is pretty cool. [27:14.610 --> 27:18.870] Just like I was saying, where you can call any Golang native library like off of GitHub, [27:18.870 --> 27:23.290] which is really freaking sweet. You can also wrap your existing tools. So you don't really [27:23.290 --> 27:27.690] have to change any of your existing tactics or any of your existing methodology. You can [27:27.690 --> 27:32.370] just instrument them now with G script. Which leads me to my next point, which is this is [27:32.370 --> 27:37.410] now like persistence and techniques as code. It's very auditable. We can give somebody [27:37.410 --> 27:42.130] this script that says this is exactly what it's going to do when it hits disk. Which [27:42.130 --> 27:48.090] is really nice because as you'll see, we've been building a community around documenting [27:48.090 --> 27:52.730] all of these different G scripts or I'm sorry, documenting miter attack techniques in G [27:52.730 --> 27:56.390] script. So now if you're familiar with miter attack, we have these small little atomic [27:56.390 --> 28:01.330] techniques. We've been writing G scripts such that you can compile native unsigned [28:01.330 --> 28:05.750] binaries with these techniques. It's kind of neat because this way you can see can I [28:05.750 --> 28:10.830] detect an unsigned binary doing this from a blue team perspective as opposed to like a [28:10.830 --> 28:16.510] script doing this, which might be easier or harder depending on your instrumentation. So [28:16.510 --> 28:20.430] like I was saying, we've been writing a ton of G scripts and we've been writing them to [28:20.430 --> 28:25.390] the miter attack framework. I try to make them as atomic as possible. So I try to keep [28:25.390 --> 28:29.830] the techniques as small as I can because you can compile N number of G scripts into a [28:29.830 --> 28:35.250] single binary. So the idea is you have a bunch of little techniques that all play well [28:35.250 --> 28:40.470] together. And again, we really want people to contribute stuff. We want to continue [28:40.470 --> 28:45.950] to catalog that miter attack framework such that we can compile it to these native binaries. [28:47.290 --> 28:52.330] So again, this tool was really built with a community in mind. This tool was built with [28:52.330 --> 28:56.630] multiple red teamers contributing payloads to build a single binary. It's really [28:56.630 --> 29:04.690] collaborative post exploitation is the idea. We want everybody to contribute a G script and [29:05.310 --> 29:12.730] we're going to run them all on the victim because we're a team. So here's a quick little [29:12.730 --> 29:18.790] example just showing some stuff. Up here we have a go import of a native package which is [29:18.790 --> 29:24.690] OS. We're going to use this to create a temp directory later. But we also import a special [29:24.690 --> 29:29.990] library we made called the X library. We had a lot of help with an unnamed person in the [29:29.990 --> 29:34.910] back. And this is an amazing library because these are the functions that yes, they're [29:34.910 --> 29:39.450] platform specific, but we would be remiss to leave them out. This is Windows registry [29:39.450 --> 29:43.570] editing. This is process injection. This is kind of that fancy stuff that is platform [29:43.570 --> 29:47.710] specific. And again, we move that into the X library because the core of G script is [29:47.710 --> 29:59.970] supposed to be cross platform. And below that, we're embedding this croissant.xc. This is [29:59.970 --> 30:06.670] so first thing we're doing is in this first block, this is just prepping the asset. This is [30:06.670 --> 30:11.590] just saying we have an embedded asset from compile time and we're just going to create this [30:11.590 --> 30:16.470] random temp directory string and that's where we're going to write this asset at execution. [30:16.690 --> 30:21.890] Here we're actually using the standard library just to write that file to a path. We're [30:21.890 --> 30:29.310] dropping a file. This is a great detection exercise. And then here is a run once key and [30:29.310 --> 30:34.530] we're just adding this to show this persistence method. So the idea here is we're creating [30:34.530 --> 30:40.210] persistence as code and we're abstracting the implant from it, right? So now you have this [30:40.210 --> 30:46.430] arbitrary persistence technique and you can just persist any old implant. And it's great for [30:46.430 --> 30:52.690] detection ops because do we detect persistence technique? It's also really cool for hunting [30:52.690 --> 30:58.430] ops. One thing that I really like is this idea of compiling a G script with multiple techniques [30:58.430 --> 31:02.950] in it like a technique A and a technique B and we can run this and then later a blue team can [31:02.950 --> 31:06.310] find this, they can dissect this and they can understand the techniques in it. Then they can [31:06.310 --> 31:10.930] hunt on those techniques. Let's say they had an alert for technique A, they reverse it and [31:10.930 --> 31:15.230] they learn about technique B, then they can hunt their data for technique B. Then we can play [31:15.230 --> 31:19.690] these games where we also compile a binary with technique B and technique C and do they find [31:19.690 --> 31:23.910] that, right? Something they may not have the alert for. So it's kind of cool for these like [31:23.910 --> 31:30.970] advanced hunt operations if you can get there in your organization. So kind of just like why do we [31:30.970 --> 31:36.430] really love this? If I could give you one line, N number of techniques, we keep the techniques [31:36.430 --> 31:41.490] really small and auditable. We wrap our existing tools so nothing really changes. We still use [31:41.490 --> 31:47.890] our C2s, we still use all of our favorite tools on disk or in memory. But we can codify the [31:47.890 --> 31:52.510] techniques of how we're instrumenting them and run them with a single click. So like what's not [31:52.510 --> 32:03.370] to love? So this always works, right? One really cool part about CCDC, Dave Cohen is like the [32:03.370 --> 32:08.350] grand master and he has this great strategic vision and at the end of day two at some point he [32:08.350 --> 32:12.630] really like, he unleashes the hounds. He kind of like lets us go, right? And we get to burn things [32:12.630 --> 32:18.930] down. So like taking down services is pretty straightforward, right? Like service, whatever, [32:18.930 --> 32:24.290] stop. Pretty basic and boring. So you want to get creative with it and have some fun. So one [32:24.290 --> 32:31.790] thing we like to do is make these troll payloads or trollware, if you will. So here we've [32:31.790 --> 32:36.490] bundled a ton of different trollware and we're just executing on a Windows machine. The idea [32:36.490 --> 32:42.270] here is you just see how much stuff can happen at once and what you can really do with it. It's a [32:42.270 --> 32:52.010] little overwhelming when it will execute and then it blue screens the box. But it's cool. So I'm [32:52.010 --> 32:56.090] just stepping into the directory where it is. I'm making the screen bigger so you can kind of [32:56.090 --> 33:01.630] see stuff as it happens. But once we execute this, the whole machine just goes to, you know, [33:01.630 --> 33:13.760] goes to hell. So this is going to run multiple payloads. This runs the mems which was made by [33:13.760 --> 33:20.580] Leoric, popularized by Dan cute. We had a good friend reverse a bunch of malware on the [33:20.580 --> 33:26.700] internet and we instrumented that. So that's just some of the trollware we like to throw [33:26.700 --> 33:39.060] around. All right. One demo down. One more to go. Yeah, the next one is actually live. That was [33:39.060 --> 33:44.920] just a video. But we're going to do this one live, too. We had another demo as well planned. [33:44.920 --> 33:53.780] RIP in the back there. But we'll save that for next year, right? So I'm going to boot up a [33:53.780 --> 34:03.360] virtual machine here called DEF CON 26 demo. This is just a standard OSX virtual machine. I'll [34:03.360 --> 34:10.280] make it full screen in a minute here. But first thing I want to do is I'm going to let's go [34:10.280 --> 34:14.160] through and make one of these together, right? So I've got my terminal up here. You guys can [34:14.160 --> 34:22.860] read that. I'll make it a little bit bigger for you guys. Cool. So I've got my terminal. I'm [34:22.860 --> 34:27.920] going to do an LS. I've got in here, we'll just go ahead and remove my test one so we can [34:27.920 --> 34:36.200] actually do it live. In it I've got a folder with a bunch of G scripts, right? This is all [34:36.200 --> 34:40.800] just Mac persistence technique, doing things like disabling the firewall and enabling guests [34:40.800 --> 34:48.300] and doing some SSH key persistence, right? And all of these, I'll show you one, like a [34:48.300 --> 34:54.540] service installer. It goes through and uses a library that we wrote called X service. So this [34:54.540 --> 34:59.320] is an experimental library, but it actually is a cross platform service installer. So it doesn't [34:59.320 --> 35:07.460] matter if there's a NITD or system D or it's a Windows box. You can very easily in one unified [35:07.460 --> 35:12.380] library install a system service, which is always fun. We love to do that when we're red teaming. [35:12.440 --> 35:16.860] So I've got all these scripts. I'm going to just go through and make one now live here with you. [35:16.860 --> 35:30.320] So I'm going to do G script, compile, dash, dash, output file, users, demo, OSX, live.bin. And [35:30.320 --> 35:39.020] then I'm going to say G scripts star.GS. And we're going to run this. It's going to take a [35:39.020 --> 35:45.020] minute, but relatively fast for considering what it's doing. Most of the time it's spending right [35:45.020 --> 35:49.560] now on this, it's spending actually embedding and encrypting all of the payloads that we're [35:49.560 --> 35:56.760] putting into this into the binary itself. So I think this takes about 20, 30 seconds right now. [35:56.760 --> 36:01.960] But as you see here, it does tell you all the scripts that it's essentially bundling into this [36:01.960 --> 36:07.120] executable. It lets you see some information that we're doing this for Darwin. Here's the output [36:07.120 --> 36:11.940] file. And some of those compiler flags, which I talked about before. So being able to keep the [36:11.940 --> 36:16.540] build directory, which will show you the source code that was used to make this. Enabling UPX [36:16.540 --> 36:22.600] compression disabled by default. A lot of different options we'll give you. And boom, scroll down, [36:22.600 --> 36:29.780] it's done. I'm going to look in there. It is a 26 megabyte binary. What payloads are you [36:29.780 --> 36:39.580] putting in here? Lord. Thank God that's local. And we have internet. Cool. I'm going to, while [36:39.580 --> 36:52.580] I'm here, SSH into our Merlin server. There we go. We've got some old dummy agents, but it's [36:52.580 --> 37:00.720] fine. They're not connected yet. Let's go into our VM now and take the executable that we just [37:00.720 --> 37:12.090] built, OSX live, copy it over. There we go. I don't have logging enabled. I didn't enable any [37:12.090 --> 37:19.330] of that. So it's going to be silent. So we're going to say sudo dot slash desktop OSX live, [37:19.330 --> 37:30.550] enter. And a bunch of stuff is happening. And then enter my password. That's not phishing at [37:30.550 --> 37:38.350] all. Boom. So something happened. I don't really know what. If I look back at my Merlin, I've now [37:38.350 --> 37:49.740] received a new agent check in. Live demo. Thank you. And we'll just come in here and look and see [37:49.740 --> 37:54.680] some things. So file sharing, remote log in, remote management, all this stuff was turned on. [37:54.680 --> 37:58.520] So all of the attack techniques that we just bundled into this were actually run on this [37:58.520 --> 38:06.320] machine. So if you're a red teamer, I think you can extrapolate why this is so valuable tool to [38:06.320 --> 38:10.720] use in your tool chain. If you're a blue teamer, if you work at a company that has a bunch of [38:10.720 --> 38:16.480] detection systems, man, how many of you guys have always wanted to know whether your vendor was [38:16.480 --> 38:20.980] actually telling the truth that they detect this thing or not? You can write the G script and I [38:20.980 --> 38:24.880] promise you they're not going to detect the binary. If they detect the actual activity, then [38:24.880 --> 38:29.760] you can validate that. And that's really the fundamental problem right now in the blue team [38:29.760 --> 38:34.440] space is how do I trust that when a vendor sells me something that says it does X that I [38:34.440 --> 38:39.200] actually know it can actually do that. What we're trying to do here is provide blue and red [38:39.200 --> 38:45.720] teams alike the ability to codify these techniques in a way where basic signature detection on a [38:45.720 --> 38:50.580] file is not going to just cheat the actual result of saying, yeah, I detect when something [38:50.580 --> 38:57.180] does shell code injection. Do you actually detect that or do you just detect that a file has a [38:57.180 --> 39:03.020] string in it that matches a certain thing? This is the type of evolution in security that we're [39:03.020 --> 39:14.960] trying to present to the world. So I will come back to our talk here and that's it. Version 1 is [39:14.960 --> 39:19.620] live right now on GitHub. I've written some documentations out. I've got some shoutouts for [39:19.620 --> 39:23.800] some awesome people who helped us with this on the side as well as somebody totally unnamed [39:23.800 --> 39:29.760] who didn't help at all with this project. He's not here. He didn't help us. His name is not at [39:29.760 --> 39:35.080] the bottom of that list of authors there. With that, I'd like to open it up to you guys for [39:35.080 --> 39:50.730] questions, comments, anything. Thank you. Anybody? Questions? You can just raise your hand. [39:50.730 --> 40:14.770] Yes, right there. Say that one more time. You probably could. I've not ‑‑ so the big [40:14.770 --> 40:18.570] problem with it has been the regular expression compatibility. So the question was, could you run [40:18.690 --> 40:26.290] a normal JavaScript application within G scripts? Yes, as long as it didn't break the regular [40:26.290 --> 40:30.550] expression or the asynchronous incompatibilities right now, it should be fine. So something [40:30.550 --> 40:36.330] like underscore, for example, does work within it. You can load an underscore library into that [40:36.330 --> 40:42.510] and it would work just fine. The ES6 compatibility is something where I think if we can get [40:42.510 --> 40:49.550] that actually implemented, it will give us a lot more flexibility in being able to allow more [40:49.550 --> 41:03.800] current JavaScript tools to be able to be run inside of it. Yes, right here. Okay. Yes. [41:07.550 --> 41:12.390] No, no, everything is ‑‑ so the question was, does the dropper fetch things from the [41:12.390 --> 41:18.530] GitHub URL? It doesn't. When you run G script compile, it contains everything you need right [41:18.530 --> 41:23.490] then and there into the binary. So everything happens at compile time, all the embedding does. [41:23.490 --> 41:28.830] It was one thing we were kind of on the fence about of saying, okay, should our droppers reach [41:28.830 --> 41:33.570] out and get stuff or should we just really try and pack them tightly and safely internally? [41:33.570 --> 41:37.930] One of the ideas there is when you're in a high security context solution, you may only have one [41:37.930 --> 41:43.310] or two ways out. You want to do things locally and use that existing C2 channel to shuttle [41:43.310 --> 41:49.750] stuff over. We have a request library and you can pull stuff down, but personally I like to [41:49.750 --> 41:54.670] kind of do stuff and go out of existing C2 channels and just operate through those channels. [41:56.070 --> 42:06.730] I think we had a question over here. Yes. Yeah, so the encryption of the assets is just AES [42:06.730 --> 42:12.650] 256. I'm not going to claim to be a crypto expert, but I try and just follow best practices on [42:12.650 --> 42:20.090] that. It is isolated per VM and it's unique every time you compile, so it's not generated in any [42:20.090 --> 42:25.950] sort of deterministic way. Now the obfuscation, I'm glad you asked, the obfuscation I would [42:25.950 --> 42:33.050] say is implemented in a way that assures zero reproducibility of builds. So if you're trying to [42:33.050 --> 42:38.530] reproduce an MD5 hash of two exact same inputs and outputs of a G script binary, I doubt that [42:38.530 --> 42:44.470] would actually ever happen. The obfuscator is meant to try and remove the ability to find [42:44.470 --> 42:50.110] static strings within it. It's meant to randomize things like function names and address space [42:50.110 --> 42:55.830] within the binary itself. And then we also have a post obfuscator that is not turned on by [42:56.370 --> 43:01.430] default, but you can play with it. It works really well on Windows and OSX. Windows, or [43:01.430 --> 43:07.150] excuse me, it works really well on Linux and OSX. Windows it kind of has some problems with [43:07.710 --> 43:12.910] sometimes. It basically after Go compiles your native binary, just goes through and starts [43:12.910 --> 43:18.390] patching stuff out of like the native executable. It's really dirty, but it does actually [43:18.390 --> 43:25.470] work. It does a great job sometimes. Yeah, sometimes. That's why we test, right? Anybody else [43:25.470 --> 43:32.650] have a question? We got about five minutes left. Maybe over here, I haven't... no? Come on. [43:33.490 --> 43:40.010] Everybody just wants to go to sleep, right? Yeah, we got a question in the back there. What if [43:40.010 --> 43:45.410] you want to write your own compiler? That's a great question. So we've implemented G script [43:45.410 --> 43:50.390] basically as in everything you've seen here, from the obfuscator to the compiler to the [43:50.390 --> 43:55.370] engine itself, it's all implemented itself as a library. So if you wanted to implement your [43:55.370 --> 43:59.450] own compiler, you could actually take the engine library, figure out how to translate [43:59.450 --> 44:04.370] whatever it is you wanted as your input into an engine itself, bundle that together in whatever [44:04.370 --> 44:10.110] way you want, and then boom, you've implemented your own essentially G script compiler. We've [44:10.110 --> 44:15.930] got some stuff on the works. If you're going to be at our workshop tomorrow, we'll touch on [44:15.930 --> 44:21.750] that a little bit of how we're actually looking at implementing a C2 in G script so that the [44:21.750 --> 44:27.550] C2 itself can supply the binary with G scripts at execution time so there's not actually [44:27.550 --> 44:31.710] something bundled into it or it can say, hey, switch up the C2 channel, talk to me now on [44:31.710 --> 44:35.870] this other channel. Interesting stuff like that is, I think, what you'd probably see from [44:35.870 --> 44:46.100] us next year in another follow-up talk. Yes, right here. Yeah, so we don't have a slack. We [44:46.100 --> 44:50.880] probably should have a slack. That's probably a good idea. At this point, it's just been on [44:50.880 --> 44:57.360] GitHub. If you send me a pull request, I would love it. We put a lot of effort into this. It's [44:57.360 --> 45:04.120] taken a lot of engineering hours and we're excited to kind of share it with the community. A [45:04.120 --> 45:07.140] lot of times we don't necessarily always release, so this has been something where we're [45:07.140 --> 45:12.380] excited to say, look, here, it can be good for the greater community at large. We have a few [45:12.380 --> 45:16.280] contributor guidelines, too, and then there's a lot of ways to get involved. You can write G [45:16.280 --> 45:21.240] scripts, you can help write different native libraries, you can help add to the compiler [45:21.240 --> 45:26.680] itself, and you can even just help with the documentation, right? Like anybody that wants to [45:26.680 --> 45:33.780] get involved, we're really receptive to people helping. I think we're... oh, one more? Where [45:33.780 --> 45:46.760] are we? Yes. Yes. So inside the documentation, if you go to this GitHub, there will be a [45:46.760 --> 45:54.140] link to Dan's repo where he is actually doing all of that miter mapping in a separate repo. [45:54.140 --> 45:57.860] I'm open to suggestions. So when you check it out, if you think there's a better folder [45:57.860 --> 46:02.940] structure, right now I was just doing it based on platforms and then I have each of the [46:02.940 --> 46:06.660] techniques linked in like the meta information in the top. But if there's a better way to [46:06.660 --> 46:08.200] organize it, I'm all ears. [46:09.500 --> 46:16.240] Cool. I think two minutes left. Anything else? Anybody raise your hand if you think you [46:16.240 --> 46:22.020] might use this at some point? Sweet. Awesome. Maybe we'll have a little G script con [46:22.020 --> 46:25.040] sometime. Thanks, guys.