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

<channel>
	<title>Security Ripcord &#187; forensics</title>
	<atom:link href="http://www.cutawaysecurity.com/blog/archives/category/forensics/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>
	<lastBuildDate>Tue, 01 Jun 2010 15:17:09 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</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>		<item>
		<title>SANS Security 508</title>
		<link>http://www.cutawaysecurity.com/blog/archives/832</link>
		<comments>http://www.cutawaysecurity.com/blog/archives/832#comments</comments>
		<pubDate>Sat, 10 Apr 2010 14:44:56 +0000</pubDate>
		<dc:creator>cutaway</dc:creator>
				<category><![CDATA[Education]]></category>
		<category><![CDATA[Incident Response]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[forensics]]></category>
		<category><![CDATA[Chris Pogue]]></category>
		<category><![CDATA[GIAC]]></category>
		<category><![CDATA[Harlan Carvey]]></category>
		<category><![CDATA[Rob Lee]]></category>
		<category><![CDATA[SANS]]></category>
		<category><![CDATA[SEC508]]></category>
		<category><![CDATA[Security Ripcord]]></category>

		<guid isPermaLink="false">http://www.cutawaysecurity.com/blog/?p=832</guid>
		<description><![CDATA[I recently attended SANS Security 508 at SANS 2010-Orlando.  When I told Harlan Carvey that I was going to attend this training he was concerned that I would not be exposed to anything I had not already exposed myself to through work and personal effort.  When I arrived on-site I got the same feeling from [...]]]></description>
			<content:encoded><![CDATA[<p>I recently attended <a title="SANS Security 508" href="http://www.sans.org/security-training/computer-forensic-investigations-incident-response-98-mid" target="_blank">SANS Security 508</a> at <a title="SANS 2010-Orlando" href="http://www.sans.org/sans-2010/" target="_blank">SANS 2010-Orlando</a>.  When I told <a title="Windows Incident Response" href="http://windowsir.blogspot.com/" target="_blank">Harlan Carvey</a> that I was going to attend this training he was concerned that I would not be exposed to anything I had not already exposed myself to through work and personal effort.  When I arrived on-site I got the same feeling from <a title="Rob Lee" href="http://computer-forensics.sans.org/instructors/author.php" target="_blank">Rob Lee</a> although his concerned seemed to be more centered around the value added by the course to more experienced incident response professionals.  Well, although their concerns were valid, I have to say that attending this class was a very valuable experience from the networking I accomplished, to the new (to me) concepts about how file systems work, to the concerns about how some applications leverage that information to produce system artifacts.</p>
<p>I am not going to delve into too much about the topics covered in the class.  It is outlined for you on SANS&#8217; website and, well, Rob and his crew worked very hard on pulling all of the concepts together.  For that you should attended the course or purchase the course material if you would like a deeper understanding.  However, there are a bunch of priceless illustrations that help the students understand some of the complex topics that can be confusing when first exposed to the information.  The ones that popped out to me the most were the images covering the Forensic Investigation Methodology, Date/Time correlations, and the Filesystem/Sleuthkit Review.  Each of them, at a glance provides excellent clarification.</p>
<p>So, to alleviate the concerns of Harlan and Rob, I learned a lot by attending the course.  I guess I am just one of those people.  I will admit that I was not as challenged as when I attended some of the other SANS trainings I have attended.  Certainly it was a fire hose for most of the attendees.    I just figure that this means that for the past two years I have been approaching incident response properly.  Rob&#8217;s class most validated the processes I have formed surrounding my acquisition and initial analysis techniques.    A lot of this came to me via Harlan&#8217;s training both professionally, individually, and via reading his blog and books.  Some of these concepts were also developed via the experiences of <a title="The Digital Standard" href="http://thedigitalstandard.blogspot.com/" target="_blank">Chris Pogue</a>.  His Sniper Forensics talk is a direct representation of many of the concepts I employ.  (It was good to finally meet him after two years.)</p>
<p>Since I am not going to go too deep into the concepts covered by the class (although they should shape some of the future content here) I will provide you with some of the notable quotes that came from Rob.</p>
<blockquote><p>&#8220;&#8230;training the new breed of incident responder.&#8221;</p></blockquote>
<p>Absolutely, SEC508 provides a sound foundation.  It exposes incident responders to the basics of the field.  Starting with a sound foundation is what is necessary.   (Tangent Alert!)  It also takes incident response and digital forensics out of the court room and back into the data center.  Which is important because the data center changes much faster than the court room.  By letting the court room lead our incident response processes we are limiting our capabilities to adapt to new threats and attack methodologies.  Let the court room keep up with us.</p>
<blockquote><p>&#8220;&#8230;EMTs do not worry about adjusting evidence &#8230;&#8221;</p></blockquote>
<p>Another statement enforcing the point I just made.  Of course, what should be noted is that EMTs approach an incident with a specific methodology.  They have a plan and they execute it.  When necessary, they deviate from that plan.  But familiarization and continuous training around the basics of that plan make it second nature to them.  This means that their actions can be accounted for and justified when evidence is necessary.</p>
<blockquote><p>&#8220;Evidence integrity goes to the weight of what the evidence can be used for&#8230;.&#8221;</p></blockquote>
<p>Basically, be more concerned about the actions you have taken to gather information.  Once again, following your plan, knowing the basics, and documenting deviations.  Just because there is or is not a hash does not mean that, if necessary, the information will not be admissible during a court case.  But court cases should not be your major concern.  Consistent and repeatable process should be your concern.  This is necessary in case there is a need to repeat the data analysis in a court room, for a Board of Directors, or for a team of auditors.</p>
<blockquote><p>&#8220;Tools do not have to be validated.  The output, what was found, is more important than the tool that was used to interpret the data.&#8221;</p></blockquote>
<p>This is one of the first concepts that Harlan explained to me when I started working with him.  Different tools display information better than other tools (which is why we have a wide variety of them).  But just because a tools presents the data in a certain way, or has been doing so for X number of years, does not mean it is doing so correctly.  Other methods may be necessary to validate tool output.  This concept holds true for a perl/python script that was written last night by a kid in Poughkeepsie, NY or a long standing data analysis tool such as EnCase or FTK.</p>
<blockquote><p>The forensic industry &#8220;is not a fad.  Organizations are spinning up internal teams to handle incident response and investigations.&#8221;</p></blockquote>
<p>This is nothing new but it is a great validation.  Rob is exposed to a wide range of people from many different operational backgrounds.  This statement is also supported by the explosion of process and tool development in the digital forensic and incident response field.</p>
<p>I will end with a personal favorite of mine.  The following quote validates a realization I recently came to while cleaning up after an incident response.  If you have a weak heart, and hold onto old concepts  dearly, you may want to skip the following quote.  (I am paraphrasing because I just realized I didn&#8217;t write it down.)</p>
<blockquote><p>&#8220;How many passes does it take to destroy data so that  forensic analysis tools cannot recover it?  One, yes you are correct.&#8221;</p></blockquote>
<p>Yes, you read that right.  Only one pass is necessary.  Wow, that will save a lot of time not to mention a lot of energy related to processor intensive multiple writes using random data.  I am not going to track down all of the links that support this statement.  Basically, once information has been overwritten it cannot be accessed by the tools we typcially deploy.  Even advanced tools can only guess at the former state of a bit.  The cool thing is that since there are multiple layers to the file systems, there is a chance that a tool or process did not correctly overwrite the information.  This is a key concept covered by SEC508.  And as incident responders we also realize that just because data was destroyed in one location that it is not stored in some other location.  Which is why our processes include involving an organization&#8217;s network, workstation, server, and application administrators as well as management.  These people will understand where residual data resides within the organization.</p>
<p>So, to wrap this up, I highly recommend SEC508 to new and experienced incident response and digital forensic professionals.  You are going to learn something you did not know.  You are going to make contacts that will be invaluable in the future.  And, if you obtain the GIAC certification, you are going to have a valuable certification in a growing and increasingly important field that is having global impact.</p>
<p>Go forth and do good things,</p>
<p>Don C. Weber</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cutawaysecurity.com/blog/archives/832/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>ITB Issue 0&#215;1 &#8211; Call For Collaboration</title>
		<link>http://www.cutawaysecurity.com/blog/archives/828</link>
		<comments>http://www.cutawaysecurity.com/blog/archives/828#comments</comments>
		<pubDate>Sun, 07 Feb 2010 16:53:43 +0000</pubDate>
		<dc:creator>cutaway</dc:creator>
				<category><![CDATA[Incident Response]]></category>
		<category><![CDATA[Into The Boxes]]></category>
		<category><![CDATA[forensics]]></category>
		<category><![CDATA[digital forensics]]></category>
		<category><![CDATA[ITB]]></category>
		<category><![CDATA[Security Ripcord]]></category>

		<guid isPermaLink="false">http://www.cutawaysecurity.com/blog/?p=828</guid>
		<description><![CDATA[The success of Into The Boxes Issue 0&#215;0 was only possible because of the collaboration provided by members of the Digital Forensics and Incident Response community.  In order for this publication to continue we need more people to step up and provide their input.  As you can see from the first issue we are looking [...]]]></description>
			<content:encoded><![CDATA[<p>The success of <a title="Into The Boxes" href="http://intotheboxes.wordpress.com" target="_blank">Into The Boxes</a> <a title="ITB Issue 0x0" href="http://intotheboxes.files.wordpress.com/2009/12/intotheboxes_q12009.pdf" target="_blank">Issue 0&#215;0</a> was only possible because of the collaboration provided by members of the Digital Forensics and Incident Response community.  In order for this publication to continue we need more people to step up and provide their input.  As you can see from the first issue we are looking for input that can be implemented by people in the DF/IR fields.  This input can be in the form of detailed articles or quick tips.  All input will be given serious consideration.  The <strong>ITB</strong> editors will provide authors with recommendations to strengthen their write-ups to ensure the best value to the community and help the authors develop as DF/IR professionals and writers.</p>
<p>Please help <strong>ITB</strong> by providing your submissions or letting us know about your intent to submit via the <a title="ITB Call Box" href="http://intotheboxes.wordpress.com/call-box/" target="_blank">ITB Call Box</a>.  We are also looking for article recommendations which we will place in the <a title="ITB Research Box" href="http://intotheboxes.wordpress.com/research-box/" target="_blank">ITB Research Box</a> so that others have good ideas as to what will help the DF/IR Community.  Obviously, if you would like to contribute but do not know what to write about, check out the <a title="ITB Research Box" href="http://intotheboxes.wordpress.com/research-box/" target="_blank">ITB Research Box</a> for 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/828/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>APT-style Manual Compromise Viewed Via Timeline Analysis</title>
		<link>http://www.cutawaysecurity.com/blog/archives/821</link>
		<comments>http://www.cutawaysecurity.com/blog/archives/821#comments</comments>
		<pubDate>Fri, 05 Feb 2010 19:24:46 +0000</pubDate>
		<dc:creator>cutaway</dc:creator>
				<category><![CDATA[Incident Response]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[forensics]]></category>
		<category><![CDATA[APT]]></category>
		<category><![CDATA[Hydraq]]></category>
		<category><![CDATA[Security Ripcord]]></category>

		<guid isPermaLink="false">http://www.cutawaysecurity.com/blog/?p=821</guid>
		<description><![CDATA[Most of the time the initial infection vector associated with APT-style attacks incorporate the client-side exploitation of vulnerabilities in any number of software.  Actually, when dealing with APT-style events I prefer &#8220;initial compromise vector&#8221; (ICV) as APT backdoors should not be considered or even referred to as malware because it provides an incorrect understanding to [...]]]></description>
			<content:encoded><![CDATA[<p>Most of the time the initial infection vector associated with APT-style attacks incorporate the client-side exploitation of vulnerabilities in any number of software.  Actually, when dealing with APT-style events I prefer &#8220;initial compromise vector&#8221; (ICV) as APT backdoors should not be considered or even referred to as malware because it provides an incorrect understanding to the whole incident response.  User and system activity coupled with the fact that many organizations do not detect a compromise for several months means that the ICV can be elusive.  It is much more likely that the actions following the initial compromise are going to persist over time.</p>
<p>The following timeline information was pulled from a system.  A complete timeline was generated using system artifacts parsed using System Combo Timeline and several TLN-based Enscripts.  Each line is in the order display within the timeline.  no lines have been removed.  This was a fairly lucky situation as many times unrelated activity needs to be purged from the timeline to see this type of detail and understand specific activities.  Specific comments will follow the lines I want to highlight.</p>
<blockquote><p>2009 11 04 08:59:42|SysEvent.Evt &#8211; EVT|COMP-SYS|S-1-5-18|Service Control Manager/7035;Info;LiveUpdate,start<br />
2009 11 04 08:59:42|SysEvent.Evt &#8211; EVT|COMP-SYS|N/A|Service Control Manager/7036;Info;LiveUpdate,running<br />
2009 11 04 09:00:06|AppEvent.Evt &#8211; EVT|COMP-SYS|N/A|Symantec AntiVirus/16;Info;Virus definitions are current.<br />
2009 11 04 09:00:12|SysEvent.Evt &#8211; EVT|COMP-SYS|N/A|Service Control Manager/7036;Info;LiveUpdate,stopped</p></blockquote>
<p>Very interesting that many of these events seem to occur during some type of AV updating or scanning activity.  Although really just an interesting side note, this does show that AV can only prevent what it is programmed to understand.  The following events do not fall into that category.</p>
<blockquote><p>2009 11 04 09:19:09|EnCase File TLN|COMP-SYS|COMP-SYS\Disk Image\C\Documents and Settings\All Users\Application Data\Microsoft\Crypto\RSA\S-1-5-18|Change Time (ctime)<br />
2009 11 04 09:19:09|EnCase File TLN|COMP-SYS|COMP-SYS\Disk Image\C\Documents and Settings\All Users\Application Data\Microsoft\Crypto\RSA\S-1-5-18|Modified Time (mtime)<br />
2009 11 04 09:19:09|EnCase File TLN|COMP-SYS|COMP-SYS\Disk Image\C\Documents and Settings\All Users\Application Data\Microsoft\Crypto\RSA\S-1-5-18\d42cc0c3858a58db2db37658219e6400_dbcab107-5342-4908-9e95-0aba2546f18b|Accessed Time (atime)<br />
2009 11 04 09:19:09|EnCase File TLN|COMP-SYS|COMP-SYS\Disk Image\C\Documents and Settings\All Users\Application Data\Microsoft\Crypto\RSA\S-1-5-18\d42cc0c3858a58db2db37658219e6400_dbcab107-5342-4908-9e95-0aba2546f18b|Change Time (ctime)<br />
2009 11 04 09:19:09|EnCase File TLN|COMP-SYS|COMP-SYS\Disk Image\C\Documents and Settings\All Users\Application Data\Microsoft\Crypto\RSA\S-1-5-18\d42cc0c3858a58db2db37658219e6400_dbcab107-5342-4908-9e95-0aba2546f18b|Created Time (crtime)</p></blockquote>
<p>These files appear to be associated with <a title="Microsoft Cryptographic Service Provides" href="http://msdn.microsoft.com/en-us/library/aa386983%28VS.85%29.aspx" target="_blank">Microsoft Cryptographic Service Providers</a>.  I am still researching what this actually implies.  Please post a comment if you can provide some insight.</p>
<blockquote><p>2009 11 04 09:21:00|SysEvent.Evt &#8211; EVT|COMP-SYS|S-1-5-18|Service Control Manager/7035;Info;UpsGSx,start<br />
2009 11 04 09:21:00|SysEvent.Evt &#8211; EVT|COMP-SYS|N/A|Service Control Manager/7036;Info;UpsGSx,running<br />
2009 11 04 09:21:00|SysEvent.Evt &#8211; EVT|COMP-SYS|S-1-5-18|Service Control Manager/7035;Info;UpsGSx,stop</p></blockquote>
<p>This service is a malicious backdoor that has been related to <a title="Hydraq" href="http://aka-community.symantec.com/connect/blogs/trojanhydraq-incident" target="_blank">Hydraq</a>. Notice that new services do get logged to Windows Event Logs but only if your systems are configured to log.  But why did this service start?</p>
<blockquote><p>2009 11 04 09:21:00|EnCase File TLN|COMP-SYS|COMP-SYS\Disk Image\C\WINDOWS\Tasks|Change Time (ctime)<br />
2009 11 04 09:21:00|EnCase File TLN|COMP-SYS|COMP-SYS\Disk Image\C\WINDOWS\Tasks|Modified Time (mtime)</p></blockquote>
<p>Ah, a modification to the Scheduled Tasks folder.  This could be an indication that a job was scheduled to run.</p>
<blockquote><p>2009 11 04 09:21:00|Registry Hive: software|COMP-SYS|0|$$$PROTO.HIV/Microsoft/SchedulingAgent<br />
2009 11 04 09:21:00|Registry Hive: system|COMP-SYS|0|$$$PROTO.HIV/ControlSet001/Enum/Root/LEGACY_UPSGSX/0000<br />
2009 11 04 09:21:00|Registry Hive: system|COMP-SYS|0|$$$PROTO.HIV/ControlSet002/Enum/Root/LEGACY_UPSGSX/0000</p></blockquote>
<p>More activity associated with the UPSxxx backdoor service starting.</p>
<blockquote><p>2009 11 04 09:21:00|Task Log|COMP-SYS|&#8221;At1.job&#8221; (a.exe)    Started 11/4/2009 5:21:00 PM|0<br />
2009 11 04 09:21:00|Task Log|COMP-SYS|&#8221;At1.job&#8221; (a.exe)    Finished 11/4/2009 5:21:00 PM    Result: The task completed with an exit code of (0).|0</p></blockquote>
<p>Well, now, what do we have here?  A scheduled task running a strange executable.  And, at the exact same time that the UPSxxx backdoor service started.  Nobody said that timeline information will be presented down to the millisecond.  Obviously this action occurred before some of the other events.  Had the conversion from local time to UTC been off this data might have been lost and not associated with these events.</p>
<blockquote><p>2009 11 04 09:31:58|SysEvent.Evt &#8211; EVT|COMP-SYS|N/A|Tcpip/4226;Warn;</p></blockquote>
<p>Once, <a title="Windows Incident Response" href="http://windowsir.blogspot.com/" target="_blank">Harlan Carvey</a> recommended that I get a subscription to <a title="EventID.net" href="http://www.eventid.net/display.asp?eventid=4226&amp;source=" target="_blank">EventID.net</a>.  Here is where that subscription pays off.  The description for Event ID 4226 reads &#8220;TCP/IP has reached the security limit imposed on the number of concurrent TCP connect attempts.&#8221;  Well, now, it seems that there is a large number of outgoing connection attempts.  Additional comments from other users of EventID.net provide indications that this type of activity can be linked to malware.  And to think, this was alerted in the Windows Event Logs no less.  Did I mention that these should be turned on?  Starting to seem very useful right about now.</p>
<blockquote><p>2009 11 04 09:35:30|EnCase File TLN|COMP-SYS|COMP-SYS\Disk Image\C\WINDOWS\system32\snmpapi.dll|Accessed Time (atime)<br />
2009 11 04 09:35:30|EnCase File TLN|COMP-SYS|COMP-SYS\Disk Image\C\WINDOWS\system32\inetmib1.dll|Accessed Time (atime)<br />
2009 11 04 09:35:30|EnCase File TLN|COMP-SYS|COMP-SYS\Disk Image\C\WINDOWS\system32\netstat.exe|Accessed Time (atime)<br />
2009 11 04 09:36:53|EnCase File TLN|COMP-SYS|COMP-SYS\Disk Image\C\WINDOWS\system32\wbem\wbemperf.dll|Accessed Time (atime)<br />
2009 11 04 09:36:53|EnCase File TLN|COMP-SYS|COMP-SYS\Disk Image\C\WINDOWS\system32\systeminfo.exe|Accessed Time (atime)<br />
2009 11 04 09:36:55|EnCase File TLN|COMP-SYS|COMP-SYS\Disk Image\C\WINDOWS\system32\wbem\stdprov.dll|Accessed Time (atime)<br />
2009 11 04 09:41:17|EnCase File TLN|COMP-SYS|COMP-SYS\Disk Image\C\WINDOWS\system32\tasklist.exe|Accessed Time (atime)<br />
2009 11 04 09:43:27|EnCase File TLN|COMP-SYS|COMP-SYS\Disk Image\C\WINDOWS\system32\nbtstat.exe|Accessed Time (atime)<br />
2009 11 04 09:46:58|EnCase File TLN|COMP-SYS|COMP-SYS\Disk Image\C\RECYCLER|Change Time (ctime)<br />
2009 11 04 09:46:58|EnCase File TLN|COMP-SYS|COMP-SYS\Disk Image\C\RECYCLER|Modified Time (mtime)</p></blockquote>
<p>Okay, here is the hot and juicy stuff.  Wow, look at those Access times.  Access times on executables are indicative of the execution of these programs.  &#8220;Netstat&#8221;, &#8220;Systeminfo&#8221;, &#8220;tasklist&#8221;, and &#8220;nbtstat&#8221;.  All one after another? Very interesting.  The accessed DLLs also show us that other programs might have been run around this time.  SNMP?  <a title="SNMP" href="http://en.wikipedia.org/wiki/Simple_Network_Management_Protocol" target="_blank">Simple Network Management Protocol</a> &#8211; a little network management anyone? WBEM? <a title="WBEM" href="http://en.wikipedia.org/wiki/Web-Based_Enterprise_Management" target="_blank">Web-Based Enterprise Management</a>.  Definitely more reconnaissance behavior.</p>
<p>I would also like to point out that this activity appears to have occurred approximately ten minutes after the backdoor was placed on this system using the scheduled task.  So, following logic, this system was compromised from another system within the network.  The attacker completed the working on that first system (possibly similar reconnaissance efforts) and then connected to this system via the backdoor.  Why the backdoor?  Well, logging is turned on.  There is no network logon event.  This could very well mean that the user&#8217;s actual credentials have not been compromised, YET.  Or, this could mean the attacker did not want to generate a logon event, or it could mean that he required some functionality provided by the backdoor.  We are starting to read into this a little too much at this point.  But our initial thoughts, compromised from another system on the internal network and performing reconnaissance steps, are still sound.</p>
<blockquote><p>2009 11 04 10:12:46|EnCase File TLN|COMP-SYS|COMP-SYS\Disk Image\C\System Volume Information\_restore{01E266C2-86F5-40B2-9145-B4252FFF29C3}\RP34\A0034337.properties|Accessed Time (atime)<br />
2009 11 04 10:12:46|EnCase File TLN|COMP-SYS|COMP-SYS\Disk Image\C\System Volume Information\_restore{01E266C2-86F5-40B2-9145-B4252FFF29C3}\RP34\A0034337.properties|Change Time (ctime)<br />
2009 11 04 10:12:46|EnCase File TLN|COMP-SYS|COMP-SYS\Disk Image\C\System Volume Information\_restore{01E266C2-86F5-40B2-9145-B4252FFF29C3}\RP34\A0034337.properties|Modified Time (mtime)<br />
2009 11 04 10:13:10|EnCase File TLN|COMP-SYS|COMP-SYS\Disk Image\C\Documents and Settings\Administrator\Local Settings\Temp\vmware-user\vmware-3856-mks-user-476.log|Accessed Time (atime)<br />
2009 11 04 10:13:10|EnCase File TLN|COMP-SYS|COMP-SYS\Disk Image\C\Documents and Settings\Administrator\Local Settings\Temp\vmware-user\vmware-3856-mks-user-476.log|Change Time (ctime)<br />
2009 11 04 10:13:35|EnCase File TLN|COMP-SYS|COMP-SYS\Disk Image\D\System Volume Information\_restore{01E266C2-86F5-40B2-9145-B4252FFF29C3}\RP33|Created Time (crtime)<br />
2009 11 04 10:13:35|EnCase File TLN|COMP-SYS|COMP-SYS\Disk Image\D\System Volume Information\_restore{01E266C2-86F5-40B2-9145-B4252FFF29C3}\RP33\change.log.1|Created Time (crtime)<br />
2009 11 04 10:13:37|EnCase File TLN|COMP-SYS|COMP-SYS\Disk Image\D\System Volume Information\_restore{01E266C2-86F5-40B2-9145-B4252FFF29C3}\RP34\A0034288.dll|Change Time (ctime)<br />
2009 11 04 10:13:37|EnCase File TLN|COMP-SYS|COMP-SYS\Disk Image\D\System Volume Information\_restore{01E266C2-86F5-40B2-9145-B4252FFF29C3}\RP34\A0034288.dll|Created Time (crtime)<br />
2009 11 04 10:13:37|EnCase File TLN|COMP-SYS|COMP-SYS\Disk Image\D\System Volume Information\_restore{01E266C2-86F5-40B2-9145-B4252FFF29C3}\RP34\A0034287.dll|Change Time (ctime)</p></blockquote>
<p>Ah, the System Restore Point.  This simple occurrence could be very helpful indeed.  It is quite possible that the Upsxxx backdoor was captured and stored in this System Restore Point.  This is very useful information especially if the malware has rolled over to a new version.  If your security team is looking for a different version of the backdoor, systems compromised with the version captured in this restore point may still be beaconing or allowing access to your environment.  Time to dive into these System Restore Points and see what they yield.</p>
<p>Hopefully you have found this helpful.</p>
<p>Go forth and do good things,</p>
<p>Don C. Weber</p>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 1269px; width: 1px; height: 1px;"><strong>Web-Based Enterprise ManagementWeb-Based Enterprise Management</strong></div>
]]></content:encoded>
			<wfw:commentRss>http://www.cutawaysecurity.com/blog/archives/821/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hydraq Details Revealed Via Timeline Analysis</title>
		<link>http://www.cutawaysecurity.com/blog/archives/815</link>
		<comments>http://www.cutawaysecurity.com/blog/archives/815#comments</comments>
		<pubDate>Fri, 05 Feb 2010 06:45:41 +0000</pubDate>
		<dc:creator>cutaway</dc:creator>
				<category><![CDATA[Incident Response]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[forensics]]></category>

		<guid isPermaLink="false">http://www.cutawaysecurity.com/blog/?p=815</guid>
		<description><![CDATA[The other day I was handed a system that was known to be compromised with Hydraq.  The goals were to determine when, how, and what happened after the compromise.  Locating the malicious process during memory analysis was easy with so many known system artifacts.  Not really very useful although it did determine that the rasmon.dll [...]]]></description>
			<content:encoded><![CDATA[<p>The other day I was handed a system that was known to be compromised with <a title="Hydraq" href="http://aka-community.symantec.com/connect/blogs/trojanhydraq-incident" target="_self">Hydraq</a>.  The goals were to determine when, how, and what happened after the compromise.  Locating the malicious process during memory analysis was easy with so many known system artifacts.  Not really very useful although it did determine that the rasmon.dll program did contain a domain name unique to the rest of the intelligence from the Internet.</p>
<p>I follow a very specific initial process when appoaching compromises on Microsoft Windows systems.  Keyword searches, timeline generation, and registry analysis top my list unless inidcators point me in a different direction.  Keyword searches on unallocated space and the systems pagefile did not provide any positive information related to the goals.   So I moved onto identifying the backdoor&#8217;s service to have a little more information to use during timeline analysis.  Easy enough with a quick review of the Service Registry keys.</p>
<blockquote><p>System\ControlSet001\Services\RaSuPoo &#8211; Date Modified: 1/12/2010 11:05:40 AM<br />
Description &#8211; ** NONE PROVIDED **<br />
DisplayName &#8211; ** NONE PROVIDED **<br />
ImagePath &#8211; %SystemRoot%\System32\svchost.exe -k netsvcs<br />
Parameters &#8211; Date Modified: 1/12/2010 11:05:40 AM<br />
ServiceDll &#8211; c:\windows\system32\rasmon.dll<br />
Security &#8211; Date Modified: 1/12/2010 11:05:40 AM</p></blockquote>
<p>Right off the bat I noticed a few things that were interesting.  Neither the &#8220;Description&#8221; nor the &#8220;DisplayName&#8221; key values were present.  Although they are listed here it is only to note that they were missing completely.  Now these things might be unique to this system but they are definitely indicators that can be used to identify other compromised systems with in the environment, possibly even if the backdoor is rolled over to a different version by the attackers.</p>
<p>Something else that is important to note is the matching &#8220;Last Write&#8221; for the primary registry key and the subkeys &#8220;Parameters&#8221; and &#8220;Security&#8221;.  When these times do not match I rely on the times provided by the &#8220;Security&#8221; key to determine the likely date and time that the system was compromised.  As these times matched for this service I was initially inclined to utilize these times as indications of the initial compromise.</p>
<p>Additional review of the services using intelligence from the Internet located other malicious services.  The following Registry information represents one of these malicious services.</p>
<blockquote><p>System\ControlSet001\Services\AppMgmt &#8211; Date Modified: 1/12/2010 11:05:40 AM<br />
Description &#8211; Provides software installation services such as Assign, Publish, and Remove.<br />
DisplayName &#8211; Application Management<br />
ImagePath &#8211; %SystemRoot%\System32\svchost.exe -k netsvcs<br />
Parameters &#8211; Date Modified: 10/14/2009 01:25:37 AM<br />
ServiceDll &#8211; C:\Documents and Settings\Administrator\AppMgmt.dll<br />
ServiceDllUnloadOnStop &#8211; 00000001<br />
Security &#8211; Date Modified: 4/4/2005 12:24:16 PM</p></blockquote>
<p>There are several interesting things to note about this process.  First of all is the location of the AppMgmt.dll.  This location should flag this service as malicious during a manual review of running services as well as when this service is running in memory.  The &#8220;Last Write&#8221; time of the &#8220;Parameter&#8221; key is a good indication of the date and time the system was compromised by this backdoor.  After additional review this seems to be the earliest indication of compromise.</p>
<p>Continuing with timeline analysis produced an interesting finding from the event logs.</p>
<blockquote><p>2010 01 12 11:05:40|SysEvent.Evt &#8211; EVT|INF-SYS|S-1-5-18|Service Control Manager/7035;Info;RaShniI,stop</p></blockquote>
<p>As you can see, the backdoor service with a different random key name than the current registry setting has stopped.  Now, this could be typical behavior associated with the functionality of the backdoor or it could be indications of another malware rollover to a new version.  However, now we have additional indicators for the timeline analysis.  A little fancy searching produced sixteen other instances of randomly named services that stopped and produced an Event Log entry.  Timeline analysis also produced several instances of systems restarting as represented by the &#8220;Task Scheduler Service&#8221; starting.</p>
<blockquote><p>2010 01 11 11:40:09|Task Log|INF-SYS|&#8221;Task Scheduler Service&#8221;   Started at 1/11/2010 9:40:09 AM|0</p></blockquote>
<p>Continued review provided an even more interesting finding.  Instances of a LEGACY registry key for each &#8220;stopped&#8221; service associated with the backdoor.</p>
<blockquote><p>2009 10 29 05:48:46|Registry Hive: system|INF-SYS|0|$$$PROTO.HIV/ControlSet001/Enum/Root/LEGACY_RAS0HWK/0000</p></blockquote>
<p>Additional investigation of the System Registry Hive produced the following information.</p>
<blockquote><p>System\ControlSet001\Enum\Root\LEGACY_RAS0HWK &#8211; Date Modified: 10/27/2009 5:18:46 AM<br />
0000 &#8211; Date Modified: 10/27/2009 5:18:46 AM<br />
DeviceDesc &#8211; RaS0HWk<br />
Service &#8211; RaS0HWk</p></blockquote>
<p>Then, after trimming the fat from timeline entries the following details emerged.  I have trimmed these a bit for brevity.</p>
<blockquote><p>2009 10 27 05:18:59|Task Log|INF-SYS|&#8221;Task Scheduler Service&#8221;   Started at 10/27/2009 13:18:59 PM|0<br />
2009 10 27 05:18:46|Registry Hive: system|INF-SYS|0|$$$PROTO.HIV/ControlSet001/Enum/Root/LEGACY_RAS0HWK/0000<br />
2009 10 27 05:19:17|SysEvent.Evt &#8211; EVT|INF-SYS|S-1-5-18|Service Control Manager/7035;Info;RaS0HWk,stop<br />
2009 10 30 09:10:55|Task Log|INF-SYS|&#8221;Task Scheduler Service&#8221;   Started at 10/30/2009 17:10:55 PM|0<br />
2009 10 30 09:10:43|Registry Hive: system|INF-SYS|0|$$$PROTO.HIV/ControlSet001/Enum/Root/LEGACY_RAS1DBH/0000<br />
2009 10 30 09:11:19|SysEvent.Evt &#8211; EVT|INF-SYS|S-1-5-18|Service Control Manager/7035;Info;RaS1DbH,stop<br />
[snip]<br />
2010 01 11 01:10:49|Task Log|INF-SYS|&#8221;Task Scheduler Service&#8221;   Started at 1/11/2010 9:10:09 AM|0<br />
2010 01 11 01:10:44|Registry Hive: system|INF-SYS|0|$$$PROTO.HIV/ControlSet001/Enum/Root/LEGACY_RASX4NS/0000<br />
2010 01 11 01:10:01|SysEvent.Evt &#8211; EVT|INF-SYS|S-1-5-18|Service Control Manager/7035;Info;RaSX4nS,stop<br />
2010 01 12 01:55:02|Registry Hive: system|INF-SYS|0|$$$PROTO.HIV/ControlSet001/Enum/Root/LEGACY_RASHNII/0000<br />
2010 01 12 01:55:18|SysEvent.Evt &#8211; EVT|INF-SYS|S-1-5-18|Service Control Manager/7035;Info;RaShniI,stop</p></blockquote>
<p>Now, this backdoor behavior is significant because I have not found any reference to this restart behavior in any of the Hydraq malware analysis reports.  It also means that the Last Write times for the &#8220;RaSuPoo&#8221; service registry key is not indicative of the time that the AppMgmt rolled over to the new backdoor.  Whether the restart behavior was intentional or not this behavior has successfully obfuscated some critical system information that may not have been apparent had it not been for timeline analysis.</p>
<p>Additional analysis of timeline data using the LEGACY data also revealed another significant finding.  Malware reports related to Hydraq provide mention of a backdoor service with the name &#8220;Upsxxx&#8221; where [xxx] are random.  Timeline review revealed a LEGACY key for this service.</p>
<blockquote><p>System\ControlSet001\Enum\Root\LEGACY_UPSYVM &#8211; Date Modified: 10/27/2009 4:07:09 AM<br />
0000 &#8211; Date Modified: 10/27/2009 4:07:09 AM<br />
DeviceDesc &#8211; UpsyVm<br />
Service &#8211; UpsyVm</p></blockquote>
<p>The significance of this registry key is not the fact that it appears to have been created before the earliest RaSxxxx service keys.  Rather it is the fact that there are no Registry entries pertaining to the initial Upsyvm service keys.  This means that the original service keys were deleted once this backdoor was rolled over to the new backdoor.  Another significant finding revealed during timeline analysis.</p>
<p>Now, none of these indicators provide details about the &#8220;smoking gun&#8221; &#8211; manual activity &#8211; that has taken place on this system.  However, understanding all of these activities provides a complete understanding of the series of events that could lead up to manual malicious activity on other systems.  Details of system artifacts and backdoor activity times will help identify other compromised systems and other activities.  This information also provides new methods that are being used to obfuscate data and hide critical details about events following a compromise.  Hopefully the information provided here helps you overcome some of these techniques.</p>
<p>Go forth and do good things,</p>
<p>Don C. Weber</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cutawaysecurity.com/blog/archives/815/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Logs To Reduce Response Gap</title>
		<link>http://www.cutawaysecurity.com/blog/archives/800</link>
		<comments>http://www.cutawaysecurity.com/blog/archives/800#comments</comments>
		<pubDate>Fri, 29 Jan 2010 05:23:10 +0000</pubDate>
		<dc:creator>cutaway</dc:creator>
				<category><![CDATA[Firewalls]]></category>
		<category><![CDATA[Incident Response]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[forensics]]></category>
		<category><![CDATA[Firewall]]></category>
		<category><![CDATA[Logging]]></category>
		<category><![CDATA[Security Ripcord]]></category>

		<guid isPermaLink="false">http://www.cutawaysecurity.com/blog/?p=800</guid>
		<description><![CDATA[One of the keys to incident response is to reduce the gap between compromise and when an organization starts taking action.  There are a number of tricks to identify compromised hosts.  Most organizations retain all types of logs for any number of reasons.  Unfortunately, auditing and never really using logs for anything except for records [...]]]></description>
			<content:encoded><![CDATA[<p>One of the keys to incident response is to reduce the gap between compromise and when an organization starts taking action.  There are a number of tricks to identify compromised hosts.  Most organizations retain all types of logs for any number of reasons.  Unfortunately, auditing and never really using logs for anything except for records retention can cause organizations to treat them as merely objects to move around and not necessarily utilize for any action.  Even organizations who perform monitoring and effective records retention have a tendency to store and forget about older logs.</p>
<p>Access to old logs becomes painfully necessary during an incident response.  Without a well thought out and tested access plan, review of older logs can be a tedious and time consuming effort.  This can be further complicated by resources such as server load caused by searching and network connectivity caused by transfer.  I have experienced a few of these problems recently and I thought I would share them so that you can use them to prepare to reduce the response gap within your organization.</p>
<p>Firewall logs get large quickly.   The size of the organization is usually going to determine the length of time logs will/can be retained.  How long does it take you to search all of your firewalls back six months?  This becomes very important when firewall management and log storage have been outsourced to another organization.  What are your service level agreements for request response times?  Have you tested this response time?</p>
<p>Firewall log review will help you identifying internal IP addresses that connection to external IP addresses.  Now what do you do?  Well, if your environment is made up of static IP addresses this works just fine.  What happens if your organization utilizes DHCP for connectivity?  How long do you retain logging information for your DHCP leases?  How fast does it take to correlate firewall search results with the DHCP leases?  If you cannot answer these questions then additional testing will be necessary.</p>
<p>Monitoring for specific IP addresses is one thing, but often the information you have may be related to specific domains.  This means that DNS request logs become very important.  All of the same review questions apply.  Concerns about outsourced DNS apply.  Testing applies.</p>
<p>Time for a little math.  Let&#8217;s say you have an IP address of a known malicious server on the Internet.  If it takes you two days to search your firewall logs for connections and then it takes you an additional two days to correlate that information with DHCP logs, your incident response gap is four days.  That is four days before you can even begin applying your incident response process.  Four days before you can start requesting legal permission to adhere to law and regulations where the system resides.  Does it take two days for legal approval?  Now you are up to six days.  Do you have data analysis personnel that can respond to all of your locations?  Add two more days to mail systems and data analysis doesn&#8217;t begin for eight days.</p>
<p>Hopefully this helps.  Please test your computer incident response plan.  When you do, think outside of the box.  Ask additional questions.  Request information and time how long it takes.  Conduct lessons learned followed up with specific and managed goals.</p>
<p>Go forth and do good things,</p>
<p>Don C. Weber</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cutawaysecurity.com/blog/archives/800/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Syscombotln and Tools Update</title>
		<link>http://www.cutawaysecurity.com/blog/archives/795</link>
		<comments>http://www.cutawaysecurity.com/blog/archives/795#comments</comments>
		<pubDate>Tue, 05 Jan 2010 05:55:36 +0000</pubDate>
		<dc:creator>cutaway</dc:creator>
				<category><![CDATA[Incident Response]]></category>
		<category><![CDATA[Malware]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[forensics]]></category>
		<category><![CDATA[enscript]]></category>
		<category><![CDATA[Harlan Carvey]]></category>
		<category><![CDATA[IronGeek]]></category>
		<category><![CDATA[RegRipper]]></category>
		<category><![CDATA[Security Ripcord]]></category>
		<category><![CDATA[setupapi.log]]></category>
		<category><![CDATA[SVN]]></category>
		<category><![CDATA[syscombotln]]></category>
		<category><![CDATA[TLN]]></category>

		<guid isPermaLink="false">http://www.cutawaysecurity.com/blog/?p=795</guid>
		<description><![CDATA[System Combo Timeline:
The syscombotln tool has been updated to fix several bugs and time/date issues.  I have also decided to stop being lazy and updated all of the internal modules and external scripts/tools associated with this tool to properly handle the TLN format as Harlan outlined. This includes the TLN.EnScript which is NOT included in [...]]]></description>
			<content:encoded><![CDATA[<p><strong>System Combo Timeline</strong>:</p>
<p>The <a title="syscombotln" href="http://www.cutawaysecurity.com/blog/system-combo-timeline" target="_blank">syscombotln tool</a> has been updated to fix several bugs and time/date issues.  I have also decided to stop being lazy and updated all of the internal modules and external scripts/tools associated with this tool to properly handle the <a title="TLN Format" href="http://windowsir.blogspot.com/2009/02/timeline-analysis-pt-iii.html" target="_blank">TLN format as Harlan outlined</a>. This includes the <a title="TLNFile.EnScript" href="http://www.cutawaysecurity.com/blog/wp-content/uploads/TLNFile.EnScript" target="_blank">TLN.EnScript</a> which is NOT included in the syscombotln tool.</p>
<p>New functionality includes parsing the <a title="Setupapi.log" href="http://www.microsoft.com/whdc/driver/install/setupapilog.mspx" target="_blank">Windows XP setupapi.log</a> file.  I have included this functionality due to a little analysis trick pointed out to me by Jason Luttgens and Jon Gross of <a title="Mandiant" href="http://www.mandiant.com/" target="_blank">Mandiant</a>.  Basically any time a <a title="The many faces of malware &gt;O" href="http://www.sophos.com/blogs/sophoslabs/v/post/1136" target="_blank">Windows Help (chm) file</a> is executed the information is logged in the user&#8217;s HTML Help (<a title="hh.dat Information" href="http://notcolin.wordpress.com/2009/04/24/the-hhdat-file/" target="_blank">hh.dat</a>) file.  This information can be used to specify some <a title="Malware Methodology Report" href="http://windowsir.blogspot.com/2009/03/looking-for-bad-stuff-pt-iii-malware.html" target="_blank">Initial Infection Vector</a> information.  This information, in turn, may be augmented by driver-based information which, in Windows XP, is logged in the setupapi.log file.  I cannot provide specifics at this time, but I can tell you that you will know suspicious entries when you see them.  (If anybody has specific examples, please provide them in the comments.)  Although I have not had time to parse the hh.dat file, I have had time to parse the setupapi.log file.  The syscombotln module for this file is very basic but it should handle all files well (please let me know if you experience cases where it does not).  An added benefit of parsing this log file is that <a title="Forensics: How do you detect data theft Part 1" href="http://whereismydata.wordpress.com/2009/05/23/forensics-how-do-you-detect-data-theft-part-1/" target="_blank">external USB storage device installation information</a> will also be added to your timelines.  And if there are <a title="http://www.anti-forensics.com/delete-usb-device-history-from-the-windows-registry-usbstor-key-and-the-setupapilog" href="http://www.anti-forensics.com/delete-usb-device-history-from-the-windows-registry-usbstor-key-and-the-setupapilog" target="_blank">anti-forensic efforts recommending deleting this log</a>, you know we want to review it&#8217;s information and add it to our timelines.</p>
<p><strong>IronGeek Resource</strong>:</p>
<p>Just a quick note.  When researching the information in the last post I ran across this great resource by <a title="IronGeek" href="http://www.irongeek.com/" target="_blank">IronGeek</a>.  Once again he has posted some amazing content.  Take a look at his <a title="IronGeek Rocks!!" href="http://www.irongeek.com/i.php?page=security/windows-forensics-registry-and-file-system-spots" target="_blank">&#8220;Forensically interesting spots in the Windows 7, Vista and XP file system and registry&#8221;</a> resource.  You might have known about this, but it is new to me, so just in case you missed it as well.</p>
<p><strong>Scripts and Tools</strong>:</p>
<p>I have decided to start uploading my scripts and tools when I generate an update.  To this end I have created the <a title="Scripts and Tools" href="http://www.cutawaysecurity.com/blog/scripts-and-tools" target="_blank">Scripts and Tools</a> page which includes some Window Registry tools (including some older <a title="RegRipper" href="http://www.regripper.net/" target="_blank">RegRipper</a> plugins) and a few Enscripts.  Check this page often for updates and new scripts/tools.  Leave comments with comments, updates, requests.  To help with consistency, I have also started using <a title="THE SVN Documentation" href="http://svnbook.red-bean.com/" target="_blank">Subversion</a> to help me track development of all my projects.  Basically because I have been brow-beating (unsuccessfully) Harlan to do the same with his tools.  I have started keeping all my projects on an external USB drive (which I backup often).  To keep each project separate I use the following steps.</p>
<ol>
<li>Copy folder to Projects directory.</li>
<li>Type &#8220;svnadmin create /media/&lt;usb drive&gt;/Dev/Projects/Repo/&lt;project name&gt;&#8221;</li>
<li>Type &#8220;svn import &lt;project name&gt; file:///media/&lt;usb drive&gt;/Dev/Projects/Repo/&lt;project name&gt; -m &#8220;Initial Import&#8221;</li>
<li>Move original project directory &#8220;mv &lt;project name&gt; &lt;project name&gt;_bk&#8221;</li>
<li>Check out repository &#8220;svn checkout file:///media/&lt;usb drive&gt;/Dev/Projects/Repo/&lt;project name&gt; &lt;project name&gt;&#8221;</li>
<li>Double check files are there and work with it a little while.</li>
<li>Delete _bk</li>
</ol>
<p>This works across Linux systems and should work on Windows systems using something like <a title="Tortoise SVN" href="http://tortoisesvn.tigris.org/" target="_blank">tortoisesvn</a>.  Hopefully you find that useful for your script and tool development.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cutawaysecurity.com/blog/archives/795/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Announcing Into The Boxes &#8211; E-Magazine</title>
		<link>http://www.cutawaysecurity.com/blog/archives/743</link>
		<comments>http://www.cutawaysecurity.com/blog/archives/743#comments</comments>
		<pubDate>Mon, 02 Nov 2009 12:58:04 +0000</pubDate>
		<dc:creator>cutaway</dc:creator>
				<category><![CDATA[Incident Response]]></category>
		<category><![CDATA[Into The Boxes]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[forensics]]></category>
		<category><![CDATA[digital forensics]]></category>
		<category><![CDATA[IntoTheBoxes]]></category>
		<category><![CDATA[Security Ripcord]]></category>

		<guid isPermaLink="false">http://www.cutawaysecurity.com/blog/?p=743</guid>
		<description><![CDATA[I have been a little busy of late.  Work, family, and a few side projects have taken up a lot of my time.  Good news, however, I am ready to make one of those side projects public.  That project is an e-magazine for digital forensics and incident response called Into The Boxes.
I don&#8217;t want to [...]]]></description>
			<content:encoded><![CDATA[<p>I have been a little busy of late.  Work, family, and a few side projects have taken up a lot of my time.  Good news, however, I am ready to make one of those side projects public.  That project is an e-magazine for digital forensics and incident response called <a title="Into The Boxes" href="http://intotheboxes.wordpress.com/" target="_blank">Into The Boxes</a>.</p>
<p>I don&#8217;t want to say too much about <a title="Into The Boxes" href="http://intotheboxes.wordpress.com/" target="_blank">Into The Boxes</a> here as everything that needs to be said is already on the sight.  <a title="Windows Incident Response" href="http://windowsir.blogspot.com/" target="_blank">Harlan Carvey</a>, my partner in this project, has already created a <a title="Into The Boxes - Blog Box" href="http://intotheboxes.wordpress.com/blog-box/" target="_blank">post to welcome you all to the e-magazine</a>.  We are hoping that you will find time to <a title="Into The Boxes - Collaboration Box" href="http://intotheboxes.wordpress.com/author-guidelines/" target="_blank">contribute</a> to the first edition that will be released in the first week of January 2010.  This project is only going to be as successful as the people who are willing to share their knowledge and experiences.  Harlan and I will contribute as much as possible but we are hoping that the security community steps up to the plate, puts the word out, and starts providing technical and managerial input that security professionals working in the digital forensics and incident response field can implement.</p>
<p>I hope that you will visit the <a title="Into The Boxes" href="http://intotheboxes.wordpress.com/" target="_blank">Into The Boxes</a> website.  I also hope that you will help us make this a great resource for the security community.</p>
<p>Go forth and do good things,</p>
<p>Don C. Weber</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cutawaysecurity.com/blog/archives/743/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rapid Incident Response Flash Tutorial</title>
		<link>http://www.cutawaysecurity.com/blog/archives/713</link>
		<comments>http://www.cutawaysecurity.com/blog/archives/713#comments</comments>
		<pubDate>Thu, 10 Sep 2009 21:29:25 +0000</pubDate>
		<dc:creator>cutaway</dc:creator>
				<category><![CDATA[Incident Response]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[forensics]]></category>
		<category><![CDATA[FTK Imager]]></category>
		<category><![CDATA[FTK Imager Lite]]></category>
		<category><![CDATA[Security Ripcord]]></category>

		<guid isPermaLink="false">http://www.cutawaysecurity.com/blog/?p=713</guid>
		<description><![CDATA[Rapid Incident Response using FTK Imager Lite 2.6.1 Flash Tutorial
AccessData&#8217;s FTK Imager Lite 2.6.1 provides security professionals and system administrators with valuable capabilities during all phases of the incident response process.  Whether trying to identify compromised systems, determine containment, or confirm eradication this tool provides powerful capabilities that can be immediately employed with minimal impact [...]]]></description>
			<content:encoded><![CDATA[<p><a title="Rapid Incident Response Using FTK Imager Lite 2.6.1" href="http://www.cutawaysecurity.com/blog/wp-content/uploads/rapid_ir_ftkimagerlite_09092009.7z" target="_blank">Rapid Incident Response using FTK Imager Lite 2.6.1 Flash Tutorial</a></p>
<p><a title="AccessData's Download Site" href="http://www.accessdata.com/downloads.html" target="_blank">AccessData&#8217;s FTK Imager Lite 2.6.1</a> provides security professionals and system administrators with valuable capabilities during all phases of the incident response process.  Whether trying to identify compromised systems, determine containment, or confirm eradication this tool provides powerful capabilities that can be immediately employed with minimal impact to the live system being analyzed.</p>
<p>There are two objectives for this tutorial:</p>
<ul>
<li>Demonstrate how to use FTK Imager Lite to acquire information from a live system.</li>
<li>Introduce security professionals and system administrators to some of the steps that can be taken to quickly gather actionable intelligence from live systems.</li>
</ul>
<p>Please let me know if you have any comments or issues with this tutorial.  I am also interested in requests for future tutorials.</p>
<p>Go forth and do good things,</p>
<p>Don C. Weber</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cutawaysecurity.com/blog/archives/713/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>FTK Imager Lite 2.6.1</title>
		<link>http://www.cutawaysecurity.com/blog/archives/710</link>
		<comments>http://www.cutawaysecurity.com/blog/archives/710#comments</comments>
		<pubDate>Fri, 04 Sep 2009 22:33:55 +0000</pubDate>
		<dc:creator>cutaway</dc:creator>
				<category><![CDATA[Incident Response]]></category>
		<category><![CDATA[Memory]]></category>
		<category><![CDATA[forensics]]></category>
		<category><![CDATA[Access Data]]></category>
		<category><![CDATA[FTK Imager Lite]]></category>
		<category><![CDATA[Registry]]></category>
		<category><![CDATA[Security Ripcord]]></category>

		<guid isPermaLink="false">http://www.cutawaysecurity.com/blog/?p=710</guid>
		<description><![CDATA[I had not heard about this update yet, but I was pleasantly surprised when I visited Access Data&#8217;s download site today.  It appears that they have updated their FTK Imager Lite to version 2.6.1.  I am not sure about all of the updates that were included, but the most important thing I do know about [...]]]></description>
			<content:encoded><![CDATA[<p>I had not heard about this update yet, but I was pleasantly surprised when I visited Access Data&#8217;s download site today.  It appears that they have updated their <a title="FTK Imager Lite 2.6.1" href="http://accessdata.com/downloads.html" target="_blank">FTK Imager Lite to version 2.6.1</a>.  I am not sure about all of the updates that were included, but the most important thing I do know about is that it will now acquire system memory.</p>
<p>If you don&#8217;t have FTK Imager Lite in your arsenal you should reconsider why you have not obtained it yet.  This tool is one of the most important tools when it comes to rapidly obtaining system information.  Put this tool on a USB drive, attach it to the system you are investigating, and quickly grab system memory, the registry, system event logs, a directory listing including deleted files, and any other system file you think might help your efforts.</p>
<p>Now this just needs a technique to gather volatile system information such as a list of processes and network connections and you have everything you need for a full blown system investigation.  Oh, wait, system memory contains all that information.  EXCELLENT!!!!!  I guess you better start looking at those memory analysis tools again.</p>
<p>Go forth and do good things,</p>
<p>Don C. Weber</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cutawaysecurity.com/blog/archives/710/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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 title="QIRT I" href="http://www.cutawaysecurity.com/blog/archives/536" target="_blank">Quick Incident Response Techniques I</a>,  <a title="QIRT II" href="http://www.cutawaysecurity.com/blog/?p=548" target="_blank">II</a> and <a title="Part III" href="http://www.cutawaysecurity.com/blog/?p=561" 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>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
