<?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>NGCoders - Next Generation Coders &#187; raw access logs</title>
	<atom:link href="http://www.ngcoders.com/tag/raw-access-logs/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ngcoders.com</link>
	<description>Personal Blog of Vikas Patial.</description>
	<lastBuildDate>Sun, 25 Jul 2010 08:01:21 +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>Website hacked to finding the exploit</title>
		<link>http://www.ngcoders.com/general/website-hacked-to-finding-the-exploit</link>
		<comments>http://www.ngcoders.com/general/website-hacked-to-finding-the-exploit#comments</comments>
		<pubDate>Tue, 30 Sep 2008 18:58:41 +0000</pubDate>
		<dc:creator>Vikas Patial</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[exploit tracking]]></category>
		<category><![CDATA[raw access logs]]></category>

		<guid isPermaLink="false">http://www.ngcoders.com/?p=47</guid>
		<description><![CDATA[Recently one of my sites was hacked , It was a closed source web application. I came to know next day when i saw changes made to some settings for my web &#8211; application. Anyhow here is how i tracked down what was wrong , might help some one in the same mess i was [...]]]></description>
			<content:encoded><![CDATA[<p>Recently one of my sites was hacked , It was a closed source web application. I came to know next day when i saw changes made to some settings for my web &#8211; application. Anyhow here is how i tracked down what was wrong , might help some one in the same mess i was in. </p>
<p>The first thing i noticed was that Administrator account passwords were changed, So i instantly knew something was wrong.</p>
<p>Since i usually store main settings in a file for faster access , i just opened FTP to look at the <b>time stamp</b> associated with the file. This showed me the <b>last modifed</b> date of the file and an approximate idea when the hacker changed the details.</p>
<p>Next step was to dig up the <b>raw access logs</b> from CPanel , After downloading the access logs for that specific file i opened them in PSPad ( My fav editor ) . Logs are not small of busy sites so you will be looking at a very large amount of data.</p>
<p>But i knew specific url which can be used to change the settings so i just did a Ctrl-F and put in the url with a <b>POST prefix</b> , as a form has to be submitted to change settings . This gave me a few instances of that URL with POST request. </p>
<p>Now looking at the time stamp i was able to find out when the hacker did the settings change. Means I had the <b>IP</b>.Doing another another <b>CTRL-F on the IP and pressing list</b> put all the hacker logs in another window , which makes its easy for us to go step by step at his efforts to crack the system.</p>
<p>After going from the start i noticed after certain URL he suddenly had got access to the admin section , And once i put in the url myself, i knew what the problem was. </p>
<p>And so it was fixed. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.ngcoders.com/general/website-hacked-to-finding-the-exploit/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
