Welcome. This is physical memory forensics for files and cache. I'm Justin Murdock and to my right is Jamie Butler. Just a bit of a background information. Jamie Butler is the director of research and development at Mandiant. He's focused mainly on host analysis and operating systems research. I'm a computer science major at the Rochester Institute of Technology. But I'm currently on co-op at Mandiant working on their enterprise product as a software developer. So we're going to speak today about physical memory forensics. And this is kind of a layout of the talk. First we're going to go over traditional forensic methods. Kind of a background information. And then specifically move on to memory forensics. So I'm going to talk about memory forensics. And given that background we're going to speak about the issues that are in existing tools right now. So a lot of them are missing important information and often misattributing data to executables. So most memory forensics also deals with utilizing files. So we're going to speak about the memory mapped files. Reconstituting binaries and data files. And specifically the role that cache plays in this process. Then we're going to talk about possible applications of our new techniques. And show you guys a couple of demos. And then we're going to speak about our new tool that we're going to be releasing pretty soon that uses these new techniques. And speak about rapid memory forensics. So let's wrap up with just some further work that needs to be done in the area. So traditional forensics is kind of a broad overview. A host has two large sources of information for forensics. So the disk and memory. And lately memory has become a great way to triage a host. Say in a forensics investigation. So the reasons for that is because memory has so much more capacity in our hands right now. There are a lot of hard drives that are working in hard drive space. And memory can really help you out to speed up what you're looking for, it's relatively small comparatively so you can scan the whole space pretty quickly. Also, for intruders to get their code running on a system, they have to load it into memory. And in almost all cases out there, they aren't covering their tracks, they aren't cloaking their memory footprint because that's really just too much work in the most case. So also, many of the artifacts that the kernel needs to load the program into memory, we can use to gain a lot more information about the executable. So specifically for memory forensics, memory is divided really into two basic sections, user land and kernel memory. So the first one is going to focus on user land memory. Again, because in most attacks, most intrusions, they're focusing on user land memory. It's easier to get execution and it's more resilient to coding errors. Basically, if you're developing this attack, then if you've got a couple of bugs in your program, all of a sudden you have to crash the system because it's running in the kernel. So it's going to be a little bit of a challenge. And it becomes very costly to develop these kind of attacks. So memory forensics traditionally focuses on recovering all the binaries out of the memory. So all the executables, DLLs, this is one of the main focuses of any investigation. And most of these tools rely on virtual address descriptors or VADs. These are the ones that are used to describe the processes address space in memory. And they make up, they're made up of these objects. So as you can see, it's got a pointer to left and right child. It's usually in a VAD, in a tree structure. And each VAD also contains the starting address and the size of the memory along with a pointer to the control area. So here's a representation of a typical VAD tree. You can see it starts with a VAD root. And just each one of those VADs contains information about the virtual addresses of the process. So traditionally, you would scan physical memory for an E process block. And that kind of lets you know that there's an E process block. And that kind of lets you know that there's a process at that location. From there, you get the directory table base or DDB in the E process. And this will help you translate from virtual to physical addresses. From there, you locate the root of the VAD tree. And just kind of step through the tree, translating the virtual addresses to physical. And you can see that the VAD tree is a very easy to use. Usually start with the starting address, take the size and just grab all the data in between there. Some other tools also utilize information about the PE headers to reconstruct the executable with their knowledge about the different sections inside. The ultimate approach is to just use the DDB to try and get the state of the data on translate basically brute force the whole address space. And it kind of just starts at a beginning address and goes all the way through to the end. And this has its limitations, really. On a 4 or on a 32-bit system, this pretty much works because you got an upper bound of about like 4 gigabytes. But on 64-bit, the size can just be enormous. And this also leads to some misattribution of the data. Because the virtual addresses could translate globally not particularly for that process. And this kind of leads us to problems that are in existing tools right now being used. So with that, I will I'm going to hand it off to Jamie Butler. So, as Justin mentioned, the traditional approach in the current memory forensic tools is to really take a virtual address, its base and a size, you know, even if that virtual start is zero and size is four gig, you're going to brute force across the whole thing and you're going to do the translation in the context of the process that you're trying to analyze. So, every process, as the previous slide showed, has a directory table base and that is used for the virtual to physical translation and that should tell you what's in the process context. Well, what we found in our research is that there's a lot of data that's actually missing if you do this. For instance, the first thing that we encountered is when we're trying to reconstruct a process, we're trying to reconstruct a process that's in the process. Obviously, like, the attacker is usually injecting code, you know, in the form of an injected DLL or whatever into the process address space. So, in order to analyze that and to detect it, we need to be able to translate the code for that DLL. Well, the operating system, the Windows loader, is going to load the DLL as a memory map file. So, memory map files are stored in a special way because basically the OS doesn't want to waste data. So, it's going to be able to get data out of the space. And what do we mean by that? Well, on a Windows host, you have, let's say, a user mode process or every user mode process most likely has the DLL, NTDLL.DLL mapped into its address space. So, if the OS did not use memory map files or these shared files across the address spaces of all processes, then that DLL would have to be replicated to the DLL for every single process that loads. So, obviously, that would waste a lot of physical memory. And this design was thought up, you know, back in the probably Windows 16-bit versions when there wasn't a lot of memory to waste in the first place. Plus, it's also just more efficient in today's world. You know, we're greener. So, let's not waste memory. So, these memory map files are shared across all processes, even if they're only used once, right? So, you know, it's a lot of work. Because of this, they may be in your process address space, but the address that they represent may not translate in your page table entries. So, I won't go into the depths of how you do virtual to physical translation. If you want to learn more about that, there's slides on the Internet and so forth. You can Google those. But basically, the page table entry is the very last table structure you'll find when you do a virtual to physical address translation. When you go to read it to find out where the physical page is, lo and behold, it's all zeroes. So, that doesn't tell you anything. That means typically we just had to ignore that region because we couldn't get access to it. And here's an example. I've taken the Honey Net project challenge three. If you're familiar with that, that was a memory image. Came out about a year and a half ago. I translated a lot of the information that was in the file. I acquired these files out of the memory image. And there I just chose file at random. And you see the file size there in the first column. And then the bytes acquired with the traditional approach. So, that's using the VADs. That's a starting virtual address, ending virtual address, and using the DTB of the process to acquire it. And that's how much of the file that we could acquire. And then I used a different technique that we're going to cover in the last half of this presentation. Which was using what's called file objects, which represent the memory map files. So, for instance, with, you know, the ace.dll, we got 70% of it using the traditional method. But we were able to increase that to 93% using this more accurate method of the file objects. Also, we'll talk about in a moment, like, what you can do, how this number may go up to actually 100% if you're running on a live system and not a memory image. Because you have access to the disk. The second problem that we ran into is basically, when you're doing, we come from a background where we build products and tools to do incident response. So, in that context, and even in probably some of your more traditional forensic investigations. Trying to determine exactly which process is infected is important. So, knowing the whole host is infected is perhaps interesting. But then the next question your boss is going to ask you is, well, which process, or which, how do you know what artifacts within that host are infected? Because they may lead to things like user accounts have been compromised. Also, processes have a creation time to tell you, perhaps, around the time of the infection, if they were creating new processes and so forth. So, attribution is important to us. And one of the issues with the traditional approaches, especially with the brute forcing method, is if you brute force over the global address space, as Justin alluded to, there's areas of the address space that are global for every process. So, basically, when you cross from one address space to another, you have a virtual address in user land and you go into virtual addresses there. In kernel land, most kernel addresses will translate appropriately in every context address space. And the reason this works and everything, you can read Mark Rusanovich's Windows internal books and take those to bed at night and it will keep you warm. But, basically, if you do that over a couple of years, you'll figure out that the kernel address space is a virtual address. So, kernel addresses appear global because Microsoft wanted to save entries within the cache, within the actual cache that's on the chip, you know, like your L2 cache. They wanted to save cache lines so they have these global addresses and save time on the speed transfer context switching so they didn't have to flush the cache every time and so on and so forth. So, kernel address is basically global. Here is a graphic that someone else stole from the Windows internals books that we stole from the person off the internet. Because I don't like to draw. So, this is a virtual representation of a 32-bit system. And, basically, all I want to show here is you'll see there at C1000000 is the beginning of system 1.0. So, this is the beginning of system 1.0. And, this is the beginning of system cache. So, that is a cache that the operating system is keeping that's different from your L1, L2 cache that the CPU is keeping. This cache is, you know, going to be used for things like file I.O. So, if you request to read a page of a file, the operating system is going to assume that you're probably actually going to want to read more than one page. So, it's going to read ahead. And, that read ahead is going to cache. For you, it's going to view. And, it's assuming locality of reference. So, all your future reads statistically should be relatively close to where you're currently reading in typical programs. So, those go into the cache of that virtual address. Well, if we acquire memory or acquire a process and we're brute forcing, basically anything in the cache will appear to be a virtual address. So, it's going to be in every single process. So, that's really bad for attribution. So, let's talk about ways to make this process better. So, we're going to utilize file objects. And, file objects can represent a number of different things. They can be, for instance, memory map files that we kind of touched on which would include DLLs and EXEs. They also include data files, which can be mapped into memory but are in the cache in different places, like a word or PDF or registry hive. Web history. We've seen restore points. You know, Windows XP, those nice restore points. So, we can actually see after the attacker attacked, we could see what was happening on the system, what they installed because of the restore points. So, the VADs are still interesting to us, but we're going to utilize a little bit more data that they make available. So, VADs describe a range of memory that the file occupies. And, if it's a memory map file or if it's a file object represents that region of memory, then the VAD will have what's called a control area. And, if you're very familiar with Windybug, you'll be used to these structures that we're talking about. Control area would have a pointer back to the file object. So, we're finding VADs in memory because we found the eProcess block. Once we find the VAD, we're trying to parse it to see its control area. Once we get to the control area, we're parsing it to find its file object. Now, file objects contain some useful data, including the device name. That would be things like hard disk, volume one, as you see in this example. You could then translate that for the OS in question or for your host. That's probably C colon or whatnot. Also, it will contain the file name itself. And, then the thing that we're going to talk about today is this table of three pointers, depending on where the file or where the file data is actually backed up. So, the three things we're going to look at are image section objects. Data section objects and shared cache map. Here's a graphical representation of a file object. It contains a pointer to that section. It contains a pointer called section object pointers. And, section object pointers only has three members. And, Windybug will tell you all this. Or, Rosanovich might as well. So, image section objects represent, are very interesting to us in forensics and IR because they represent binaries that are loaded in memory. So, if binaries load up, the Windows loader is going to create a section object for that binary. But, this pointer, this image section object thing is not actually a pointer to a structure called image section object. That doesn't exist. It's actually a pointer to a control area. So, yet another control area. So, that control area will have a pointer to what's called a segment object. This segment object can be used for sanity checking. Like, if you were just scanning through memory, you may find some artifacts that are no longer in use that aren't actually usable. If you try to parse them in certain code, you probably crash. So, we'll use this for sanity checking. That segment object will contain a segment size and the total number of PTEs represented by that segment. So, we'll talk about PTEs in a moment. But, basically, for a sanity check, you can compare the segment size equal, should be equal to the total number of PTEs times the page size. Page size in Windows, for the most part, you can just, there is a small alteration on page size. But, for the most part, you can assume that that's 4K or 1,000 hex. The thing that you're going to want to be concerned about is the size of that segment. So, the first thing, if you're trying to dig out the binary data from memory, would be the subsections. So, subsections represent the individual pieces of a file. How many here has ever loaded up, like, looked at a PE, a portable executable in PE view or Lord PE or some other viewer? Basically, what you'll see in there is that the PE file is broken into a bunch of sections. So, there's, like, a couple of sections. A code section is usually called .txt. There's a data section. There's a resource section. There's different things like that, a relocation section. Well, all these sections have a relative virtual offset, a relative virtual address within the PE, and then they also have permissions. So, once this thing loads into memory, what should the permissions on that section be? Well, since each section within the PE file probably has different permissions, then there has to be a subsection object to represent every single section within the PE. We couldn't find a pointer that would show us where the subsection object was. So, with some, if you just stare at the hex for long enough, the math starts to come out at you. Basically, the subsections all seem to line up at the very end of the subsection object. So, if you just stare at the hex for long enough, the math starts to come out at the very end of the control area that we just found. So, although the segment object was way away in virtual memory, the subsection object was immediately following the control area. So, that was nice for us. Basically, for every version of the OS, you can just determine how large the control area is, add that to where the base of the control area was, and then cast that as a subsection object. So, these subsections, they'll contain an array of prototype PTEs. This is the crux of the data that we have to parse in order to get the binary out of memory. So, the prototype PTEs contain the physical address of each memory page in physical memory, right? So, we'll have a graphic in a moment. It may be a little bit more useful for you but I'm not sure. Basically, though, if the prototype PTE contains the virtual address of that subsection object that it's within, then that means all bets are off. Basically, this page of memory is on disk. And when I say on disk, I don't mean, you know, probably you've heard arguments back and forth about, hey, can you acquire the page from this? But that's not the case. What you're really doing is you're file and use that for memory forensics and stuff too. I personally believe you can't. You can only use the page file at runtime. But even if you were to be able to use offline page files and marry those up with offline memory images, even if that were possible, you won't be able to access the data that's represented here because memory mapped files mean exactly that. They're memory mapped. So if they're paged to disk, they don't go to the page file. They are represented by themselves on disk. So if you want to get that data, you have to go to the location of NTDLL.dll on disk for sector 15 or whatnot and read the data. So the page file is not useful in this case. Also, something else that's within this subsection object will be the number of full sectors and the number of prototype PTEs for the subsection. So again, going back to disk, when we're looking at the PE on disk, each the disk sectors are 512 bytes, right? And the page alignment in the Windows OS is 4K. So if you're looking at the PE on disk, it's 4K. So there's a little bit of a fix up that you have to do. So you have to take into account the total number of PTEs that this subsection represents, but also the total number of sectors, full sectors that it represents. And it contains these numbers in the structure. So you use that in order to parse it correctly. Because if you were just reading PTEs blindly, you would get more data than is actually within that subsection, and the file in memory wouldn't line up like it does on disk. So we're going to use those full sectors to our advantage. And basically, by keeping track of where we are when we walk these sectors in memory, you know, 512 bytes at a time, we will know the offset that we need to read if the file is paged to disk. So using that, we can get all the data if we're running on a live system. Another thing of interest is there may be, there's probably definitely more than one subsection, especially if it's a PE file. So there will be a pointer to the next subsection, and you basically just chase the chain, right? So this is just a nice graphic of what that looks like conceptually in memory. So we're going to do that with our array for each subsection. Now data section objects, they represent data files in memory. I'm not sure what types of files load themselves as a data section object. I know that PDFs don't, but Word documents do. So if you're loading up Microsoft Office documents, you're going to see a lot of them. They're going to look like, in memory, the data section object. That structure actually is exactly like an image section object, besides a few Sandy checks don't work in this case. But basically, since they're the same, you know, a data section object and an image section object, they point to the same structures, we can surmise that the data access for a Word document would be just as fast as the access, as any data access or code access in this case for an image section object. So Word documents are going to perform as well as EXEs, right? Because their structures are the same. It's a shortcut of where to get the data. It's not relying upon the cache, which is somewhat subjective. The OS defines how to load the cache and when, and when to flush it. Based upon utilization on the system and the number of resources available. Well, if you have a data section object, that's not the case. All your structures are right there. You have quick, immediate access to the data. So I thought that was kind of cool. Maybe Adobe should change how they load their files. So we've covered image section objects, and we've covered data section objects. The last thing we'll touch on here is the shared cache map. So we're going to talk about the shared cache map. So the shared cache map is used to represent the file data in the cache. So if all other bets are off, you know, if you don't have an image section object, you don't have a data section object, then you should go parse the cache structures in order to get as much data as is available. Now, again, that may be nothing, or it may be more or less the whole file. It really all depends. So in the shared cache map, we're going to talk about how we can use the shared cache map structure. This structure is actually defined by Microsoft and in Windybug. It contains the file size, the amount of valid data within the file, within the cache. The valid data should never be larger than the file cache, or the file size, because if that happens, then you're actually looking at uninitialized data. Also, it contains an array of data. So if you're looking at a set of pointers to VACBs, so VACBs are virtual address control blocks. This is the structures that define where the data is in virtual memory in the cache. So if the file is one megabyte or less, then Microsoft decides to put in some performance improvements by embedding an array of four. So if you're looking at a file that's one megabyte or less, then Microsoft decides to put in four VACBs right into the shared cache map itself. So no reason to chase anything. They've just embedded it right there, which works really nice for them, because often the things in the cache are less than a meg. Right? You're probably going to have a lot of web images and so forth that are in the cache. They're going to be less than meg in size. So let's keep it simple. Each VACB, I should mention, represents 256 kilobytes. That's a lot of data. So if you're looking at a file that's one megabyte or less, then Microsoft decides to put in four VACBs. So if you have four of those, obviously you can represent a one meg file. If it's larger than a meg, though, we have to go to an array of pointers. So what that looks like is it's a nested structure. It can, if it's one level deep, basically there's one array that points to the VACBs themselves. It can represent 32 megabytes if it's one level deep. I think, I forget the number. I believe each array has 128 entries. So if you read Mark and David Solomon's book on Windows internals, chapter 13, I believe, in the newest version, it's all about the cache. And they'll tell you how to calculate the depth of this tree. So arrays of arrays of arrays of arrays. It gets really fun. I recommend it. It's a lot of recursion. But anyway, the largest file that you can have on Windows OS is 2 to the 63rd power. So that's the largest you can have. And because of the number of entries in each array and so on and so forth, and the number of blocks that they can represent, your tree can be no deeper than seven levels deep. Here's what the shared cache map would look like, kind of conceptually. This, obviously, the bottom is just two levels deep. And if we parse this, we'll get all the file data that is present in the cache. So let's talk about some of the applications of this technology. Well, in the past, most of the tools, I believe all the tools that are out there freely available, we'll parse the VAD tree in order to do process reconstitution. But we probably, since we care about some data that's in the file system or in the file cache, we should probably also parse the handle table. So we're going to parse the handle table. We're going to parse the VAD tree. And then once we get there, we're going to parse the file objects that we find. Now, the Windows Registry hives are not the only things that we're going to parse. We're going to parse the VAD tree. This is a nice example of how you can use this. If you would analyze the system process, basically, it has a handle to every registry hive that's in memory. So you can get all the data there. So if you would, let's say you're going to acquire this to your local hard drive or to your system analyst station so that you can do parsing with your traditional registry forensic tools, you would want to acquire the system process out of memory. Once you have that, it will literally write the individual file names to the local hard drive with the content of those hives. Also, PDFs, as I mentioned, are found in the cache. We haven't had a ton of time to research all the things we can get out of the cache. If you're on a Windows XP system, you don't have the time to do any of the research. If you're on a You can get the restore points because it has a handle to a file that is basically keeping the data for the restore points, and so you can get that out of memory in some cases. But the caveat for the cache is it's kind of all bets are off. It's hit or miss rather than being useful. The way we're going to use this most likely in some of the free tools that we're releasing are to do data reduction. So we have hashing. We meet up on the AV industry all the time about hashing and how it sucks and that's nice and I've done it myself. However hashing can also be useful. We have over two decades of data. So let's start to use it to our advantage to make the problem simpler. Memory forensics is all about data reduction. So we went from a 250 gigabyte hard drive. Now we're down to a four gigabyte memory image probably. Now in that memory image we're going to find roughly on the Windows 7 machine I looked at we're going to find about over 4,000 files. In memory, right? If you don't take into account eliminating duplicates. So everything's going to have a handle or a VAD to NTDLL. Everything's going to have a VAD to kernel32.dll and so on and so forth. So now we went from 250 gigabyte that we care about maybe at first down to 4,000 files. And then we do a data reduction to get rid of redundancy. And now we're down to about 50 gigabyte. And that's 1,500 files. Well, now the problem's starting to get a little bit more manageable in finite time. So if we could use white listing and hashing to eliminate the other components of the operating system that we don't care about, that number would get a lot more manageable. So there's been some efforts in the past, not my research but others. Who've done this? We've done fuzzy hashing and different things like that in order to try to make the hash that's found in memory match the hash on disk. The problem with these fuzzy hashing techniques is we don't have the data going back years because they just take subsections of files and most white listing technologies and so forth use the full hash of the file. So, the comparison is difficult to make and it may have benefit in your organization like if you had a white list, I mean a gold master that you were deploying across the enterprise, you may be able to use data reduction with fuzzy hashing. However, we found that most people don't have this and so we went to the section image object and we parsed it like on a lav system, which means we can get access to the file. We can get access to the file system as well if there's a page that's not there in memory and by utilizing this data, we can make the hash that we find in memory match the hash that's on disk. So we call this memd5. It's a cute name of our other co-workers came up with. That will be released in the free tool that I'll talk about in a moment. Another application for this. It's called Memd5. Better process reconstitution or binary acquisition, what have you, is that there's a lot of tools out there that are starting to use, you know, like byte patterns of malware and things like that. There was a tool developed by Zynamics, which was acquired by Google, unfortunately, and they killed the project or took it internally, can't buy it anymore, but it's called VX class and it's kind of cool. I liked it enough that I convinced my company to buy it. But VX class would generate byte pattern signatures for classes of malware. So families of malware. So what the VX class leveraged was that if you had a malware sample or a lot of malware samples, they were reusing code. And if you were doing IR, you probably didn't want to focus, you know, all your ‑‑ you have a limited amount of resources. So you probably don't have a lot of resources. You don't have a large malware team, whatnot. You don't want to focus all your efforts looking at the last 50 variations of Zeus bot. You just want to throw it into some automated system and have it spit out, hey, this is Zeus bot, right? So that's what they did with their VX class. And then it would generate ‑‑ they had someone else join the company and one of his PhD ideas, I think, were around generating the commonality between all these things. In the byte pattern. So you have 100 samples, they all say I'm Zeus, well, let's generate one pattern that matches for all 100 samples. So we could use this to search memory and it was fine. But we got some false negatives. Well by utilizing this ‑‑ the image section objects and so forth, we no longer get the false negatives. So it's more useful to us. Also, how many people have ever used this? How many people have ever used Clam AV? So the large number here, they've heard of it, they used it. Well Clam AV also has this concept of a byte signature match for malware. So I think in the last time I downloaded Clam AV, they released 40 signatures that are what they classify as byte pattern. So I didn't look at what the database is and what those signatures represent, but there are 40 signatures in there that now we'll be able to use in memory. So we're trying to use the tools that we already have, apply them in a triage scenario. So we have a few minutes left here. I'm just going to cover some demos quickly. I apologize, my laptop died like right before I came to Black Hat. So I had a fast machine, now I have a really crappy one. So anyway. I won't run the acquisitions on this hard drive because it would take about six minutes per sample. But this, if you have memorized, you could do this at home as soon as we release the new tool, the new version. Here we're going to run a process of acquisition, pull the binaries out of memory, and then we're going to look at what we got. So the first example was the registry hive. If I acquire the system process, I have a bunch of data here, along with the sizes. So we're pulling out individual files. And we're giving them a name. It's encoded so that we can write it all to the local file. So you'll see the encoding of C colon slash, things like that. If we couldn't determine, like, it didn't have a name, it didn't have a control area associated with it, we'll just give you the range that we found it in and so forth. But if it did have a name, we'll write that out. You know. There's some files we couldn't find any data. We could find a file object. We could find its name. But it just didn't have any data that we could carve out of memory. So those will be zero in size. But what I want to show you is loading this into a registry viewer, because, again, this is a system process. So we're going to load it up into registry viewer. And since this was coming from the cache. There may be some pages that are not there, right? But if we encounter one of those in the cache example, we'll just write a page basically with no ops. Because we need to keep linear, the linear order of things in the file so that it can be parsed by tools like this is access status registry viewer. If you see here, you know, I can drill down into things. I can see when the key was created. So I can do all my traditional forensics on it. There's no guesswork. There's no carving hives out of memory and guessing where they are and stuff like that. It just works. Another thing I'll show you is here I'm going to have acquired basically the so from the Honey Nut Challenge. The Honey Nut Challenge 3. There was a memory image that had, it was basically infection through the web. I think it was Zeus. And when I acquired the Firefox process, I was able to get the web cache information, the URL history information. So I load this up into one of our free tools called Web Historian. And I'm going to go ahead and do that. And there wasn't much data here because they were just demonstrating an attack and seeing what you could find. But this last entry here contains the exploit codes, pdf.php. So I can see the URL. I can see the access time, like when the user clicked to go there and stuff like that. Because it's all in the web history log that Firefox is keeping. And I just acquired Firefox out of memory. So I can use my traditional tools. Okay. So I'm going to go ahead and do that. Also I acquired the Microsoft Word process out of memory. And this was a memory image that asked my wife if she would load up a Word document on a sender. And then take an image of her laptop. It was around a Windows. It was a Vista. Here you see we were able to acquire the Word template and an actual Word document. So if we try to open that Word document, it's going to complain. This was the Word document was written in the Word 2010. This is Microsoft Office 2007. It's going to complain about the content. It's a little corrupted. It's probably also dealing because we're coming from cache. We're just going to go ahead and say okay. It's going to say do you really trust this. We're going to say yes. And here's the Word document for this presentation. So there's a 13-page white paper. . And it is all there. So I'm not really sure. if this has any applicability to IR and forensics, which is my day job, but I thought it was kind of sexy cool, so what the hell. I guess for all you e-discovery types, you might like it. Then the last thing I'll show you before I go is this is the UI for our memory analysis tool that is also free. The UI is open source. It's called audit viewer. We're going to be releasing a new version where you can say filter out the known MD5s. So if it's going to do the MD5, compare that to a known set. Here if you had something like bit 9, you could whitelist, right? You could utilize their service and this will just fire a bunch of crap at bit 9. I don't know if that's legal. I don't know if that's legal. I don't know if that's legal, but if you have a password and a user account, I'm sure they'll probably let you do it. So we're going to say cancel because we don't have a bit 9 account for today's demonstration. It's still running. Okay. Finished. You could also use the NSLR from NIST and stuff to do your known whitelist. And then we're going to say filter on the new system. So we're going to say filter on trust. And there we've reduced, oh, by the way, this is every single process on the system because I double clicked the root node here. So this is every process. These are the things I have to care about now as an incident responder triaging this host. So we went from 1500 down to, I don't know, maybe 30 or something like that. So it's a big time saver. And that's about the end of my time. There are a few caveats where places we need to continue the work. Basically dealing with the tool will be available in the coming weeks. You can check the blog. These slides will be on the web. The white paper will be on the black hat site. But dealing with ASLR because it changes the address space a little bit when programs load. But we have all the data we need to actually reverse that. So we're going to reverse that trend. So we can fix it up and just run the fixed up data through our hash and get the same hash values. Also there's something called the security directory that's on some files. It's the certificate info. And that won't be present. There are no artifacts representing that on Windows 7 and Windows 2008. Previous versions there were the artifacts. So, again, we have the PE header in memory. So we can detect that that exists. We can go to the disk. We can run it through our hash. And memd5 will work again. So that's really the end. I'll be available at the Q&A room after this. Thank you.