<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>M-unition &#187; Memoryze</title>
	<atom:link href="http://blog.mandiant.com/archives/tag/memoryze/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.mandiant.com</link>
	<description>The Ammunition You Need to Find Evil and Solve Crime</description>
	<lastBuildDate>Wed, 21 Jul 2010 23:16:51 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>New Memoryze, Audit Viewer, and Training</title>
		<link>http://blog.mandiant.com/archives/994</link>
		<comments>http://blog.mandiant.com/archives/994#comments</comments>
		<pubDate>Sun, 06 Jun 2010 22:17:14 +0000</pubDate>
		<dc:creator>Jamie Butler</dc:creator>
				<category><![CDATA[Conferences]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Products]]></category>
		<category><![CDATA[Advanced Memory Forensics in Incident Response]]></category>
		<category><![CDATA[Audit Viewer]]></category>
		<category><![CDATA[Black Hat]]></category>
		<category><![CDATA[memory forensics]]></category>
		<category><![CDATA[Memoryze]]></category>
		<category><![CDATA[MIR 1.4]]></category>
		<category><![CDATA[Training]]></category>

		<guid isPermaLink="false">http://blog.mandiant.com/?p=994</guid>
		<description><![CDATA[For those who are not on our mailing list for Memoryze or Audit Viewer, we released a new version a little over a week ago. The new version of the software includes all of the memory analysis features that are available in the newly released MANDIANT Intelligent Response (MIR) 1.4.&#160;
So what is included in Memoryze [...]]]></description>
			<content:encoded><![CDATA[<p>For those who are not on our mailing list for <a href="http://www.mandiant.com/products/free_software/memoryze/">Memoryze</a> or <a href="http://www.mandiant.com/products/free_software/mandiant_audit_viewer/">Audit Viewer</a>, we released a new version a little over a week ago. The new version of the software includes all of the memory analysis features that are available in the newly released <a href="http://www.mandiant.com/products/core/intelligent_response">MANDIANT Intelligent Response (MIR) 1.4.</a><br />&nbsp;</p>
<p>So what is included in Memoryze and Audit Viewer 1.4? Well, here is the short of it.<br />&nbsp;</p>
<p><strong>Memoryze:</strong></p>
<ul>
<li>Support for Windows 2003 x64 SP2</li>
<li>Improved support of Vista SP1 and SP2 including port enumeration and a better installer</li>
<li>Enumeration of digital signatures for all loaded modules in a processes&#8217; address space, hooked and hooking drivers, and all drivers found by driver signature scans</li>
<li>Enumeration of MD5/SHA1/SHA256 hash on disk for all loaded modules in a process&#8217; address space and all drivers found by driver signature scans</li>
<li>Updated documentation</li>
<li>Single installer for 64-bit and 32-bit versions</li>
</ul>
<p>&nbsp;<br />
<strong>Audit Viewer:</strong></p>
<ul>
<li>Improvements to the Malware Rating Index (MRI)</li>
<li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Report visualization of MRI results</li>
<li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MRI rule editors that will allow users to graphically edit the MRI rule file</li>
<li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Handle Trust view to help identify suspicious handles</li>
<li>Ability to search results within a specific process</li>
<li>Multi-select with copy</li>
<li>Multi-select and export to a CSV file</li>
</ul>
<p>&nbsp;<br />
Those who attended the CanSecWest Training in March have already been enjoying many of these features in beta form for months, and we are committed to ensuring that those who attend the <a href="http://bit.ly/cn8Pca">Advanced Memory Forensics in Incident Response class</a> at <strong>Black Hat</strong> will get early access to the next version of Memorzye, which will support <strong>Windows 7 64-bit</strong>.<br />
&nbsp;<br />
As for the <a href="http://bit.ly/cn8Pca">Black Hat training</a>, there is a lot of <strong>new and updated content</strong> for 2010.</p>
<ul>
<li>Coverage of 64-bit operating systems</li>
<li>New section on malware covering different malware techniques and how they stand out in memory</li>
<li>Four new case studies ranging from real Advanced Persistent Threat (APT) incidents, to spear phishing attacks, and everything in between</li>
<li><strong>Student receive early access Memoryze and Audit Viewer for Windows 7 64-bit</strong></li>
<li>Students receive the only free tool to analyze Windows Vista</li>
<li>Students receive the only free tool to analyze Windows 2003 64-bit</li>
<li>Better data collection to help identify processes and drivers as malicious or not</li>
<li>Added the Malware Rating Index (MRI), which helps automatically identify many malware behaviors discussed in the class. Through a simple user interface, students learn how to write rules to identify malware in their own work environments. MRI then uses those rules to score processes as suspicious or not.</li>
</ul>
<p>&nbsp;<br />
I would like to thank James Long who pointed out an issue with the batch scripts* and Peter Villadsen who worked so hard to improve the build process and installation for Memoryze. Peter and I would also like to thank all our loyal users. We appreciate all your feedback, and we hope to see you in Las Vegas.<br />
<br />&nbsp;<br />
* When specifying an output directory from the command line with the batch scripts in Memoryze, the directory must already exist.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mandiant.com/archives/994/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Honeynet Project: Challenge 3 of the Forensic Challenge 2010</title>
		<link>http://blog.mandiant.com/archives/901</link>
		<comments>http://blog.mandiant.com/archives/901#comments</comments>
		<pubDate>Fri, 09 Apr 2010 19:39:06 +0000</pubDate>
		<dc:creator>Helena Brito</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Audit Viewer]]></category>
		<category><![CDATA[Forensic Challenge]]></category>
		<category><![CDATA[Honeynet Project]]></category>
		<category><![CDATA[Memory analysis]]></category>
		<category><![CDATA[Memoryze]]></category>
		<category><![CDATA[prizes]]></category>

		<guid isPermaLink="false">http://blog.mandiant.com/?p=901</guid>
		<description><![CDATA[The Honeynet Project has posted a forensic challenge centered around analyzing a memory image. The image represents the physical memory acquired from a host at a fictitious bank, which was the victim of an intruder. The Honeynet Project has come up with a series of questions that you must answer in order to solve the [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href="https://www.honeynet.org/">Honeynet Project</a> has posted a forensic challenge centered around analyzing a memory image. The image represents the physical memory acquired from a host at a fictitious bank, which was the victim of an intruder. The Honeynet Project has come up with a series of questions that you must answer in order to solve the case. While the challenge organizers will be doing all the judging, we would like to promote the cause by giving additional prizes to those who place in the top three and solve the challenge using <a href="http://www.mandiant.com/products/free_software/memoryze/">Memoryze</a> and <a href="http://www.mandiant.com/products/free_software/mandiant_audit_viewer/">Audit Viewer</a>.</p>
</p>
<p>The prizes MANDIANT will be offering to those that place in the top three are:</p>
<ol>
First Place:     $100 gift card to Best Buy<br />
Second Place: Backpack<br />
Third Place:    MANDIANT swag
</ol>
<p>In the event of a tie, we will divide the prize(s) equally.</p>
<p>The submission deadline is April 18th so act fast.<br />
<a href="https://www.honeynet.org/challenges/2010_3_banking_troubles">Banking Troubles</a></p>
<p><strong>Please do not send your submissions to MANDIANT. If you are a winner of the challenge, contact info at MANDIANT after the winners are announced. Peter Silberman and other MANDIANT employees may submit a solution; however, employees are not eligible for prizes. If a MANDIANT employee places in the top three of submissions, all prizes will be allocated to the remaining, non-employees to place in the top three.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mandiant.com/archives/901/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Memory Analysis on Windows 2003 64-bit and What&#8217;s Next</title>
		<link>http://blog.mandiant.com/archives/846</link>
		<comments>http://blog.mandiant.com/archives/846#comments</comments>
		<pubDate>Mon, 15 Mar 2010 20:47:51 +0000</pubDate>
		<dc:creator>Jamie Butler</dc:creator>
				<category><![CDATA[Conferences]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Audit Viewer]]></category>
		<category><![CDATA[Black Hat USA]]></category>
		<category><![CDATA[CanSecWest]]></category>
		<category><![CDATA[Malware Rating Index]]></category>
		<category><![CDATA[Memory analysis]]></category>
		<category><![CDATA[memory forensics]]></category>
		<category><![CDATA[Memoryze]]></category>
		<category><![CDATA[MRI]]></category>

		<guid isPermaLink="false">http://blog.mandiant.com/?p=846</guid>
		<description><![CDATA[
Peter and I have been busy planning for CanSecWest in a week. The course, Advanced Memory Forensics in Incident Response, is constantly evolving. It has been about a year and a half since Memoryze was released, and just over a year for Audit Viewer. Honestly, it seems a lot longer, but that is not a [...]]]></description>
			<content:encoded><![CDATA[<ul>
<p>Peter and I have been busy planning for <a href="http://cansecwest.com/dojomemory.html">CanSecWest</a> in a week. The course, <a href="http://cansecwest.com/dojomemory.html">Advanced Memory Forensics in Incident Response</a>, is constantly evolving. It has been about a year and a half since <a href="http://www.mandiant.com/products/free_software/memoryze">Memoryze</a> was released, and just over a year for <a href="http://www.mandiant.com/products/free_software/mandiant_audit_viewer">Audit Viewer</a>. Honestly, it seems a lot longer, but that is not a bad thing. This week my team will be handing over to QA Windows 2003 64-bit support. While that is in testing, Peter will be making improvements to Audit Viewer that you the user have recommended, and he will be verifying everything works correctly with the 64-bit output. <a href="http://www.mandiant.com/uploads/presentations/DoD_2010_PS.pdf">The Malware Rating Index (MRI)</a>, which is in Audit Viewer, really changes the case studies in the training. For some exercises, we have to turn MRI off because the malware becomes obvious if you know how to use the tool. I expect MRI will evolve a lot over the next six months as we think of news ways to visualize, sort, and search the data as well as identify new pieces of data to collect. If you are curious how visualization and sorting can help, check out how <a href="http://windowsir.blogspot.com/2009/12/investigating-breaches.html">Harlan Carvey</a> and <a href="http://thedigitalstandard.blogspot.com/2010/03/ram-analysis-part-2.html">Chris Pogue</a> use it.
</ul>
<ul>
<p>We have gotten a lot of great feedback from the user community, but what Windows operating system support or feature would you like see next? Yes, <a href="http://www.mandiant.com/index.php/products/core/intelligent_response">MANDIANT Intelligent Response</a> has a roadmap, but Memoryze allows us to play a little bit. It is really a labor of love. So let us know what you think. You can reach us at peter.silberman or james.butler plus company name.com. We currently support:</p>
<ol>
- Windows 2000 SP4<br />
- Windows XP SP2 and SP3<br />
- Windows Vista SP1 and SP2 (better installer coming in next release)<br />
- Windows 2003 SP1 and SP2<br />
- Windows 2003 SP2 64-bit (** next release **)
</ol>
</ul>
<ul>
<p>So if you cannot make the training at CanSecWest in a week, <a href="http://www.blackhat.com/html/bh-us-10/training/bh-us-10-training_jb-mf.html">Black Hat USA</a> has just opened their training schedule, and we will be there for the weekend and weekday offerings of Advanced Memory Forensics in Incident Response. I hope to see you soon. Keep your eyes open for official update releases of Memoryze/Audit Viewer and <a href="http://www.mandiant.com/presentations/fresh_prints_malware_behaving_badly/">Webinars/presentations</a>.</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.mandiant.com/archives/846/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Malware Behaving Badly: Preview</title>
		<link>http://blog.mandiant.com/archives/810</link>
		<comments>http://blog.mandiant.com/archives/810#comments</comments>
		<pubDate>Fri, 12 Feb 2010 16:29:11 +0000</pubDate>
		<dc:creator>Peter Silberman</dc:creator>
				<category><![CDATA[Conferences]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[APT]]></category>
		<category><![CDATA[Audit Viewer]]></category>
		<category><![CDATA[CanSecWest]]></category>
		<category><![CDATA[Fresh Prints Malware Behaving Badly]]></category>
		<category><![CDATA[Malware Behaving Badly]]></category>
		<category><![CDATA[Malware Rating Index]]></category>
		<category><![CDATA[Memoryze]]></category>
		<category><![CDATA[MRI]]></category>
		<category><![CDATA[webinar]]></category>

		<guid isPermaLink="false">http://blog.mandiant.com/?p=810</guid>
		<description><![CDATA[Hope everyone on the northern east coast is staying warm during snowpaclypse. Since I can’t go anywhere I figured now is the right time to write about an upcoming webinar I am giving with Michael Graven.
The webinar entitled Malware Behaving Badly is on Thursday, February 18, at 2:00 p.m. EST. The webinar title is a [...]]]></description>
			<content:encoded><![CDATA[<p>Hope everyone on the northern east coast is staying warm during snowpaclypse. Since I can’t go anywhere I figured now is the right time to write about an upcoming webinar I am giving with Michael Graven.</p>
<p>The webinar entitled<em> Malware Behaving Badly</em> is on Thursday, February 18, at 2:00 p.m. EST. The webinar title is a cute play on my DOD Cyber Crime (DC3) <a href="http://www.mandiant.com/uploads/presentations/DoD_2010_PS.pdf">talk </a>where I first introduced Malware Rating Index (MRI) into <a href="http://www.mandiant.com/products/research/mandiant_audit_viewer/">Audit Viewer</a> (which is available for download).</p>
<p>If you saw my DC3 talk or viewed the slides and are wondering, “hey is this the same talk?” the answer is&#8230;well a little bit. The webinar will build off of a lot of the behaviors and theories I discussed at DC3. We will be addressing new behaviors as well as looking at APT vs Mass Malware behaviors.  I’ve added two new configurable behaviors to MRI and did enough research to scrap a third. I’ll share those as well as give more real world examples of how malware exposes itself in memory.</p>
<p>For example the below listing shows the keylogger, the process and the file handle that process has. The file handle is actual the log file the key logger is writing too.</p>
<table style="height: 158px;" border="0" cellspacing="0" cellpadding="0" width="667">
<col span="3" width="256"></col>
<tbody>
<tr>
<td width="256" height="39">Keylogger Name</td>
<td width="256">Process</td>
<td width="256">Log File</td>
</tr>
<tr>
<td width="256" height="39">Klog</td>
<td width="256">System</td>
<td width="256">\Klog.txt</td>
</tr>
<tr>
<td width="256" height="39">Advanced Keylogger</td>
<td width="256">Explorer</td>
<td width="256">\WINDOWS\Help\dsclientsock.hlp</td>
</tr>
<tr>
<td width="256" height="39">Spector Pro</td>
<td width="256">Explorer</td>
<td width="256">\WINDOWS\system32\avoxnot\BEC7CA9645B2AF87DEEACD53B38B223FEE1C605C.zup</td>
</tr>
</tbody>
</table>
<p>If you didn’t catch my DC3 talk and didn’t understand the slides this is a good time to get an updated version of the talk. I&#8217;m going to focus on malware behavior, what it does when it&#8217;s installed that makes it stand out in memory. We will cover APT and Mass Malware, and specifically where we see their behaviors intersect. Some of these behaviors are horribly simple, i.e. flag svchost launched from directories other than \windows\system32. Some are as simple but may not be as obvious, for example flag svchost, or iexplore if they have a process handle to cmd.exe. These are rules that should never be true.</p>
<p>When discussing rules, I use that term loosely. Basically in Audit Viewer you now have the option to configure all this information. If you go to Operations -&gt; Configure Malware Rating Index you can configure all these things and a few more not mentioned in this post but mentioned in the webinar. We will wrap up the webinar like always with a live demo. Live demos are the most fun really, it’s like NASCAR except it&#8217;s just reputation not lives on the line.</p>
<p>I hope you can <a href="https://cc.readytalk.com/cc/schedule/display.do?udc=wh0b6ijw44nk">join us</a>, it should be fun.</p>
<p>If you would like to learn more in-depth about how physical memory analysis works, use <a href="http://www.mandiant.com/products/free_software/memoryze/">Memoryze</a> and Audit Viewer, understand MRI, or write your own malware rules, join Jamie and I at the <a href="http://cansecwest.com/dojomemory.html">CanSecWest training</a>. CanSecWest specializes in technical, hands-on classes with an extremely low student-teacher ratio.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mandiant.com/archives/810/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Audit Viewer: Malware Rating Index Undocumented Features and Caveats</title>
		<link>http://blog.mandiant.com/archives/782</link>
		<comments>http://blog.mandiant.com/archives/782#comments</comments>
		<pubDate>Tue, 09 Feb 2010 14:48:42 +0000</pubDate>
		<dc:creator>Peter Silberman</dc:creator>
				<category><![CDATA[Conferences]]></category>
		<category><![CDATA[Products]]></category>
		<category><![CDATA[Audit Viewer]]></category>
		<category><![CDATA[DC3]]></category>
		<category><![CDATA[DOD Cyber Crime Conference]]></category>
		<category><![CDATA[M-Trends]]></category>
		<category><![CDATA[Malware Rating Index]]></category>
		<category><![CDATA[Memoryze]]></category>
		<category><![CDATA[MRI]]></category>
		<category><![CDATA[MTrends]]></category>

		<guid isPermaLink="false">http://blog.mandiant.com/?p=782</guid>
		<description><![CDATA[Hopefully everyone has had a few weeks to recover from the M-Trends kickoff party in St. Louis and everyone has also had a chance to read the M-Trends report! I hope everyone enjoyed the talk I gave at DOD Cyber Crime Conference. I certainly had fun giving it, sorry to those that got hit with [...]]]></description>
			<content:encoded><![CDATA[<p>Hopefully everyone has had a few weeks to recover from the M-Trends kickoff party in St. Louis and everyone has also had a chance to read the <a href="http://www.mandiant.com/news_events/article/m-trends/">M-Trends report</a>! I hope everyone enjoyed the talk I gave at DOD Cyber Crime Conference. I certainly had fun giving it, sorry to those that got hit with the squishy balls. I wanted to take a second to address some caveats and undocumented features of MRI that couldn’t be discussed in the talk.</p>
<p>A caveat within MRI I that I want to talk about is Process Path Verification. This rule set is very powerful but there are two ways to define to paths. Neither is documented because currently there is no documentation on MRI.. The first method of specifying a process path is to specify an absolute path such as this:<br />
<em> calc.exe:\windows\system32</em></p>
<p>MRI interprets this as the only valid path for calc.exe is \windows\system32\calc.exe. However, if I wrote the rule like:<br />
<em> calc.exe:\windows\system32\</em></p>
<p>MRI would interpret this as calc.exe can be run from any sub directory as long it’s a sub directory within \windows\system32\*</p>
<p>The reason this is important is it gives you flexibility in writing definitions. If I don’t want to specify the exact location of iexplore.exe I can say it needs to be launched from \program files\. This may prove to be too loose, and I may change this behavior going forward. For now you have the flexibility to specify absolute paths or sub paths.</p>
<p>The next &#8220;undocumented&#8221; tidbit that I want to discuss is within two behaviors. These behaviors actually have the ability to use regex when trying to match up their values. I did not build the regex option into the UI so it has to be manually added to the AuditViewerConfig.xml. The two XML lists that can take regex expressions are IgnoreFilesList, and ProcessSuspiciousHandleList. The regex elements are, IgnoreFileRegex, and HandleRegex. An example IgnoreFileRegex looks like:<br />
<em>&lt;IgnoreFileRegex&gt;mshist.*\\index.dat&lt;/IgnoreFileRegex&gt;</em></p>
<p>This rule specifies that any file matching this regular expression should be ignored when doing process scoring. You can get creative just be careful.</p>
<p>An example HandleRegex looks like:<br />
<em>&lt;HandleRegex&gt;*:.*-7$:mutant:known conficker mutant&lt;/HandleRegex&gt;</em></p>
<p>It breaks down like this:<br />
Process: Regular Expressions : handle type: description</p>
<p>It breaks down like this:<br />
Process: Regular Expressions : handle type: description</p>
<p>This allows you to get more out of your suspicious handles definitions.</p>
<p>Finally, I’d like to take a second to reiterate something I stated at DC3. The “Verify Digital Signatures” option in <a href="http://www.mandiant.com/products/free_software/memoryze/">Memoryze</a> and <a href="http://www.mandiant.com/products/research/mandiant_audit_viewer/">Audit Viewer </a>wizard can ONLY be run when doing live memory. It is not possible to enable it when doing dead memory analysis. Which means the address scoring is not possible on dead memory, behavioral analysis still works on dead memory. If you are going to acquire memory, please run live analysis jobs as well as acquisition. This way you get the most information possible off the machine. The second thing I wanted to reiterate is that verify digital signatures is great, it really helps potentially speed up an analyst’s job. However, we are only verifying the digital signatures exist and are valid on disk. We are not verifying the module in memory hasn’t been modified. If a userland rootkit exists (again shame on the authors) then we won’t report that. It’s important to remember this. Verifying modules in memory short of doing rootkit detection is not a trivial task. The windows loader is a beast, a behemoth it does a lot to make verification in memory to disk is very hard (not impossible). Thanks again for all the interest in <a href="http://www.mandiant.com/products/services/m-trends">M-Trends</a>, <a href="http://www.mandiant.com/products/research/mandiant_audit_viewer/">Audit Viewer</a> and<a href="http://www.mandiant.com/products/free_software/memoryze/"> Memoryze</a>. As always feedback is always appreciated.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mandiant.com/archives/782/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DOD Cyber Crime: New Audit Viewer/Memoryze</title>
		<link>http://blog.mandiant.com/archives/741</link>
		<comments>http://blog.mandiant.com/archives/741#comments</comments>
		<pubDate>Fri, 22 Jan 2010 03:23:15 +0000</pubDate>
		<dc:creator>Peter Silberman</dc:creator>
				<category><![CDATA[Conferences]]></category>
		<category><![CDATA[APT]]></category>
		<category><![CDATA[Audit Viewer]]></category>
		<category><![CDATA[DC3]]></category>
		<category><![CDATA[DOD Cyber Crime]]></category>
		<category><![CDATA[malware]]></category>
		<category><![CDATA[Malware Rating Index]]></category>
		<category><![CDATA[MANDIANT]]></category>
		<category><![CDATA[Memoryze]]></category>
		<category><![CDATA[MRI]]></category>

		<guid isPermaLink="false">http://blog.mandiant.com/?p=741</guid>
		<description><![CDATA[MANDIANT is going to be at DOD Cyber Crime this year. Jamie and I have both been heads down for many weeks now working on some pretty cool stuff. We are starting to come up for air and what that means for you is updates to Memoryze and Audit Viewer. We will be releasing new [...]]]></description>
			<content:encoded><![CDATA[<p>MANDIANT is going to be at DOD Cyber Crime this year. Jamie and I have both been heads down for many weeks now working on some pretty cool stuff. We are starting to come up for air and what that means for you is updates to Memoryze and Audit Viewer. We will be releasing new versions of each that coincide with DC3.  I, along with many of my co-workers, will be presenting and attending. My talk abstract is very ambiguous so I thought I’d take a brief second to discuss both the talk and the changes to Audit Viewer and Memoryze.</p>
<p>The talk is going to be interactive. And dammit I don’t care if you don’t want to interact with me. I&#8217;m both very convincing, persistent and well&#8230;charming! You will feel compelled to join in on this talk. I promise. I know this because I&#8217;m bringing bribes… And yes, I&#8217;m bringing what you are thinking.</p>
<p>This talk will contain a brief intro to memory analysis, a FAQ etc. We are not going to waste much time on the nitty gritty since most people are not interested in how we chop off the last 12 bits to get a physical offset from a virtual address. I know, you just fell asleep a little.  During this talk I will make a case for why memory analysis is important. I will pull from pervious APT investigations where disk analysis failed and had to be used in conjunction with memory analysis. Finally, we will discuss MANDIANT’s Malware Rating Index (MRI). We will finish with real APT incident demos where I&#8217;ll walk through the investigation of an infected system with APT.</p>
<p>Now, a little more about MRI. MRI is a huge update to Audit Viewer.  Instead of going after a fish (malware) with a hook (signatures), I&#8217;m going after fish (malware) with a drag net (MRI). The goal of this feature is twofold. First it is going to  help pinpoint specific processes that should be investigated further while attempting to eliminate some of the non-suspicious processes and get them out of the analyst&#8217;s way. It&#8217;s also designed to try and make APT detection easier. A lot of work went into looking at our samples and how they behave etc, and coming up with definable behaviors that trap those little creatures. MRI is made up of two components. The first component is a definable behavior rule set that is completely customizable. It is made up of three different types of rules:</p>
<ul>
<li>Process Path Verification – allows users to define what processes should be launched from what directories. This triggers on malware that copies and names itself after svchost or other system processes to subdirectories within system folders. For example a default rule is that svchost can only be executed from \windows\system32. Any time we see it running from somewhere else we flag the process.</li>
<li>Process User Verification – allows users to define what processes should be running under what users.  This triggers on malware spawning svchost for purposes of unmapping image bases or hiding dlls within spawned svchost. So, for example, if malware copies itself to system32\dllcache and then names itself svchost.exe, you can define a rule saying svchost.exe should be running as local service, network service, or system. When Audit Viewer see svchost running as administrator it gets flagged.</li>
<li>Process Handle Inspection – this allows you to define specific rules pertaining to malware or generic behavior. For example a default rule is to flag svchost or iexplore anytime it has a process handle to cmd.exe. There is just no good reason for this to _<em>EVER</em>_ happen. You can also define rules based on specific malware, for example if a3c mutant is present then flag the process as being infected with sality.</li>
</ul>
<p>All of these features are configurable from the UI by going to operations -&gt; Configure MANDIANT MRI.</p>
<p>The second component of MRI is a process address space scoring mechanism. We will be releasing an update to Memoryze at DC3. The new release will contain bug fixes as well as a new feature called “Verify Digital Signatures.” When this parameter is turned on memoryze will perform a “digital signature check” on all loaded modules. This can only be enabled on live memory analysis. The digital signature check verifies the module on disk is digitally signed. We do a bunch of math and use our Least Frequency of Occurrence to trust modules that aren&#8217;t signed but occur in more than X% of processes. Where X is defined by the user. We won&#8217;t flag or catch modified binaries in memory. So if a rootkit is doing userland hooking (it should be ashamed) we won&#8217;t know about it because we are checking disk to determine if it is digitally signed. There are a lot of reasons why we can’t verify in memory digital signatures.  It might make an interesting blog to detail all the reasons. With that said, this new feature gives us a good working idea of how much of the loaded modules in the process address space are signed and therefore trusted. It&#8217;s had fantastic results thus far. I’ve been using it on old incidents to see if we could have sped up results using these new methods. The answer seems to be yes in a lot of cases.</p>
<p>After DC3 I’ll have more blogs detailing how you can use and write better rules for MRI. But for now there will be a default distribution that you can use and modify. Again, like always, Audit Viewer is open source and free. Which means you can see the logic and rules behind MRI. Memoryze is and will stay free.</p>
<p>If you are going to be at DC3 and want to grab a beer I will be there from Sun (night)-Weds. Unfortunately I&#8217;m going to be missing all the great talks on Thurs so I can leave to compete in the <a href="http://www.toughguy.co.uk">Tough Guy Challenge</a>. You are more than welcome to join at this race in Northern England. As I understand it there are still some open slots! See everyone at DC3!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mandiant.com/archives/741/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The changing battlefield in Memory</title>
		<link>http://blog.mandiant.com/archives/557</link>
		<comments>http://blog.mandiant.com/archives/557#comments</comments>
		<pubDate>Thu, 13 Aug 2009 18:50:49 +0000</pubDate>
		<dc:creator>Peter Silberman</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[blackhat]]></category>
		<category><![CDATA[MANDIANT]]></category>
		<category><![CDATA[Memoryze]]></category>
		<category><![CDATA[metasploit]]></category>
		<category><![CDATA[metasploit forensic framework]]></category>
		<category><![CDATA[meterpreter]]></category>
		<category><![CDATA[msff]]></category>

		<guid isPermaLink="false">http://blog.mandiant.com/?p=557</guid>
		<description><![CDATA[Steve Davis and I gave a talk at Blackhat and at Defcon called Metasploit Autopsy: Reconstructing the scene of the crime. Giving the talk was a blast; both Steve and I were thrilled to be given an opportunity to give a defensive security talk on the Metasploit track.  During our talk and in several interviews, [...]]]></description>
			<content:encoded><![CDATA[<p>Steve Davis and I gave a talk at Blackhat and at Defcon called <a href="http://www.blackhat.com/presentations/bh-usa-09/SILBERMAN/BHUSA09-Silberman-MetasploitAutopsy-SLIDES.pdf"><em>Metasploit Autopsy: Reconstructing the scene of the crime.</em></a> Giving the talk was a blast; both Steve and I were thrilled to be given an opportunity to give a defensive security talk on the Metasploit track.  During our talk and in several interviews, we stated that some aspects of computer security are a cat and mouse game. When you make a technique, tool, or other knowledge public people have a chance to analyze what you have done. This analysis can lead to better code, improvements to ideas, or in some cases the breaking of said tools. In the case of <a href="http://www.mandiant.com/software/msff.htm">Metasploit Forensic Framework (MSFF)</a>, the newest release of Metasploit flat out broke MSFF. First, let me give you some background. When we first started writing the tool, we quickly realized that breaking MSFF would take a single line change to Meterpreter. The fix is simple. In our talk, we discussed that when meterpreter called <em>free</em> the received/sent packets were not scrubbed and lay around memory for hours. MSFF capitalized on this using <a href="http://www.mandiant.com/software/memoryze.htm">Memoryze </a>to acquire the processes address space which included the process&#8217;s freed memory.  HD and crew were nice enough to wait to patch Meterpreter until after our talk. Meterpreter was <a href="http://trac.metasploit.com/changeset/6942">patched</a> Saturday with <em>memset</em>’s, which zero out the packet data before the memory is freed.</p>
<p>With this fix, our current technique to reconstruct what Meterpreter sent or received does not work. The Metasploit project has broken that ability successfully (something we expected). Our detection will evolve, and HD discussed some ideas he had to make detecting the Meterpreter binary harder. Currently, MSFF can still be used to identify the injected binaries in a process&#8217;s address space. The Meterpreter binary contains too much code and has too many features to effectively hide in memory. If and when HD patches the reflective loader to scrub Meterpreter&#8217;s binary data, we’ll update MSFF with some fix, more as a proof concept than anything else, to continue to identify the injected DLLs. Hope everyone’s recovered from Vegas!</p>
<p>A huge thanks go to Ping, Nikita, Jeff Moss, Val Smith and HD for putting the Metasploit track together. It was not easy, but it went great. A huge thanks to the defcon speakers, who were very flexible.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mandiant.com/archives/557/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MindSniffer, Updated Audit Viewer released</title>
		<link>http://blog.mandiant.com/archives/263</link>
		<comments>http://blog.mandiant.com/archives/263#comments</comments>
		<pubDate>Thu, 19 Feb 2009 23:04:07 +0000</pubDate>
		<dc:creator>Peter Silberman</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Audit Viewer]]></category>
		<category><![CDATA[blackhat]]></category>
		<category><![CDATA[Memoryze]]></category>
		<category><![CDATA[mindsniffer]]></category>
		<category><![CDATA[peter silberman]]></category>
		<category><![CDATA[Snort My Memory]]></category>

		<guid isPermaLink="false">http://blog.mandiant.com/?p=263</guid>
		<description><![CDATA[I&#8217;m currently writing this blog post from my hotel room at Blackhat Federal. Jamie and I wrapped up our &#8220;Advanced Memory Forensics in Incident Response&#8221; class on Tuesday. It went very well and we are both looking forward to teaching it again in Las Vegas. I just finished giving my talk &#8220;Snort my Memory.&#8221; I [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m currently writing this blog post from my hotel room at Blackhat Federal. Jamie and I wrapped up our <em>&#8220;Advanced Memory Forensics in Incident Response&#8221;</em> class on Tuesday. It went very well and we are both looking forward to teaching it again in Las Vegas. I just finished giving my talk<em> &#8220;Snort my Memory.&#8221;</em> I detailed the talk in a previous <a href="http://blog.mandiant.com/archives/133">blog post</a>. This post now includes links to available software. MindSniffer is available <a title="MindSniffer" href="http://www.mandiant.com/software/mms.htm">here</a>. If you have any questions comments suggestions please feel free to contact me peter.silberman@mandiant.com.<br />
Following the release of MindSniffer I am thrilled to announce a NEW version of Audit Viewer. This version includes the following features:</p>
<ul>
<li>Process are marked in red if they have injected dlls</li>
<li>View imports/exports of PE files in memory. This can be done by right clicking on memory sections</li>
<li> Signature Manager built into Audit Viewer to support py files generated by MindSniffer</li>
<li>Added sections and semaphore handle types</li>
<li>Memoryze Launcher &#8211; this a GUI wrapping Memoryze and allowing you to configure Memoryze all from a user interface. No more batch scripts or xml files. To utilize Memoryze Launcher, click &#8220;Launch Memoryze.&#8221; You can configure multiple jobs to run at once once they will all run, then the results are auto loaded into Audit Viewer for easier integration. This is a huge feature and I&#8217;m very excited to get feed back on it.</li>
<li> Numerous bug fixes</li>
<li>Updated documentation</li>
</ul>
<p>Grab the new audit viewer at its new location <a title="Audit Viewer 1.0.0.8" href="http://www.mandiant.com/software/mav.htm">Audit Viewer</a><br />
Please feel free to e-mail comments suggestions ideas and anything else you think I should know regarding Audit Viewer.<br />
Enjoy,<br />
Peter</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mandiant.com/archives/263/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Memoryze now supports Vista SP1 and F-response</title>
		<link>http://blog.mandiant.com/archives/215</link>
		<comments>http://blog.mandiant.com/archives/215#comments</comments>
		<pubDate>Tue, 10 Feb 2009 01:10:57 +0000</pubDate>
		<dc:creator>Jamie Butler</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[F-response]]></category>
		<category><![CDATA[Memory analysis]]></category>
		<category><![CDATA[Memoryze]]></category>
		<category><![CDATA[Vista]]></category>

		<guid isPermaLink="false">http://blog.mandiant.com/?p=215</guid>
		<description><![CDATA[
Vista

If you ever tried to run Memoryze on Vista, you may have been pleasantly surprised to find it already supported memory acquisition on this platform. It was designed with that in mind from the start, but it was still kind of cool when I tested it and it worked. Now, I am happy to report that [...]]]></description>
			<content:encoded><![CDATA[<p><strong></strong></p>
<p><strong>Vista</strong></p>
<p><strong></strong></p>
<p>If you ever tried to run Memoryze on Vista, you may have been pleasantly surprised to find it already supported memory acquisition on this platform. It was designed with that in mind from the start, but it was still kind of cool when I tested it and it worked. Now, I am happy to report that <a href="http://www.mandiant.com/software/memoryze.htm">Memoryze 1.3.0</a> has beta support for memory analysis on Vista SP1.</p>
<p> </p>
<p><strong>What does beta support mean?</strong> Well since Memoryze has moved ahead of the roadmap for <a href="http://www.mandiant.com/software/intelligentresponse.htm">MANDIANT Intelligent Response</a> with this Vista rollout, we have not had the months of testing on this platform or at an enterprise level with all the possible configurations.  That said, we do have two known issues:</p>
<p> </p>
<ul>
<li>Memoryze 1.3.0 does not yet support port enumeration on Vista.</li>
<li>When enumerating sections, Memoryze may find process sections that are invalid (they have been freed and are no longer in use). These invalid sections may have incorrect start addresses or a size that is too large because the kernel has overwritten part of the section data. This only becomes an issue if you are enumerating strings and Memoryze hits an invalid section range. This will result in extremely long run times for the audit (imagine trying to find all the strings in a 600 MB section).</li>
</ul>
<p> </p>
<p><strong>Should I download Memoryze 1.3.0 if I am not concerned with analyzing Vista memory? Yes</strong>, we have made many improvements in this release related to sanitizing the dataset.</p>
<p> </p>
<p><strong>F-response</strong></p>
<p>While testing this release, we thought it would be cool to try Memoryze in conjunction with <a href="http://www.f-response.com/">F-response</a>. F-response can expose a remote host&#8217;s memory as a physical drive and Memoryze can open that physical drive just like a saved memory image and analyze it. When running against an image, Memoryze always checks the size of the file so it does not seek past the end of the file during analysis. The only tweak we had to make was to make that check a disk size check as opposed to a file size check.</p>
<p> </p>
<p><strong>How do you use Memoryze with F-response?</strong> Simply setup F-response according to the directions and set your input file in Memoryze&#8217;s batch scripts to \\.\PhysicalDrive2 or whatever drive F-response exposes as the target&#8217;s memory.</p>
<p> </p>
<p>I would like to <strong>thank Matthew Shannon</strong> for providing me with an evaluation license of F-response.</p>
<p> </p>
<p><strong>Download </strong><a href="http://www.mandiant.com/software/memoryze.htm"><strong>Memoryze 1.3.0</strong></a><strong> now!</strong></p>
<p> </p>
<p>Jamie</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mandiant.com/archives/215/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Memoryze is the 2008 Toolsmith Tool Of the Year</title>
		<link>http://blog.mandiant.com/archives/208</link>
		<comments>http://blog.mandiant.com/archives/208#comments</comments>
		<pubDate>Thu, 05 Feb 2009 16:24:57 +0000</pubDate>
		<dc:creator>Michael J. Graven</dc:creator>
				<category><![CDATA[Products]]></category>
		<category><![CDATA[holisticinfosec.org]]></category>
		<category><![CDATA[Intelligent Response]]></category>
		<category><![CDATA[ISSA Journal]]></category>
		<category><![CDATA[Memoryze]]></category>
		<category><![CDATA[Russ McRee]]></category>
		<category><![CDATA[Toolsmith]]></category>

		<guid isPermaLink="false">http://blog.mandiant.com/?p=208</guid>
		<description><![CDATA[Russ McRee recently wrote that Memoryze is the 2008 Toolsmith Tool of the Year.]]></description>
			<content:encoded><![CDATA[<p>Russ McRee recently wrote that <a href="http://holisticinfosec.blogspot.com/2009/02/mandiant-memoryze-is-2008-toolsmith.html">Memoryze is the 2008 Toolsmith Tool of the Year</a>, and how it helped him find the full name of a malware author. He also wrote up a great description of <a href="http://holisticinfosec.org/toolsmith/docs/february2009.pdf">using Memoryze to chase down a password stealing trojan</a> in the February 2009 issue of the ISSA Journal.</p>
<p> </p>
<p>One of the interesting things about Russ&#8217;s approach in both cases is his use of the <code>strings</code> option. It turned up some great investigative information. However, <code>strings</code> generates a lot of data, and in a large environment that could be a bit of a challenge (imagine running Memoryze on, say, 20,000 systems.) But on the third hand, what if one of those strings in memory is truly your best indicator of compromise?</p>
<p> </p>
<p>The key to solving that problem – large-scale searching for very specific information – is prefiltering the results (and indexing them). Using an <a href="http://www.w3.org/TR/xpath">XPath expression</a> to match only your desired indicator-of-evil lets the investigator focus on just the relevant data. It also lets you scale up the search to very large numbers of systems.</p>
<p> </p>
<p>We&#8217;ve built our <a href="http://www.mandiant.com/software/intelligentresponse.htm">Intelligent Response</a> product for exactly that need, including features from Memoryze as well as other IR tools. If you&#8217;d like to hear more about it, or see a demo, drop me a line.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mandiant.com/archives/208/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Live analysis and its footprint</title>
		<link>http://blog.mandiant.com/archives/149</link>
		<comments>http://blog.mandiant.com/archives/149#comments</comments>
		<pubDate>Thu, 15 Jan 2009 00:17:38 +0000</pubDate>
		<dc:creator>Jamie Butler</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[live analysis]]></category>
		<category><![CDATA[live response]]></category>
		<category><![CDATA[Matthieu Suiche]]></category>
		<category><![CDATA[memory acquisition]]></category>
		<category><![CDATA[Memory analysis]]></category>
		<category><![CDATA[Memoryze]]></category>
		<category><![CDATA[Windows Incident Response]]></category>

		<guid isPermaLink="false">http://blog.mandiant.com/?p=149</guid>
		<description><![CDATA[Recently there was a conversation on Harlan&#8217;s Windows Incident Response blog which mentioned the footprint of Memoryze and other tools. Every tool has positives and negatives depending on the use case.
 
First, the blog entry mainly mentions the footprint on disk, which is larger than other acquisition tools because Memoryze does both acquisition and analysis in the same [...]]]></description>
			<content:encoded><![CDATA[<p>Recently there was a <a href="http://windowsir.blogspot.com/2009/01/memory-collection-and-analysis-tools.html">conversation</a> on Harlan&#8217;s Windows Incident Response blog which mentioned the footprint of Memoryze and other tools. Every tool has positives and negatives depending on the use case.</p>
<p> </p>
<p>First, the blog entry mainly mentions the footprint on disk, which is larger than other acquisition tools because Memoryze does both acquisition and analysis in the same package. <strong>What you may not have known is that Memoryze runs completely fine from a USB key.</strong> You can install Memoryze to your USB key and use it on the target machine. This mitigates the concern of a large disk footprint.</p>
<p> </p>
<p>Second, <a href="http://www.msuiche.net/">Matthieu Suiche</a> pointed out that some may be concerned with the memory footprint as well. Because Memoryze is a portion of MANDIANT Intelligent Response, it was built with the enterprise in mind. In an enterprise, it is not practical to acquire and bring back 15,000 or 20,000 memory images to analyze offline. With compression, analysis, and filtering capabilities, Memoryze&#8217;s memory footprint is larger. <strong>How do you mitigate this?</strong> We make use of the paging file(s). So if we force a page out of memory, Memoryze can still analyze it from the paging file(s).</p>
<p> </p>
<p><strong>Why do you do live analysis?</strong> First, as I stated above, it simply is not practical to bring back an image of RAM off of every host when the number of hosts grows larger than you can count on a hand or two. Second, by doing live analysis, we can make use of the paging file(s). If we were to acquire memory and then acquire the paging files, the synchronization issues between the two would be more severe. Third, the risk of doing the analysis on the host is similar to the risk associated with acquiring memory on the host. A.) The attacker can block access to physical memory, or B.) as Darren Bilby pointed out in his <a href="http://www.ruxcon.org.au/files/2006/anti_forensic_rootkits.ppt">talk at Ruxcon06</a>, the attacker can intercept the calls to map the view of physical memory. <em>Sidebar: It is necessary to map portions of physical memory into your address space in order to acquire or analyze memory. </em>Both attacks are possible when doing acquisition or analysis. If attack A is carried out, memory acquisition tools including Memoryze will error out. If attack B is used, neither acquisition nor analysis tools will be effective. Joanna Rutkowska demonstrated the equivalent of attack B even when doing hardware acquisition. However, attack B also requires the attacker to know the physical address of their malware in memory.</p>
<p> </p>
<p>Thanks to Matthieu for engaging me in this discussion. If you have not read his work on the hibernation file in Windows, it is very interesting.</p>
<p> </p>
<p>Jamie Butler</p>
<p> </p>
<p>By the way, you may be asking yourself why you cannot run Memoryze or other acquisition tools from a CD. Basically, Microsoft will not load a driver from a CD. It must first be copied to the local host. This is similar to trying to map a network drive with Memoryze and using it. Microsoft will not allow you to load a driver that is located on a network share. Check back in the coming weeks. We just might copy that single driver file to the local host so you can run it from a CD.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mandiant.com/archives/149/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Integrate EnCase, Memoryze, and Audit Viewer with MemScript</title>
		<link>http://blog.mandiant.com/archives/80</link>
		<comments>http://blog.mandiant.com/archives/80#comments</comments>
		<pubDate>Fri, 19 Dec 2008 01:18:20 +0000</pubDate>
		<dc:creator>tk_lane</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Audit Viewer]]></category>
		<category><![CDATA[Encase]]></category>
		<category><![CDATA[Encase Enterprise]]></category>
		<category><![CDATA[Enscript]]></category>
		<category><![CDATA[Guidance Software]]></category>
		<category><![CDATA[Memoryze]]></category>

		<guid isPermaLink="false">http://blog.mandiant.com/?p=80</guid>
		<description><![CDATA[Memoryze is a great tool for memory analysis, but what makes it even stronger is that it can be integrated with other tools to help with incident response.  These other tools can be leveraged to bring Memoryze&#8217;s capabilities to remote hosts. If your organization has not deployed or piloted MANDIANT Intelligent Response (MIR), you can use Encase Enterprise [...]]]></description>
			<content:encoded><![CDATA[<p>Memoryze is a great tool for memory analysis, but what makes it even stronger is that it can be integrated with other tools to help with incident response.  These other tools can be leveraged to bring Memoryze&#8217;s capabilities to remote hosts. If your organization has not deployed or piloted MANDIANT Intelligent Response (MIR), you can use Encase Enterprise Edition (EEE) to gain access to remote memory. Just like with MIR, using EEE you are able to collect volatile data with “snapshots” and also have the ability to access memory on a remote system.  Once you have access to the remote memory object is when Memoryze comes in handy. The ability to access this remote memory object with EEE is how the “MemScript” was born.  The MemScript is an EnScript that integrates a couple of programs to automate memory analysis with EnCase.  First, MemScript is integrated with Memoryze.  MemScript accesses the memory entry and uses Memoryze to do the analysis.  Secondly, MemScript then takes the results from Memoryze&#8217;s analysis and launches MANDIANT’s Audit Viewer. Using MemScript is easy and even easier to setup.  The first step in using MemScript is having the tools it integrates. You will need the following tools.</p>
<ul>
<li>EnCase</li>
<li><a href="http://www.mandiant.com/software/memoryze.htm" target="_blank">Memoryze</a></li>
<li><a href="http://blog.mandiant.com/archives/50" target="_blank">Audit Viewer<br />
</a><br />
<strong>Note: Please make sure you have updated to Memoryze 1.2.18.0 and Audit Viewer 1.0.0.7 released this week.</strong></li>
</ul>
<p>Audit Viewer does require Python and a Python GUI library so getting these installed  is also required to use MemScript. These requirements can be found at the following links:</p>
<ul>
<li><a href="http://www.python.org/download/releases/2.6.1/" target="_blank">Python 2.6.1</a></li>
<li><a href="http://wxpython.org/download.php#binaries" target="_blank">Python wx </a></li>
</ul>
<p>Once all the tools are on the system, you can begin the analysis by adding the memory entry to a case.  To add the memory object to a case go to “Add Device”.  In this window, check the box for Physical Memory.  At this point, you should have a window, which is illustrated in Figure 1.</p>
<p><a href="http://blog.mandiant.com/wp-content/uploads/2008/12/memscript1.png"><img class="alignnone size-medium wp-image-87" src="http://blog.mandiant.com/wp-content/uploads/2008/12/memscript1.png" alt="" width="300" height="148" /></a></p>
<p><strong>Figure 1: Enabling the memory object.</strong></p>
<p><strong><br />
</strong></p>
<p>If your windows are similar to the ones above, double click on the Local Drives in the right hand table (it would be a remote machine with EEE).  The next window will show whether you have access to the systems memory.  If you do have access, the window in Figure 2 should appear.</p>
<p><a href="http://blog.mandiant.com/wp-content/uploads/2008/12/memscript2.png"><img class="alignnone size-medium wp-image-88" src="http://blog.mandiant.com/wp-content/uploads/2008/12/memscript2.png" alt="" width="300" height="111" /></a></p>
<p><strong>Figure 2: Adding the RAM device.</strong></p>
<p><strong></strong><br />
At this window, double click on the RAM. This will give you a new window with just the RAM.  Once here, click the finish button. The memory object is now added to your case and analysis can begin.  Before we start the MemScript, we need to blue check the “PhysicalMemory” entry.  When this is finished, you should have a window that looks similar to the one in Figure 3.</p>
<p><a href="http://blog.mandiant.com/wp-content/uploads/2008/12/memscript3.png"><img class="alignnone size-medium wp-image-89" src="http://blog.mandiant.com/wp-content/uploads/2008/12/memscript3.png" alt="" width="300" height="109" /></a></p>
<p><strong>Figure 3: Blue checked PhysicalMemory entry.</strong></p>
<p><strong><br />
</strong></p>
<p>With the PhysicalMemory entry blue checked start the MemScript EnScript.  Figure 4 is the window that appears when the MemScript is started.</p>
<p><a href="http://blog.mandiant.com/wp-content/uploads/2008/12/memscript4.png"><img class="alignnone size-medium wp-image-90" src="http://blog.mandiant.com/wp-content/uploads/2008/12/memscript4.png" alt="" width="240" height="216" /></a></p>
<p><strong>Figure 4: MemScript start page.</strong></p>
<p><strong><br />
</strong></p>
<p>The first tab that appears is the Process Audit Tab.  This tab will run process audits on the memory.  The options available are for the ports, sections, handles and strings. These options are detailed in the Memoryze documentation and a synopses of these are in the help button.  You are also able to specify either a specific process name or a specific PID.  By default, the process audit is always ran when using MemScript.  One tip: while running this audit is  the strings option is very taxing on the size of the results.  To get around this problem, it is easier to look at strings for a specific process name or PID rather than across the whole memory image. The other audits available with MemScript are Driver Audits, Driver Signature Audits, and Rootkit Audits.  All of these audits are detailed in the Memoryze documentation as well.  These audits can be ran along with a process audit and multiple audits can be ran and the same time.  Running these audits is done by checking whether they should be performed or not. An example of selecting the Rootkit Audit to run is shown in Figure 5.</p>
<p><a href="http://blog.mandiant.com/wp-content/uploads/2008/12/memscript5.png"><img class="alignnone size-medium wp-image-91" src="http://blog.mandiant.com/wp-content/uploads/2008/12/memscript5.png" alt="" width="240" height="212" /></a></p>
<p><strong>Figure 5: Example of running the Rootkit Audit.</strong></p>
<p><strong><br />
</strong></p>
<p>All of the audits are stored in the case’s export folder.  These audits can then be viewed with Internet Explorer or Audit Viewer.  If Audit Viewer is already installed on the machine, you can set up MemScript to automatically launch the Audit Viewer when the analysis is done.  Setting up to launch Audit Viewer automatically is done in the Options tab.  The options tab is shown  in Figure 6 with MemScript configured to launch Audit Viewer when the memory analysis is finished.</p>
<p><a href="http://blog.mandiant.com/wp-content/uploads/2008/12/memscript6.png"><img class="alignnone size-medium wp-image-92" src="http://blog.mandiant.com/wp-content/uploads/2008/12/memscript6.png" alt="" width="240" height="215" /></a><br />
<strong>Figure 6: Setting the options to launch Audit Viewer.</strong></p>
<p><strong><br />
</strong></p>
<p>The other option in MemScript is to change the install directory of Memoryze. By default MemScript looks for Memoryze in “C:\Program Files\Mandiant\Memoryze” but it can be changed by selecting this option. Figure 7 shows the install directory being changed for MemScript.</p>
<p><a href="http://blog.mandiant.com/wp-content/uploads/2008/12/memscript7.png"><img class="alignnone size-medium wp-image-93" src="http://blog.mandiant.com/wp-content/uploads/2008/12/memscript7.png" alt="" width="240" height="215" /></a></p>
<p><strong>Figure 7: Changing the install directory for Memoryze.</strong></p>
<p><strong><br />
</strong></p>
<p>Now that all of the options and audits have been walked through, you can start the analysis by pressing the OK button.</p>
<p>During the analysis a couple of command line boxes will pop up depending on the options you set.  If you set the option to launch the Audit Viewer, you will have two command boxes pop up, but only one command box pops up if Audit Viewer is not set to launch.  The first command box to pop up is Memoryze running its analysis.  Please leave this command box open, it should close when Memoryze’s analysis is done.  Since the Audit Viewer is also launched from a command shell, the next box to open will also need to be kept open until you are done looking at the results with Audit Viewer.</p>
<p>When the analysis is done the results will be populated in the Audit Viewer.  Figure 8 below shows the result of running a Process Audit and Driver Signature Audit.</p>
<p><a href="http://blog.mandiant.com/wp-content/uploads/2008/12/memscript8.png"><img class="alignnone size-medium wp-image-94" src="http://blog.mandiant.com/wp-content/uploads/2008/12/memscript8.png" alt="" width="300" height="103" /></a></p>
<p><strong>Figure 8: Results of MemScript in Audit Viewer.</strong></p>
<p><strong></strong><br />
The results of the Process Audit are shown in the ProcessAuditMemory tab.  The Driver Signature Audit results will be displayed in the DriverAuditSignature tab.  Another nice feature of using MemScript is that when the Audit Viewer is launched you can acquire processes from the memory image you are analyzing.  The memory image file is exported to your case’s export folder and populated in the Audit Viewer.  To get started using MemScript get all the required tools plus the EnScript below:</p>
<p><a href="http://fred.mandiant.com/MemScript.EnScript">MemScript</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mandiant.com/archives/80/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Article on how to use Memoryze and Audit Viewer for malware analysis</title>
		<link>http://blog.mandiant.com/archives/75</link>
		<comments>http://blog.mandiant.com/archives/75#comments</comments>
		<pubDate>Mon, 01 Dec 2008 16:40:28 +0000</pubDate>
		<dc:creator>Peter Silberman</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Audit Viewer]]></category>
		<category><![CDATA[malware analysis]]></category>
		<category><![CDATA[Memoryze]]></category>
		<category><![CDATA[offensive computing]]></category>
		<category><![CDATA[openrce]]></category>

		<guid isPermaLink="false">http://blog.mandiant.com/?p=75</guid>
		<description><![CDATA[I know not everyone reads OpenRCE, but it has been a favorite haunt of mine since Pedram launched it. Over the holiday, I posted an article there about how to use Memoryze and Audit Viewer to do malware analysis since that has always been one of my hobbies.

See Memoryze Memory Forensics Tool at OpenRCE.

NOTE: John [...]]]></description>
			<content:encoded><![CDATA[<p>I know not everyone reads OpenRCE, but it has been a favorite haunt of mine since Pedram launched it. Over the holiday, I posted an article there about how to use Memoryze and Audit Viewer to do malware analysis since that has always been one of my hobbies.<br />
<br />
See <a href="http://www.openrce.org/articles/full_view/32">Memoryze Memory Forensics Tool</a> at OpenRCE.<br />
<br />
NOTE: John O. pointed out that having spaces in your path where Memoryze was installed may prevent Audit Viewer from launching Memoryze because of how batch scripts&#8217; input is interpreted. If you install Memoryze in a path with no spaces you should be fine.<br />
<br />
Thanks to Pedram for helping with the post to <a href="http://www.openrce.org">OpenRCE</a> and to Danny Quist at <a href="http://www.offensivecomputing.net/?q=node/979">Offensive Computing</a> for his blog entry.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mandiant.com/archives/75/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Audit Viewer for Memoryze</title>
		<link>http://blog.mandiant.com/archives/50</link>
		<comments>http://blog.mandiant.com/archives/50#comments</comments>
		<pubDate>Tue, 25 Nov 2008 05:40:34 +0000</pubDate>
		<dc:creator>Jamie Butler</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Memory analysis]]></category>
		<category><![CDATA[memory forensics]]></category>
		<category><![CDATA[Memoryze]]></category>
		<category><![CDATA[Memoryze GUI]]></category>
		<category><![CDATA[open source]]></category>

		<guid isPermaLink="false">http://blog.mandiant.com/?p=50</guid>
		<description><![CDATA[
If you are tired of trying to load Memoryze&#8217;s results into Internet Explorer
or into an Excel spreadsheet, check out the new viewer from Peter
Silberman. The Audit Viewer is written in Python and comes with
the BSD license because you know best how you want to view your data.

Audit Viewer allows the incident responder or forensic analyst to [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.mandiant.com/wp-content/uploads/2008/11/auditviewer.jpg" target="_blank"><img class="alignright size-thumbnail wp-image-54" title="auditviewer" src="http://blog.mandiant.com/wp-content/uploads/2008/11/auditviewer.jpg" alt="" width="150" height="120" /></a><br />
If you are tired of trying to load <a href="http://www.mandiant.com/software/memoryze.htm" target="_blank">Memoryze&#8217;s</a> results into Internet Explorer<br />
or into an Excel spreadsheet, check out the new viewer from Peter<br />
Silberman. The Audit Viewer is written in Python and comes with<br />
the BSD license because you know best how you want to view your data.</p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;">
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-size: 9pt; font-family: Verdana;">Audit Viewer allows the incident responder or forensic analyst to quickly view complex XML output in an easily readable format. Using familiar grouping of data and search capabilities, Audit Viewer makes memory analysis quicker and more intuitive.</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;">
<p><strong>Check out these features:</strong></p>
<ul>
<li><span style="font-size: 9pt; font-family: Verdana;">Process data can be viewed on a per process basis or in its entirety by double clicking the root node, “Processes”. For example, when you double click on “Processes” and then click on the Files tab, all the file handles open on the host are displayed from least frequently to most frequently occurring.<br />
</span></li>
<li><span style="font-size: 9pt; font-family: Verdana;">Ability to search Files, Processes, Mutants, Events, Registry Keys, and Strings using plain text or regex.<br />
</span></li>
<li><span style="font-size: 9pt; font-family: Verdana;">Ability to load multiple Memoryze result sets contained in the same directory.<br />
</span></li>
<li><span style="font-size: 9pt; font-family: Verdana;">Handle types are separated out into more abstract types representing the logical type of the handle such as Files, </span><span style="font-size: 9pt; font-family: Verdana;">Directories (part of the Object Manager’s namespace), </span><span style="font-size: 9pt; font-family: Verdana;">Processes, </span><span style="font-size: 9pt; font-family: Verdana;">Keys,</span><span style="font-size: 9pt; font-family: &quot;Courier New&quot;;"><span style="mso-list: Ignore;"><span style="font-family: &quot;Times New Roman&quot;;"> </span></span></span><span style="font-size: 9pt; font-family: Verdana;">Mutants, and </span><span style="font-size: 9pt; font-family: Verdana;">Events.<br />
</span></li>
<li><span style="font-size: 9pt; font-family: Verdana;">Memory sections with names are displayed under the DLLs tab.<br />
</span></li>
<li><span style="font-size: 9pt; font-family: Verdana;">Layered drivers are displayed in a tree view. <em style="mso-bidi-font-style: normal;">This is useful for finding certain types of keyboard sniffers, network sniffers, and file filtering drivers.<br />
</em></span></li>
<li><span style="font-size: 9pt; font-family: Verdana;">Integrated with Memoryze to seamlessly acquire drivers and processes from live memory and images.<br />
</span></li>
<li><span style="font-size: 9pt; font-family: Verdana;">Ability to scan all processes for “questionable” executable sections. <em style="mso-bidi-font-style: normal;">These sections have the EXECUTE_READWRITE flag but no name.</em> </span></li>
</ul>
<p>Get the goods, <a href="http://fred.mandiant.com/auditviewer.zip" onclick="javascript: pageTracker._trackPageview('/downloads/Memoryze_Audit_Viewer'); ">Audit Viewer 1.0.0.7</a>!  Want to learn how to harness this power? Check out <a href="http://blog.mandiant.com/wp-content/uploads/2008/11/auditvieweruserguide.pdf" onclick="javascript: pageTracker._trackPageview('/downloads/Memoryze_Audit_Viewer_PDF'); ">Audit Viewer PDF</a>.</p>
<p>Special thanks to Peter for spending his nights and weekends to make this available.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mandiant.com/archives/50/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
