Okay, welcome everyone. I'm very happy to see so many people in here at 10 a.m. in the morning. That's not a very often thing to see at DEF CON. I'm going to talk about multi-platform malware within the Dartnet framework. But before I start my speech, I'll have to make a couple of announcements that will probably help you to understand the speech better. First of all, my suitcase got detained at the airport, so basically I was missing a whole lot of virtual machines. I'm going to show you later on. I restored most of them. The only one I couldn't restore was Vista. This stuff I'll show you today will work in Vista, and if you don't believe me and have a Vista box with you, feel free to come up front and sacrifice it. Also, I would like to extend a very special thank you to Chris Padgett of IOactive, who helped me greatly with those virtual machines. Without him, this speech today would not be possible. Also, don't try to attack this computer. It's offline. If you want to own me, I'm on the own-the-box competition. Go back there. This is my IP. If you own the box, you get to take it home. I'll sell you a case if you want. So, let's start the main talk. Just, what is multi-platform malware? We all heard that. We maybe have an imagination of what it's all about, but there's never been some kind of speech on this before. No one really knows what we're talking about. What's the potential? Multi-platform malware. Let's just give it a quick definition. It runs on several different processes or host operating systems. Well, that's basically what the name says, right? So, it should not be bound to, like, Windows or Linux or whatever. So, it should be independent of those systems. It does not need to be modified from system to system. That's a very important fact. So, it's basically not, you know, you don't have a worm in different versions of it for each system, but it's the same worm on each system. It will be able to jump the systems. That's a very important characteristic, as we'll see later on, because this opens up a lot of new possibilities for hacking in general. And it will, maybe anything from Chorion to Virus to whatever you kind of come up with, whatever you would consider malware, it could be multi-platform. So, what is it not? Multi-platform malware has nothing to do with attacking common flaws. Like, XSS is a problem with the stateless communication in the internet. It will work on any platform, but it's not what I consider multi-platform. It's not what I consider multi-platform malware, and it's not what we're going to talk about here today. And it's also not scripted stuff, because, you know, it's pretty lame to run something through an interpreter and just hope that everyone gets Python installed or whatever you want to use. So, why is this important? People have been talking about multi-platform malwares for quite a few months or years now. And it actually never made it to the surface. Like, people are just talking and discussing. Theoretical stuff. But, actually, you know, the malware has a commercial interest. And, apparently, it has never been important enough to actually build it. So, what changed within the last couple of months or years is, first of all, we got more devices. Like, ten years back, and I guess someone here remembers that time, there was, like, one major computing corporation that kept all the data safe. Where you would just work with it, and people would wire up their workstation to that computer. And that was basically it. Today, we got laptops, we got every corporation's old workstation, we got those people sitting around using Mac OS, Windows, Linux, whatever they want to run, syncing over AFS, FTP, whatever you can imagine, and taking home, taking work home on their laptops, on their PDAs. So, the data is pretty much split. We got those devices, and it's becoming worse to, like, attack them. Then we got more operating systems. Twenty years back, ten years back, there was basically Unix, and that's it. Today, we got Windows, Linux, we got, like, two hundred Linux distributions on a major market. And we got more cross-system integration, as I said before, like, when this data was still safe-capped on a single system, you would not have to interface different operating systems with each other. Because it would just be the same. But if you have your corporation working partially on Mac and partially on Windows, you'll have to find a way to make those computers communicate better. Or it won't work. You have more mobility, as I said before. Basically, taking work wherever you want. You can take your laptop, take your work, go to the park, finish it. And you have less security concerns because the normal people just don't care for security. Right? That's a common fact. So, I'm not the first one to deal with multi-platform malware. There have been some other proof-of-concept codes before. I just want to thumb through them really quickly. If you want detailed information, you can go to my website. There's a lot of detailed information on these. Look them up on Google. They're well-described at Symantec's homepage. The first one is Win32LinuxMileD, which is like halfway of an overrider, which just does some basic stuff. And it infects both portable executables and ALF binaries. Also, it's polymorphic and metamorphic. And then we got W32LinuxB, which is also a proof-of-concept virus infecting your local files. So, it's pretty much unimpressive. And they've not spread, so no one basically cared for them. But that's about to change because multi-platform malware has tremendous potential. And that potential can basically be split into two sections. The first one being jumping systems. Now, what does that mean? No idea? Okay. Actually, I thought it would be pretty hard to give you a scientific explanation of what jumping systems could mean. So, I made up a little theory. A little story. That should show you the difference between the old common sense of operating system security and what is possible with jumping systems. So, this is the old standard. This is like a little dialogue between a secret service guy and a hacker. Secret service guy, we need access to that network and we need it now. Now, don't look down. Those in the back, you know that sentence, right? Some geek. Oh, yeah, right. Look, I'm really sorry. But I was extremely busy tonight. See, when I scanned that employee's firewall, I saw that his son had an Xbox 360 connected to the internet. So, I spent all night hacking it just to get his save games. What the fuck? You know what this means? They have 200 nuclear warheads stationed around the world and we believe that they cut $26.72 of tax last year. Now, come on. It's not all bad. At least we can play games for free. And, yes, indeed. That's great. Just wait at your house and keep the doors unlocked. I'll send over a SWAT team to play. So, that didn't really work out for the geek, right? Now, let's take a look at what the new possibilities do to the next geek. Secret service guy, okay, now this is your first job after you've been hired since your previous specialist couldn't continue working due to a terrible headache. Also, you'll probably have heard the tales of how we managed to disarm all the nuclear warheads using a piece of paper and a bottle cap, but now we need access to that network. Listen to the other guy tell you that that employee has killed an Xbox 360 right up to the internet. Not again. Don't tell me you hacked his safes. But this is where things start to change because actually he hacked the Xbox 360, but of course I did. He's a really good gamer. However, I also installed a worm on that Xbox that jumped to the Vista box and collected all the credentials from our target employee's pocket PC after being synced on there as well. I already mailed you the credentials. And that's exactly what we're talking about here. You can basically infect whatever you want and jump anywhere you want and basically break all the security rules we certainly obey. Because certainly we don't expect anything to jump from an Xbox to a Vista machine and then, you know, steal the data from your pocket PC, but that's possible. So to finish things up, great. You really know a lot about hacking and our organization and our plans. Just head out to your home and keep your doors unlocked. I'll send over a SWAT team to congratulate you. Now let's take a look at the other great thing about multi-platform malware and that's basically the momentum of surprise. How many of you have ever been hacked? How many of you have ever been pentesting a network? Raise your hands. Yeah, quite a few, right? So what is more fun, pentesting a Windows box or pentesting a Linux box? I guess many of you will say, yeah, Windows is more fun because it's easier to own. But basically what I found out is Linux users are way less concerned with their box. If they don't have to take care of it themselves, if there's a sysadmin around that just sets the box up, they think, oh, my. I don't have to worry about anything else. And that's when this momentum of surprise comes in really handy because the old common sense of all security was if it hurts me, then it was built for me. If you got struck by a worm or a trojan, then someone designed that worm or trojan to work on your system. But today with multi-platform malware, if it hurts you, it's just there. You're vulnerable in most cases whatsoever. And that completely changes the outlook. Now let's take a look at what they are. Common non-Windows-L user would think about this. Those are a couple of pretty popular misconceptions that I guess most of you have seen before. Like, this is very popular for people who run FreeBSD, Mac OS X, whatever you can imagine. They say, oh, I'm running X, Y, Z, and that's secure by default. Now that's a pretty dumb idea. The next thought is, yeah, very few people develop malware for operating system X, Y, Z, and that's actually true. Because, as you all know, malware usually has some kind of financial interest in the back end. And Microsoft has like a 90% market share on the end user market. So why should I invest money in creating something to attack a system with a 3% market share that's probably not even able of infecting enough boxes to actually redistribute itself? And the next misconception is, if an MS friend of mine should be infected with malware, his PC could not infect me anyways. Yeah, that makes sense. You know, if that guy got a trojan on his computer, that sends you an email, what's going to happen to you? It won't run on your system anyway. That's also a misconception, as you'll see later on. And I don't need to be careful when dealing with downloads, attachments, and portable media. You know, Windows users are exposed to this every day. You go to the internet, you go to MSDN, you go to any mailing list, and like every two hours they just keep telling you, oh, don't open attachments from people you don't know, check everything you download, get antivirus, get whatever. Have you ever... The Mac user said yes. Has anyone ever told you to do the same thing for your Mac? Yeah, most people are actually pretty concerned, not pretty concerned about that. They think, yo, I'm default, I'm secure by default, I don't need to worry. Okay, so before we hit the demonstration, let's first get a quick look at how you can implement multiple platform malware. There are actually various concepts to doing this, and we'll just go through them quickly, and then take a deeper look at the one I'm going to present here today. They're basically, first of all, carrying various versions as payloads. That's pretty simple. Like, you build a worm, you have it attack a network, you have it scan the network for vulnerabilities of various operating systems, and basically it carries a Windows, a Linux, a Mac version for the systems, it cracks the system, copies the appropriate version over there, and just continues. That's pretty simple, but at the same time, you know, it's a pain in the ass to find out what system's going to be running. This can be done if you're running a worm on the internet, but as soon as you start attacking boxes over the internet, like, good luck finding out what they're running. Next one is using cross-system complicated assembler instructions. Some guys actually managed to do this. The problem was they had to patch the Linux kernel in order for it to run, which is pretty lame. Like, distribute a virus and tell people, like, patch a kernel and then it will infect you. Cool. Also, this technique would probably only be suitable for about, like, 20 total assembler geeks worldwide. So, you know, that's not really going to be a big problem. And third one is using runtime frameworks in intermediate languages. And this is what I'm going to talk to you about today, because this actually makes multiple-function malware very real, very easy to implement. So, let's take a practical look at it. Pawn me a dead net, darling. Project Akikaze, I created about a year ago. For those of you who know Japanese, Akikaze basically means autumn, wind. I'm not pretty good at naming things. It was autumn and it was windy, and I started programming, so that's for the name. So, what were the goals of creating this? The first goal was to create, actually, a proof-of-concept worm that works. As we heard before, you know, I'm not very fond of patching my kernel in order to get the malware to run. That's sort of lame. So, I wanted something to really show the people that they could try it out at home without preparing their boxes and it would all actually work, and this one does. The second goal was to have it attack Thunderbird and spread from there, which is, yeah, we're going into some of that later, why I chose Thunderbird. And it should also give me a chance to explore possibilities of runtime frameworks, because anyone who's ever been working on a larger project before will know this one. You got a good theoretical idea, you're thinking about it, you think, oh, that's going to be no problem, and as soon as you start actually programming it, you'll end up having problems coming from nowhere and, like, racking up the whole system. So, I wanted to actually do something before I claim that it's possible. There are a few questions. First of all, why .NET? There are many runtime frameworks out there. There's Java, there's a lot of other smaller stuff. Well, .NET has a couple of advantages. The first one is common intermediate language code is fast. And I mean fast. Not like Java fast. It's almost the speed of C++. And for malware, speed is always an issue, because the faster it will work, the easier it will be to put in routines, to put in all the stuff you want without the user noticing there's something wrong because their CPU is working at 100% for about five minutes after booting. Then there are several .NET implementations. Most people don't know this. Most people think, oh, the .NET, that's Microsoft, that's evil. It will only work on Microsoft. Well, that's not true. There's the Mono project. Mono works almost everywhere. You can get Mono to run on Solaris, Linux, BSD, even on Windows, wherever you want. On various processing architectures, there's even more. There's .GNU, which is a smaller project, completely open sourced. And there's Microsoft's own rotor implementation that actually works on FreeBSD. So basically, .NET is everywhere. Next of all, many people run it. Even though you might not be aware of this, go on the Internet, download Ubuntu 7.04. Insert the install CD, hit the DAG. After you're finished, you'll have Mono up and running on your system, even though you might not know this. Try it out with your favorite distribution of kind. The .NET is so popular today. And even if you're on BSD and you think, oh, my, so no distribution ships with this. If you just build your packages through ports and hit OK everywhere, chances are pretty good that after a couple of days, you'll draw Mono in as a dependency. Because there are a lot of libraries that are linking to Mono. Mono today. Next one is the language independence, which is a really nice feature. Well, on Java, you basically code in, well, Java. And there's some crazy stuff out there, like iron Python that will allow you to run Python in the Java. But in the .NET, you can actually build a class using Python, compile it, then build another class using C-Sharp and actually exit a class you built on Python before that without any complications. And that's a really nice feature because most of you will know that some things are very much easier to implement in Python than, say, in C-Sharp. It does not have any virtual machines. .NET gives you direct access to the computer, which is pretty neat if you're actually developing malware. It has lots of class for platform independence. This basically means in the .NET, you can ask a class to give you that user's home folder. And it doesn't care if you're on Linux. It will give you slash home slash whatever your name is. If you're on Windows XP, it will give you. See documents and so on. If you're on Vista, it will give you your user documents so you don't have to worry about that. It makes it pretty easy to develop code that will actually work. And last but not least, of course, you know it's developed by Microsoft, so they quite often have the hangout of it for developing stuff that will actually make your malware run. And the other question is, why Thunderbird? When I started this, a lot of people were asking me, oh, you hate Thunderbird? No, actually I'm not. I'm using it. It's really great. And that's mostly why I used it, because I did not have to acquire any new client to just write my worm. Also, attacking a mail client is a pretty easy way to spread a worm. You just, you know, get the SMTP service credentials and send it out through your mailing list, and that's what's going to happen. And of course, you know, if you want to present multiple to malware, the thing you're attacking should probably run on the systems. I could not possibly attack Microsoft Outlook, because I could not get that one to run on Linux or VBC. So Thunderbird was definitely a good choice. Now, of course, that was not all good and nice. So I don't know how many of you guys are using Thunderbird, but if you set up a new account and save your passwords for the first time, you get that message. And let me just give you an excerpt of that. This sensitive information is stored on your computer in a file that's difficult, but not impossible to read. Well, that definitely made my heart stop. Because I thought, you know, what have they come up to? Like, salted hashes of your passwords and encrypted by some major password I would have to recover from the binary. And basically, I spent a couple of sleepless nights until I decided to just check the files they were supposed to save the passwords in. And it turns out that this incredibly cool and hard-to-crack encoding was base64. So this is how your standard Thunderbird password file looks like. This is for an IMAP server. It basically gives you the username and the server and the password and basics for a code form. It took me, I think, two lines of code to get that one right. So let's give you a quick look at the code. Actually, the code is available from my home page. It's on a GPL version to download it. If you're like a C-sharp geek, look at it. I'm not going to bore you with the GPL version. I'll give you the details. If you've got questions, write me an email. Develop this further. If you do something incredibly cool to my code, be sure to send it back to me because I'm always interested in what other people are doing. This is the address. Write it down. Be aware, this has a self-signed certificate. And it will enforce you to use that certificate. You cannot access this page on plain HTTP. So it's pretty easy. Also, if you don't get to write this down, I've got like 100 business cards up here. Just walk up the stage after I'm finished, and I'll give you one of those. So as I said previously, the most important part is this is GPL code. So do whatever you want. Do the good stuff. I hope there's more white hats in here than black hats, but you can never be too sure about that. And yeah, published stuff. This will be big. This is just the main class. There are basically three classes in there for gathering information, gathering the credentials, and actually attacking the server. And what it does is it gathers the information on the system, does a few checks, and then basically circles through the email addresses it found, creates content, and sends those out through the user's own SMTP servers. So it's pretty much impossible to find out this email was sent by a worm because it uses your own credentials. This comes from your alleged servers. And even though I said you could do almost everything platform-independently, sometimes you'll find those clauses. For example, checking the operating system version against fingerprints that the .NET supports, and actually building if-else clauses. Sometimes you cannot get around this. For instance, you all know that on a Windows box you'll have a line break with slash r slash n, while on the Linux box you'll simply have slash n, and you'll have to take that into account when you create your regular expressions to have the worm run. So this is a pretty easy way to do it. Okay, now for the part that you've probably all been waiting for. This is a demonstration. And what I'm going to do is I got VMware prepared here, and I got three virtual machines running. Basically a Windows, a Linux, and a BSD. And what we'll do is I got the worm on the Windows version, and I'll show you how the Thunderbird is configured. I'll just start it, and we'll pretty much make a round trip. So Windows will send this to the Linux box. Linux will send it further on to FreeBSD. FreeBSD will send it back to Windows. As I told you earlier, this works on Vista. So if anyone wants to sacrifice this box, just step up. Actually, it works so well that this does not even touch the UAC system. So basically this worm does not stop there. Yeah, just a few more seconds. Okay. So this is your standard Windows XP install. I'll give you a look of my address book in Thunderbird. Okay. So we'll just have to restart the network connection. He sometimes screws that up. Okay. Hang in here with me for a second. I don't know what he's doing currently, but it should be fixed in a couple of seconds. Yeah. Okay, we got it? Yeah, this is what always happens if you're working with Windows, you know. It always works in your room, but as soon as you're standing in front of a few hundred people, it will just burn out. So I actually got a mail server running locally, which is pretty fun. The important part is right here. This is my address book, and you see there's only one address in here. It's Linux at root. I could not come up with a better domain name. So let's just try it out. I'll just double-click on this one, and you see this command prompt opening. This is pretty lame. You could get rid of it, but this is proof of concept anyway. Actually, the worm outputs a few information about what messages he created, what email addresses it regained. So if you're interested in that, just, you know, keep the terminal open, and you'll have a lot of fun watching it work. So let's just suspend this, and check the Ubuntu box, because I'm pretty sure we got mail over there. And one of the things many people are afraid of are that those common language codes would have to be invoked manually, basically by saying, mono and whatever program you want to run. Well, yeah, that's actually true, but if you've ever done this before, and you're on a desktop manager like KDE or GNOME, it will ask you, oh, do you want to register that kind of file to any interpreter? If you just click yes, then you'll pretty much be able to double-click the .NET executable, and it will work on a double-click. So I hope that I've got Internet connectivity on this one. Otherwise, it's just going to be one more check. Just getting a fresh IP around here. Yeah, now we got it. So back to full screen, and let's start Thunderbird over here. And to what you would have expected, we got an email from XP. And you all saw that as you can check out this email, or as you can check out once I make the date a little larger, this email was sent just a few seconds ago. Well, actually, it appears it wasn't because my box is out of sync, but this is the real email. I can show you. The mailbox will be empty afterwards. And it basically tells you, hi, I've recently started to try out programming. This is my first code. Give it a shot. And with Akikaze attached to it. So let's just move on. We try to save that one to our desktop. And being the normal L user we are, we don't know that Xs don't usually belong on Linux boxes. So what we basically do is we double-click this, and that's pretty much it. You don't see anything happening, and that's a great thing. You know, if you're in a Linux box and you tried this out, you're probably saying, oh, well, it didn't work. It did work. The only problem is you did not see anything. Let's start that from the console so you see what actually happens. We're going to have two mails in the BSD box, but I guess you can live with that. So this is the output you get if you try it on the console. It says, okay, this is my username. This is my home directory. I've got Firefox Thunderbird installed. I found that email address, and I'm sending him the email I just wrote down. So let's leave the Linux box, and as you saw, I did not modify that code one single bit. It was the exact same code I used on the Windows box, and we're going to drop into our third one and do the same thing on BSD now. Actually, this says FreeBSD. It's actually PCBSD, which is basically FreeBSD, but it was a lot nicer installer. And if you're building, like, a lot of boxes to be used about one minute each, you're going to really appreciate a nice installer. Okay, let's just get that one up to the network once more. Okay, there we go. Starting Thunderbird, this is the original version compiled for FreeBSD. This is not something like you do with a compatibility layer to Linux. This one was actually compiled to run on FreeBSD, and it works. So let's check our emails, and you see we've got two new messages. That's exactly what I told you, because the first time I just double-clicked, and the second time I ran it from the console. So both of them arrived here. Okay, the Beamers are back online. And you'll see that the message actually adapted, because now it says, Hi, I wrote this program using a new approach. What's happened? Well, the worm simply checks if you've got GCC installed, and if you do, it expects it to be an advanced programmer. This is pretty lame, but this is just to show that you can actually adapt to the skill level to make it more reasonable to believe that worm. So let's download it as well and try the same thing we just did on Linux. Yep. Okay, there we go. This time we're on KDE, so upon executing it, we'll also see... Oh, cool, this is cut off by the Beamer mostly. But you see that there's a process working. It's definitely done by now, but KDE tends to keep those running, because it expects something to restart up, but it doesn't. So that's FreeBSD. It's just a double-click, right? I did not do anything extraordinary to this, and I did truly not change it. So let's suspend that box as well and check back to Windows, and if I'm not completely out of luck, we should have one email by FreeBSD waiting in the Windows box, and this should just have done a round trip. This is also why you always would want to get yourself something like three gigabytes of RAM. Because when I bought this box, I thought, oh, cool, one gigabyte. I could never use more than that. But VMware sure showed me that I could. Okay. I'll just give him a new connection. I guess he screwed up again. Yeah, he got it. Okay, he got his IP. Let's start Thunderbird once more, and yeah, we got an email from FreeBSD. It made the round trip. It's actually that easy. And as I said earlier, you know, I wanted to show this on Vista because everyone's always going crazy for Vista, and they said they put in that much security stuff. Actually, to make this worm compatible to Vista, I had to add exactly one line of code. So that was not a really tough job. It was a tough thing to do. Okay, so back to the main presentation. So I guess you're all convinced that this actually works now. Let's just take a quick look at the limitations. Of course, this technique rocks, but it has flaws, of course. And both the concept of multi-platform malware has some serious problems as well as using runtime frameworks to doing it. And even though those can be avoided, you should know about them if you want to try stuff like this out. So let's take a look at multi-platform malware in the first place. First and most importantly, it still needs to be built for every single system that you want it to work on. As you saw, I'm using a lot of if-else clauses, checking out the systems version, because it's still not possible, at least not for me, to build a worm that will actually run on any system without it. Without any adoption. Next, it will get really nasty once you start jumping processing architectures, because runtime frameworks, even though they are great and even though they tell you, oh, this is going to work anywhere, they tend to, you know, have problems if you jump from a Spark to an x86. And of course, it's just as detectable by antivirus as any other malware. So if you want polymorphism in multi-platform malware, you'll have to do it yourself. And actually, some people are doing that. I saw some viral exchange comments from tech groups just the other week who built a worm in C-sharp as well to also attack Thunderbird. And actually, what they did was they made it jump in between various Windows versions, but, you know, five more lines of code, it would have done Linux. So in the underground of viral exchange, this is already building up. And they know how to do polymorphism and metamorphism, of course. At least they hope so. And process runtime frameworks are, first of all, they need to be installed. As you've seen, you know, that's not a very great issue. They usually are installed. You may need to invoke them manually, but that's also not that big of an issue. The real problem is intermediate languages are extremely easy to reverse engineer. You can basically get the original code back. So it won't take very long to find out what that program does. And also, if you're running an antivirus scanner on your system that does generic checking and that works with .NET framework code and community-mediated languages, it will basically be able to scan through the entire content and just tell you, oh, you know, that's not really nice. It's accessing your mail client. Okay, so to sum things up a little, and we'll have a discussion afterwards because I think that the real thing we need around here is some common sense because that hasn't happened yet. But first, you know, as you've seen, this stuff is real. This is not just some theoretical idea you can actually create it. It actually works and will be here in a couple of months or years. But you can be sure that people will not stop missing out attacking Linux boxes on the way because, you know, Linux is becoming increasingly more popular. So also as malware writers for commercial interests start to look at it and start, oh, well, couldn't we grab, like, all the Linux boxes as well for just 5% more investments? And yeah, they can because all they have to do is write multi-platform. So this will actually have the potential to change the way we look at computer security because currently you consider networks secure, but as I've showed you before, it's absolutely no problem to just sync that worm or whatever you've written onto a Pocket PC. Pocket PCs support the .NET framework, folks. The Xbox 360 natively executes community-mediated languages, so you can basically jump anywhere you want and attack those networks locally or using the wireless network or using your Bluetooth connection. And actually, no one's yet prepared for that. We all expect, you know, oh, that network is not online. It's not connected to the Internet. It's got to be secure. But as soon as your employees start carrying in their own worms and viruses on their PDAs and those PDAs start attacking your Bluetooth clients for some stack overflow you never fixed because you thought, oh, we got physical controls at the entry, yeah, that's going to be a serious problem. Okay. So anyone who has any questions, remarks, even if you want to call me an idiot, just grab a mic. I guess I got some in here. I hope for them. Or grab mine. Come up front and ask. Yeah, just one question. Wouldn't the code access security that's built into these, you know, IL systems actually defeat this if you set up, like, a machine config that, you know, would essentially sandbox any non-signed executable? Yeah, you could defeat it that way. That's correct, actually. But that's kind of hard to set up for the .NET framework because, you know, Microsoft always focuses on usability and they don't really care if you can secure it. You can definitely do that. It's just going to be a lot of work and not many people are going to do it. We might see that in enterprises where they can do it in the domain policy. It's safe for everyone. But if you see this, like, in corporate enterprises, they'll just do this by domain policy and you'll probably see that pretty common. Yeah, you know, that's actually what I hope that's going to happen because, you know, I'm releasing this to everyone and I'm pretty sure that we have people from both sides of the ring in this room. We have white hats, we have black hats, we have security guys, we have sysadmins. So, yeah, prepare your networks. Do something like you just said. Try to defend yourself because otherwise you'll run into a lot of trouble later. Come on, I don't believe you that no one else in here has not got any other questions. OS X support. I'm going to get that to work. It might work already. The problem is I don't have a Mac at home. But as soon as I get my hands on one of those, you can be sure that it will run on OS X. And, basically, OS X supports mono or the other way around. So there should be no problem whatsoever. It's basically a UNIX. What about the Silverlight? The NTR, have you tried that? No, I have never tried doing this on Silverlight before. I've been asked this a lot of times before. But, yeah, that might actually be done later on. Or if anyone wants to just get the source code and do that, yeah, feel free to drop me a line. Yeah? So, actually, just one thing. I just wanted to actually add a comment on that one. I've done a huge amount of research on .NET Framework, right? And the Sandbox stuff actually doesn't work. Well, it actually works. I've been arguing with Microsoft for three years that they should put everybody to use Codec Security by default. And both .NET and Java are sleeping on their wheels. Because the problem you have here, right, it's not really .NET and malware, right? The problem you have here is user-aligned isolation. The reality is there's no one OS out there who's able safely to execute malicious code. So what you've just shown here is I can take advantage of the .NET Framework, you know, like standard, like you've got Mono, you know, and there's all that, to write something which might be easier than if I had to write each individual one. But the reality is that the problem here is user-aligned security. And I wish that we actually had much more powerful demos than the one, you know, you've done here. And I'm actually probably going to... I'm probably going to do much more on that one. Because, you know, we can do way much more on that one. You know, the problem here is full trust. The problem is you're running with full trust with no isolation. Mono has no support for that, right? .NET has support, but nobody uses it. So the stuff I've been doing with .NET Framework is like patching to CLR, you know, putting, you know, rootkit kind of behavior on .NET Frameworks, which takes this to the next level. So, you know, this is pretty cool because it shows you that, you know, you can actually write malware, or examples of malware that will run on multiple platforms. And, um, yeah. . They put all this security into .NET, and then pretty much universally everyone just wanted to know how to turn it off. It's all my fault. Well, yeah, but I mean, well, not entirely. Like, if you were to run any executable off a network resource, it would actually get turned back on. And most people actually wanted to turn it back off, and so... So it's the same problem that you've got with Java, right? And now Java's great because you've got Java Web Start, which is like, do you want me to own you? Yes. And you go, boo! Right? And Microsoft has the click ones, which is, do you want me to own you? And you get this full trust. So, yeah, I definitely think that, you know, we need to bring something next year that, you know, is really going to take this to the next level. But, you know, very, very cool stuff. Yeah, feel free to contact me. Anyone else wants to participate in this? You know, I'm up for whatever. As long as we can still GPL the code and your company does not stop you from doing so, write me a line, and we'll put something together. Yeah? I just want to do... Sorry. I just want to do a very cheap plug-in for OWASP, right? It's an open web application security project, which I run the .NET part of it. If you guys are interested in this, I actually want to do a lot of this stuff over there, right? So, actually, I want to invite you, because it's GPL, so actually I can bring that. OWASP is all open source, right? So, you know, we should move this stuff over there. Okay. Any way around, as long as we get some common sense. Because, as I said earlier, if we don't act now, we'll simply be overrun as soon as they actually start deploying those things. Um... Yeah, that worm won't hurt you at all. But, actually, just add one more line saying, format C or RMA or RF slash, and your box is done for. So, um, I have a pocket PC phone, and this scares the hell out of me. It has Wi-Fi, Bluetooth, and EVDO. Right now, it's only for Thunderbird. Could it be morphed into also doing, like, Outlook and annihilating everything? Um, if you got the .NET running on that pocket PC, which I don't know, it's dependent on version, yes. Definitely. It could. It could basically infect you from wherever you are. You check your e-mails on Outlook on your pocket PC, and, yeah, there's no problem running one of those things. Okay. Okay. Okay, so there don't seem to be any further questions, or if you got one, raise your hand now. Good. Okay, so then that's pretty much it. Thanks for coming in here, and... We've got to keep this one up.