<?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:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"
xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
	xmlns:media="http://search.yahoo.com/mrss/"
>

<channel>
	<title>Security Ripcord</title>
	<atom:link href="http://www.cutawaysecurity.com/blog/feed" rel="self" type="application/rss+xml" />
	<link>http://www.cutawaysecurity.com/blog</link>
	<description>Cutaway's Observations, Opinions, Rants, Raves, Tantrums, and Tirades</description>
	<pubDate>Tue, 12 May 2009 16:10:16 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>	<!-- podcast_generator="podPress/8.8" -->
		<copyright>&#xA9; </copyright>
		<managingEditor>podcast@cutawaysecurity.com ()</managingEditor>
		<webMaster>podcast@cutawaysecurity.com()</webMaster>
		<category></category>
		<ttl>1440</ttl>
		<itunes:keywords></itunes:keywords>
		<itunes:subtitle></itunes:subtitle>
		<itunes:summary>Cutaway's Observations, Opinions, Rants, Raves, Tantrums, and Tirades</itunes:summary>
		<itunes:author></itunes:author>
		<itunes:category text="Society &amp; Culture"/>
		<itunes:owner>
			<itunes:name></itunes:name>
			<itunes:email>podcast@cutawaysecurity.com</itunes:email>
		</itunes:owner>
		<itunes:block>No</itunes:block>
		<itunes:explicit>no</itunes:explicit>
		<itunes:image href="http://www.cutawaysecurity.com/images/cutaway_security_144x144.png" />
		<image>
			<url>http://www.cutawaysecurity.com/images/cutaway_security_144x144.png</url>
			<title>Security Ripcord</title>
			<link>http://www.cutawaysecurity.com/blog</link>
			<width>144</width>
			<height>144</height>
		</image>
		<item>
		<title>Quick Incident Response Techniques IV</title>
		<link>http://www.cutawaysecurity.com/blog/archives/575</link>
		<comments>http://www.cutawaysecurity.com/blog/archives/575#comments</comments>
		<pubDate>Tue, 12 May 2009 16:10:16 +0000</pubDate>
		<dc:creator>cutaway</dc:creator>
		
		<category><![CDATA[F-Response]]></category>

		<category><![CDATA[Incident Response]]></category>

		<category><![CDATA[forensics]]></category>

		<category><![CDATA[Audit Viewer]]></category>

		<category><![CDATA[Memory Analysis]]></category>

		<category><![CDATA[Memoryze]]></category>

		<category><![CDATA[Security Ripcord]]></category>

		<guid isPermaLink="false">http://www.cutawaysecurity.com/blog/?p=575</guid>
		<description><![CDATA[In Quick Incident Response Techniques I,  II and III we talked about how to use F-Response and FTK Imager to gather hard drive and memory information from a remote system and what to do with some of that information.  Now we need to talk alittle bit about what we can do with the memory image [...]]]></description>
			<content:encoded><![CDATA[<p>In <a href="http://www.cutawaysecurity.com/blog/archives/536"title="QIRT I"  target="_blank" >Quick Incident Response Techniques I</a>,  <a href="http://www.cutawaysecurity.com/blog/?p=548"title="QIRT II"  target="_blank" >II</a> and <a href="http://www.cutawaysecurity.com/blog/?p=561"title="Part III"  target="_blank" >III</a> we talked about how to use F-Response and FTK Imager to gather hard drive and memory information from a remote system and what to do with some of that information.  Now we need to talk alittle bit about what we can do with the memory image from that system.</p>
<p style="margin-bottom: 0in;">With a copy of the remote system&#8217;s memory and an understanding of F-Response&#8217;s impact on that system an analysis of the system&#8217;s memory can be performed.  Advances in memory analysis are rapidly moving forward.  A good and free tool for memory analysis is Mandiant&#8217;s Memoryze.  Memoryze parses the bit-stream memory file and generates XML output associated with the contents of the memory.  To review these XML files and present it as human-readable information Mandiant&#8217;s developers have released Audit Viewer.  Although Memoryze can be run manually, it is much easier to utilize the functionality of Audit Viewer to Launch Memoryze to analyze the memory file.</p>
<div id="attachment_576" class="wp-caption alignnone" style="width: 675px"><img class="size-full wp-image-576" title="Audit Viewer" src="http://www.cutawaysecurity.com/blog/wp-content/uploads/f-r23.png" alt="Audit Viewer" width="665" height="678" /><p class="wp-caption-text">Audit Viewer</p></div>
<p style="margin-bottom: 0in;">By clicking the Launch Memoryze button the analyst is presented with the usual configuration functionality.  The analyst will point the tool to the Memoryze executable, the memory file, and the information output directory where the XML files will written.  The other configuration considerations pertain to the information that will be collected from the memory file.</p>
<p style="margin-bottom: 0in;">
<ul>
<li>
<p style="margin-bottom: 0in;">MemoryDD will acquire memory from 	the system Memoryze is run on or from a Physical Drive such as those 	provided through F-Response&#8217;s functionality.</p>
</li>
<li>
<p style="margin-bottom: 0in;">ProcessDD will collect information 	pertaining to the process name or identification number provided.  	This will actually pull copies of the process executable and drivers 	associated with the process and copy them to the output directory.</p>
</li>
<li>
<p style="margin-bottom: 0in;">Driver Walk List will parse 	through the memory and determine the drivers being used by the 	system.</p>
</li>
<li>
<p style="margin-bottom: 0in;">DriverDD will collect information 	pertaining to a single driver name or all drivers.  This will 	actually pull copies of the driver from memory and create driver 	files in the output directory.</p>
</li>
<li>
<p style="margin-bottom: 0in;">Processes will collect information 	pertaining to a single process or all processes.  Specific 	information about a process can be selected.  These include:</p>
<ul>
<li>
<p style="margin-bottom: 0in;">Handles</p>
</li>
<li>
<p style="margin-bottom: 0in;">Sections</p>
</li>
<li>
<p style="margin-bottom: 0in;">Ports</p>
</li>
<li>
<p style="margin-bottom: 0in;">Strings</p>
</li>
<li>
<p style="margin-bottom: 0in;">Imports</p>
</li>
<li>
<p style="margin-bottom: 0in;">Exports</p>
</li>
<li>
<p style="margin-bottom: 0in;">Injected DLLs</p>
</li>
</ul>
</li>
<li>
<p style="margin-bottom: 0in;">Hook Detection – actually, I 	have to admit that I don&#8217;t know much about hook analysis.  This 	information is key for determining the affects of malware on a 	system.  Memoryze can be configured to collect information 	pertaining to:</p>
<ul>
<li>
<p style="margin-bottom: 0in;">System Service Descriptor Table 		call table</p>
</li>
<li>
<p style="margin-bottom: 0in;">System Service Descriptor Table 		functions</p>
</li>
<li>
<p style="margin-bottom: 0in;">Interrupt Descriptor Table</p>
</li>
<li>
<p style="margin-bottom: 0in;">IRP tables</p>
</li>
</ul>
</li>
</ul>
<div id="attachment_577" class="wp-caption alignnone" style="width: 711px"><img class="size-full wp-image-577" title="Launch Memoryze" src="http://www.cutawaysecurity.com/blog/wp-content/uploads/f-r24.png" alt="Launch Memoryze" width="701" height="389" /><p class="wp-caption-text">Launch Memoryze</p></div>
<p style="margin-bottom: 0in;">Once Memoryze has completed its analysis of the memory file Audit Viewer can analyze the XML output.  After pointing Audit Viewer to the output information details about the information can be reviewed.  The following image shows how network connections can be identified.  In this example, Audit Viewer shows the the Telnet service has an established connection with a remote system.</p>
<div id="attachment_578" class="wp-caption alignnone" style="width: 684px"><img class="size-full wp-image-578" title="Telnet with Established Connection" src="http://www.cutawaysecurity.com/blog/wp-content/uploads/f-r25.png" alt="Telnet with Established Connection" width="674" height="399" /><p class="wp-caption-text">Telnet with Established Connection</p></div>
<p style="margin-bottom: 0in;">Of course, F-Response also has an established connection.  Of course, as we know from earlier we should expect to see two network connections associated with the F-Response process.  The presence of only one connection shown in the following image could be a result of Memoryze&#8217;s parsing method or the exact time that the memory image was generated.</p>
<div id="attachment_579" class="wp-caption alignnone" style="width: 684px"><img class="size-full wp-image-579" title="F-Response with Established Connection" src="http://www.cutawaysecurity.com/blog/wp-content/uploads/f-r26.png" alt="F-Response with Established Connection" width="674" height="399" /><p class="wp-caption-text">F-Response with Established Connection</p></div>
<p style="margin-bottom: 0in;">The following image shows F-Response is connected to the log file name f-response-ent.exe.log.  This is a good indicator of how Memoryze and Audit Viewer can provide information about running processes that cannot be determined from simply understanding that a process or service is running on a system.</p>
<div id="attachment_580" class="wp-caption alignnone" style="width: 684px"><img class="size-full wp-image-580" title="F-Response with open log file" src="http://www.cutawaysecurity.com/blog/wp-content/uploads/f-r27.png" alt="F-Response with open log file" width="674" height="399" /><p class="wp-caption-text">F-Response with open log file</p></div>
<p style="margin-bottom: 0in;">The default analysis activity associated with each process parsed by using the the Process configuration  is just to grab information about each process.  Audit Viewer provides the ability to output the process executable and all for driver files associated with the selected process.  These, in turn, can be analyzed individually using malware analysis or code review.</p>
<div id="attachment_581" class="wp-caption alignnone" style="width: 684px"><img class="size-full wp-image-581" title="Acquire F-Response Process" src="http://www.cutawaysecurity.com/blog/wp-content/uploads/f-r28.png" alt="Acquire F-Response Process" width="674" height="399" /><p class="wp-caption-text">Acquire F-Response Process</p></div>
<p style="margin-bottom: 0in;">Depending on the system and the process being acquired the acquisition process could take one to five minutes.  The analyst can determine when the acquisition process is complete by monitoring the Audit Viewer command window that is started for the acquisition process.  Once the acquisition is completed the command window will close.</p>
<div id="attachment_582" class="wp-caption alignnone" style="width: 545px"><img class="size-full wp-image-582" title="Audit Viewer parsing process files" src="http://www.cutawaysecurity.com/blog/wp-content/uploads/f-r29.png" alt="Audit Viewer parsing process files" width="535" height="434" /><p class="wp-caption-text">Audit Viewer parsing process files</p></div>
<p style="margin-bottom: 0in;">As mentioned, the acquired files will be written to the output directory for further analysis.</p>
<div id="attachment_583" class="wp-caption alignnone" style="width: 652px"><img class="size-full wp-image-583" title="Acquired Files" src="http://www.cutawaysecurity.com/blog/wp-content/uploads/f-r30.png" alt="Acquired Files" width="642" height="449" /><p class="wp-caption-text">Acquired Files</p></div>
<p style="margin-bottom: 0in;">Well, I think this is going to mark the end of this series of posts.  Hopefully you have a better understanding of some of the techniques and tools utilized when performing quick incident responses for yourselves or your customers.</p>
<p style="margin-bottom: 0in;">If there is something else you would like to see or that you would like me to talk about, just drop a comment and I will look into it.  For now, however, I will be moving onto some of those scripts I was talking about and one or two other ideas that I have to help advance these techniques and tools.</p>
<p style="margin-bottom: 0in;">Go forth and do good things,</p>
<p style="margin-bottom: 0in;">Don C. Weber</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cutawaysecurity.com/blog/archives/575/feed</wfw:commentRss>
		</item>
		<item>
		<title>Malware Characteristics Report - Trojan.RegSubsDat.A</title>
		<link>http://www.cutawaysecurity.com/blog/archives/593</link>
		<comments>http://www.cutawaysecurity.com/blog/archives/593#comments</comments>
		<pubDate>Tue, 12 May 2009 03:57:34 +0000</pubDate>
		<dc:creator>cutaway</dc:creator>
		
		<category><![CDATA[Incident Response]]></category>

		<category><![CDATA[Malware]]></category>

		<category><![CDATA[Microsoft]]></category>

		<category><![CDATA[Security]]></category>

		<category><![CDATA[Harlan Carvey]]></category>

		<category><![CDATA[RegSubsDat]]></category>

		<category><![CDATA[Security Ripcord]]></category>

		<category><![CDATA[Symantec]]></category>

		<category><![CDATA[Trojan]]></category>

		<category><![CDATA[Windows Incident Response]]></category>

		<guid isPermaLink="false">http://www.cutawaysecurity.com/blog/?p=593</guid>
		<description><![CDATA[A while back Harlan posted Looking for &#8220;Bad Stuff&#8221;, pt III (Malware Detection).  In this post he outlined a method of talking about malware so that it could be more easily understood during an incident response.  With the increasing complexity of malware and the variety of analysis interpretations, I think that it is important that [...]]]></description>
			<content:encoded><![CDATA[<p>A while back Harlan posted <a href="http://windowsir.blogspot.com/2009/03/looking-for-bad-stuff-pt-iii-malware.html"title="Bad Stuff Part III"  target="_blank" onclick="javascript:urchinTracker ('/outbound/article/windowsir.blogspot.com');">Looking for &#8220;Bad Stuff&#8221;, pt III (Malware Detection)</a>.  In this post he outlined a method of talking about malware so that it could be more easily understood during an incident response.  With the increasing complexity of malware and the variety of analysis interpretations, I think that it is important that we start thinking about a more standard way of explaining malware capabilities and characteristics.</p>
<p>To help with this I have taken a relatively new piece of malware and run it through the paces that Harlan describes.  I have to warn you, there are still things that are not completely understood about this malware.  But, in the end, that is the point.  Some time in the future I can just take the report I generated and update it with any new information.  Not unlike what is currently done by most AV vendors.  But  I hope that Harlan&#8217;s method helps incident responders understand these reports a little better.  I think it will also provide them with the means to speak more intelligently about malware and present the issues and reasons for recommendations in a more professional and consistent manner.</p>
<p>I also want you to pay attention to the different sections of the write-up.  In addition to Harlan&#8217;s basic characteristics I have included a Research Notes section.  Although some of this information is apparent from the previous sections, I have tried to tie together how specific things were discovered or explain specific actions.  Especially things that are not covered by the AV vendors.  I believe it is a good example of how information obtained by incident responders can add to the details associated with a malware outbreak within an environment.  Many times quick and focused research can discover key aspects about the actions taken by a piece of malware that are not necessarily apparent in the write-up by AV vendors.  These details could drive your response or help you focus on specifics instead of operating with generalities.</p>
<blockquote><p>NOTE: This post is best viewed using Firefox and may not render properly in Internet Explorer since most of this post is cut and pasted from Microsoft Word. *shrug* I needed the nested bullets.</p></blockquote>
<p><strong>Trojan.RegSubsDat.A</strong></p>
<p>INITIAL INFECTION VECTOR</p>
<p><!--[if gte mso 9]><xml> <w:WordDocument> <w:View>Normal</w:View> <w:Zoom>0</w:Zoom> <w:PunctuationKerning /> <w:ValidateAgainstSchemas /> <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid> <w:IgnoreMixedContent>false</w:IgnoreMixedContent> <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText> <w:Compatibility> <w:BreakWrappedTables /> <w:SnapToGridInCell /> <w:WrapTextWithPunct /> <w:UseAsianBreakRules /> <w:DontGrowAutofit /> </w:Compatibility> <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel> </w:WordDocument> </xml><![endif]--><!--[if gte mso 9]><xml> <w:LatentStyles DefLockedState="false" LatentStyleCount="156"> </w:LatentStyles> </xml><![endif]--><!--  /* Font Definitions */  @font-face 	{font-family:Wingdings; 	panose-1:5 0 0 0 0 0 0 0 0 0; 	mso-font-charset:2; 	mso-generic-font-family:auto; 	mso-font-pitch:variable; 	mso-font-signature:0 268435456 0 0 -2147483648 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:""; 	margin:0in; 	margin-bottom:.0001pt; 	text-align:justify; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:Arial; 	mso-fareast-font-family:"Times New Roman"; 	mso-bidi-font-family:"Times New Roman";} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.25in 1.0in 1.25in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;}  /* List Definitions */  @list l0 	{mso-list-id:751387590; 	mso-list-type:hybrid; 	mso-list-template-ids:-1876816900 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;} @list l0:level1 	{mso-level-number-format:bullet; 	mso-level-text:; 	mso-level-tab-stop:.5in; 	mso-level-number-position:left; 	text-indent:-.25in; 	font-family:Symbol;} ol 	{margin-bottom:0in;} ul 	{margin-bottom:0in;} --><!--[if gte mso 10]> <mce:style><!   /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman"; 	mso-ansi-language:#0400; 	mso-fareast-language:#0400; 	mso-bidi-language:#0400;} --> <!--[endif]--></p>
<ul style="margin-top: 0in;" type="disc">
<li class="MsoNormal" style="text-align: left;">Unknown - possibly email (from AV report) - I cannot figure      this out for some reason</li>
<li class="MsoNormal" style="text-align: left;">Possibly associated with Excel Vulnerability or vulnerabilities      in other Office documents</li>
</ul>
<p>PROPOGATION MECHANISM</p>
<p><!--[if gte mso 9]><xml> <w:WordDocument> <w:View>Normal</w:View> <w:Zoom>0</w:Zoom> <w:PunctuationKerning /> <w:ValidateAgainstSchemas /> <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid> <w:IgnoreMixedContent>false</w:IgnoreMixedContent> <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText> <w:Compatibility> <w:BreakWrappedTables /> <w:SnapToGridInCell /> <w:WrapTextWithPunct /> <w:UseAsianBreakRules /> <w:DontGrowAutofit /> </w:Compatibility> <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel> </w:WordDocument> </xml><![endif]--><!--[if gte mso 9]><xml> <w:LatentStyles DefLockedState="false" LatentStyleCount="156"> </w:LatentStyles> </xml><![endif]--><!--  /* Font Definitions */  @font-face 	{font-family:Wingdings; 	panose-1:5 0 0 0 0 0 0 0 0 0; 	mso-font-charset:2; 	mso-generic-font-family:auto; 	mso-font-pitch:variable; 	mso-font-signature:0 268435456 0 0 -2147483648 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:""; 	margin:0in; 	margin-bottom:.0001pt; 	text-align:justify; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:Arial; 	mso-fareast-font-family:"Times New Roman"; 	mso-bidi-font-family:"Times New Roman";} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.25in 1.0in 1.25in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;}  /* List Definitions */  @list l0 	{mso-list-id:195971273; 	mso-list-type:hybrid; 	mso-list-template-ids:-805925678 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;} @list l0:level1 	{mso-level-number-format:bullet; 	mso-level-text:; 	mso-level-tab-stop:.5in; 	mso-level-number-position:left; 	text-indent:-.25in; 	font-family:Symbol;} @list l0:level2 	{mso-level-number-format:bullet; 	mso-level-text:o; 	mso-level-tab-stop:1.0in; 	mso-level-number-position:left; 	text-indent:-.25in; 	font-family:"Courier New";} @list l0:level3 	{mso-level-number-format:bullet; 	mso-level-text:; 	mso-level-tab-stop:1.5in; 	mso-level-number-position:left; 	text-indent:-.25in; 	font-family:Wingdings;} ol 	{margin-bottom:0in;} ul 	{margin-bottom:0in;} --></p>
<p><!--[if gte mso 10]> <mce:style><!   /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman"; 	mso-ansi-language:#0400; 	mso-fareast-language:#0400; 	mso-bidi-language:#0400;} --></p>
<p><!--[endif]--></p>
<ul style="margin-top: 0in;" type="disc">
<li class="MsoNormal" style="text-align: left;">Unknown - possibly email (from AV report)</li>
</ul>
<p>PERSISTENCE MECHANISM</p>
<p><!--[if gte mso 9]><xml> <w:WordDocument> <w:View>Normal</w:View> <w:Zoom>0</w:Zoom> <w:PunctuationKerning /> <w:ValidateAgainstSchemas /> <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid> <w:IgnoreMixedContent>false</w:IgnoreMixedContent> <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText> <w:Compatibility> <w:BreakWrappedTables /> <w:SnapToGridInCell /> <w:WrapTextWithPunct /> <w:UseAsianBreakRules /> <w:DontGrowAutofit /> </w:Compatibility> <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel> </w:WordDocument> </xml><![endif]--><!--[if gte mso 9]><xml> <w:LatentStyles DefLockedState="false" LatentStyleCount="156"> </w:LatentStyles> </xml><![endif]--><!--  /* Font Definitions */  @font-face 	{font-family:Wingdings; 	panose-1:5 0 0 0 0 0 0 0 0 0; 	mso-font-charset:2; 	mso-generic-font-family:auto; 	mso-font-pitch:variable; 	mso-font-signature:0 268435456 0 0 -2147483648 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:""; 	margin:0in; 	margin-bottom:.0001pt; 	text-align:justify; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:Arial; 	mso-fareast-font-family:"Times New Roman"; 	mso-bidi-font-family:"Times New Roman";} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.25in 1.0in 1.25in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;}  /* List Definitions */  @list l0 	{mso-list-id:195971273; 	mso-list-type:hybrid; 	mso-list-template-ids:-805925678 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;} @list l0:level1 	{mso-level-number-format:bullet; 	mso-level-text:; 	mso-level-tab-stop:.5in; 	mso-level-number-position:left; 	text-indent:-.25in; 	font-family:Symbol;} @list l0:level2 	{mso-level-number-format:bullet; 	mso-level-text:o; 	mso-level-tab-stop:1.0in; 	mso-level-number-position:left; 	text-indent:-.25in; 	font-family:"Courier New";} @list l0:level3 	{mso-level-number-format:bullet; 	mso-level-text:; 	mso-level-tab-stop:1.5in; 	mso-level-number-position:left; 	text-indent:-.25in; 	font-family:Wingdings;} ol 	{margin-bottom:0in;} ul 	{margin-bottom:0in;} --><!--[if gte mso 10]> <mce:style><!   /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman"; 	mso-ansi-language:#0400; 	mso-fareast-language:#0400; 	mso-bidi-language:#0400;} --> <!--[endif]--></p>
<ul style="margin-top: 0in;" type="disc">
<li class="MsoNormal" style="text-align: left;">Current User Run Key for ctfmon.exe
<ul style="margin-top: 0in;" type="circle">
<li class="MsoNormal" style="text-align: left;">[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]
<ul style="margin-top: 0in;" type="square">
<li class="MsoNormal" style="text-align: left;">ctfmon.exe = &#8220;%System%\ctfmon.exe&#8221;</li>
</ul>
</li>
<li class="MsoNormal" style="text-align: left;">NOTE:<span> </span>Use of       this key appears to be behavior that is consistent with non-malicious       activity associated with uncorrupted versions of this program.</li>
</ul>
</li>
<li class="MsoNormal" style="text-align: left;">The malicious files ws2_32.dll and ctfmon.exe placed in the      %SYSTEM%\dllcache directory to ensure that if they are deleted or modified      the system will restore them automatically.<span> </span>This means that the sfcfiles.dll had to      be updated to include the names of both files.<span> </span>This also means that the services had to      be disable temporarily which could mean that the LastWrite time for the      following key and value was updated.<span> </span>Unfortunately there are many key values associated with Winlogon      and therefore the LastWrite time is modified regularly.
<ul style="margin-top: 0in;" type="circle">
<li class="MsoNormal" style="text-align: left;">[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows       NT\CurrentVersion\Winlogon]
<ul style="margin-top: 0in;" type="square">
<li class="MsoNormal" style="text-align: left;">SFCDisable should equal 0 to indicate that WFP is        enabled</li>
</ul>
</li>
<li class="MsoNormal" style="text-align: left;">[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows       NT\Windows File Protection]
<ul style="margin-top: 0in;" type="square">
<li class="MsoNormal" style="text-align: left;">SFCDisable should equal 0 to indicate that WFP is enabled</li>
</ul>
</li>
</ul>
</li>
</ul>
<p>ARTIFACTS</p>
<p><!--[if gte mso 9]><xml> <w:WordDocument> <w:View>Normal</w:View> <w:Zoom>0</w:Zoom> <w:PunctuationKerning /> <w:ValidateAgainstSchemas /> <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid> <w:IgnoreMixedContent>false</w:IgnoreMixedContent> <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText> <w:Compatibility> <w:BreakWrappedTables /> <w:SnapToGridInCell /> <w:WrapTextWithPunct /> <w:UseAsianBreakRules /> <w:DontGrowAutofit /> </w:Compatibility> <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel> </w:WordDocument> </xml><![endif]--><!--[if gte mso 9]><xml> <w:LatentStyles DefLockedState="false" LatentStyleCount="156"> </w:LatentStyles> </xml><![endif]--><!--  /* Font Definitions */  @font-face 	{font-family:Wingdings; 	panose-1:5 0 0 0 0 0 0 0 0 0; 	mso-font-charset:2; 	mso-generic-font-family:auto; 	mso-font-pitch:variable; 	mso-font-signature:0 268435456 0 0 -2147483648 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:""; 	margin:0in; 	margin-bottom:.0001pt; 	text-align:justify; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:Arial; 	mso-fareast-font-family:"Times New Roman"; 	mso-bidi-font-family:"Times New Roman";} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.25in 1.0in 1.25in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;}  /* List Definitions */  @list l0 	{mso-list-id:195971273; 	mso-list-type:hybrid; 	mso-list-template-ids:-805925678 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;} @list l0:level1 	{mso-level-number-format:bullet; 	mso-level-text:; 	mso-level-tab-stop:.5in; 	mso-level-number-position:left; 	text-indent:-.25in; 	font-family:Symbol;} @list l0:level2 	{mso-level-number-format:bullet; 	mso-level-text:o; 	mso-level-tab-stop:1.0in; 	mso-level-number-position:left; 	text-indent:-.25in; 	font-family:"Courier New";} @list l0:level3 	{mso-level-number-format:bullet; 	mso-level-text:; 	mso-level-tab-stop:1.5in; 	mso-level-number-position:left; 	text-indent:-.25in; 	font-family:Wingdings;} ol 	{margin-bottom:0in;} ul 	{margin-bottom:0in;} --><!--[if gte mso 10]> <mce:style><!   /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman"; 	mso-ansi-language:#0400; 	mso-fareast-language:#0400; 	mso-bidi-language:#0400;} --> <!--[endif]--></p>
<ul style="margin-top: 0in;" type="disc">
<li class="MsoNormal" style="text-align: left;">Creates
<ul style="margin-top: 0in;" type="circle">
<li class="MsoNormal" style="text-align: left;">%System%\ctfmen.exe</li>
<li class="MsoNormal" style="text-align: left;">%System%\noise0.dat</li>
<li class="MsoNormal" style="text-align: left;">%System%\regs.dat</li>
<li class="MsoNormal" style="text-align: left;">%System%\subs.dat</li>
<li class="MsoNormal" style="text-align: left;">%System%\windcb.dat</li>
<li class="MsoNormal" style="text-align: left;">%System%\windows.dll</li>
<li class="MsoNormal" style="text-align: left;">%System%\bkav2006.exe</li>
</ul>
</li>
<li class="MsoNormal" style="text-align: left;">Modifies
<ul style="margin-top: 0in;" type="circle">
<li class="MsoNormal" style="text-align: left;">%System%\dllcache\ws2_32.dll</li>
<li class="MsoNormal" style="text-align: left;">%System%\dllcache\ctfmon.exe</li>
<li class="MsoNormal" style="text-align: left;">%System%\ws2_32.dll</li>
<li class="MsoNormal" style="text-align: left;">%System%\ctfmon.exe</li>
<li class="MsoNormal" style="text-align: left;">C:\boot.ini - disables DEP
<ul style="margin-top: 0in;" type="square">
<li class="MsoNormal" style="text-align: left;">The boot.ini is modified so that DEP is        disabled.<span> </span>This is done by        changing the /noexecute value to &#8220;alwaysoff&#8221; - see the DEP        reference in the notes</li>
</ul>
</li>
</ul>
</li>
<li class="MsoNormal" style="text-align: left;">Mutexes created – these may be due to the malware or due to      other processes or the subverted programs
<ul style="margin-top: 0in;" type="circle">
<li class="MsoNormal" style="text-align: left;">oleacc-msaa-loaded</li>
<li class="MsoNormal" style="text-align: left;">MSCTF.Shared.MUTEX.APG</li>
<li class="MsoNormal" style="text-align: left;">08B1CDBCH</li>
<li class="MsoNormal" style="text-align: left;">mutexA</li>
</ul>
</li>
<li class="MsoNormal" style="text-align: left;">DNS Queries and Web activity
<ul style="margin-top: 0in;" type="circle">
<li class="MsoNormal" style="text-align: left;">v4.windowsaupdate.com</li>
<li class="MsoNormal" style="text-align: left;">happytimer.free.info</li>
</ul>
</li>
<li class="MsoNormal" style="text-align: left;">Network Traffic
<ul style="margin-top: 0in;" type="circle">
<li class="MsoNormal" style="text-align: left;">Possibly Excel or other Office or Wordpad Documents       that contain shellcode to connect to remote sites and download malware</li>
<li class="MsoNormal" style="text-align: left;">Multiple IDS/IPS signatures should detect       shellcode, writes to system32 directory,</li>
</ul>
</li>
<li class="MsoNormal" style="text-align: left;">Other
<ul style="margin-top: 0in;" type="circle">
<li class="MsoNormal" style="text-align: left;">During initial malware infection the following       files have been detected.<span> </span>These       files may be associated with a completely different malware but their       occurrence precedes the activity associated with Trojan.RegSubsDat.A and       should be noted.
<ul style="margin-top: 0in;" type="square">
<li class="MsoNormal" style="text-align: left;">% Windir %\SchedLog.Txt or %Windir%\Tasks\SchedLog.Txt</li>
<li class="MsoNormal" style="text-align: left;"><span> </span>At1.job        associated with running the program TMP.EXE</li>
<li class="MsoNormal" style="text-align: left;">TMP.EXE – content or actions of executable unknown</li>
<li class="MsoNormal" style="text-align: left;">del.bat – content or actions of executable unknown</li>
<li class="MsoNormal" style="text-align: left;">sfcfiles.dll – modified to include the        %System%\ws2_32.dll and %System%\ctfmon.exe</li>
<li class="MsoNormal" style="text-align: left;">%Windir%\JavaApplet</li>
<li class="MsoNormal" style="text-align: left;">%Windir%\h323log.txt</li>
</ul>
</li>
</ul>
</li>
</ul>
<p>RESEARCH NOTES</p>
<p>From system analysis it appears that the infection starts out by a scheduled task being created on the system.  The Scheduled Task Log shows that a task titled At1.job (probably depends if there is already an At1.job) is suppose to run &#8220;TMP.EXE&#8221;.  After this is run the other files appear on the system.  I also detect the occurrence of the file &#8220;del.bat&#8221; in system restore files.  I have not been able to recover either &#8220;TMP.EXE&#8221; or &#8220;del.bat&#8221; from any infected systems.  After that the dllcache files appear, the &#8220;boot.ini&#8221; file is modified, the sfcfile.dll is modified to include the new files in the dllcache, and the Prefetch file for CTFMON.EXE is created or modified.  Later after that the bkav2006.exe file, the “.dat” files, and the JavaApplet folder appear (possibly after a reboot), see the ThreatExpert update.  All of this activity appears to be surrounded by System Restore points being created.  These restore points could be caused by system files being updated or by some other system activity.</p>
<p>RECOMMENDATIONS</p>
<p><!--[if gte mso 9]><xml> <w:WordDocument> <w:View>Normal</w:View> <w:Zoom>0</w:Zoom> <w:PunctuationKerning /> <w:ValidateAgainstSchemas /> <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid> <w:IgnoreMixedContent>false</w:IgnoreMixedContent> <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText> <w:Compatibility> <w:BreakWrappedTables /> <w:SnapToGridInCell /> <w:WrapTextWithPunct /> <w:UseAsianBreakRules /> <w:DontGrowAutofit /> </w:Compatibility> <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel> </w:WordDocument> </xml><![endif]--><!--[if gte mso 9]><xml> <w:LatentStyles DefLockedState="false" LatentStyleCount="156"> </w:LatentStyles> </xml><![endif]--><!--  /* Font Definitions */  @font-face 	{font-family:Wingdings; 	panose-1:5 0 0 0 0 0 0 0 0 0; 	mso-font-charset:2; 	mso-generic-font-family:auto; 	mso-font-pitch:variable; 	mso-font-signature:0 268435456 0 0 -2147483648 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:""; 	margin:0in; 	margin-bottom:.0001pt; 	text-align:justify; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:Arial; 	mso-fareast-font-family:"Times New Roman"; 	mso-bidi-font-family:"Times New Roman";} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.25in 1.0in 1.25in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;}  /* List Definitions */  @list l0 	{mso-list-id:1892963728; 	mso-list-type:hybrid; 	mso-list-template-ids:-107816754 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;} @list l0:level1 	{mso-level-number-format:bullet; 	mso-level-text:; 	mso-level-tab-stop:.5in; 	mso-level-number-position:left; 	text-indent:-.25in; 	font-family:Symbol;} ol 	{margin-bottom:0in;} ul 	{margin-bottom:0in;} --><!--[if gte mso 10]> <mce:style><!   /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman"; 	mso-ansi-language:#0400; 	mso-fareast-language:#0400; 	mso-bidi-language:#0400;} --> <!--[endif]--></p>
<ul style="margin-top: 0in;" type="disc">
<li class="MsoNormal" style="text-align: left;">Apply Microsoft Patches MS09-009 and MS09-010</li>
<li class="MsoNormal" style="text-align: left;">Update all third party applications including Microsoft Office      and Adobe PDF (added for good measure)</li>
<li class="MsoNormal" style="text-align: left;">Monitor DNS logs for queries pertaining to      &#8220;windowsaupdate&#8221; and &#8220;happytimer&#8221;</li>
<li class="MsoNormal" style="text-align: left;">Block via DNS, web proxy, or web filtering      &#8220;windowsaupdate.com&#8221; and &#8220;happytimer.com&#8221;</li>
<li class="MsoNormal" style="text-align: left;">Do not read emails or surf the web from servers or critical      assets</li>
<li class="MsoNormal" style="text-align: left;">Update IDS/IPS solutions to detect shellcode, shellcode in      Office products, system32 writes, UPX packer detection</li>
<li class="MsoNormal" style="text-align: left;">Use file integrity products or host-based IDS solutions to      detect modifications to system files</li>
<li class="MsoNormal" style="text-align: left;">Update AV signatures</li>
</ul>
<p>RESOURCES</p>
<p><!--[if gte mso 9]><xml> <w:WordDocument> <w:View>Normal</w:View> <w:Zoom>0</w:Zoom> <w:PunctuationKerning /> <w:ValidateAgainstSchemas /> <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid> <w:IgnoreMixedContent>false</w:IgnoreMixedContent> <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText> <w:Compatibility> <w:BreakWrappedTables /> <w:SnapToGridInCell /> <w:WrapTextWithPunct /> <w:UseAsianBreakRules /> <w:DontGrowAutofit /> </w:Compatibility> <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel> </w:WordDocument> </xml><![endif]--><!--[if gte mso 9]><xml> <w:LatentStyles DefLockedState="false" LatentStyleCount="156"> </w:LatentStyles> </xml><![endif]--><!--  /* Font Definitions */  @font-face 	{font-family:Wingdings; 	panose-1:5 0 0 0 0 0 0 0 0 0; 	mso-font-charset:2; 	mso-generic-font-family:auto; 	mso-font-pitch:variable; 	mso-font-signature:0 268435456 0 0 -2147483648 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:""; 	margin:0in; 	margin-bottom:.0001pt; 	text-align:justify; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:Arial; 	mso-fareast-font-family:"Times New Roman"; 	mso-bidi-font-family:"Times New Roman";} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.25in 1.0in 1.25in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;}  /* List Definitions */  @list l0 	{mso-list-id:2055616894; 	mso-list-type:hybrid; 	mso-list-template-ids:331505078 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;} @list l0:level1 	{mso-level-number-format:bullet; 	mso-level-text:; 	mso-level-tab-stop:.5in; 	mso-level-number-position:left; 	text-indent:-.25in; 	font-family:Symbol;} ol 	{margin-bottom:0in;} ul 	{margin-bottom:0in;} --><!--[if gte mso 10]> <mce:style><!   /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman"; 	mso-ansi-language:#0400; 	mso-fareast-language:#0400; 	mso-bidi-language:#0400;} --> <!--[endif]--></p>
<ul style="margin-top: 0in;" type="disc">
<li class="MsoNormal" style="text-align: left;">ThreatExpert Trojan.RegSubsDat Report -      http://www.threatexpert.com/report.aspx?md5=0cafb41eca73d768091bc93f4343cbb9</li>
<li class="MsoNormal" style="text-align: left;">IBM X-Force: Microsoft Excel Remote Code Execution      Vulnerability -      https://portal.mss.iss.net/mss/xftas/alertAdvisory/details.mss?alertAdvisoryId=3311</li>
<li class="MsoNormal" style="text-align: left;">Trojan.Regsubdat.A -      http://www.symantec.com/security_response/writeup.jsp?docid=2009-042215-2550-99&amp;tabid=2</li>
<li class="MsoNormal" style="text-align: left;">W32.Regsubdat.A!inf -      http://www.symantec.com/security_response/writeup.jsp?docid=2009-042222-3030-99&amp;tabid=2</li>
<li class="MsoNormal" style="text-align: left;">Microsoft Security Bulletin MS09-009 - Critical - http://www.microsoft.com/technet/security/Bulletin/MS09-009.mspx</li>
<li class="MsoNormal" style="text-align: left;">CVE-2009-0100 -      http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-0100</li>
<li class="MsoNormal" style="text-align: left;">Microsoft Excel Malformed Object Memory Corruption Bug Lets      Remote Users Execute Arbitrary Code - http://securitytracker.com/alerts/2009/Apr/1022039.html</li>
<li class="MsoNormal" style="text-align: left;">A detailed description of the Data Execution Prevention (DEP)      feature in Windows XP Service Pack 2, Windows XP Tablet PC Edition 2005,      and Windows Server 2003 - http://support.microsoft.com/kb/875352</li>
<li class="MsoNormal" style="text-align: left;">Registry settings for Windows File Protection - http://support.microsoft.com/kb/q222473/</li>
<li class="MsoNormal" style="text-align: left;">Hacking Windows File Protection - http://www.bitsum.com/aboutwfp.asp</li>
</ul>
<p>POSSIBLY RELATED</p>
<p><!--[if gte mso 9]><xml> <w:WordDocument> <w:View>Normal</w:View> <w:Zoom>0</w:Zoom> <w:PunctuationKerning /> <w:ValidateAgainstSchemas /> <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid> <w:IgnoreMixedContent>false</w:IgnoreMixedContent> <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText> <w:Compatibility> <w:BreakWrappedTables /> <w:SnapToGridInCell /> <w:WrapTextWithPunct /> <w:UseAsianBreakRules /> <w:DontGrowAutofit /> </w:Compatibility> <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel> </w:WordDocument> </xml><![endif]--><!--[if gte mso 9]><xml> <w:LatentStyles DefLockedState="false" LatentStyleCount="156"> </w:LatentStyles> </xml><![endif]--></p>
<p><!--[if gte mso 10]><br />
<mce:style><!   /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman"; 	mso-ansi-language:#0400; 	mso-fareast-language:#0400; 	mso-bidi-language:#0400;} --></p>
<p><!--[endif]--></p>
<ul style="margin-top: 0in;" type="disc">
<li class="MsoNormal" style="text-align: left;">Microsoft Security Bulletin MS09-010 - Critical -      http://www.microsoft.com/technet/security/Bulletin/MS09-010.mspx</li>
<li class="MsoNormal" style="text-align: left;">Microsoft WordPad Text Converter Remote Code Execution      Vulnerability - http://www.securityfocus.com/bid/32718/info</li>
<li class="MsoNormal" style="text-align: left;">Microsoft WordPad Word 97 Text Converter Memory Corruption      Error Lets Remote Users Execute Arbitrary Code - http://securitytracker.com/alerts/2008/Dec/1021376.html</li>
</ul>
<p class="MsoNormal">
<p class="MsoNormal">For those of you still reading I&#8217;ll provide you with what is currently being provided by Symantec and Microsoft for this malware.  I am going to leave the recommendations off of the Symantec write-up to save space.  One note I would like to make is that the Symantec write up talks about injecting code into specific dlls.  This is a perfect example of information that malware analysis will discover that an analysis of system artifacts may miss.  These write-ups are still necessary and helpful.</p>
<p class="MsoNormal"><strong>Symantec - </strong><a href="http://www.symantec.com/security_response/writeup.jsp?docid=2009-042215-2550-99&amp;tabid=2"title="Hopefully there is more information when you read this."  target="_blank" onclick="javascript:urchinTracker ('/outbound/article/www.symantec.com');">Trojan.Regsubdat.A </a><strong><br />
</strong></p>
<blockquote>
<div><strong>Discovered: </strong>April 22, 2009</div>
<div><strong>Updated: </strong>April 23, 2009 7:45:14 PM</div>
<div><strong>Type: </strong>Trojan</div>
<div><strong>Infection Length: </strong>33,280 bytes</div>
<div><strong>Systems Affected: </strong>Windows 2000, Windows 95, Windows 98, Windows Me, Windows NT, Windows Server 2003, Windows Vista, Windows XP</div>
<p>The Trojan may arrive as an email attachment.</p>
<p>Once executed, the Trojan creates the following files:</p>
<ul>
<li>%System%\ctfmen.exe</li>
<li>%System%\noise0.dat</li>
<li>%System%\regs.dat</li>
<li>%System%\subs.dat</li>
<li>%System%\windcb.dat</li>
<li>%System%\windows.dll</li>
</ul>
<p>It then modifies the following files:</p>
<ul>
<li>%System%\dllcache\ws2_32.dll</li>
<li>%System%\dllcache\ctfmon.exe</li>
<li>%System%\ws2_32.dll</li>
<li>%System%\ctfmon.exe</li>
<li>C:\boot.ini</li>
</ul>
</blockquote>
<blockquote><p>The Trojan then disables the Data Execution Prevention (DEP).</p>
<p>Next, the Trojan injects executable code from the non-executable .dat files into the ctfmon.exe process and any other process that loads the following file:<br />
%System%\ws2_32.dll</p>
<p>Once the compromised computer has restarted, the Trojan contacts the following remote location and may download additional files:<br />
v4.windowsaupdate.com</p></blockquote>
<p class="MsoNormal"><strong>Microsoft - </strong><a href="http://www.microsoft.com/security/portal/Entry.aspx?Name=Virus%3aWin32%2fKirpich.A"title="Hopefully there is more information when you click on this."  target="_blank" onclick="javascript:urchinTracker ('/outbound/article/www.microsoft.com');">Virus:Win32/Kirpich.A</a></p>
<blockquote>
<p class="MsoNormal"><strong>Summary</strong><br />
This software threat is detected by the Microsoft antivirus engine. Technical details are not currently available for this threat.</p></blockquote>
<p class="MsoNormal">
<p class="MsoNormal">Go forth and do good things,</p>
<p class="MsoNormal">Don C. Weber</p>
<p><!--[if gte mso 9]><xml> <w:WordDocument> <w:View>Normal</w:View> <w:Zoom>0</w:Zoom> <w:PunctuationKerning /> <w:ValidateAgainstSchemas /> <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid> <w:IgnoreMixedContent>false</w:IgnoreMixedContent> <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText> <w:Compatibility> <w:BreakWrappedTables /> <w:SnapToGridInCell /> <w:WrapTextWithPunct /> <w:UseAsianBreakRules /> <w:DontGrowAutofit /> </w:Compatibility> <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel> </w:WordDocument> </xml><![endif]--><!--[if gte mso 9]><xml> <w:LatentStyles DefLockedState="false" LatentStyleCount="156"> </w:LatentStyles> </xml><![endif]--><!--  /* Font Definitions */  @font-face 	{font-family:Wingdings; 	panose-1:5 0 0 0 0 0 0 0 0 0; 	mso-font-charset:2; 	mso-generic-font-family:auto; 	mso-font-pitch:variable; 	mso-font-signature:0 268435456 0 0 -2147483648 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:""; 	margin:0in; 	margin-bottom:.0001pt; 	text-align:justify; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:Arial; 	mso-fareast-font-family:"Times New Roman"; 	mso-bidi-font-family:"Times New Roman";} h4 	{mso-style-link:"Heading 4 Char"; 	mso-style-next:Normal; 	margin:0in; 	margin-bottom:.0001pt; 	text-align:justify; 	mso-pagination:widow-orphan; 	page-break-after:avoid; 	mso-outline-level:4; 	font-size:11.0pt; 	font-family:Arial; 	mso-bidi-font-family:"Times New Roman"; 	font-variant:small-caps;} span.Heading4Char 	{mso-style-name:"Heading 4 Char"; 	mso-style-noshow:yes; 	mso-style-locked:yes; 	mso-style-link:"Heading 4"; 	mso-ansi-font-size:11.0pt; 	mso-bidi-font-size:11.0pt; 	font-family:Arial; 	mso-ascii-font-family:Arial; 	mso-hansi-font-family:Arial; 	font-variant:small-caps; 	mso-ansi-language:EN-US; 	mso-fareast-language:EN-US; 	mso-bidi-language:AR-SA; 	font-weight:bold;} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.25in 1.0in 1.25in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;}  /* List Definitions */  @list l0 	{mso-list-id:1892963728; 	mso-list-type:hybrid; 	mso-list-template-ids:-107816754 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;} @list l0:level1 	{mso-level-number-format:bullet; 	mso-level-text:; 	mso-level-tab-stop:.5in; 	mso-level-number-position:left; 	text-indent:-.25in; 	font-family:Symbol;} ol 	{margin-bottom:0in;} ul 	{margin-bottom:0in;} --><!--[if gte mso 10]> <mce:style><!   /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman"; 	mso-ansi-language:#0400; 	mso-fareast-language:#0400; 	mso-bidi-language:#0400;} --> <!--[endif]--></p>
<p><!--[if gte mso 9]><xml> <w:WordDocument> <w:View>Normal</w:View> <w:Zoom>0</w:Zoom> <w:PunctuationKerning /> <w:ValidateAgainstSchemas /> <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid> <w:IgnoreMixedContent>false</w:IgnoreMixedContent> <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText> <w:Compatibility> <w:BreakWrappedTables /> <w:SnapToGridInCell /> <w:WrapTextWithPunct /> <w:UseAsianBreakRules /> <w:DontGrowAutofit /> </w:Compatibility> <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel> </w:WordDocument> </xml><![endif]--><!--[if gte mso 9]><xml> <w:LatentStyles DefLockedState="false" LatentStyleCount="156"> </w:LatentStyles> </xml><![endif]--></p>
<p><!--[if gte mso 10]><br />
<mce:style><!   /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman"; 	mso-ansi-language:#0400; 	mso-fareast-language:#0400; 	mso-bidi-language:#0400;} --></p>
<p><!--[endif]--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cutawaysecurity.com/blog/archives/593/feed</wfw:commentRss>
		</item>
		<item>
		<title>Quick Incident Response Techniques III</title>
		<link>http://www.cutawaysecurity.com/blog/archives/561</link>
		<comments>http://www.cutawaysecurity.com/blog/archives/561#comments</comments>
		<pubDate>Mon, 11 May 2009 11:34:30 +0000</pubDate>
		<dc:creator>cutaway</dc:creator>
		
		<category><![CDATA[F-Response]]></category>

		<category><![CDATA[Incident Response]]></category>

		<category><![CDATA[forensics]]></category>

		<category><![CDATA[FTK Imager]]></category>

		<category><![CDATA[Harlan Carvey]]></category>

		<category><![CDATA[Incident Respoonse]]></category>

		<category><![CDATA[Notepad++]]></category>

		<category><![CDATA[RegRipper]]></category>

		<category><![CDATA[Security Ripcord]]></category>

		<category><![CDATA[Windows Incident Response]]></category>

		<guid isPermaLink="false">http://www.cutawaysecurity.com/blog/?p=561</guid>
		<description><![CDATA[In our first Quick Incident Response Techniques I and II we talked about how to use F-Response and FTK Imager to gather hard drive and memory information from a remote system.  Now we need to talk alittle bit about what we can do with access to the remote system.
Setting this up again.  We have connected [...]]]></description>
			<content:encoded><![CDATA[<p>In our first <a href="http://www.cutawaysecurity.com/blog/archives/536"title="QIRT I"  target="_blank" >Quick Incident Response Techniques I</a> and <a href="http://www.cutawaysecurity.com/blog/?p=548"title="QIRT II"  target="_blank" >II</a> we talked about how to use F-Response and FTK Imager to gather hard drive and memory information from a remote system.  Now we need to talk alittle bit about what we can do with access to the remote system.</p>
<p>Setting this up again.  We have connected to a remote system using<a href="http://www.f-response.com/"title="F-Response"  target="_blank" onclick="javascript:urchinTracker ('/outbound/article/www.f-response.com');"> F-Response Enterprise Management Console</a> (FEMC).  This provides us with Read-Only access as a physical drive on the local system.  We are not going to do things with that access.</p>
<p style="margin-bottom: 0in;">Files pulled from remote system can be analyzed using any number of tools.  A good example of this is pulling the Registry files and parsing them with <a href="http://www.regripper.net/"title="RegRipper - Please contribute plugins"  target="_blank" onclick="javascript:urchinTracker ('/outbound/article/www.regripper.net');">RegRipper</a>.  Understanding registry settings and Last Write times associated with registry keys is critical when trying to piece together what has occurred on a system in the times leading up to an incident.</p>
<div id="attachment_562" class="wp-caption alignnone" style="width: 510px"><img class="size-full wp-image-562" title="RegRipper" src="http://www.cutawaysecurity.com/blog/wp-content/uploads/f-r18.png" alt="RegRipper" width="500" height="420" /><p class="wp-caption-text">RegRipper</p></div>
<p style="margin-bottom: 0in;">Although files can be pulled from the remote system and stored locally, they can also just be parsed, as is, from the local representation of the remote system.  The following example shows RegRipper parsing the SAM registry file to pull local user account information for the remote system.  The text output can be written to the local drive or to an external storage device.  The same can be accomplished for the System, Software, and Security registry files.  This example is not limited to the Registry files.  Analysts can use their favorite analysis and parsing tools to access other important files such as the Windows Event Log or other application log files.</p>
<div id="attachment_563" class="wp-caption alignnone" style="width: 510px"><img class="size-full wp-image-563" title="RegRipper parsing SAM registry file from remote system" src="http://www.cutawaysecurity.com/blog/wp-content/uploads/f-r19.png" alt="RegRipper parsing SAM registry file from remote system" width="500" height="420" /><p class="wp-caption-text">RegRipper parsing SAM registry file from remote system</p></div>
<p style="margin-bottom: 0in;">Local access to the remote file systems allow analysts to perform timeline analysis to determine what has occurred on a system.  Timeline analysis provides a sense of logical progression.  Although some malware will use the anti-forensic techniques of modifying file times this will not occur for every file or in every instance.  Anti-forensic techniques only means that the analyst needs to understand that the times used to parse the information might be slightly off. <a href="http://wiki.sleuthkit.org/index.php?title=Body_file"title="Sleuth Kit's Bodyfile"  target="_blank" onclick="javascript:urchinTracker ('/outbound/article/wiki.sleuthkit.org');"> Body file</a> scripts are easily generated using Perl or Python to stat every file available through the attached Drive Letter.  The following image demonstrates this technique.  Other, more through methods, can be performed such as using <a href="http://www.sleuthkit.org/sleuthkit/man/fls.html"title="Sleuth Kit's FLS"  target="_blank" onclick="javascript:urchinTracker ('/outbound/article/www.sleuthkit.org');">Sleuthkit&#8217;s FLS</a> to grab file information from available and deleted files and folders.  Unless specifically programmed to identify deleted files and folders, the Perl and Python stat scripts will not provide access or information about these important files.</p>
<div id="attachment_564" class="wp-caption alignnone" style="width: 707px"><img class="size-full wp-image-564" title="Generating a Timeline BodyFile using Python" src="http://www.cutawaysecurity.com/blog/wp-content/uploads/f-r20.png" alt="Generating a Timeline BodyFile using Python" width="697" height="564" /><p class="wp-caption-text">Generating a Timeline BodyFile using Python</p></div>
<blockquote>
<p style="margin-bottom: 0in;">As you know, I like to share scripts I have written to perform tasks such as creating the body file you see in the image above.  However, as he often does, Harlan has <a href="http://windowsir.blogspot.com/2009/03/timeline-analysis-pt-v-first-steps.html"title="Timeline Analysis, pt V - First Steps"  target="_blank" onclick="javascript:urchinTracker ('/outbound/article/windowsir.blogspot.com');">already pointed us to a better way of creating this body file</a>.  Basically, just use the functionality inherit to FTK Imager to create a directory listing.  Now the file that is created will be tab delimited and it will be encoded <a href="http://en.wikipedia.org/wiki/UTF-16"title="UTF-16/UCS-2"  target="_blank" onclick="javascript:urchinTracker ('/outbound/article/en.wikipedia.org');">UCS-2LE</a>.  Although the tab delimiting is not a problem, the UCS-2LE encoding makes it difficult to grep through for specific files and directories.  I have found two ways around this.  First, on Windows systems, you can use <a href="http://notepad-plus.sourceforge.net/"title="Notepad++"  target="_blank" onclick="javascript:urchinTracker ('/outbound/article/notepad-plus.sourceforge.net');">Notepad++</a> to convert from UCS-2LE to UTF-8 through the Format dropdown in the Main Menu.  On Linux systems you should use the <a href="http://www.manpagez.com/man/1/iconv/"title="man iconv"  target="_blank" onclick="javascript:urchinTracker ('/outbound/article/www.manpagez.com');">iconv</a> command to do the same thing.  Hopefully soon enough I will have a script that will convert this output to a bodyfile.  Either that or Harlan will beat me to it as usual.</p>
</blockquote>
<p style="margin-bottom: 0in;">As F-Response is a live response tool it is important to understand the impact it will have on a remote system.  Three files will be written to the %System% directory.  F-response-ent.exe is the executable file.  F-response-ent.exe.ini is the configuraiton file for the executable.  F-response-ent.exe.log is a log file that records F-Response activity and can be used for debugging issues.</p>
<div id="attachment_565" class="wp-caption alignnone" style="width: 575px"><img class="size-full wp-image-565" title="F-Response files on remote system" src="http://www.cutawaysecurity.com/blog/wp-content/uploads/f-r21.png" alt="F-Response files on remote system" width="565" height="319" /><p class="wp-caption-text">F-Response files on remote system</p></div>
<p style="margin-bottom: 0in;">As F-Response is a client/server program there will be a network connection associated with the communication between the two components.  Actually as the remote client connects back to the FLMM and the FEMC there should be two network connections to port 5681, which is the default configuration setting.</p>
<div id="attachment_566" class="wp-caption alignnone" style="width: 595px"><img class="size-full wp-image-566" title="F-Response Established Connections" src="http://www.cutawaysecurity.com/blog/wp-content/uploads/f-r22.png" alt="F-Response Established Connections" width="585" height="585" /><p class="wp-caption-text">F-Response Established Connections</p></div>
<p style="margin-bottom: 0in;">Hopefully that is enough for today.  Next time we will start looking at how to analyze the memory we acquired.</p>
<p style="margin-bottom: 0in;">Go forth and do good things,</p>
<p style="margin-bottom: 0in;">Don C. Weber</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cutawaysecurity.com/blog/archives/561/feed</wfw:commentRss>
		</item>
		<item>
		<title>Quick Incident Response Techniques II</title>
		<link>http://www.cutawaysecurity.com/blog/archives/548</link>
		<comments>http://www.cutawaysecurity.com/blog/archives/548#comments</comments>
		<pubDate>Fri, 08 May 2009 20:51:29 +0000</pubDate>
		<dc:creator>cutaway</dc:creator>
		
		<category><![CDATA[F-Response]]></category>

		<category><![CDATA[Incident Response]]></category>

		<category><![CDATA[forensics]]></category>

		<category><![CDATA[FTK Imager]]></category>

		<category><![CDATA[Security Ripcord]]></category>

		<guid isPermaLink="false">http://www.cutawaysecurity.com/blog/?p=548</guid>
		<description><![CDATA[Picking up where we left off in the last post, Quick Incident Response Techniques, we are about to connect to the  hard drive and memory of a remote system.  In this case a Windows 2000 VMware image.  Our goals are to collect system information that will be helpful during an incident response.
At this point we [...]]]></description>
			<content:encoded><![CDATA[<p>Picking up where we left off in the last post, <a href="http://www.cutawaysecurity.com/blog/?p=536"title="Part One of This Series"  target="_blank" >Quick Incident Response Techniques</a>, we are about to connect to the  hard drive and memory of a remote system.  In this case a Windows 2000 VMware image.  Our goals are to collect system information that will be helpful during an incident response.</p>
<p>At this point we have used the <a href="http://www.f-response.com/"title="F-Response"  target="_blank" onclick="javascript:urchinTracker ('/outbound/article/www.f-response.com');">F-Response Enterprise Management Console</a> (FEMC) to connect to the remote system.  Now we are going to access these resources.</p>
<p><!-- 		@page { size: 8.5in 11in; margin: 0.79in } 		P { margin-bottom: 0.08in } --></p>
<p style="margin-bottom: 0in;">Login requests are performed by selecting the system disk or memory to access and the selecting Connect → Login to F-Response.</p>
<div id="attachment_549" class="wp-caption alignnone" style="width: 491px"><img class="size-full wp-image-549" title="Login to Remote Disks and Memory" src="http://www.cutawaysecurity.com/blog/wp-content/uploads/f-r9.png" alt="Login to Remote Disks and Memory" width="481" height="374" /><p class="wp-caption-text">Login to Remote Disks and Memory</p></div>
<p style="margin-bottom: 0in;"><!-- 		@page { size: 8.5in 11in; margin: 0.79in } 		P { margin-bottom: 0.08in } --></p>
<p style="margin-bottom: 0in;">Successful logins will be represented by the blue F-Response icon.  Selected disks and memory can now be accessed by any number of methods from the local operating system to data acquisition programs such as EnCase, FTK, FTK Imager, and ProDiscover, just to name a few.  Analysts should note that the Connect tab in the FEMC now displays a Physical Drive location on the local system.  Another welcome improvement in this new version.</p>
<div id="attachment_550" class="wp-caption alignnone" style="width: 742px"><img class="size-full wp-image-550" title="Connected to Remote Disks and Memory" src="http://www.cutawaysecurity.com/blog/wp-content/uploads/f-r10.png" alt="Connected to Remote Disks and Memory" width="732" height="366" /><p class="wp-caption-text">Connected to Remote Disks and Memory</p></div>
<p style="margin-bottom: 0in;"><!-- 		@page { size: 8.5in 11in; margin: 0.79in } 		P { margin-bottom: 0.08in } --></p>
<p style="margin-bottom: 0in;">Once connected to a remote system the local operating system will attempt to provide a local drive letter to all partitions whose file system it understands.  To help identify which drive letters have been assigned to these partitions the local system&#8217;s Disk Manager can be used.  Once the Disk Manager has been opened, if the remotes system&#8217;s memory has been connected, or if the local system does not recognize the remote file system it may notify the user with a request to format the remote disk.  As all disks are mounted as Read-only devices this should not be a problem, but selecting Cancel is the recommended action.</p>
<div id="attachment_551" class="wp-caption alignnone" style="width: 520px"><img class="size-full wp-image-551" title="Disk Manager - Memory Format" src="http://www.cutawaysecurity.com/blog/wp-content/uploads/f-r11.png" alt="Disk Manager - Memory Format" width="510" height="362" /><p class="wp-caption-text">Disk Manager - Memory Format</p></div>
<p style="margin-bottom: 0in;"><!-- 		@page { size: 8.5in 11in; margin: 0.79in } 		P { margin-bottom: 0.08in } --></p>
<p style="margin-bottom: 0in;">Disk Manager should now display all of the connected Physical Drives as well as any drive letters that have been assigned to them.</p>
<div id="attachment_552" class="wp-caption alignnone" style="width: 648px"><img class="size-full wp-image-552" title="Disk Manager" src="http://www.cutawaysecurity.com/blog/wp-content/uploads/f-r12.png" alt="Disk Manager" width="638" height="473" /><p class="wp-caption-text">Disk Manager</p></div>
<p style="margin-bottom: 0in;"><!-- 		@page { size: 8.5in 11in; margin: 0.79in } 		P { margin-bottom: 0.08in } --></p>
<p style="margin-bottom: 0in;">Now that the remote systems disk and memory are accessible as local Physical Drives, as mentioned previously, any data analysis tool can be used to collect the information provided by these drives.  One freely available tool that is capable of connecting to Physical Drives is <a href="http://www.accessdata.com/downloads.html"title="FTK Imager"  target="_blank" onclick="javascript:urchinTracker ('/outbound/article/www.accessdata.com');">AccessData&#8217;s FTK Imager</a>.</p>
<div id="attachment_553" class="wp-caption alignnone" style="width: 501px"><img class="size-full wp-image-553" title="FTK Imager" src="http://www.cutawaysecurity.com/blog/wp-content/uploads/f-r13.png" alt="FTK Imager" width="491" height="380" /><p class="wp-caption-text">FTK Imager</p></div>
<p><!-- 		@page { size: 8.5in 11in; margin: 0.79in } 		P { margin-bottom: 0.08in } --></p>
<p style="margin-bottom: 0in;">To connect FTK Imager to Physical Drives an analyst only has to press the icon with the green plus symbol.  This will produce the Select Drive window.  Because of the new markings provided by FEMC each Physical Drive is clearly marked as to the remote system and Physical Drive number making it easy for analysts to keep track of the resources with which they are working.</p>
<div id="attachment_554" class="wp-caption alignnone" style="width: 452px"><img class="size-full wp-image-554" title="FTK Imager Connecting to Physical Drives" src="http://www.cutawaysecurity.com/blog/wp-content/uploads/f-r14.png" alt="FTK Imager Connecting to Physical Drives" width="442" height="352" /><p class="wp-caption-text">FTK Imager Connecting to Physical Drives</p></div>
<p style="margin-bottom: 0in;"><!-- 		@page { size: 8.5in 11in; margin: 0.79in } 		P { margin-bottom: 0.08in } --></p>
<p style="margin-bottom: 0in;">Once connected to a remote drive using FTK Imager the analyst can review the information on the remote system and either acquire the full system or pull individual files including those that are normally locked by the operating system.</p>
<div id="attachment_555" class="wp-caption alignnone" style="width: 624px"><img class="size-full wp-image-555" title="FTK Imager Viewing Remote Drive" src="http://www.cutawaysecurity.com/blog/wp-content/uploads/f-r15.png" alt="FTK Imager Viewing Remote Drive" width="614" height="475" /><p class="wp-caption-text">FTK Imager Viewing Remote Drive</p></div>
<p style="margin-bottom: 0in;"><!-- 		@page { size: 8.5in 11in; margin: 0.79in } 		P { margin-bottom: 0.08in } --></p>
<p style="margin-bottom: 0in;">To create an image of memory the analyst only has to right click on the Physical Drive representing the remote system&#8217;s memory and select Export.  This will pop-up the Create Image window which will allow the analyst to select the location to store the bit-stream image of memory.</p>
<div id="attachment_556" class="wp-caption alignnone" style="width: 624px"><img class="size-full wp-image-556" title="FTK Imager Creating Image of Memory" src="http://www.cutawaysecurity.com/blog/wp-content/uploads/f-r16.png" alt="FTK Imager Creating Image of Memory" width="614" height="475" /><p class="wp-caption-text">FTK Imager Creating Image of Memory</p></div>
<p style="margin-bottom: 0in;"><!-- 		@page { size: 8.5in 11in; margin: 0.79in } 		P { margin-bottom: 0.08in } --></p>
<p style="margin-bottom: 0in;">Accessing files on Physical Drives that have been assigned Drive Letters does not require any special tools.  As long as the local operating system understands the file structure the individual files and folders can be accessed through the Windows Explorer.  This is a Read-only access that will allow the analyst to copy selected files out to their designated storage location.  Unlike many data acquisition tools, however, the origin and other information pertaining to the copied file will not be saved for future use.  Analysts will have to keep their own detailed notes when using this method of file access and collection.  This type of access also allows for the use of many tools installed on the local system.  Malware analysis is a great example.  Anti-virus scanners or the Gargoyle tool can be pointed to this Drive Letter to perform their malware analysis.</p>
<div id="attachment_557" class="wp-caption alignnone" style="width: 615px"><img class="size-full wp-image-557" title="Review Files Via Read-Only Disk Drive" src="http://www.cutawaysecurity.com/blog/wp-content/uploads/f-r17.png" alt="Review Files Via Read-Only Disk Drive" width="605" height="490" /><p class="wp-caption-text">Review Files Via Read-Only Disk Drive</p></div>
<p style="margin-bottom: 0in;">It should be noted, however, that reviewing some files and folders using this method may not be possible without elevated privileges.  The local system is still going to honor setting such as those files and folders marked as &#8220;hidden.&#8221;  To over come this limitation using the Windows Command Shell and programs such as SysInternal&#8217;s PSEXEC may be necessary.</p>
<p style="margin-bottom: 0in;">But more on that later.  For now I think this is enough.</p>
<p style="margin-bottom: 0in;">Go forth and do good things,</p>
<p style="margin-bottom: 0in;">Don C. Weber</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cutawaysecurity.com/blog/archives/548/feed</wfw:commentRss>
		</item>
		<item>
		<title>Quick Incident Response Techniques</title>
		<link>http://www.cutawaysecurity.com/blog/archives/536</link>
		<comments>http://www.cutawaysecurity.com/blog/archives/536#comments</comments>
		<pubDate>Fri, 08 May 2009 04:24:38 +0000</pubDate>
		<dc:creator>cutaway</dc:creator>
		
		<category><![CDATA[F-Response]]></category>

		<category><![CDATA[Incident Response]]></category>

		<category><![CDATA[forensics]]></category>

		<category><![CDATA[Security Ripcord]]></category>

		<guid isPermaLink="false">http://www.cutawaysecurity.com/blog/?p=536</guid>
		<description><![CDATA[&#60;!&#8211; 		@page { size: 8.5in 11in; margin: 0.79in } 		P { margin-bottom: 0.08in } 	&#8211;&#62;
When answers are needed fast an incident handler needs to be able to quickly gather pertinent information and begin data analysis.  Two things are necessary in these situations.  First, knowing what to look for and second know how to [...]]]></description>
			<content:encoded><![CDATA[<p>&lt;!&#8211; 		@page { size: 8.5in 11in; margin: 0.79in } 		P { margin-bottom: 0.08in } 	&#8211;&gt;</p>
<p style="margin-bottom: 0in;">When answers are needed fast an incident handler needs to be able to quickly gather pertinent information and begin data analysis.  Two things are necessary in these situations.  First, knowing what to look for and second know how to get it.  On the Windows Incident Response blog Harlan has been providing us with some of the important, detailed information required during incident responses in his posts about “<a href="http://windowsir.blogspot.com/2009/02/looking-for-bad-stuff-part-i.html"title="Part One"  target="_blank" onclick="javascript:urchinTracker ('/outbound/article/windowsir.blogspot.com');">Looking for</a> <a href="http://windowsir.blogspot.com/2009/02/looking-for-bad-stuff-pt-ii.html"title="Part Two"  target="_blank" onclick="javascript:urchinTracker ('/outbound/article/windowsir.blogspot.com');">Bad Stuff</a>” and “<a href="http://windowsir.blogspot.com/2009/04/timeline-analysis-xp-restore-points.html"title="Search for other Timeline Analysis Posts, Too"  target="_blank" onclick="javascript:urchinTracker ('/outbound/article/windowsir.blogspot.com');">Timeline Analysis</a>.”</p>
<p style="margin-bottom: 0in;">When specifics are not know there are several parts of a Windows operating system that are necessary for analysis.  These include:</p>
<ol>
<li>
<p style="margin-bottom: 0in;">The memory of the system to 	determine what and how a process is running.</p>
</li>
<li>
<p style="margin-bottom: 0in;">The registry of the system to 	determine information such as Autoruns, services, and other 	important configuration settings.</p>
</li>
<li>
<p style="margin-bottom: 0in;">System event logs for system 	access.</p>
</li>
<li>
<p style="margin-bottom: 0in;">A timeline of file and folder 	events.</p>
</li>
<li>
<p style="margin-bottom: 0in;">Anti-virus scan of the system to 	determine if the system is infected.</p>
</li>
</ol>
<p style="margin-bottom: 0in;">Armed with this information an incident handler can at least start an investigation and obtain an understanding of events on the target system.</p>
<p style="margin-bottom: 0in;">Now that we know what we want, how do we get it.  Traditional methods tell us to image the system to get the information necessary for an incident response.  But that takes time and physical access to systems.  These requirements can complicate things.  Third-party hosting or requirements for surreptitious information gathering may be factors of consideration.  This is where F-Response comes into play.  By now most of you know its capabilities of providing remote access to a system and providing access to the target system&#8217;s hard drives and memory.  Recent advances, particularly the April 15<sup>th</sup>, 2009 release of<a href="http://www.f-response.com/"title="F-Response"  target="_blank" onclick="javascript:urchinTracker ('/outbound/article/www.f-response.com');"> F-Response Enterprise Management Console</a> (FEMC), make remote information gathering much easier and stealthier.</p>
<p style="margin-bottom: 0in;">The information that follows is a quick run through of how to use FEMC in conjunction with a variety of tools to gather the pertinent system information that we have already covered.</p>
<p style="margin-bottom: 0in;">First we have to start with a remote system.  For this example I will be using a Windows 2000 Professional system loaded into Vmware Workstation.  This will provide us with all of the necessary components of a remote system.</p>
<div id="attachment_537" class="wp-caption alignnone" style="width: 263px"><img class="size-full wp-image-537" title="Windows 2000 Logon" src="http://www.cutawaysecurity.com/blog/wp-content/uploads/win2k.png" alt="Windows 2000 Logon" width="253" height="157" /><p class="wp-caption-text">Windows 2000 Logon</p></div>
<p style="margin-bottom: 0in;">&lt;!&#8211; 		@page { size: 8.5in 11in; margin: 0.79in } 		P { margin-bottom: 0.08in } 	&#8211;&gt;</p>
<p style="margin-bottom: 0in;">Next step is to start the F-Response License Manager Monitor (FLMM).  This will require that a dongle is inserted into one of the Universal Serial Bus (USB) ports on the system.  For systems with fewer USB ports a USB 2.0 Hub comes in very handy.  Be sure to pay close attention to the IP Address that the FLMM is configured to listen on.  Using Vmware is a perfect example because it makes the Host system an multi-homed system.  If the correct IP Address is not selected the remote system, in this case the VMware Guest, will not be able to contact the FLMM and the remote F-Response program will not start.</p>
<div id="attachment_538" class="wp-caption alignnone" style="width: 287px"><img class="size-full wp-image-538" title="Start F-Response License Manager Monitor" src="http://www.cutawaysecurity.com/blog/wp-content/uploads/f-r1.png" alt="Start F-Response License Manager Monitor" width="277" height="299" /><p class="wp-caption-text">Start F-Response License Manager Monitor</p></div>
<p style="margin-bottom: 0in;">&lt;!&#8211; 		@page { size: 8.5in 11in; margin: 0.79in } 		P { margin-bottom: 0.08in } 	&#8211;&gt;</p>
<p style="margin-bottom: 0in;">Next we start the FEMC.  As I mentioned, the FEMC makes deploying and managing remote deployments of F-Response very easy and intuitive.</p>
<div id="attachment_539" class="wp-caption alignnone" style="width: 357px"><img class="size-full wp-image-539" title="F-Response Enterprise Management Console" src="http://www.cutawaysecurity.com/blog/wp-content/uploads/f-r2.png" alt="F-Response Enterprise Management Console" width="347" height="199" /><p class="wp-caption-text">F-Response Enterprise Management Console</p></div>
<p style="margin-bottom: 0in;">&lt;!&#8211; 		@page { size: 8.5in 11in; margin: 0.79in } 		P { margin-bottom: 0.08in } 	&#8211;&gt;</p>
<p style="margin-bottom: 0in;">Before deploying F-Response to remote systems the remote program has to be configured.  This is done by selecting File → Configuration.  Several items need to be configured.  First is the Domain/Network Credentials.  This is the authentication necessary to access the remote system.  These credentials require Administrative level capabilities because the program will be installed in the systems %SYSTEM% directory.  Generally, C:\WINNT\system32 or C:\Windows\system32.  Administrative level capabilities are also necessary because F-Response will be started as a service.  Next, the Host Configuration should be configured.  I generally always select Physical Memory because even if I initially decide that I don&#8217;t want the system memory something I see on the system might change my mind.  The only real reason to not select Physical Memory would be if you were deploying F-Response to a 64-bit system.  Currently F-Response does not support acquisition of Physical Memory on 64-bit systems.  The Username and Password fields are used to authenticate connections to the remote deployments.  The Username must be eight characters log and the password must be fourteen characters long.  The IP Address in the Validation Configuration should default to the settings applied to the FLMM, a quick verification would not hurt to ensure proper configuration.  The last thing to consider during configuration is information about the remote F-Response deployment.  Service Name refers to the name of the service F-Response will run as on the remote system.  Executable refers to the executable that will be pushed to the remote system.  Both of these input should be noted and remembered so that they can be easily identified and distinguished during data analysis.  A good trick is to rename the executable before pushing it to the remote system.  This will help keep other persons and processes on the remote system from easily identifying that F-Response has been deployed.</p>
<div id="attachment_540" class="wp-caption alignnone" style="width: 425px"><img class="size-full wp-image-540" title="F-Response Configuration" src="http://www.cutawaysecurity.com/blog/wp-content/uploads/f-r3.png" alt="F-Response Configuration" width="415" height="460" /><p class="wp-caption-text">F-Response Configuration</p></div>
<p>&lt;!&#8211; 		@page { size: 8.5in 11in; margin: 0.79in } 		P { margin-bottom: 0.08in } 	&#8211;&gt;</p>
<p style="margin-bottom: 0in;">One of the strengths of F-Response is its discovery capabilities.  By selecting Scan → ??? or Scan → IP Address the analyst can quickly identify all systems on the network.  This is very helpful in quickly identify remote systems within an environment.  It can, however, also take quite a bit of time obviously generate network traffic that might generate alerts on intrusion detection systems.  Additionally, collecting information from multiple remote systems will obviously have an impact on the local system&#8217;s network activity and hardware performance.  For instances where these factors are a concern or if a single remote system is all that is necessary a direct connection functionality is available through Scan → Direct Connect.  Direct Connect will accept the entry of a Host Name or an IP Address to locate the remote system.  Once the Open button is click FEMC will attempt to contact the remote system and authenticate.  If connection and authentication is successful the Direct Connect window will display the Install F-Response radio button.  When selected this radio button will push the F-Response client to the remote system.  This will activate the Start F-Response radio button.  As you will notice, only the actions that can be performed will be made accessible by the Direct Connect window.</p>
<div id="attachment_541" class="wp-caption alignnone" style="width: 352px"><img class="size-full wp-image-541" title="Direct Connect" src="http://www.cutawaysecurity.com/blog/wp-content/uploads/f-r4.png" alt="Direct Connect" width="342" height="289" /><p class="wp-caption-text">Direct Connect</p></div>
<p style="margin-bottom: 0in;">&lt;!&#8211; 		@page { size: 8.5in 11in; margin: 0.79in } 		P { margin-bottom: 0.08in } 	&#8211;&gt;</p>
<p style="margin-bottom: 0in;">If the start request was successful the Direct Connect will display the Stop F-Response and Issue Discovery Request radio buttons.  If it was not successful then only the Start F-Response radio button will remain available.  Analysts should give the process a little time to let the remote process start and respond back.  If the start was not successful there could be a number of reasons.  Analyst should double check the credentials provided during the configuration.  If that does not work then the IP Address provided during the configuration and to the FLMM should be checked.</p>
<div id="attachment_542" class="wp-caption alignnone" style="width: 353px"><img class="size-full wp-image-542" title="Start F-Response" src="http://www.cutawaysecurity.com/blog/wp-content/uploads/f-r5.png" alt="Start F-Response" width="343" height="288" /><p class="wp-caption-text">Start F-Response</p></div>
<p style="margin-bottom: 0in;">&lt;!&#8211; 		@page { size: 8.5in 11in; margin: 0.79in } 		P { margin-bottom: 0.08in } 	&#8211;&gt;</p>
<p style="margin-bottom: 0in;">Once F-Response has been successfully deployed and started on the remote system the Direct Connect window can be closed by selecting the Close or Quit button.  The focus will be returned to the FEMC main window.  In the bottom section there are several tabs.  Activity associated with problems or successful start should be displayed in the Messages tab.  Remote systems that have been successfully connected to will be displayed in the Active Clients tab.</p>
<div id="attachment_543" class="wp-caption alignnone" style="width: 491px"><img class="size-full wp-image-543" title="Active Clients" src="http://www.cutawaysecurity.com/blog/wp-content/uploads/f-r6.png" alt="Active Clients" width="481" height="264" /><p class="wp-caption-text">Active Clients</p></div>
<p style="margin-bottom: 0in;">&lt;!&#8211; 		@page { size: 8.5in 11in; margin: 0.79in } 		P { margin-bottom: 0.08in } 	&#8211;&gt;</p>
<p style="margin-bottom: 0in;">Once a client is activated it is time to determine what is available to be accessed.  This is done by performing an Issue Discovery Request.  In this case there is only one remote system available, but F-Response is capable of issuing discovery request to as many systems as are available.  This is done by highlighting the clients available in the Active Clients tab and then selecting Deployment → Issue Discovery Request.</p>
<div id="attachment_544" class="wp-caption alignnone" style="width: 491px"><img class="size-full wp-image-544" title="Discovery Request" src="http://www.cutawaysecurity.com/blog/wp-content/uploads/f-r7.png" alt="Discovery Request" width="481" height="264" /><p class="wp-caption-text">Discovery Request</p></div>
<p style="margin-bottom: 0in;">&lt;!&#8211; 		@page { size: 8.5in 11in; margin: 0.79in } 		P { margin-bottom: 0.08in } 	&#8211;&gt;</p>
<p style="margin-bottom: 0in;">The discovery request will inform FEMC of the available disks and memory on each remote system selected.  Discovered disks and memory will be displayed in the Connect tab.  A new feature and distinct improvement in the 3.09 version of F-Response is the fact that it displays not only the host name of the remote system but it also provides name of the connected disk or memory.  Access to the whole physical disk or separate partitions is available as is the system memory when selected.  Although these disks and memory have been identified these resources are not accessible until a Login request has been issued.</p>
<div id="attachment_545" class="wp-caption alignnone" style="width: 491px"><img class="size-full wp-image-545" title="Discovered Disk and Memory" src="http://www.cutawaysecurity.com/blog/wp-content/uploads/f-r8.png" alt="Discovered Disk and Memory" width="481" height="374" /><p class="wp-caption-text">Discovered Disk and Memory</p></div>
<p style="margin-bottom: 0in;">That is more than enough for now.  If you are still with me, check back later for more on how to initiate the connection to the remote systems drives and memory.</p>
<p style="margin-bottom: 0in;">Go forth and do good things,</p>
<p style="margin-bottom: 0in;">Don C. Weber</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cutawaysecurity.com/blog/archives/536/feed</wfw:commentRss>
		</item>
		<item>
		<title>Large Memory Acquisitions</title>
		<link>http://www.cutawaysecurity.com/blog/archives/533</link>
		<comments>http://www.cutawaysecurity.com/blog/archives/533#comments</comments>
		<pubDate>Wed, 06 May 2009 23:10:58 +0000</pubDate>
		<dc:creator>cutaway</dc:creator>
		
		<category><![CDATA[Incident Response]]></category>

		<category><![CDATA[forensics]]></category>

		<category><![CDATA[Memory]]></category>

		<category><![CDATA[Memory Analysis]]></category>

		<category><![CDATA[Security Ripcord]]></category>

		<guid isPermaLink="false">http://www.cutawaysecurity.com/blog/?p=533</guid>
		<description><![CDATA[Here is a question for those of you collecting memory from systems:
What do you do when you need to acquire memory from a 32-bit operating system that is running on hardware with more than 4 GB of physical memory?
Well, if your experiences are like my experiences then you crash the system.  Of course it makes [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a question for those of you collecting memory from systems:</p>
<blockquote><p>What do you do when you need to acquire memory from a 32-bit operating system that is running on hardware with more than 4 GB of physical memory?</p></blockquote>
<p>Well, if your experiences are like my experiences then you crash the system.  Of course it makes sense and I should have thought of it before trying to acquire the memory.  It sure is tough looking sheepishly at a system administrator and saying &#8220;Sorry about that.&#8221;  This is why I recommend acquiring systems during off hours or scheduled maintenance windows.  This makes the sheepish &#8220;Sorry&#8221; a little less bitter.</p>
<p>I can imagine that the reason for this is that  memory tools such as <a href="http://www.mandiant.com/software/memoryze.htm"title="Memoryze"  target="_blank" onclick="javascript:urchinTracker ('/outbound/article/www.mandiant.com');">Memoryze</a>, <a href="https://www.hbgary.com/products-services/fastdump-pro/"title="Fast Dump"  target="_blank" onclick="javascript:urchinTracker ('/outbound/article/www.hbgary.com');">Fast Dump</a>, <a href="http://www.f-response.com/"title="F-Response"  target="_blank" onclick="javascript:urchinTracker ('/outbound/article/www.f-response.com');">F-Response</a> (in combination with <a href="http://accessdata.com/downloads.html"title="FTK Imager"  target="_blank" onclick="javascript:urchinTracker ('/outbound/article/accessdata.com');">FTK Imager</a> from a remote system), and others are programs that are running on the operating system, the 32-bit operating system.  Although you would think that they would only be able to see what the operating system is able to access, their functionality provides them with direct access to the physical memory.  So, once the program gets to memory locations beyond what a 32-bit operating system can understand it does what all good operating systems do when they don&#8217;t understand: BSOD.</p>
<p>Recent experiences that I have had with acquiring physical memory that breaks the 4 GB boundary have not been successful at all.  Even on 64-bit operating systems I have achieved the grand BSOD.  Not sure why yet, or if this is just user error, but time and experimentation will tell.</p>
<p>Now, I&#8217;m not proud of crashing a customer&#8217;s system.  Especially multiple systems muliple times, but if we are going to get the information we need for an incident response then sometimes that is just going to happen.  However, with a little knowledge and forthought some of these system crashes can be avoided.</p>
<p>For now, I will just have to avoid these systems and ask that system administrators don&#8217;t buy systems with lots of memory if they are not going to run 64-bit operating systems (call your application vendors before considering this!!!).  If you do have a method for overcoming these issues, please leave a comment.  We would all like to know.</p>
<p>Go forth and do good things,</p>
<p>Don C. Weber</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cutawaysecurity.com/blog/archives/533/feed</wfw:commentRss>
		</item>
		<item>
		<title>Memory Tools Perform Differently</title>
		<link>http://www.cutawaysecurity.com/blog/archives/523</link>
		<comments>http://www.cutawaysecurity.com/blog/archives/523#comments</comments>
		<pubDate>Wed, 06 May 2009 13:26:04 +0000</pubDate>
		<dc:creator>cutaway</dc:creator>
		
		<category><![CDATA[forensics]]></category>

		<category><![CDATA[Audit Viewer]]></category>

		<category><![CDATA[HB Gary]]></category>

		<category><![CDATA[Mandiant]]></category>

		<category><![CDATA[Memory]]></category>

		<category><![CDATA[Memory Analysis]]></category>

		<category><![CDATA[Responder Field Edition]]></category>

		<category><![CDATA[Security]]></category>

		<category><![CDATA[Security Ripcord]]></category>

		<category><![CDATA[Volatility]]></category>

		<guid isPermaLink="false">http://www.cutawaysecurity.com/blog/?p=523</guid>
		<description><![CDATA[Although analyzing information provided in a system&#8217;s memory is not a new trick, the tools that help us automate these tasks are still new.  The three products that I am currently using to help me with memory analysis are Volatility(Vol), Mandiant&#8217;s Audit Viewer (MAV), HBGary&#8217;s Responder Field Edition (RFE).  These tools are very helpful and [...]]]></description>
			<content:encoded><![CDATA[<p>Although analyzing information provided in a system&#8217;s memory is not a new trick, the tools that help us automate these tasks are still new.  The three products that I am currently using to help me with memory analysis are <a href="https://www.volatilesystems.com/default/volatility"title="Volatility"  target="_blank" onclick="javascript:urchinTracker ('/outbound/article/www.volatilesystems.com');">Volatility</a>(Vol), <a href="http://www.mandiant.com/software/mav.htm"title="Mandiant's Audit Viewer"  target="_blank" onclick="javascript:urchinTracker ('/outbound/article/www.mandiant.com');">Mandiant&#8217;s Audit Viewer</a> (MAV), <a href="https://www.hbgary.com/products-services/responder-field-edition/"title="HBGary's Responder Field Edition"  target="_blank" onclick="javascript:urchinTracker ('/outbound/article/www.hbgary.com');">HBGary&#8217;s Responder Field Edition</a> (RFE).  These tools are very helpful and provide a wealth of system information that can help an analyst understand what is happening on a system without using tools that could be circumvented through techniques such as kernel hooking. Although this post is not meant to be an analysis of each of these separately, I would like to say that there are cool features in each tool that the others do not provide.  Here are a couple of examples:</p>
<ul>
<li>RFE provides a malware report summary that provides additional information pertaining different types of kernel hooks detected.</li>
<li>Audit Viewer highlights specific processes when searching on key words.</li>
<li>RFE allows the analyst to drill down into a hex dump of the memory and even performs some disassembly.</li>
<li>Vol provides very clean outputs for placing information in reports.</li>
<li>Audit Viewer shows if a network connection is LISTENING or ESTABLISHED.</li>
<li>etc.</li>
</ul>
<p>I included the &#8220;etc&#8221; because, obviously, there are more but you should investigate the other &#8220;quirks&#8221; for yourself.</p>
<p>Now, you can see that these tools definitely do perform differently but thus far it is mainly just style and information presentation.  Well, style and presentation are not the only ways that these tools differ.  They also differ in the how they look at specific information within the image of a system&#8217;s memory.  I found a good example when searching for active network connections.  The scenario is that a piece of malware was attempting to connect to a server on the Internet to perform some assumed malicious activity.  Through other analysis techniques the IP address was known to me and, in fact, I could search the system&#8217;s memory image and receive hits on the IP address in memory.</p>
<p>I initially used RFE to parse the system&#8217;s memory and it gave me some great detail about each process, Internet activity, keyword searches, etc.  But when I reviewed the information for the specific process that I believed was connecting to the remote system I did not receive any information about port activity.  In fact, the Network tab for the process did not display any information (no ESTABLISHED connections, no LISTENING ports).  So I checked the network connections for all processes and, as you can see in the image below, it provided no details about connections to the Internet.  All of the connections listed here are either loopback or internal to the network. (To view the full image just right-click and select &#8220;View Image&#8221;.)</p>
<div id="attachment_524" class="wp-caption alignnone" style="width: 506px"><img class="size-full wp-image-524" title="RFE Network Connections" src="http://www.cutawaysecurity.com/blog/wp-content/uploads/rfk-network-conns.png" alt="RFE Network Connections" width="496" height="317" /><p class="wp-caption-text">RFE Network Connections</p></div>
<p>So, I decided to see what MAV would show me.  I did this because I had noticed that MAV did  display LISTENING and ESTABLISHED information for each connection.  But, when I pulled up the specific process in MAV I was provided with information that RFE did not provide me.  That is that the process I was investigating, svchost with PID 1052, was actually LISTENING on TCP port 3389.</p>
<div id="attachment_525" class="wp-caption alignnone" style="width: 480px"><img class="size-full wp-image-525" title="Mandian't Audit Viewer Network Connection" src="http://www.cutawaysecurity.com/blog/wp-content/uploads/mav-network-conns-1052.png" alt="Mandian't Audit Viewer Network Connection" width="470" height="290" /><p class="wp-caption-text">Mandian&#39;t Audit Viewer Network Connection</p></div>
<p>Since I received conflicting information and the memory came from a Windows XP system, I decided to see what information Vol would provide to me.  Using the sockscan2 plugin I scanned the memory for open sockets.  This provided me with a wealth of information about open sockets.  Actually, as you can see, it provided me with more open socket information than that provided by RFE (although not shown, it provided more information than MAV as well.)</p>
<div id="attachment_526" class="wp-caption alignnone" style="width: 377px"><img class="size-full wp-image-526" title="Volatility SockScan2 Plugin" src="http://www.cutawaysecurity.com/blog/wp-content/uploads/vol-opensockets.png" alt="Volatility SockScan2 Plugin" width="367" height="398" /><p class="wp-caption-text">Volatility SockScan2 Plugin</p></div>
<p>Next I ran Vol&#8217;s connscan2 plugin.  Expecting the same information as that provided by RFE and MAV I was completely taken off guard by what Vol displayed.  Active network activity between the PID I was investigating and the server on the Internet.</p>
<div id="attachment_527" class="wp-caption alignnone" style="width: 377px"><img class="size-full wp-image-527" title="Volatility's ConnScan2 Plugin" src="http://www.cutawaysecurity.com/blog/wp-content/uploads/vol-connscan2.png" alt="Volatility's ConnScan2 Plugin" width="367" height="398" /><p class="wp-caption-text">Volatility&#39;s ConnScan2 Plugin</p></div>
<p>What is the moral of this post?  All of these great tools have functionality differences due to the different levels of experience and specific goals of each tool&#8217;s team of developers.  Analysts need to understand these differences through testing and implementation.  Additional insight may come from utilizing a variety of analysis tools rather than just relying on one or, as we have seen here, even two tools.  Certainly, running all of your data analysis through multiple tools every time is not the best use of your time.  But doing so on a periodic basis will help add strength to your conclusions while also keeping you up-to-date with the differences and the development progression of each tool.</p>
<p><strong>UPDATE</strong>: I should have mentioned earlier that I have contacted the developers for each of these tools.  Although this is the first time most of them have heard about it I have opened a ticket with HB Gary&#8217;s support concerning displaying ESTABLISHED connections.  They have been very responsive to this and all of my other requests and recommendations.</p>
<p>Go forth and do good things,</p>
<p>Don C. Weber</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cutawaysecurity.com/blog/archives/523/feed</wfw:commentRss>
		</item>
		<item>
		<title>Did Mandiant&#8217;s Audit Viewer find something in Conficker?</title>
		<link>http://www.cutawaysecurity.com/blog/archives/508</link>
		<comments>http://www.cutawaysecurity.com/blog/archives/508#comments</comments>
		<pubDate>Tue, 03 Mar 2009 00:15:46 +0000</pubDate>
		<dc:creator>cutaway</dc:creator>
		
		<category><![CDATA[Incident Response]]></category>

		<category><![CDATA[Malware]]></category>

		<category><![CDATA[Security]]></category>

		<category><![CDATA[Tools]]></category>

		<category><![CDATA[forensics]]></category>

		<category><![CDATA[Audit Viewer]]></category>

		<category><![CDATA[Conficker]]></category>

		<category><![CDATA[Mandiant]]></category>

		<category><![CDATA[Memoryze]]></category>

		<category><![CDATA[Security Ripcord]]></category>

		<guid isPermaLink="false">http://www.cutawaysecurity.com/blog/?p=508</guid>
		<description><![CDATA[I was learning how to use Mandiant&#8217;s Memoryze the other day and having a bit of trouble getting to know the XML configuration files.  My real task was to get Memoryze working with memory shared from a remote system using F-Response.  To do this I was pointing Memoryze to the memory instance, instead of an [...]]]></description>
			<content:encoded><![CDATA[<p>I was learning how to use Mandiant&#8217;s <a href="http://www.mandiant.com/software/memoryze.htm"title="Mandiant's Memoryze"  target="_blank" onclick="javascript:urchinTracker ('/outbound/article/www.mandiant.com');">Memoryze</a> the other day and having a bit of trouble getting to know the XML configuration files.  My real task was to get Memoryze working with memory shared from a remote system using <a href="http://www.f-response.com/"title="F-Response"  target="_blank" onclick="javascript:urchinTracker ('/outbound/article/www.f-response.com');">F-Response</a>.  To do this I was pointing Memoryze to the memory instance, instead of an image file, and then using Audit Viewer to parse the information.  Unfortunately I was not able to get it working.  This was more likely due to user error and my not initially understaning how to implement the XML configuration file properly. (More on F-Response and Memoryze later!!)</p>
<p>Right when I thought I had figured out how to use the XML files I got a <a href="http://blog.mandiant.com/archives/263"title="Mandiant Blog Post"  target="_blank" onclick="javascript:urchinTracker ('/outbound/article/blog.mandiant.com');">pleasant little surprise on the Mandiant blog</a>.  <a href="http://www.mandiant.com/software/mav.htm"title="Manidant Audit Viewer"  target="_blank" onclick="javascript:urchinTracker ('/outbound/article/www.mandiant.com');">Audit Viewer</a> has been updated to run Memoryze automatically.  Now we have a quick and easy method to set up Memoryze&#8217;s XML configuration files automatically.   Parsing memory for valuable information has just become is as easy as it can get.</p>
<p>Before I was able to test this new version of Audit Viewer with F-Response I got a chance to use it on a memory dump from a system infected by the Conficker malware.  <a href="http://isc.sans.org/diary.html?storyid=5860"title="Conficker Consolidated Resources"  target="_blank" onclick="javascript:urchinTracker ('/outbound/article/isc.sans.org');">Conficker has been analyzed in detail by several organizations</a>.  I like the series of blog posts on the <a href="https://forums2.symantec.com/t5/Malicious-Code/bg-p/malicious_code"title="Symantec Malware Blog"  target="_blank" onclick="javascript:urchinTracker ('/outbound/article/forums2.symantec.com');">Symantec blog</a> as well as the very detailed analysis by<a href="http://mtc.sri.com/Conficker/"title="SRI Conficker Analysis"  onclick="javascript:urchinTracker ('/outbound/article/mtc.sri.com');"> SRI International</a>.  Using the capabilities of Memoryze, however, I was able to see some Conficker activity that was not mentioned in any of the analysis that I have reviewed so far.</p>
<p>I&#8217;ll start out by mentioning, as most of you know, I am not a malware analyst.  I&#8217;m just pointing out a few things that appear to be interesting.</p>
<p>Let&#8217;s start with quick background.  The system that I gathered the memory from was a Windows XP SP3 system that was infected by Conficker via a USB drive.  I don&#8217;t have the system any more and although I could infect another system to confirm some of this information I don&#8217;t have a stand alone system readily available to infect.  We all know now that <a href="http://isc.sans.org/diary.html?storyid=5842"title="SANS Diary Post 5842"  target="_blank" onclick="javascript:urchinTracker ('/outbound/article/isc.sans.org');">Conficker has some builtin virtual machine detection</a> so I didn&#8217;t attempt to replicate using a VMware image.</p>
<p>The system showed the usual symptoms.  The Registry pointed to a randomly named service calling a randomly name DLL in the c:\WINDOWS\system32 directory.  In this case the DLL was named taqswng.dll.  The following image shows a listing of all the files that start with &#8220;ta&#8221; in the System32 directory.   Conficker marks the file as hidden so I had to use the &#8220;dir /A H&#8221; command to get it output with the rest of the files. (Right click on any image and select &#8220;View Image&#8221; to see a larger, more readable, image.)</p>
<p><img class="alignnone size-full wp-image-511" title="Laptop Directory Listing" src="http://www.cutawaysecurity.com/blog/wp-content/uploads/laptop_dir.png" alt="Directory listing showing taqswng.dll file" width="392" height="213" /></p>
<p>Since I was here I ran two other commands.  First I wanted to see that processes were currently running.  Using the Tasklist command I determined that the process with ID 1484 looked interesting.  It is calling many other services that resemble the functionality outlined in many of the Conficker write-ups.  The image below highlights what I am talking about.</p>
<p><img class="alignnone size-full wp-image-512" title="Laptop Tasklist" src="http://www.cutawaysecurity.com/blog/wp-content/uploads/laptop_tasklist.png" alt="Tasklist showing the Process ID 1484" width="392" height="436" /></p>
<p>Next I wanted to know what the system would display as open connections.  Conficker is suppose to start an HTTP service on a random port between 1024 and 10,000.  The next image shows that the process 1484 does have a LISTENING port on 2980.</p>
<p><img class="alignnone size-full wp-image-513" title="Laptop Netstat" src="http://www.cutawaysecurity.com/blog/wp-content/uploads/laptop_netstat.png" alt="Netstat command showing the TCP and UDP ports open by Process ID 1484" width="392" height="235" /></p>
<p>Now, I didn&#8217;t think that I would get any new information out of reviewing the memory of this system.  I just wanted to show myself what Memoryze could offer and how I could leverage it in the future when investigating processes.  After I used Audit Viewer to parse the memory for everything (use the PDF manual that is provided as part of the download to help you use Audit Viewer and Memoryze) the first thing I did was locate process 1484 and check the files tab to see if I noticed anything.  After review I noticed the taqswng.dll file was listed.</p>
<p><img class="alignnone size-full wp-image-514" title="Audit Viewer Files Tab" src="http://www.cutawaysecurity.com/blog/wp-content/uploads/mmz_files.png" alt="Audit Viewer Files Tab showing the taqswng.dll file" width="465" height="366" /></p>
<p>Excellent but I have to admit.  This would have been lost in the shuffle to me.  Basically, this is good verification that I have found the proper process.  Next I checked the Port tab.  This is where it gets interesting.  From the netstat command I know that I should be looking at TCP port 2980 and UDP ports 1023 and 1034 (both UDP ports on the loopback).  But look what Audit Viewer gives me.</p>
<p><img class="alignnone size-full wp-image-515" title="Audit Viewer Ports Tab" src="http://www.cutawaysecurity.com/blog/wp-content/uploads/mmz_ports.png" alt="Audit Viewer Ports Tab showing the extra port open by Conficker" width="501" height="299" /></p>
<p>But where does TCP port 1033 come into the picture?  I wish I still had this system so that I could try and connect to this port.  I did a quick review of all the analysis resources I am aware of and they do not reference a second listening service.  I can tell you that we did verify that this was<a href="http://www.microsoft.com/security/portal/Entry.aspx?Name=Worm:Win32/Conficker.B"title="Conficker.B"  target="_blank" onclick="javascript:urchinTracker ('/outbound/article/www.microsoft.com');"> Conficker.B</a> and not <a href="http://www.microsoft.com/security/portal/Entry.aspx?Name=Worm:Win32/Conficker.B"title="Conficker.C"  target="_blank" onclick="javascript:urchinTracker ('/outbound/article/www.microsoft.com');">Conficker.C</a>.  Of course the varient does not matter because this would be different functionality.</p>
<p>The next interesting part came when I reviewed the Memory Sections tab.  The information provided here points to the process accessing the &#8220;index.dat&#8221; file.  Now, I&#8217;m not sure if this is to get the proxy settings to help access the Internet.  It very well could be and I have not researched to determine if this is the case.  But why Conficker is accessing the files listed in the image below are beyond me.  As with the extra port, there is no mention of this behavior in any Conficker resource.</p>
<p><img class="alignnone size-full wp-image-516" title="Audit Viewer Memory Sections Tab" src="http://www.cutawaysecurity.com/blog/wp-content/uploads/mmz_memsecs.png" alt="Audit Viewer Memory Sections Tab showing the use of index.dat" width="703" height="194" /></p>
<p>If anybody has an answer to these questions I would like to know.  Post your explanation in the comments or, if you would rather speak with me privately, just include a valid email address in your comment and I will contact you directly.  I would have investigated this a little more deeply but due to time and resources I thought it better to get the question out there.</p>
<p>Good luck if you are still dealing with Conficker.  While you are addressing it, beware <a href="http://www.cutawaysecurity.com/blog/archives/498"title="Virut Post"  target="_blank" >Virut</a>.</p>
<p>Go forth and do good things,<br />
Don</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cutawaysecurity.com/blog/archives/508/feed</wfw:commentRss>
		</item>
		<item>
		<title>Incident Response Lessons Learned</title>
		<link>http://www.cutawaysecurity.com/blog/archives/503</link>
		<comments>http://www.cutawaysecurity.com/blog/archives/503#comments</comments>
		<pubDate>Thu, 19 Feb 2009 22:35:16 +0000</pubDate>
		<dc:creator>cutaway</dc:creator>
		
		<category><![CDATA[Incident Response]]></category>

		<category><![CDATA[Leadership]]></category>

		<category><![CDATA[Management]]></category>

		<category><![CDATA[Security]]></category>

		<category><![CDATA[Don C. Weber]]></category>

		<category><![CDATA[Lessons Learned]]></category>

		<category><![CDATA[Security Ripcord]]></category>

		<guid isPermaLink="false">http://www.cutawaysecurity.com/blog/?p=503</guid>
		<description><![CDATA[Following up on any project is key.  Talking to all involved about what has happened, why it happened, how it could have better, what worked very well, etc is the key to improvement.  So, why aren&#8217;t organizations that experience a security related incident able to prevent or curtail future incidents?  Basically because they are not [...]]]></description>
			<content:encoded><![CDATA[<p>Following up on any project is key.  Talking to all involved about what has happened, why it happened, how it could have better, what worked very well, etc is the key to improvement.  So, why aren&#8217;t organizations that experience a security related incident able to prevent or curtail future incidents?  Basically because they are not following up the incident with a lessons learned, or they are not doing it properly.</p>
<p>Incident Response should be handled like any other project.  It should be managed.  As most incident responders are aware, <a href="http://www.sans.org/training/description.php?mid=40&amp;utm_source=web&amp;utm_medium=text-ad&amp;utm_content=affiliate_link1&amp;utm_campaign=Cutaway_Security"title="SANS GCIH"  target="_blank" onclick="javascript:urchinTracker ('/outbound/article/www.sans.org');">SANS GCIH</a> course outlines 6 distinct phases of an incident response:</p>
<ol>
<li>Preparation</li>
<li>Identification</li>
<li>Containment</li>
<li>Eradication</li>
<li>Recovery, and</li>
<li>Lessons Learned</li>
</ol>
<p>Ah, Lessons Learned is the final step.  Actually, it is circular, so the final step leads into the first step.   I say leads into whereas a better metaphor might be &#8220;feeds.&#8221;  Or in the terms of following flow charts, for you management types out there, the outputs of Lessons Learned are the inputs of Preparation.  Here&#8217;s a question for you though, during your preparation phase did you look at the methodologies that you use to improve how you identify, prioritize, address, and follow-up on your lessons learned?  Or, when you are finished with your lessons learned meeting, do you have a list of action items that have been assigned to a specific individual who understands the criteria for successfully completing the action?</p>
<p>I just asked two questions that took your simple lessons learned meeting from a quick five minute session to a thirty minute plus session.  Although you might think that the issues will drive how long this meeting will last, in actuality that is not correct.  With proper methodology, in other words a practiced plan, this meeting can still be very quick while producing the key outputs that are necessary to augment your preparation phase.</p>
<p>Silver Bullet time.  Yes, I know, you want the silver bullet that is going to help you increase the effectiveness of your lessons learned process.  Guess what!!  Most likely you already have it.  Do you use process management to plan your software, hardware, or infrastructure development?  Bingo, then you have the means to improve your lessons learned.  Start using the processes that you already have in place.  I say this because it is the fastest and cheapest method to gaining control over this process.</p>
<p>For those of you who do not have a process in place, never fear, I have one word for you: Why.  Just ask why.  But ask it five times.  Asking why five times is the technique for determining root cause.  Gasp, Root Cause Analysis.  It is used during the <a href="http://www.isixsigma.com/library/content/c020610a.asp"title="Determine The Root Cause: 5 Whys"  onclick="javascript:urchinTracker ('/outbound/article/www.isixsigma.com');">Six Sigma process</a> as well as being integrated into other project development schemes.  In his <a href="http://startuplessonslearned.blogspot.com/2008/11/five-whys.html"title="5 Whys"  target="_blank" onclick="javascript:urchinTracker ('/outbound/article/startuplessonslearned.blogspot.com');">5 Whys</a> post <span>Eric Ries</span> explains that Taiichi Ohno of Toyota fame wrote about this technique in his book <a href="http://www.amazon.com/gp/product/0915299143?ie=UTF8&amp;tag=lessolearn01-20&amp;link_code=as3&amp;camp=211189&amp;creative=373489&amp;creativeASIN=0915299143"id="static_txt_preview" name="evtst|a|0915299143"  onclick="javascript:urchinTracker ('/outbound/article/www.amazon.com');">Toyota Production System: Beyond Large-Scale Production</a>.</p>
<p>Now, this might seem silly to some at first.  It will seem especially silly to those individuals and groups that are not use to management their projects or doing root cause analysis.  This is where the longer meetings are going to come into play.  Of course, this is true of any new process.  New things take time to understand and get use to performing.  For some people the learning curve on how to conduct themselves in these meetings is going to be a long and tough journey.  But by consistently applying one of these methodologies to your lessons learned process you will find that each of your meetings is shorter and more productive.  The implementors will be happier because they are being heard (if they are participating) and the managers and executives will be happier because of the increased productivity and effectiveness of the end results.</p>
<p>Certainly I have only touched on this topic briefly.  If you have techniques that have worked to improve the effectiveness of your lessons learned meetings, please share them with us in the comments.</p>
<p>Go forth and do good things,</p>
<p>Don C. Weber</p>
<p>http://www.sans.org/?utm_source=web&amp;utm_medium=text-ad&amp;utm_content=affiliate_link1&amp;utm_campaign=Cutaway_Security</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cutawaysecurity.com/blog/archives/503/feed</wfw:commentRss>
		</item>
		<item>
		<title>Should you be thinking about Virut?</title>
		<link>http://www.cutawaysecurity.com/blog/archives/498</link>
		<comments>http://www.cutawaysecurity.com/blog/archives/498#comments</comments>
		<pubDate>Wed, 18 Feb 2009 06:19:26 +0000</pubDate>
		<dc:creator>cutaway</dc:creator>
		
		<category><![CDATA[Incident Response]]></category>

		<category><![CDATA[Malware]]></category>

		<category><![CDATA[Security]]></category>

		<category><![CDATA[Don C. Weber]]></category>

		<category><![CDATA[Microsoft]]></category>

		<category><![CDATA[Security Ripcord]]></category>

		<category><![CDATA[Virut]]></category>

		<guid isPermaLink="false">http://www.cutawaysecurity.com/blog/?p=498</guid>
		<description><![CDATA[While everybody has been busy responding to Conficker/Downadup a nasty little virus loosely known as Virut has begun to make itself known.  When I first heard about this a co-worker pointed me to a new post at the Microsoft Malware Protection Center: There&#8217;s a New Virut on the Block.  Over the next few days some [...]]]></description>
			<content:encoded><![CDATA[<p>While everybody has been busy responding to <a href="http://isc.sans.org/diary.html?storyid=5860"title="ISC Third Party Links"  target="_blank" onclick="javascript:urchinTracker ('/outbound/article/isc.sans.org');">Conficker/Downadup</a> a nasty little virus loosely known as Virut has begun to make itself known.  When I first heard about this a co-worker pointed me to a new post at the <a href="http://blogs.technet.com/mmpc/default.aspx"title="MMPC"  target="_blank" onclick="javascript:urchinTracker ('/outbound/article/blogs.technet.com');">Microsoft Malware Protection Center</a>: <a href="http://blogs.technet.com/mmpc/archive/2009/02/11/theres-a-new-virut-on-the-block.aspx"title="First Virut Article"  target="_blank" onclick="javascript:urchinTracker ('/outbound/article/blogs.technet.com');">There&#8217;s a New Virut on the Block</a>.  Over the next few days some of the other software vendors started posting their findings about this new mutation: <a href="http://www.microsoft.com/security/portal/Entry.aspx?name=Virus%3aWin32%2fVirut.BM"title="MS Virut"  target="_blank" onclick="javascript:urchinTracker ('/outbound/article/www.microsoft.com');">Microsoft</a>, <a href="http://www.symantec.com/norton/security_response/writeup.jsp?docid=2009-020418-0204-99"title="Symantec Virut"  target="_blank" onclick="javascript:urchinTracker ('/outbound/article/www.symantec.com');">Symantec</a>, <a href="http://home.mcafee.com/VirusInfo/VirusProfile.aspx?key=154029"title="McAfee Virut"  target="_blank" onclick="javascript:urchinTracker ('/outbound/article/home.mcafee.com');">McAfee</a>, <a href="http://www.trendmicro.com/vinfo/virusencyclo/default5.asp?VName=PE_VIRUT.BO"title="TrendMicro Virut"  target="_blank" onclick="javascript:urchinTracker ('/outbound/article/www.trendmicro.com');">TrendMicro</a>, <a href="http://www.threatexpert.com/report.aspx?md5=40fa924c3e1daac657d7fb4ebf19911e"title="ThreatExpert Virut"  target="_blank" onclick="javascript:urchinTracker ('/outbound/article/www.threatexpert.com');">ThreatExpert</a>, <a href="http://www.sophos.com/security/analyses/viruses-and-spyware/w32scribblea.html"title="Sophos Virut/Scribble"  target="_blank" onclick="javascript:urchinTracker ('/outbound/article/www.sophos.com');">Sophos</a> (they call it Scribble).</p>
<p>This virus is especially fun because it is very good at propagating throughout a Microsoft Windows environment very quickly.  Here are some of the most interesting features:</p>
<blockquote><p><a href="http://www.microsoft.com/security/portal/Entry.aspx?name=Virus%3aWin32%2fVirut.BM"title="Microsoft Virut"  target="_blank" onclick="javascript:urchinTracker ('/outbound/article/www.microsoft.com');">Virus:Win32/Virut.BM</a></p>
<p>Win32/Virut.BM disables Windows System File Protection (SFP) by injecting code into WINLOGON.EXE. The injected code patches sfc_os.dll in memory which in turn allows the virus to infect files protected by SFP.</p>
<p>The virus infects .EXE and .SCR files on access, hence actions such as copying or viewing files with Explorer, including on shares (with write access) will result in files being infected, and the virus spreading from machine to machine.</p></blockquote>
<blockquote><p><a href="http://www.sophos.com/security/analyses/viruses-and-spyware/w32scribblea.html"title="Sophos Scribble"  target="_blank" onclick="javascript:urchinTracker ('/outbound/article/www.sophos.com');">W32/Scribble-A</a></p>
<p>A injects a malicious iframe into files whose extensions start with HTM, PHP or ASP, with affected files detected as Troj/Fujif-Gen. At the time of writing the iframe points to a site that hosts more malware.</p></blockquote>
<blockquote><p><a title="TrendMicro Virut" href="PE_VIRUT.BO" target="_blank">PE_VIRUT.BO</a></p>
<p>This file infector connects to a remote IRC server. It then joins a channel to receive and execute commands on the affected system. This routine effectively compromises system security.</p></blockquote>
<p>I can hear what you are thinking about these capabilities.  Nothing too unusual.  Companies should be able to handle this sufficiently.  It appears that the Anti-Virus vendors are on top of the situation so prevention and clean-up should be a breeze.  Well, that is where the complications begin.  Remember that little bit about disabling Windows File Protection?  This means that Virut can and will infect critical system files.  One detail that some AV vendors leave out or bury is the fact that cleaning up after Virut is not that easy.  Microsoft helps us with a little note in their write-up.</p>
<blockquote><p><a href="http://www.microsoft.com/security/portal/Entry.aspx?name=Virus%3aWin32%2fVirut.BM"title="Microsoft Virut"  target="_blank" onclick="javascript:urchinTracker ('/outbound/article/www.microsoft.com');">Virus:Win32/Virut.BM</a></p>
<p><strong>Note</strong>: The method of infection used by Win32/Virut can damage some infected files beyond repair. In these cases, in order to return a machine to its pre-infected state, it may be necessary to install a clean backup of the operating system and associated applications.</p></blockquote>
<p>Now it starts getting interesting.  Let me give you another scenario.  Your organization is very robust and you are using <a href="http://en.wikipedia.org/wiki/Roaming_user_profile"title="Microsoft Roaming Profiles"  target="_blank" onclick="javascript:urchinTracker ('/outbound/article/en.wikipedia.org');">roaming profiles</a> to allow your users to log into multiple workstations.  All of a sudden your server that hosts these roaming profiles is infected.  Users start logging in because that is what they do.  Bang, workstation after workstation is infected.  The only way to stop it is to stop users from logging in or taking your roaming profile server offline.  Who&#8217;s going to make that call?  No worries, your users don&#8217;t have administrator privilieges, correct?  Of course, it does not have to be a roaming profile server.  Do you have any file sharing configured within your network? Sweetness.</p>
<p>Here is a great scenario for administrators.  Do you have any web-based administration tools?  What about your developers?  No admin tools, okay, do you have any internal websites?  Wow, suddenly this is adversely affecting a whole bunch of applications and not just the operating system.</p>
<p>So now I&#8217;ll let you decide.  Would you rather spend your time rebuilding your critical systems and user workstations or spend the time doing a little preparation?  Actually, the protections are all the same ones that every security professional has been pushing over the last five years.  There is nothing new or golden.  But lets go over a few (this is not a comprehensive list) so that I can say I pointed you in the right direction.  By the way, if you have some to add, please add a comment or two.  As usual, all of these should be evaluated to determine if they do reduce risk while not adversely impacting business operations.</p>
<p><strong>Quick Techniques</strong>:</p>
<ul>
<li>If it is determined that a server that provides roaming profiles, login scripts, or any network share has been infected the systems should be immediately isolated from the network.  Users should not log into any systems that require roaming profiles or are connected to network shares until the server(s) that provide this functionality are clean.</li>
<li>All systems should be updated to include the new virus definitions provided by the AV vendor.  If maintenance agreements are in place, the AV vendors should be contacted to determine if they have provided definitions or protections for the new strains of the Virut virus currently propagating in the wild.</li>
<li>All network and host-based IDS/IPS systems and applications should be updated to include new signatures associated with detecting the activity generated by this malware.  If maintenance agreements are in place, the network and host-based IDS/IPS should be contacted to determine if they have provided definitions or protections for the new strains of the Virut virus currently propagating in the wild.</li>
<li>Remote systems such as laptops should be required to update their AV software and scan the system before being permitted to connect to the network.</li>
<li>Users should be required to scan all removable media (regardless of size or content) on an isolated, patched, and AV up-to-date virus scanning system before being allowed to connect to an computer (server or workstation).</li>
<li>On critical resources create a local administrative level account Where possible isolate critical systems from network shares and resources.  Temporarily band network login, the use of removable media, and any unnecessary network activity such as checking email or browsing the Internet from these resources.  This may require the creation of a local (non-roaming profile) administrative level account to administer the system in case the roaming profile or server providing login scripts is compromised.</li>
<li>Complete, operating system level backups of all critical assets should be created and tested to ensure that these systems can be recovered quickly and accurately.</li>
<li>Monitor the list of viruses cleaned by Microsoft Malicious Software Removal Tool to determine when it provides functionality for the new strain of Virut.  Have administrators practice remotely and locally deploying using this tool.</li>
<li>Monitor network traffic for bot-like activity connecting to Internet servers as outlined by AV site Virut descriptions.</li>
<li>Specific administrators should be assigned to monitor for updated information from AV vendor websites.</li>
</ul>
<p>Don&#8217;t think those are hard enough to implement threat or no threat?  Try these long term protections.</p>
<p><strong>Long Term Techniques</strong>:</p>
<ul>
<li>Users that do not require administrator capabilities should not be given administrator rights on their systems.</li>
<li>Systems that do not require access to network shares and other resources should not be configured to utilize these shares or resources.</li>
<li>Network resources and user profiles should be segregated by domain restrictions provided through robust Active Directory configurations.</li>
<li>All systems and servers (on which it does not pose an adverse impact to operability) should have centrally managed AV and Host-base Intrusion Detection/Prevention software installed.</li>
<li>Autorun should be disabled on all systems and servers.</li>
<li>All operating systems and third party applications should be routinely patched.  All unnecessary operating system functionality or third party applications should be removed from any system that does not require them to operate or provide business related functionality.</li>
<li>Review and upate all maintenance agreements with AV and network/host-based IDS/IPS vendors.</li>
<li>Review, update, and implementation of a policies detailing acceptable use pertaining to removable media, email usage, and Internet usage.</li>
</ul>
<p>All of this said I would like to remind everybody that the key to incident response is the preparation phase.  If we are not thinking about how to handle these situations within our environments then we are not going to be prepared.  As I stated before, this virus is nothing special in the grand scheme of malware.  Good security should limit, quickly contain, and eradicate an infection.   Not taking the affects of a virus such as this into consideration, however, is going to mean some long evening and weekend hours for the server and workstation administrators.  It also means that funds that could have been spent on increasing protections are going to be wasted on the clean-up effort.  Hopefully this put the bug into your ear and gives you a little information and methodology to help you educate others within your organization.</p>
<p>As I stated before, please leave a comment if you would like to add something.  Quick stories about how Virut affected your organization may help others understand what they could be up against.</p>
<p>Go forth and do good things,</p>
<p>Don C. Weber</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cutawaysecurity.com/blog/archives/498/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
