Well, welcome to the hacking malware talk that we're going to give here today. All right, I'm Val Smith. Some of you might know me. I'm a malware analyst. I do penetration testing, exploit development. I'm affiliated with offensive computing, which is part of what this talk's about. I also do some work with the Metasploit team and Cult of the Dead Cow. And I'm Danny Quist, security researcher, software developer, exploit developer, and reverse engineer, and I'm affiliated with offensive computing. All right, just real briefly, I want to give thanks to a couple of other team members, Patrick Stock, H.D. Moore, Ty Bodell, Scott Miller, who's giving a talk here later, so if you get a chance, go see that, and tons of other people. So thanks to everybody. Okay, what we're going to talk about today, we're going to cover a few things. The first thing that we're going to talk about is malware and malware protections. We're going to lay some basic found work for you guys, then we're going to talk about virtual machine detection. You may have heard of tools like Red Pill. We're going to expand upon that a little bit. Then we're going to go into exploiting some malware and we use Metasploit to do that. Hopefully that will be interesting. And finally, we're going to finish up with explaining our offensive computing project and what that's all about. All right, so I'm going to jump right in. Basically, we look at malware like any other system. You know, an application operating system, it's got its own protections, its own security, and so its own vulnerabilities as well. You know, malware does lots of things to protect itself from analysis and from being removed. So we spent some time focusing on how to bypass these protections, and we're going to talk about that. Okay. So the main areas that we're going to cover in this talk, just to get the basics out of the way, are anti-virtual machine detection. Malware, often, like if you've seen the Dasher worm, it'll detect that you're running in a virtual machine, destroy itself, and destroy the virtual machine, at least temporarily. Malware also uses things like binary compression, make itself smaller, encoding to make it harder to disassemble, and anti-debugger technologies. We're going to touch on each of these areas to lay a groundwork. Okay. So we like evil things, so we're going to use evil to fight evil. All the same sorts of methods that you might use in exploit development, you know, software cracking especially, old school stuff, that's the kind of things that we use against malware. You know, disassemblers, packer detectors, debuggers, Metasploit, of course, other cracking tools. So we're going to cover some of these areas. All right, you're up. Okay, so one of the first things that a piece of malware can do is look to see if it's in a virtual machine. This is actual disassembly from the Dasher variant. And those of you that don't speak assembly, the pseudocode is if you detect malware, destroy yourself, otherwise continue with the hilarity. And Dasher isn't all that wonderful. It does this elite net start and then grips for the VMware string. So all you have to do on this one, it's pretty easy to start. So it's just looking for the VMware services inside of here. Okay. All right. We've got a quick demo. Actually, we have several movies to sort of demonstrate how this stuff works. So we're going to play them. Hopefully they don't look too bad on the big screen. So this first movie is going to demonstrate how this anti-virtual machine stuff works. And let me get that started for you. Okay. So we're going to open up the Dasher worm here in a tool called Bintex. It's just a string viewer. And we're going to look through here for strings that might help us figure out what this malware is doing. And basically there's a little bit, but a lot of it is pretty much garbage. So that's not so good. We can't really tell what's going on. So the next thing to do, of course, is pop it up in IDA Pro, the reverse engineer's tool of choice, and see if there's any more information we can get from this malware. First thing that's going to happen, we're going to get some errors in IDA Pro. This is a hint that it's been protected in some way, packed, compressed, whatever. Okay. All right. So when it loads up, you'll see here, like, in the names window up at the top right, typically there's functions and other stuff, and down at the bottom, strings. There's pretty much nothing. So we're going to run this malware, we're in a VMware machine right now, and see if we can tell what's going on. And you see the malware detected us, and it's destroying itself. It'll just keep running command line windows until the virtual machine dies. So that's kind of rough for analysis. All right. So the more sophisticated methods for detecting virtual machine start using some of the proprietary protocols inside of the VMware driver interface. So from a user level program at ring three, you can actually set up the entire transaction as you would to do that. So in this assembly code here, we're setting up a VMXH operation, which is a special code to send to VMware. And some other values, and we're actually using the get VMware version. We set it to the VX port, and then we do an in operation to read from that port. And basically, if something comes back there, then that's a VMware port. If something doesn't, then that triggers an exception. And so you'll see this a lot in samples of malware if you do analysis on them. Okay. Again, this is the virtual PC interface. This uses the emit series of calls, but it's basically the same thing. Okay. If these fail in any way, you're going to trigger an exception and go off to it. So virtual machines are important for the malware analysts because it's important to have some level of safety. You don't want to infect your root machine. Not that it doesn't happen, but there's a couple different or a few different types of virtual machines. The first one is a fully emulated instruction set. And this is where the instructions are translated dynamically on the fly from the host OS. These have a, you know, 100% it's being emulated. Things like box, it's really slow. That's because it's doing this one-to-one emulation. The next advanced in virtual machines is a somewhat emulated. And this is VMware's acceleration mode. So this is where some of the critical instructions are emulated by the VMware, but otherwise the entire operation of it is carried off on the raw hardware. Okay. Okay. So this is the virtualization. Joanna Rutkowska gave a great talk about ideas about how malware could use that. And this is the Intel Vanderpool instruction set and AMD Pacific instruction set. And what these do is they actually have chip support inside of the CPU to handle the virtualization functions. Okay. So generic VM detection. There was an excellent paper outlining the problems implementing virtual machines on IA32 architectures. Okay. And they actually had a paper outlining the problems implementing virtual machines on And basically what they said is that there are some registers that have system-wide applicability. So you have the LDT, the local descriptor table, the GDT, global descriptor table, IDT, which is the interrupt descriptor table. And this is the technique used by Joanna's Red Pill. And also the machine status word. So anytime a program is executing inside of VMware. These instructions and these register reads have to be emulated. And that's where we get our, that's where we make our tool useful. So the thing about it is the Intel CPU was not originally designed for virtualization. It either must be emulated, these instructions, or it must be translated. And so this is all ring three or user level code, or signature generation. Okay. Okay. So some of the techniques. See the evil theme in here? Okay. Cheap shot. I'm sorry. So the IDT technique. This is done by the Red Pill by Joanna Rakowska and the Scoopy Doo by Tobias Klein. This is just a simple signature match on the IDT register value. But the problem with the IDT is that being the interrupt descriptor table, each CPU has its own copy of the IDT. So if you're on a multiprocessor machine, the signature is not going to match. And so the question becomes how does the ingenious malware developer come up with a way to understand all of the IDTs across all number of processors. And so the quick thing that you can discern from this is that if you are using the IDT method, you're going to fail one over n times for however many processors you have. The global descriptor table had similar results. It was effective in discovering this. The only thing that was useful was the LDT. You could see it across a parallel. Okay. It was a parallel system, and it always had the same idea. And this is, you know, since it's used for accessing local data, it's all operating system dependent, but for our case in Windows, it worked quite nicely. So memory is addressed similarly on the context switch. The problem with the LDT method, as was pointed out when we made a rootkit.com post, is that it fails on full emulation. So the trick to get around this. If you want to. Analyze a piece of malware that's only looking at the LDT is to disable emulation. But it turns out that there's another bug in the machine status word is what we'll use to give the full idea. So here's our grand unified VMware fingering our VM fingering out our fingerprinting algorithm. So the first thing we do is we look at the easy LDT value and see if this matches our signature. If it does, and we say, fine, we're in a virtual machine. Do you miss? The machine? The machine status word, or if we fail on that, we look at the machine status word. The high order bytes in the Intel specification says that this is undefined. And so inside of the Intel machine, it sets it, our Intel, actual Intel hardware, it sets it to a predefined value. But on VMware, there's a bug or at least an oversight that says that it, or it doesn't clear that out, possibly for speed. So that's where we build up our signature detection. Okay. So we'll do a demo. We'll do a demo here. Make this bigger so people can see it. Okay. So I'm just going to run this VM detect tool. This looks at the LDT. It's set to all zeros, which is indicative of this. The machine status word, again, the high order bits are 8001. So we can mostly conclude that this is a native machine here. Over on a VMware system. We'll run the VM detect tool. And we'll see that we're detecting a fully emulated virtual machine here. And so we're also running some of the other systems to look at it. So for the emulation method, if you're in VMware. And you go to options and it's advanced here. This disable acceleration is the critical flag to look at. And so again, this is a bit opposite from the actual demo. But if you run a VM detect on this, too, we can see that the LDT has this 6040 value. And the machine status word is set to the normal Intel thing. And that's because the root CPU is actually running that. So this is a virtual machine without emulation. Okay. So how do you defeat these VM techniques? The first one are in the case of the Dasher variant. It's just looking for that string in the list of running services which says I'm running the VMware tools. So all you have to do is, you know, net stop VMware tools and then you're done. The next method that you can use is to binary patch the malware. Basically, just to nop over the VMware detection routines. So inside of here, we're actually finding the call and patching it over with the 0x90. The other thing that you can do, if you like to roll that way, is that you can run natively or use some obscure VM. Okay. So as you can see, Danny is the brains behind operation. I'm just the eye candy. We're working on that. All right. We're movie happy. So basically, we're going to pop this thing open in OLLI debug and look at it and try to get an idea of what's going on, how it's, you know, screwing over our VM. Again, this is the Dasher worm that we were looking at earlier. So this isn't like an advanced OLLI demo or anything. We basically, you know, consider OLLI to be sort of like a machine TiVo. We like to be able to go forward and pause things and see what's going on. So what we did here is we opened Dasher. We advance it. You know, we step through it a few times until we get to a point where we think something's going on. And then we're searching down here in this window for potentially useful strings that could give us hints as to what to do about this. It's kind of hard to see in there. So I'm going to cut and paste it into Notepad. And then we'll search through there and you can see what's going on. Okay. Basically, there's tons of information in here. But we're looking for something that really triggers us off on the VMware self-destruct mechanism and how that works. So I'm going to fast forward just a little bit. Okay. You can see there there's a batch file called virtual.bat. That's not native to the system. That's something that's there since the malware started running. So we're going to go take a look at that and see what it does. Okay. So we found that file. It's indeed there. And you can look in here. It's just a batch file that says look at the net start services output, run find string, and find VMware. This is a really lame way of doing this. That's why we're releasing the VMware detect that Danny was talking about. But you can see that's basically what malware people are doing. Most of the malware that's out there running around the wild uses these really simple techniques. Okay. So now that we know how it's detecting VMware, let's see if we can find what it does next. So we're going to do the same thing. We advance the stack a little bit. We're going to pop this open in Notepad and look for some more useful strings that can help us out. And more fast forwarding. Other malware is more advanced. You might not be able to do this. Like, we'll get into it a little bit more later. But it might detect all the debug and prevent you from doing this kind of thing. Okay. Almost there. All right. So you can see there's a really friendly batch file on the system now called f-off.bat. Definitely not something that we put there originally. So the malware had to create this. We're going to pop this open and see what this is going to do. Probably not something friendly. Okay. So it's basically just a go-to loop. Spawn a command shell over and over and over again until you fill up the memory. Okay. So the next thing we've got to do if we want to do some real analysis on this malware is get around its protection mechanism. The simplest way... I mean, you can do some of the old-school cracker stuff that Danny was talking about. And knock it out or whatever. But if you don't really know what's going on, do the same thing it does. Look in the services strings for the VMware tool service and stop it. So we're going to stop that service. Now if you do a net start and look in the services list, it's not going to be there anymore. So when the malware looks for it, it's not going to find it either. Then the next thing to do is to instrument your system with things like sysinternals, regmon, filemon, whatever, so you can see what the malware's doing to your system when you run it. You want to look at things like network ports, run a sniffer, all that sort of stuff. I'm going to fast-forward just a little bit more. Okay. What we're doing here is filtering out known things in regmon. We're going to run it. And you can see in the background, all that stuff got populated. That's everything the worm does to our system now. So we're inside of VMware. We're able to run it. We're able to analyze this malware that we weren't before and build up a model or a signature for what it's going to do and run a sniffer and take a look at that. Okay. So a couple of the other things besides VMware detection that malware does is binary compression. You know, there's a lot of reasons for doing this. Smaller binaries. Takes less bandwidth. This is really important in worms so that they can propagate really quickly. Leave a smaller footprint on your system. Makes it harder to disassemble and analyze, figure out what's going on. There's tons of packers out there off the shelf that you can get. Lots of people write custom packers for their malware. The next thing is encryption, which is very much related. Basically these things load a small decoder stub at the beginning of the binary or something like that. And they either uncompress or decrypt themselves before they execute. This has... This doesn't give you a smaller footprint. But it makes it harder to reverse engineer. To analyze what the binary is doing. There are some legitimate uses for this stuff. Like intellectual property protection. But I don't think anyone really takes that seriously. Because all of it can be broken. Okay. Just going to show a quick example of what that looks like. We love movies. All right. We're going to take some botnet thing that we found out. And take a look at it. This one hasn't been protected with anything. So you can see here there's a bunch of strings. It's got denial of service stuff going on. It's got IRC commands. So it's pretty easy to tell what's happening here. If you pop it open in IDA Pro, you're going to see quite a bit of information that you can fully reverse engineer this bot. You look up there, there's functions in the top right. There's strings in the bottom. The assembly looks pretty good. It's easy to figure out what this is doing. And if you look at a call graph. It makes a lot of sense. It's really clear. So we're going to protect this with one of the common packers called UPEX. This is a compressor. And we're going to compress the bot. And then we're going to do all these same steps again to see what changed and how it looks different. So you can see in here, most of the strings have disappeared. There's still a few here. But it's actually improved the protection of this piece of malware. When you look at it on IDA, you're going to see a bunch of changes. The first being, you're probably going to have some errors, like trying to find the import address table, for example. And you can see there, there's a lot less functions. The strings are pretty much mangled. The call graph looks really interesting. Little less clear than the previous one. There you go. For comparison. But still, it's not too bad. You can glean some information from this. All right. We're going to get all hardcore and use Morphine. It's written by a guy named Holy Father. And this is an encryptor. So we're encrypting on top of this. And now when we pop it open and take a look at it, you know, there's even less strings. Pretty much none, except for get proc address and load library. Those are really common in malware. You'll see those all the time. And IDA's going to look really bizarre once we open this one up. Okay. Strings. Basically nothing in the names window. And a really confusing call graph. So that loop right there is probably indicative of the stub that unpacks or decompresses this whole thing. Okay. So a little Faustian picture there. How are we going to defeat this stuff? Well, there's a lot of different ways. There's some basic ways. Like you scan it with a detector. And if you can detect what it's packed or compressed with. Go out there and search around for an unpacker or unencrypter. If it's available. A lot of times they're not. So you need to unpack it yourself. There's a great tool called x86emu by Chris Eagle. Highly recommend for doing this kind of thing. Of course, IDA, Oli debug. The best way for getting around these malware protections is to actually partially execute the malware and dump the region of memory where this process resides. Some processes don't stay memory resident. So this could be a little bit harder. You need to run like a debugger so you can pause it right before it exits or whatever. Okay. There's another video here. We'll just take a quick look at this. All right. So you can see we have some professional tools developed for this. These are three of sort of the top packer detectors, PID and PSCAN and protection ID. So we're going to stick this thing in there and basically they're not going to detect anything. They have no idea what this is protected with. These tools based on like opcode sequence signature matching, which is okay, but a lot of these new packers and encryptors coming out are polymorphic. So it's different all the time. Okay. A lot of these demos are with real live malware that we get through our site. So you know, these aren't contrived. These are actually, we're reverse engineering real malware. Okay. So what we're going to do here is pop this open in Oli debug and we're going to advance it through. We're going to step through several instructions to try to get it to a certain point. There's way more complex techniques than this, but we just want to get the basics out of the way. There's a tool called Lord PE, which I like a lot. It's good for editing binaries. It's also good for dumping them. You can dump them in Oli debug with a plugin. So what we're going to do here is we load it up in Oli debug, which paused the malware process for us. We found it in Lord PE and then we're going to dump it. And then Lord PE has a little tool to help fix up the binary and hopefully get some more import table information. Okay. Okay. All right. So previously we had this thing. The packers couldn't detect it. We couldn't find any strings. It pretty much was hard to figure out what was going on. Now that we've dumped it from memory, we can open it up in IDA and hopefully you'll see here, yeah, all the functions are available. Strings are available. So you can start to see here, you know, okay, there's some registry key access going on. We're going to pop it up in the strings window because it's a little bit easier to see. Okay. All right. I mean, the main point of reverse engineering malware is to find out what it is and what it's doing. And a lot of times you can figure that out. For example, these strings here, it's obviously a porn bot of some sort. If you want some anime, install this, it'll hook you up. Okay. So the final kind of protection that we're going to go over here is anti-debugger technology. Okay. People are getting really crazy with this. They're like checksumming their binary image and memory. But this is one of the simple methods. Windows actually provides an API call, which is useful to developers to detect if a debugger is attached to their process. This is just some basic code to show how this works. There's a lot of different ways to get around this. We actually did some cracker stuff and found this in a binary and jumped over it. Oli debug has a really helpful is debugger present hiding plugin now. So that's one of the best ways to get around this. I don't think I'm going to go into this video because this is pretty simple. You basically run Oli debug if you have the plugin installed and click hide from is debugger present. Okay. One of the other things that we did here is we disassembled the binary. We found the is debugger present call in there and basically changed the jump so that we could get past it. You can see in there basically if the debugger's present, it sends you to a you die now call. So a lot of malware will do that. It'll delete itself. Or similar to the VMware protection stuff. Okay. Now we're going to get to the cool stuff, hopefully. Exploiting malware vulnerabilities. Often malware writers don't care about quality or, you know, stability. They just want to get it out to get famous or if they're trying to make money from identity theft. So they don't really write great code all the time. Which means that often the malware has vulnerabilities. A classic example of this is this thing called AV serve FTP server. It's used in a lot of worms. Like, I think the... Sasser worm probably used it. So we took a look at this thing. Somebody out there wrote an exploit for it, which was kind of hard to use. So we decided to use the awesome Metasploit and make it better. We unpacked this binary using the unpack methods we mentioned earlier. And we started analyzing the disassembly. Inside here is a real basic buffer overflow in the port command of the FTP server. If you look up there, basically, it takes the port command from the user. And whatever port the user feeds it. It sends it right to a stir copy. With no checking. So you can send a port command of 500 days. Okay. Metasploit is great because you can write, like, one line exploits. Because the whole framework is there to handle everything for you. So that's basically what we did. Sometimes writing a denial of service attack for a piece of malware could be really helpful if you own your network. You know, for example, if a network gets compromised by one of these worms and you can't make it to all the machines to go clean them up. You could do, like, a broadcast denial of service attack which will kill the worm on everybody's machine but leave the host intact so people can keep working. So that's kind of the idea behind this, what we're doing here. At the bottom in red, you can see we developed a really simple request through the Metasploit framework to send a port command of 295 A's. Okay. Well, that's pretty cool. But, you know, just for bling's sake, we're going to kick it up a notch. And see if we can get a shell on this piece of malware. We used a classic SEH overlay. Metasploit has a cool tool called MSFP scan which can find return addresses and DLLs and things like that. So we used that. There will be a movie for this in just a second. But I want to cover the exploit line real quickly because it's a little bit complicated. Basically we're going to send the FTP command, a bunch of padding, a jump to jump forward six bytes to our address, which we found in kernel32.dll. And then a jump back about a thousand bytes to our shell code. The reason for this is because on this particular one, memory gets corrupted and two copies of our shell code get created. The bottom one is destroyed and the top one is actually good. So that's why we're jumping back. And then some padding. So let's show the fancy video. All right. So the two black windows. Our SSH into a system running Metasploit. We're going to open up this piece of malware in Windabug so that we can watch what happens when we send our exploit. You can see up there it dumps what DLLs are being imported into this malware FTP server. So we were able to look at that to decide which one to pick to find an address. So we hit G. The malware is running. We're going to go ahead and write our exploit real quick. This is the first version. The denial service. To get a feel for what's going on. So just for the heck of it, we're going to send it 500 A's and see what happens. So we send our exploit. Sends a port command. You can see in Windabug the worm crashed. And we own EIP. All right. So looking through memory just to get an idea of what's going on. We can see all our A's are in there. The port command is in there. We've basically taken over this piece of malware. So if this guy is running on your network spewing a bunch of crap and you can't physically get to it for some reason, you could send a denial service and turn it off and the system would still run. But we're going to get a little more complex and write a real exploit for it. Okay. So like I said before, the port command, some padding, you know, we're going to do all that stuff. . We actually just guessed completely on this one. We got it in the first try and got it all right. Okay. We need to use the MSFP scan to find a suitable address to jump to. And it's pretty easy. You just give it a dash F and the DLL you want to look at. And it will give you a bunch of addresses to choose from. This is a little endian, so we've got to flip all the bits around. All right. Punchline is coming, I promise. Okay. So this is the part where we're going to put our shell code. We're going to jump back 1,005 bytes. . . And some padding at the end. But this shows really, you know, some of the power of Metasploit. I mean, you can write a pretty complex exploit in one line. Okay. So we're going to load up our exploit, if I can type it correctly. . . And then we need to go ahead and set up our exploit. We're going to start up the worm so that it has something to attack. Close our debugger. And sometimes you want to make sure the worm is actually fully gone from your task list because things can hang around and cause problems. Okay. So the worm is running in the background. We're going to type exploit. It's going to send the FTP command. And we've got a shell. Okay. So it's just a different kind of concept, you know, fighting evil with evil. Using all the same techniques that exploit developers use against malware, worms, trojans, whatever. Okay. So now we're going to introduce our website. . I guess two of us can't stand here at the same time. Okay. So we can hack the malware. Now what? What do we do with this? Basically, we want access to more malware. We want to make it more open. Right now, the antivirus companies use the previous methods and others to, you know, to build commercial products. But there are well-known deficiencies. There's the signature performance, amount of processing required on the computer, and they're intrusive, not very effective, and the performance isn't all that great. So, you know, personally, I don't run AV protection because it gets in the way of other stuff I want to do. So how is the AV market doing? There was a recent article that came out from Ossert saying that there's a 20% detection rate. And looking at our database, we roughly confirmed this using very unscientific methods. But this is, profit is their primary goal. And that's fine. We're not against that. But what we would like to do is have a lot of the AV companies collaborate with each other. So this 20% detection rate wasn't 20% of all the malware that was detected. It was each AV company detected a different 20%. So if they collaborate. Then they would get more, you know, 60, 80%. And, again, the behavior-based models are the new hotness. But if you start doing that, then you get into more performance problems. So what we say is that open analysis of malware and open sharing can only help the situation. So what's wrong with the current situation? Again, the field is very elitist. There are lots of vetted private mailing lists. If Paul Vixie is in the audience, he can tell you all. He's got some ideas for a private exchange system. But generally, these are hoarded. And the idea of these collections becomes a commodity for all the AV companies. And so what also happens is that AV companies come up with a situation like the Nixom worm or LoveSan. Or I think every single AV vendor had a different name for it. So how do you come up with this? And MITRE's done some work on naming that. But it hasn't been well adopted. The other problem is that there's casts of researchers. You have to prove yourself to get into the field. And it prevents outside analysis. So if you've got a, hey, I've got an idea and I need, you know, four gigs of malware, that doesn't really fit here. Or in the current situation. So academic analysis is limited without effort. And it's not attractive if you're sitting with something on your network and you need to know something about it. The information provided by these outside vendors isn't always complete. And it's hard to validate these results. So you want to ask the questions, what can I do to stop this? And what is this thing doing? You know, if it's targeted specifically for my company, I need to know right away. So what's our solution? Everyone gets the same access to malware. We do not vet. The only vetting we do is we check to see if your email skills are there. And you can click a link. And so all the analysis is done. And this is done in an open manner. You know, other than requiring you to log in. Everything is shared and available to you. We've got an online web forum. Bulletin board type environment. And soon we're going to have an auto decompiling wiki styled environment. So our end goal is IDA for the web. But we'll see how that works out. The other thing that we're doing is auto scanning with a set of AV products. We've got a pretty good sampling of the Unix scanners that are available. And there's a lot of these available already. But in this case, and there's the theme with those is that you upload your malware. But you can't get what other people have uploaded. So we'd like to change that. Next thing is unpacking and decryption. This is an ongoing method. Right now it's pretty manual. So if somebody unpacks a malware, then we can go ahead and include that. So we're working on some automated methods. And we'll, of course, be sharing those as they come available. So we've got a little bit of criticism from this. If any of you read FunSec, you witnessed this firsthand. So the first comment we got was lack of a vetting process helps the bad guys. Well, what we're saying is that it helps the well-intentioned analysis or it hurts them much more. So writing effective malware is hard, thankfully. But defending against it is harder. It's a lot of work to get into the reverse engine. It's an engineering field and that sort of thing. And if we come to it, AV is failing. It detects the known stuff. But the unknown stuff is what we're worried about. But there's other people that say, I don't care if you distribute your samples. Open analysis is a bad thing. But open analysis is already available from Symantec, McAfee, and the good guys at F-Secure. So we say that this doesn't matter too much. So what we're looking for is a synergy between the access to the malware and getting that. So the other thing we'd like to see more of is that peer-reviewed publications tend to focus on malware performance rather than mitigation. People are starting to work on some automated methods to discover this. But for the most part, it's not there yet. So malware is poorly written. It's difficult to make it reliable. And it's difficult to make it portable. But as soon as whoever is writing all this figures out test-driven development and that sort of thing, then they're going to go crazy. The field will go crazy. All right. So this is how we're ruining the inner tubes. Tubes. OK. So we're going to talk about our automated malware analyzer. Basically what we've done is we've put online a searchable web database. We run a number of checks on the malware, like file typing, multiple checksums, because as we all know, MD5 sum has been broken. Packer detection with MSFP scan. Actually, H.D. Moore did a few modifications to this tool so that we can feed it a Packer database and then it can scan a file for those opcode sequences. So thanks to him. We do multiple antivirus scan like he talked about, kind of like VirusTotal. We gather portable executable information like the sections and headers and all that kind of stuff with a tool called the Pelt Project. We have a rudimentary auto disassembler. And actually we've been talking to some people about how we can improve that. So there'll be some cool stuff there soon. And then we have this massive binary archive of malware. We get strings disassembly to a wiki. This is just sort of a screenshot of our site so you can get an idea of what it looks like. We've got uploads. You can go up there if you have an executable or DLL. You can upload it to our site. It'll auto analyze it, you know, about 30 seconds to a minute. And then it'll give you some results back. All those results get put into our database. So if you find something on your system, you can search our database and get not only analysis but a copy of it in case, you know, you're looking for some specific worm. And then we also have this blog system where we can post really in-depth analysis. We tend to get a lot of the new stuff really quick. So check there frequently for in-depth analysis. This is what the database output looks like. So if you search for an MD5 sum or a particular malware name, you're going to see something that looks a little bit like this. Basically, you know, your check sums are at the top, what type of file, what type of packer, if any of the antivirus detect it. And you can see here they didn't do so well. We're constantly adding new antivirus tools as we get licenses for them. And then over on the right, you can actually download a sample. It's compressed and password protected, but the password's right there. You can get a text report with some of the more executable information in it, disassembly and some strings. Okay. So this is sort of the proof of concept idea here where, you know, the automated analysis is going to go through and attempt to disassemble this. And if it's successful, it's going to put it into a wiki. So multiple people can log into the site and work on a piece of malware, add comments, et cetera. Just another view of this. You can see here, you know, a little piece of disassembly there. Someone went in and added a comment. This isn't that cool yet, but I think eventually as we work on it, it'll be pretty useful. All right. So I think we're going to have some time for questions and answers here in a second. But just to wrap up real quick, what you just saw was an improved method of virtual machine detection, some of the typical things that malware does to protect itself, some kind of nifty exploits against malware, and then our offensive computing project, which we hope we can get more participation in. All right. Anybody got any questions? Yes. We have rootkits, trojans, viruses, worms. We have about 32,000 pieces of malware in our database currently and tens more thousands waiting to be put in. Hold on. One more time. Well, it's different in the sense that it's pretty well organized. It's easy to find. We're getting a lot of support from the community to add new tools. Pretty soon, our autoanalysis will be really in-depth and intensive. The question was, how is this different from other virus bulletins? You know, and basically the thing is just a lot of those are just collections of malware, not so much analysis. And it's not vetted. Anybody can join. Can you hear me? Yeah. A lot of these AV vendors are claiming they're not using signatures as much. They're using heuristics and stuff, and they can detect zero a day. Have you analyzed any of these vendors and seen if it really works? We haven't seen much success with that. I'll let Danny talk about it a little bit. Well, I mean, you can take a look at the 20 percent detection rate that they're getting and make your own conclusions from that. So. Okay. Thank you. Sure. Yeah. One second. Any other questions? It must die. Yeah. Yeah. Okay. There you go. Thank you very much.