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

<channel>
	<title> &#187; Uncategorized</title>
	<atom:link href="http://travisaltman.com/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://travisaltman.com</link>
	<description></description>
	<lastBuildDate>Sun, 25 Jul 2010 19:55:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Malware analysis tool, Capture-Bat</title>
		<link>http://travisaltman.com/malware-analysis-tool-capture-bat/</link>
		<comments>http://travisaltman.com/malware-analysis-tool-capture-bat/#comments</comments>
		<pubDate>Wed, 14 Apr 2010 12:25:08 +0000</pubDate>
		<dc:creator>travis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://travisaltman.com/?p=247</guid>
		<description><![CDATA[The main purpose of this write up is to create a tutorial for running,  installing, and analyzing results of Capture-Bat. I didn&#8217;t really want  to name this article &#8220;Capture-Bat tutorial&#8221; because not everyone is  familiar with the tool and what its used for. When it comes to analyzing malware there are a [...]]]></description>
			<content:encoded><![CDATA[<p>The main purpose of this write up is to create a tutorial for running,  installing, and analyzing results of Capture-Bat. I didn&#8217;t really want  to name this article &#8220;Capture-Bat tutorial&#8221; because not everyone is  familiar with the tool and what its used for. When it comes to analyzing malware there are a handful of tools that every analyst should have, Capture-Bat is one of those tools. Capture-Bat will monitor changes malware makes to your system so that you can effectively determine what the malware is attempting to do. Capture-Bat does a great job of eliminating noise and ignoring &#8220;regular&#8221; windows events. It is a behavioral analysis tool which means that it does not analyze the malware itself, it only monitors changes the malware makes to the windows system. In this article I hope to highlight the best way to use the tool and what options I always use when running the tool. <a href="https://www.honeynet.org/node/315" target="_blank">Capture-Bat is a free tool which can be grabbed here</a>. I&#8217;ll get into all the details later but whenever I run this tool I execute the following command right before I execute the malware.</p>
<div class="codecolorer-container dos blackboard" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="dos codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">C:\Program Files\Capture\CaptureBAT.exe -c -n -l c:\temp\output.txt</div></div>
<p>Below are what the options mean.</p>
<div class="codecolorer-container dos blackboard" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="dos codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">-c   capture any deleted or modified files<br />
<br />
-n   capture network activity<br />
<br />
-l   save output to a specified location <span style="color: #66cc66;">&#40;</span>lowercase L<span style="color: #66cc66;">&#41;</span></div></div>
<p>Let&#8217;s walk through an example using the zipped up <a href="http://travisaltman.com/malware/40033d8063564d1b3e4b41f1d5c9a31f.zip" target="_self">malware located here</a> (password is &#8220;malware&#8221;). For the inexperienced keep in mind you&#8217;ll need to run this malware in a virtual machine environment that is not connected to a network. Now that you&#8217;ve downloaded the malware open up two command prompts in windows (Start &gt; Programs &gt; Accessories &gt; Command prompt). In the first command prompt you&#8217;ll need to start up Capture-Bat with the command above. Once you run this command you should see the following.</p>
<div class="codecolorer-container dos blackboard" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="dos codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">C:\Program Files\Capture&amp;gt;CaptureBAT.exe -c -n -l c:\temp\output.txt<br />
Option: Collecting modified files<br />
Option: Capturing network packets<br />
Option: Logging system events to c:\temp\output.txt<br />
Loaded kernel driver: CaptureProcessMonitor<br />
Loaded kernel driver: CaptureRegistryMonitor<br />
Loaded filter driver: CaptureFileMonitor<br />
Creating network dumper<br />
Loading network packet dumper<br />
network adapter found: 192.168.94.130<br />
---------------------------------------------------------</div></div>
<p>My output is going to c:\temp, you may have to create this directory before running the command. It looks like Capture-Bat is just sitting there but it&#8217;s actually monitoring changes to your system. It&#8217;s important to only run the malware while Capture-Bat is monitoring your system, if you launch another application it will muddy your output and you may not be able to tell it&#8217;s the malware making changes to your system or a benign application. Now that Capture-Bat is monitoring let&#8217;s go ahead run our malware. I&#8217;m a fan of running exe&#8217;s from the command line because you may get a more verbose output, so execute the command below to launch the malware.</p>
<div class="codecolorer-container dos blackboard" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="dos codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">C:\temp\40033d8063564d1b3e4b41f1d5c9a31f.exe</div></div>
<p>After you execute the malware let Capture-Bat sit there and monitor events for about 30 seconds to one minute, after that time period simply go into the command prompt running Capture-Bat and type &#8220;control + c&#8221; to kill the Capture-Bat process. Next step is to open up our output.txt to see what the malware has done to the system, my output is below.</p>
<div class="codecolorer-container text blackboard" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29<br />30<br />31<br />32<br />33<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&quot;12/4/2010 11:30:36.81&quot;,&quot;process&quot;,&quot;created&quot;,&quot;C:\WINDOWS\system32\cmd.exe&quot;,&quot;C:\temp\40033d8063564d1b3e4b41f1d5c9a31f.exe&quot;<br />
&quot;12/4/2010 11:30:37.222&quot;,&quot;file&quot;,&quot;Write&quot;,&quot;C:\temp\40033d8063564d1b3e4b41f1d5c9a31f.exe&quot;,&quot;C:\WINDOWS\system32\spoolsvc.exe&quot;<br />
&quot;12/4/2010 11:30:37.222&quot;,&quot;file&quot;,&quot;Write&quot;,&quot;C:\temp\40033d8063564d1b3e4b41f1d5c9a31f.exe&quot;,&quot;C:\WINDOWS\system32\spoolsvc.exe&quot;<br />
&quot;12/4/2010 11:30:37.222&quot;,&quot;file&quot;,&quot;Write&quot;,&quot;C:\temp\40033d8063564d1b3e4b41f1d5c9a31f.exe&quot;,&quot;C:\WINDOWS\system32\spoolsvc.exe&quot;<br />
&quot;12/4/2010 11:30:37.222&quot;,&quot;file&quot;,&quot;Write&quot;,&quot;C:\temp\40033d8063564d1b3e4b41f1d5c9a31f.exe&quot;,&quot;C:\temp\zcbgjy.bat&quot;<br />
&quot;12/4/2010 11:30:37.300&quot;,&quot;registry&quot;,&quot;SetValueKey&quot;,&quot;C:\temp\40033d8063564d1b3e4b41f1d5c9a31f.exe&quot;,&quot;HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\ProxyBypass&quot;<br />
&quot;12/4/2010 11:30:37.300&quot;,&quot;registry&quot;,&quot;SetValueKey&quot;,&quot;C:\temp\40033d8063564d1b3e4b41f1d5c9a31f.exe&quot;,&quot;HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\IntranetName&quot;<br />
&quot;12/4/2010 11:30:37.300&quot;,&quot;registry&quot;,&quot;SetValueKey&quot;,&quot;C:\temp\40033d8063564d1b3e4b41f1d5c9a31f.exe&quot;,&quot;HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\UNCAsIntranet&quot;<br />
&quot;12/4/2010 11:30:37.300&quot;,&quot;registry&quot;,&quot;SetValueKey&quot;,&quot;C:\temp\40033d8063564d1b3e4b41f1d5c9a31f.exe&quot;,&quot;HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\ProxyBypass&quot;<br />
&quot;12/4/2010 11:30:37.300&quot;,&quot;registry&quot;,&quot;SetValueKey&quot;,&quot;C:\temp\40033d8063564d1b3e4b41f1d5c9a31f.exe&quot;,&quot;HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\IntranetName&quot;<br />
&quot;12/4/2010 11:30:37.300&quot;,&quot;registry&quot;,&quot;SetValueKey&quot;,&quot;C:\temp\40033d8063564d1b3e4b41f1d5c9a31f.exe&quot;,&quot;HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\UNCAsIntranet&quot;<br />
&quot;12/4/2010 11:30:37.300&quot;,&quot;registry&quot;,&quot;SetValueKey&quot;,&quot;C:\temp\40033d8063564d1b3e4b41f1d5c9a31f.exe&quot;,&quot;HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Cache&quot;<br />
&quot;12/4/2010 11:30:37.300&quot;,&quot;registry&quot;,&quot;SetValueKey&quot;,&quot;C:\temp\40033d8063564d1b3e4b41f1d5c9a31f.exe&quot;,&quot;HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Cookies&quot;<br />
&quot;12/4/2010 11:30:37.347&quot;,&quot;process&quot;,&quot;created&quot;,&quot;C:\temp\40033d8063564d1b3e4b41f1d5c9a31f.exe&quot;,&quot;C:\WINDOWS\system32\cmd.exe&quot;<br />
&quot;12/4/2010 11:30:37.378&quot;,&quot;process&quot;,&quot;created&quot;,&quot;C:\temp\40033d8063564d1b3e4b41f1d5c9a31f.exe&quot;,&quot;C:\WINDOWS\system32\spoolsvc.exe&quot;<br />
&quot;12/4/2010 11:30:37.331&quot;,&quot;registry&quot;,&quot;SetValueKey&quot;,&quot;C:\temp\40033d8063564d1b3e4b41f1d5c9a31f.exe&quot;,&quot;HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2\{3f04edc3-85c6-11de-af20-806d6172696f}\BaseClass&quot;<br />
&quot;12/4/2010 11:30:37.347&quot;,&quot;registry&quot;,&quot;SetValueKey&quot;,&quot;C:\temp\40033d8063564d1b3e4b41f1d5c9a31f.exe&quot;,&quot;HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2\{cb7e6034-4640-11df-b8d9-806d6172696f}\BaseClass&quot;<br />
&quot;12/4/2010 11:30:37.347&quot;,&quot;registry&quot;,&quot;SetValueKey&quot;,&quot;C:\temp\40033d8063564d1b3e4b41f1d5c9a31f.exe&quot;,&quot;HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2\{3f04edc0-85c6-11de-af20-806d6172696f}\BaseClass&quot;<br />
&quot;12/4/2010 11:30:37.347&quot;,&quot;file&quot;,&quot;Write&quot;,&quot;System&quot;,&quot;C:\WINDOWS\system32\spoolsvc.exe&quot;<br />
&quot;12/4/2010 11:30:37.362&quot;,&quot;file&quot;,&quot;Write&quot;,&quot;System&quot;,&quot;C:\WINDOWS\system32\spoolsvc.exe&quot;<br />
&quot;12/4/2010 11:30:37.362&quot;,&quot;file&quot;,&quot;Write&quot;,&quot;System&quot;,&quot;C:\WINDOWS\system32\spoolsvc.exe&quot;<br />
&quot;12/4/2010 11:30:37.597&quot;,&quot;process&quot;,&quot;terminated&quot;,&quot;C:\temp\40033d8063564d1b3e4b41f1d5c9a31f.exe&quot;,&quot;C:\WINDOWS\system32\cmd.exe&quot;<br />
&quot;12/4/2010 11:30:37.581&quot;,&quot;file&quot;,&quot;Write&quot;,&quot;C:\WINDOWS\system32\cmd.exe&quot;,&quot;C:\Program Files\Capture\logs\deleted_files\C\temp\40033d8063564d1b3e4b41f1d5c9a31f.exe&quot;<br />
&quot;12/4/2010 11:30:37.581&quot;,&quot;file&quot;,&quot;Write&quot;,&quot;C:\WINDOWS\system32\cmd.exe&quot;,&quot;C:\Program Files\Capture\logs\deleted_files\C\temp\40033d8063564d1b3e4b41f1d5c9a31f.exe&quot;<br />
&quot;12/4/2010 11:30:37.581&quot;,&quot;file&quot;,&quot;Write&quot;,&quot;C:\WINDOWS\system32\cmd.exe&quot;,&quot;C:\Program Files\Capture\logs\deleted_files\C\temp\40033d8063564d1b3e4b41f1d5c9a31f.exe&quot;<br />
&quot;12/4/2010 11:30:37.581&quot;,&quot;file&quot;,&quot;Delete&quot;,&quot;C:\WINDOWS\system32\cmd.exe&quot;,&quot;C:\temp\40033d8063564d1b3e4b41f1d5c9a31f.exe&quot;<br />
&quot;12/4/2010 11:30:37.581&quot;,&quot;file&quot;,&quot;Write&quot;,&quot;C:\WINDOWS\system32\cmd.exe&quot;,&quot;C:\Program Files\Capture\logs\deleted_files\C\temp\zcbgjy.bat&quot;<br />
&quot;12/4/2010 11:30:37.597&quot;,&quot;file&quot;,&quot;Delete&quot;,&quot;C:\WINDOWS\system32\cmd.exe&quot;,&quot;C:\temp\zcbgjy.bat&quot;<br />
&quot;12/4/2010 11:30:38.362&quot;,&quot;file&quot;,&quot;Write&quot;,&quot;System&quot;,&quot;C:\Program Files\Capture\logs\deleted_files\C\temp\40033d8063564d1b3e4b41f1d5c9a31f.exe&quot;<br />
&quot;12/4/2010 11:30:38.472&quot;,&quot;file&quot;,&quot;Write&quot;,&quot;System&quot;,&quot;C:\Program Files\Capture\logs\deleted_files\C\temp\40033d8063564d1b3e4b41f1d5c9a31f.exe&quot;<br />
&quot;12/4/2010 11:30:38.487&quot;,&quot;registry&quot;,&quot;SetValueKey&quot;,&quot;C:\WINDOWS\system32\spoolsvc.exe&quot;,&quot;HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\Spooler SubSystem App&quot;<br />
&quot;12/4/2010 11:30:39.472&quot;,&quot;file&quot;,&quot;Write&quot;,&quot;System&quot;,&quot;C:\Program Files\Capture\logs\deleted_files\C\temp\40033d8063564d1b3e4b41f1d5c9a31f.exe&quot;<br />
&quot;12/4/2010 11:30:39.472&quot;,&quot;file&quot;,&quot;Write&quot;,&quot;System&quot;,&quot;C:\Program Files\Capture\logs\deleted_files\C\temp\zcbgjy.bat&quot;</div></td></tr></tbody></table></div>
<p>The first line is simply us executing the malware. Lines 2 &#8211; 4 is where the malware creates a file, an exe in this case, named spoolsvc.exe. Spoolsvc.exe doesn&#8217;t already exist on windows systems but spoolsv.exe does so the malware author is trying to be tricky in creating an exe that is very similar to what already exists on the system. It&#8217;s very important to note that spoolsvc.exe is not executed here but simply created, had it been executed you would have seen &#8220;process&#8221;,&#8221;created&#8221; as is seen in line one. Spoolsvc.exe is eventually executed on line 15. Line five is where a &#8220;.bat&#8221; file is created, for those that don&#8217;t know &#8220;.bat&#8221; files are windows batch scripts which contain a series of commands to be executed. Capture-Bat ends of saving this batch script which we will take a look at later. Lines 6 &#8211; 13 is where the malware is setting registry values. It appears that lines 6 &#8211; 11 are ensuring the &#8220;Local Intranet&#8221; has certain settings (see IE setting screen shot below) in internet explorer, this will allow internal connections to have a lower security setting than external connections.</p>
<p><a href="http://travisaltman.com/wp-content/intranetSettings.png"><img class="alignnone size-full wp-image-275" title="intranetSettings" src="http://travisaltman.com/wp-content/intranetSettings.png" alt="" width="381" height="197" /></a></p>
<p>My virtual machine is setup in a default and vulnerable setup, my  registry values for lines 6 &#8211; 11 didn&#8217;t change after the malware was  executed. Also I intentionally changed these settings before the malware executed but the malware failed to modify the registry so go figure. <a href="http://home.mcafee.com/VirusInfo/VirusProfile.aspx?key=143656#none" target="_blank">McAfee states</a> that these settings are used to bypass firewalls? More information about internet explorer security settings and <a href="http://support.microsoft.com/default.aspx?kbid=182569" target="_blank">registry values can be found here</a>. Also good information <a href="http://support.microsoft.com/kb/174360" target="_blank">here about IE security zones</a>. Lines 12 and 13 are modifying where temporary internet files and cookies are stored, in my case I didn&#8217;t notice a difference between before and after. Also I modified the default location where temporary internet files are located, the malware failed to change this location after execution so go figure once again. I haven&#8217;t contacted the developers of Capture-Bat but &#8220;SetValueKey&#8221; could also be used to query the registry? Either way the values stayed the same for me, it could have been that the malware authors wanted the registry settings for cache and cookies in a default state? Lines 14 &#8211; 15 are having cmd.exe execute the malware spoolsvc.exe. Lines 16 &#8211; 18 are setting a value in the registry. Once again these values did not change for me after the malware was executed and it appears that the value for BaseClass the value of &#8220;Driver&#8221; is default? I haven&#8217;t yet figured out why this piece of malware sets the value of BaseClass to driver but I have seen other malware perform these same actions. In lines 19 &#8211; 30 the malware and Capture-Bat delete and create certain files and processes so hopefully that output is clear to you. It gets interesting again on line 31. <a href="http://support.microsoft.com/kb/314866" target="_blank">HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\</a> is the location of exe&#8217;s set to run when a user logs into the system. It is very common to see malware modify these registry values to have itself execute once the user logs into the system. In this case it only modified the Spooler SubSystem App value but it&#8217;s <a href="http://www.sophos.com/security/analyses/viruses-and-spyware/w32poebotj.html" target="_blank">common to see it modify other values</a> in that location. The last two lines of the output are Capture-Bat saving deleted files. So that&#8217;s a basic analysis of this malware. I only let the malware run for about 30 seconds so it may actually perform more actions than my output.</p>
<p>You may be wondering why the funny name for this particular piece of malware, 40033d8063564d1b3e4b41f1d5c9a31f.exe. The experienced will recognize the name as a MD5 hash, MD5 hashing is commonly used to uniquely identify malware or any exe for that matter. I will also <a href="http://www.google.com/search?q=40033d8063564d1b3e4b41f1d5c9a31f&amp;ie=utf-8&amp;oe=utf-8&amp;aq=t&amp;rls=org.gentoo:en-US:unofficial&amp;client=firefox-a" target="_blank">google search the MD5 hash</a> of the malware to see if anyone else has run across it. Turns out others have and <a href="http://anubis.iseclab.org/?action=result&amp;task_id=1a430cc5715aaa6d4e9cf2b0e7d5b7013&amp;format=html" target="_blank">Anubis has a good analysis</a> of this malware as well. Anubis reports some of the same activities as we see in our output. You can also perform a hash search over at <a href="http://www.virustotal.com/buscaHash.html" target="_blank">virus total</a>, looks like other anti-virus vendors have signatures for this malware. For the uninformed virus total will query about 40 anti-virus vendors to see which ones have seen it before. I love malware analysis sites like Anubis and Virus Total but nothing beats performing analysis on a local system. For example we were able to capture the deleted batch script that the malware executed, below is the output of that batch script.</p>
<div class="codecolorer-container dos blackboard" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="dos codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #33cc33;">@</span><a href="http://www.ss64.com/nt/echo.html"><span style="color: #b1b100; font-weight: bold;">echo</span></a> off<br />
:<span style="color: #b100b1; font-weight: bold;">deleteagain</span><br />
<a href="http://www.ss64.com/nt/del.html"><span style="color: #b1b100; font-weight: bold;">del</span></a> /A:H /F 40033d8063564d1b3e4b41f1d5c9a31f.exe<br />
<a href="http://www.ss64.com/nt/del.html"><span style="color: #b1b100; font-weight: bold;">del</span></a> /F 40033d8063564d1b3e4b41f1d5c9a31f.exe<br />
<a href="http://www.ss64.com/nt/if.html"><span style="color: #00b100; font-weight: bold;">if</span></a> <a href="http://www.ss64.com/nt/exist.html"><span style="color: #000000; font-weight: bold;">exist</span></a> 40033d8063564d1b3e4b41f1d5c9a31f.exe <a href="http://www.ss64.com/nt/goto.html"><span style="color: #00b100; font-weight: bold;">goto</span></a> deleteagain<br />
<a href="http://www.ss64.com/nt/del.html"><span style="color: #b1b100; font-weight: bold;">del</span></a> zcbgjy.bat</div></div>
<p>Granted the batch script is lame, it&#8217;s a very basic script that deletes the malware and deletes itself but the batch script could have contained a lot of useful information. All deleted or modified files that Capture-Bat sees are located in the following directory.</p>
<div class="codecolorer-container dos blackboard" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="dos codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">C:\Program Files\Capture\logs</div></div>
<p>Below is a screen shot of my deleted files for this malware.</p>
<p><a href="http://travisaltman.com/wp-content/deletedFiles1.png"><img class="alignnone size-medium wp-image-282" title="deletedFiles" src="http://travisaltman.com/wp-content/deletedFiles1-300x147.png" alt="" width="300" height="147" /></a></p>
<p>Don&#8217;t forget that Capture-Bat collects pcap&#8217;s during the analysis under the same directory as the deleted malware, see screen shot below.</p>
<p><a href="http://travisaltman.com/wp-content/malwarePcap.png"><img class="alignnone size-medium wp-image-283" title="malwarePcap" src="http://travisaltman.com/wp-content/malwarePcap-300x193.png" alt="" width="300" height="193" /></a></p>
<p>From a quick google search it doesn&#8217;t look like that memehehz.info has a great reputation. It could be that memehehz.info is a malware site or it could be that memehehz.info got infected with malware itself. The malware analyzed here isn&#8217;t the most recent malware I simply wanted to walk you through an example and how Capture-Bat can help you in the analysis of what the malware is trying to do. When it comes to analyzing malware I wouldn&#8217;t say only the tip of the iceberg has been analyzed but there is definitely more to cover. My main goal was to get others familiar with good malware analysis tools such as Capture-Bat so that they may be better able to react and respond to malicious activity on their own networks. Hopefully this helped and as always if you have any feedback I&#8217;d love to hear it.</p>
]]></content:encoded>
			<wfw:commentRss>http://travisaltman.com/malware-analysis-tool-capture-bat/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Nessus not free anymore   :-(</title>
		<link>http://travisaltman.com/nessus-not-free-anymore/</link>
		<comments>http://travisaltman.com/nessus-not-free-anymore/#comments</comments>
		<pubDate>Thu, 22 May 2008 20:23:34 +0000</pubDate>
		<dc:creator>travis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://travisaltman.com/nessus-not-free-anymore/</guid>
		<description><![CDATA[Well that&#8217;s not entirely true, they will still offer the &#8220;engine&#8221; for free just not all of the plugins (maybe?). The current but soon to be old model had two types of subscriptions,

Direct feed ($1,200 per year)
Registered feed (free but plugins were 7 days old)

Come the end of July they will switch to a different [...]]]></description>
			<content:encoded><![CDATA[<p>Well that&#8217;s not entirely true, they will still offer the &#8220;engine&#8221; for free just not all of the plugins (maybe?). The current but soon to be old model had two types of subscriptions,</p>
<ol>
<li>Direct feed ($1,200 per year)</li>
<li>Registered feed (free but plugins were 7 days old)</li>
</ol>
<p>Come the end of July they will switch to a different model,</p>
<ol>
<li>Professional feed = Direct feed</li>
<li>Home feed (only personal plugins, whatever that means?)</li>
</ol>
<p>The <a href="http://www.nessus.org/products/directfeed/change.php">press release</a> was some what cryptic and I couldn&#8217;t decipher what exactly this &#8220;Home feed&#8221; will be. It could be all the plugins minus the compliance stuff but the proof is in the pudding.</p>
<p>So it&#8217;s a sad day but I guess we all knew this was coming. In fact I&#8217;m all for Tenable getting paid for their valuable service I just hope they don&#8217;t go the next step and raise the price of the plugins feed to something outrageous. I think $1,200 is a reasonable price especially is you&#8217;re an independent contractor like I used to be.  Let&#8217;s just hope the &#8220;Professional feed&#8221; remains a reasonable price. Tenable could always introduce a 3rd tier geared towards large organizations to get even more capital, but maybe that won&#8217;t be necessary with their new model. If for some reason the 2 tier model doesn&#8217;t work I hope they will entertain the 3 tier model, I can only hope (cross fingers). They could be shooting themselves in the foot with this move, which is essentially shooting their user base in the foot as well.</p>
<p>I&#8217;m not a hater, I <strike>like</strike> love Nessus and think it&#8217;s bottom line the best vulnerability scanner on the market period. I remember not too long ago (~ 4 years?) when Nessus had around 1,000 plugins, now there are over 21,000 so they have definitely grown over the years. I hope this move will help them to keep growing, just don&#8217;t forget the little guy.</p>
]]></content:encoded>
			<wfw:commentRss>http://travisaltman.com/nessus-not-free-anymore/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Defcon 15 videos released early</title>
		<link>http://travisaltman.com/defcon-15-videos-released-early/</link>
		<comments>http://travisaltman.com/defcon-15-videos-released-early/#comments</comments>
		<pubDate>Wed, 05 Sep 2007 18:14:31 +0000</pubDate>
		<dc:creator>travis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://travisaltman.com/defcon-15-videos-released-early/</guid>
		<description><![CDATA[A good friend of mine named Eric Jenko, who is also in web application security, sent me a link this morning to RoySAC&#8217;s blog that contains videos of Defcon 15.  Now Defcon does release videos of their presentations but it does take them some time to do so.  Luckily Carsten over at RoySAC [...]]]></description>
			<content:encoded><![CDATA[<p><a href="https://www.defcon.org/html/links/defcon-media-archives.html" title="Defcon"><img src="http://travisaltman.com/wp-content/dc-8-pill.jpg" alt="Defcon" align="left" /></a>A good friend of mine named Eric Jenko, who is also in web application security, sent me a link this morning to <a href="http://www.roysac.com/blog/2007/09/all-defcon-15-sessions-and-panels.html" title="RoySAC">RoySAC&#8217;s blog</a> that contains videos of Defcon 15.  Now Defcon does release videos of their presentations but it does take them some time to do so.  Luckily Carsten over at <a href="http://www.roysac.com/blog/" title="RoySAC">RoySAC</a> is nice enough to rip these videos from DVD and share the content.  I don&#8217;t know if this is legal or not but keep the open spirit Carsten.</p>
]]></content:encoded>
			<wfw:commentRss>http://travisaltman.com/defcon-15-videos-released-early/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Scan for Blank Admin Passwords without Commercial Software</title>
		<link>http://travisaltman.com/scan-for-blank-admin-passwords-without-commercial-software/</link>
		<comments>http://travisaltman.com/scan-for-blank-admin-passwords-without-commercial-software/#comments</comments>
		<pubDate>Tue, 07 Aug 2007 07:17:57 +0000</pubDate>
		<dc:creator>travis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://travisaltman.com/scan-for-blank-admin-passwords-without-commercial-software/</guid>
		<description><![CDATA[I&#8217;ve seen blank administrator passwords at every organization I&#8217;ve worked.  Without fail there will be some user that manages to get a PC onto your network without setting a password.  This type of scenario opens up Pandora&#8217;s box into the number of vectors that could be created.  Once a malicious user has [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve seen blank administrator passwords at every organization I&#8217;ve worked.  Without fail there will be some user that manages to get a PC onto your network without setting a password.  This type of scenario opens up Pandora&#8217;s box into the number of vectors that could be created.  Once a malicious user has control over a machine on your network its essentially game over.  So as someone with security and risk management in mind you want to periodically scan for such activity, but your organization isn&#8217;t gonna spring for some fancy tool.  Luckily this task can be put into a windows script that can check for this condition, see the script below.</p>
<p><span id="more-26"></span></p>
<pre class="codeSample"><strong>On Error Resume Next
Set objNetwork = CreateObject("Wscript.Network")
strComputer = objNetwork.ComputerName
strPassword = ""
Set colAccounts = GetObject("WinNT://" &amp; strComputer)
colAccounts.Filter = Array("user")
For Each objUser In colAccounts
    objUser.ChangePassword strPassword, strPassword
    If Err = 0 or Err = -2147023569 Then
        Wscript.Echo objUser.Name &amp; " is using a blank password."
    End If
    Err.Clear
Next</strong></pre>
<p>I can&#8217;t take credit for this script,   the &#8220;Scripting Guy&#8221; has a nice article better explaining this script <a title="Scan blank admin password script" href="http://www.microsoft.com/technet/scriptcenter/resources/qanda/oct05/hey1006.mspx">here</a>.  This simple script will let you find blank administrator passwords just like those expensive commercial scanners.  The commercial scanners on the market may not use this exact script but do use the same principle when scanning for blank administrator passwords.  Now that you have found PC&#8217;s with blank administrator passwords you will need to verify the findings of your script by connecting to that PC.  The steps laid out below for connecting to a machine may seem simplistic but there are numerous users out there that aren&#8217;t familiar with this process.  If they were they wouldn&#8217;t have blank administrator passwords now would they.</p>
<p>You could just map to a drive on that machine and browse files that are on that drive. When mapping to a drive it needs to be in the form &#8220;\\computer name\drive letter&#8221;. For example if I was trying to connect to drive C: on a computer named &#8220;Pam&#8221; it would look like Figure 1 below.</p>
<p><a title="Mapping to a drive on PC with blank admin password" href="http://travisaltman.com/wp-content/mapnetworkdrive.bmp"><img src="http://travisaltman.com/wp-content/mapnetworkdrive.bmp" alt="Mapping to a drive on PC with blank admin password" /></a></p>
<p style="margin-left: 0.25in;">Figure 1: Map to drive on PC with blank admin password</p>
<p style="margin-left: 0.25in;">
<p>Once you hit finish it will try and connect using your username or the username you are currently logged in with by default. If the username does not exist it will prompt you for a username and password. For a blank administrator password just enter administrator as the username and nothing for the password.</p>
<p><a title="Username and password prompt" href="http://travisaltman.com/wp-content/connecttomachine.bmp"><img src="http://travisaltman.com/wp-content/connecttomachine.bmp" alt="Username and password prompt" /></a></p>
<p>Figure 2: Username and password prompt</p>
<p style="margin-left: 0.25in;">You should now see the contents of the C: drive on the computer named &#8220;Pam&#8221;. You could also enter the IP address instead of the computer name, either way works. This connection can also be made via the &#8220;net use&#8221; command. This command can be seen in Figure 3.</p>
<p style="margin-left: 0.25in;"><a title="Connect to blank admin password PC via command line" href="http://travisaltman.com/wp-content/connectusingcommandline.bmp"><img src="http://travisaltman.com/wp-content/connectusingcommandline.bmp" alt="Connect to blank admin password PC via command line" /></a></p>
<p style="margin-left: 0.25in;">Figure 3: Connect to PC with blank admin password via command line</p>
<p style="margin-left: 0.25in;">
<p style="margin-left: 0.25in;">The asterisk after the username &#8220;administrator&#8221; will trigger a prompt for the password, which in this case you will just hit enter because the password is blank.  Verification of these types of vulnerabilities will show others within your organization the seriousness of users not having strong passwords.  Especially when you include screen shots showing the local hard drive of another user on the network.  So just because you don&#8217;t have a fancy commercial scanner doesn&#8217;t mean you can&#8217;t periodically review your network.  Running this type of script would also be a great way to correlate some of your findings with other tools that you may have at your disposal.  Happy hunting on your network.</p>
<p style="margin-left: 0.25in;">
<p style="margin-left: 0.25in;">
]]></content:encoded>
			<wfw:commentRss>http://travisaltman.com/scan-for-blank-admin-passwords-without-commercial-software/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>I&#8217;m back</title>
		<link>http://travisaltman.com/im-back/</link>
		<comments>http://travisaltman.com/im-back/#comments</comments>
		<pubDate>Thu, 12 Jul 2007 10:20:25 +0000</pubDate>
		<dc:creator>travis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I started this journey back in October of 2006 but took a break because of several reasons.  New job, new town, new hosting provider, and last but not least my first child.  Just about everything in my life has changed, but its all been for the better.  I&#8217;m still getting paid to [...]]]></description>
			<content:encoded><![CDATA[<p>I started this journey back in October of 2006 but took a break because of several reasons.  New job, new town, new hosting provider, and last but not least my first child.  Just about everything in my life has changed, but its all been for the better.  I&#8217;m still getting paid to break information systems so that part hasn&#8217;t changed.  I&#8217;ll repost some of my older articles and hopefully future posts will be chock full of hackery and more frequent.</p>
]]></content:encoded>
			<wfw:commentRss>http://travisaltman.com/im-back/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
