<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>TheXero</title>
	
	<link>http://www.thexero.co.uk</link>
	<description>Only by understanding the attacker can you effectively protect yourself!</description>
	<lastBuildDate>Sun, 24 Mar 2013 14:00:43 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/thexerocouk" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="thexerocouk" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>White Papers – Bypassing Address space Layout Radomization</title>
		<link>http://www.thexero.co.uk/papers/address-space-layout-randomization</link>
		<comments>http://www.thexero.co.uk/papers/address-space-layout-randomization#comments</comments>
		<pubDate>Thu, 31 Jan 2013 15:56:40 +0000</pubDate>
		<dc:creator>Toby</dc:creator>
				<category><![CDATA[White Papers]]></category>

		<guid isPermaLink="false">http://www.thexero.co.uk/?p=50</guid>
		<description><![CDATA[A previously unpublished paper that I wrote for the Infosec Institute about ASLR. Bypassing Address Space Layout Randomization]]></description>
				<content:encoded><![CDATA[<p>A previously unpublished paper that I wrote for the Infosec Institute about ASLR.</p>
<p><a href="http://www.thexero.co.uk/downloads/ASLR.pdf">Bypassing Address Space Layout Randomization</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thexero.co.uk/papers/address-space-layout-randomization/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tools – Automated HTTP Enumeration</title>
		<link>http://www.thexero.co.uk/tools/automated-http-enumeration</link>
		<comments>http://www.thexero.co.uk/tools/automated-http-enumeration#comments</comments>
		<pubDate>Thu, 31 Jan 2013 15:49:58 +0000</pubDate>
		<dc:creator>Toby</dc:creator>
				<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://www.thexero.co.uk/?p=45</guid>
		<description><![CDATA[A tool I’ve been writing to enumerate the enabled HTTP methods supported on a webserver. Currently only in the initial beta stage, but includes basic checking of files including the Apache server-status as well as well IIS WebDAV and Microsoft FrontPage Extensions, many more features will be added to this tool which will make alot of the enumeration process quick ...]]></description>
				<content:encoded><![CDATA[<p>A tool I’ve been writing to enumerate the enabled HTTP methods supported on a webserver.</p>
<p>Currently only in the initial beta stage, but includes basic checking of files including the Apache server-status as well as well IIS WebDAV and Microsoft FrontPage Extensions, many more features will be added to this tool which will make alot of the enumeration process quick and simple.</p>
<p>Version 0.2 adds scanning of SSL / TLS as well as an option for probing delays and general bug fixes.</p>
<p>Version 0.3 adds support for vMicrosoft SharePoint as well as WebDAV for Apache httpd.</p>
<p>The Python Script and  files can be downloaded from <a href="http://www.thexero.co.uk/downloads/http-enum.tar">www.thexero.co.uk/downloads/http-enum.tar</a></p>
<p>Stay tuned for updates.<br />
TheXero</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thexero.co.uk/tools/automated-http-enumeration/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tools – File Transfer Protocol Fuzzer</title>
		<link>http://www.thexero.co.uk/tools/ftp</link>
		<comments>http://www.thexero.co.uk/tools/ftp#comments</comments>
		<pubDate>Thu, 31 Jan 2013 15:49:18 +0000</pubDate>
		<dc:creator>Toby</dc:creator>
				<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://www.thexero.co.uk/?p=43</guid>
		<description><![CDATA[My FTP fuzzing script can now be downloaded from www.thexero.co.uk/downloads/ftools/ftp.zip, any recommendations you may have for improvements would be appreciated. This was a quick and dirty script, but is very useful when looking for Buffer Overflow conditions within locally running FTP Servers and has been used in the real world to find vulnerable servers.]]></description>
				<content:encoded><![CDATA[<p>My FTP fuzzing script can now be downloaded from www.thexero.co.uk/downloads/ftools/ftp.zip, any recommendations you may have for improvements would be appreciated.</p>
<p>This was a quick and dirty script, but is very useful when looking for Buffer Overflow conditions within locally running FTP Servers and has been used in the real world to find vulnerable servers.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thexero.co.uk/tools/ftp/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tools – Trivial File Transfer Protocol Fuzzer</title>
		<link>http://www.thexero.co.uk/tools/tftp</link>
		<comments>http://www.thexero.co.uk/tools/tftp#comments</comments>
		<pubDate>Thu, 31 Jan 2013 15:48:27 +0000</pubDate>
		<dc:creator>Toby</dc:creator>
				<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://www.thexero.co.uk/?p=41</guid>
		<description><![CDATA[My TFTP fuzzing script can now be downloaded from www.thexero.co.uk/downloads/ftools/tftp.zip, any recommendations you may have for improvements would be appreciated. This was a quick and dirty script, but is very useful when looking for Buffer Overflow conditions within locally running TFTP Servers and has been used in the real world to find vulnerable servers.]]></description>
				<content:encoded><![CDATA[<p>My TFTP fuzzing script can now be downloaded from www.thexero.co.uk/downloads/ftools/tftp.zip, any recommendations you may have for improvements would be appreciated.</p>
<p>This was a quick and dirty script, but is very useful when looking for Buffer Overflow conditions within locally running TFTP Servers and has been used in the real world to find vulnerable servers.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thexero.co.uk/tools/tftp/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Penetration – Penetrating “secure” Networks</title>
		<link>http://www.thexero.co.uk/penetration/penetrating-secure-networks</link>
		<comments>http://www.thexero.co.uk/penetration/penetrating-secure-networks#comments</comments>
		<pubDate>Thu, 31 Jan 2013 15:45:58 +0000</pubDate>
		<dc:creator>Toby</dc:creator>
				<category><![CDATA[Penetration]]></category>

		<guid isPermaLink="false">http://www.thexero.co.uk/?p=36</guid>
		<description><![CDATA[In this video we attempt to break into a secure network behind a basic Windows 2003 firewall and AD infrastructure in a Network Address Translation environment. After we have run our Passive Information Gathering we begin Active Information Gathering and launching a quick nmap scan of our target no ports are open and are either closed or filtered. Usually in ...]]></description>
				<content:encoded><![CDATA[<p><iframe width="670" height="540" src="http://www.youtube.com/embed/ZQc6Srzo3EQ?list=UUFMgWyakasXnlJvP4ruaklA" frameborder="0" allowfullscreen></iframe></p>
<p>In this video we attempt to break into a secure network behind a basic Windows 2003 firewall and AD infrastructure in a Network Address Translation environment.</p>
<p>After we have run our Passive Information Gathering we begin Active Information Gathering and launching a quick nmap scan of our target no ports are open and are either closed or filtered.</p>
<p>Usually in these circumstances we’d perform further enumeration on the target however we quickly realize that attacks directly at the server are not likely to work, so we decide to attack a client within the NAT environment using the Internet Explorer Aurora exploit available in the metasploit framework.</p>
<p>During Passive Information Gathering we are likely to come across several email addresses used by employee’s which we can use in our next PenTest efforts to help with Client Side attacks.</p>
<p>We start up the Aurora exploit and send an email to the client. When the client clicks on the email link and opens the web page his browser crashes and sends us a remote Meterpreter shell on his machine using his limited credentials.</p>
<p>First thing we decide to do is elevate our privileges to local system which will hopefully give us unrestricted access to the machine. Once we acquire system access we decide to dump the local hashes and copy the Administrator hash to our clipboard hoping that they are unfortunately using the same Administrator credentials on other parts of the network.</p>
<p>Considering the netmask and IP range of the network we can safely assume that the domain controller is located at 192.168.0.1 so we decide to use the client as a pivot point meaning that we can continue our attacks using the client as a proxy.</p>
<p>We choose to load the psexec exploit module and set the remote host to 192.168.0.1 which is the default gateway for the network and the domain controller. Note that this attack will travel through our already compromised host on the network so it would appear the client is doing the attacking, not an outsider.</p>
<p>As we don’t know the password for the administrator account we use the already obtained hash for the admin and perform a PassTheHash technique. What this does, is rather than encrypting the password into a hash to send to the remote machine it will just pass the already encrypted hash to the target machine.</p>
<p>We get another meterpreter session this time from the domain controller and again we attempt to elevate our privileges to local system. We also dump the Active Directory hashes and attempt to crack them using the Ophcrack rainbow table cracking software and successfully crack all hashes in under 10 minutes.</p>
<p>We then attempt to create a new user called thexero and add him to the administrators group and the remote desktop users. Once completed we attempt to enable remote desktop assuming that it had been disabled for security reasons and we login with the new credentials that we had just created using the IP address we scanned earlier.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thexero.co.uk/penetration/penetrating-secure-networks/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exploit Development – Abusing the Stack</title>
		<link>http://www.thexero.co.uk/exploit-development/abusing-the-stack</link>
		<comments>http://www.thexero.co.uk/exploit-development/abusing-the-stack#comments</comments>
		<pubDate>Thu, 31 Jan 2013 15:44:18 +0000</pubDate>
		<dc:creator>Toby</dc:creator>
				<category><![CDATA[Exploit Development]]></category>

		<guid isPermaLink="false">http://www.thexero.co.uk/?p=33</guid>
		<description><![CDATA[Once you have successfully developed a working exploit, you will soon realize that it’s alot simpler and less of a black art than people think. To start with, generally a Stack based Buffer Over Flow condition causes the target application to crash by overwriting the pointer to the next instruction, called EIP (Extended Instruction Pointer). We first load up a ...]]></description>
				<content:encoded><![CDATA[<p><iframe width="670" height="540" src="http://www.youtube.com/embed/tJA4RyAJoU8?rel=0" frameborder="0" allowfullscreen></iframe></p>
<p>Once you have successfully developed a working exploit, you will soon realize that it’s alot simpler and less of a black art than people think.</p>
<p>To start with, generally a Stack based Buffer Over Flow condition causes the target application to crash by overwriting the pointer to the next instruction, called EIP (Extended Instruction Pointer).</p>
<p>We first load up a simple python based fuzzer script and attempt to fuzz a free FTP server called FreeFloat FTP Server which is hosted on a machine in the lab with the IP of 192.168.72.129.</p>
<p>The program stops responding to our FTP requests after about 300 A’s after the command USER.</p>
<p>We then load the program into Immunity Debugger and attempt to replicate the crash once again and hopefully it will tell us a little bit more about the crash. In this case the target application crashed because EIP has been completely overwritten with 41414141 which is the hex equivalent to (4) letter A’s.</p>
<p>For simplicities sake we decide to export the target IP address and port to our local environment variables so that the potential of entering the wrong target address is minimized.</p>
<p>We then load up Metasploit’s tool Pattern Create and this creates us a unique string that we can use to replace the buffer to help identify the exact position before we get to the EIP overwrite, which turns out to be 230.</p>
<p>We then modify our buffer to include 230 A’s then send a DEADBEEF as the address to overwrite EIP and the rest of our buffer overflows into the ESP register which means that if we overwrite EIP to a memory address that has the assembly instruction of JMP ESP, then hopefully the we can jump to ESP and the next set of instructions.</p>
<p>We then send all hex bytes (minus the 00 as it would kill our TCP connection to the FTP server) and attempt to identify any bad characters that may be included in our shellcode later on.</p>
<p>Metasploit is then opened with the console interface and we begin to create test shellcode, while excluding the bad characters from the payload (identified previously) that will run the Windows calculator application. As the payload will be encoded we had to add 8 NOPs to our buffer so that there was sufficient room for the payload to decode itself.</p>
<p>Once the test shellcode is added we test our exploit which will hopefully crash the application once again but at the same time execute our code and open the Windows calculator, which ended up working as planned.</p>
<p>We go back to metasploit and create a Windows reverse shell payload, again excluding the bad characters found and write all the hex bytes to a file called shellcode which we then open with gedit.</p>
<p>We then replaced the test Windows calculator payload with the first stage of our newly created staged Windows reverse shell payload to complete our exploit.</p>
<p>Then we set up a metasploit to listen on port 4444 for a staged Windows reverse shell and executed our exploit, which resulted in the target machine connecting back to our machine. As we chose a staged payload our machine delivered stage 2 of the payload creating a full reverse Windows command prompt to be given to our machine and from then on we had full control over that session.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thexero.co.uk/exploit-development/abusing-the-stack/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WiFu – Cracking Hidden / Invisible Networks</title>
		<link>http://www.thexero.co.uk/wifu/episode-5</link>
		<comments>http://www.thexero.co.uk/wifu/episode-5#comments</comments>
		<pubDate>Thu, 31 Jan 2013 15:29:14 +0000</pubDate>
		<dc:creator>Toby</dc:creator>
				<category><![CDATA[WiFu]]></category>

		<guid isPermaLink="false">http://www.thexero.co.uk/?p=22</guid>
		<description><![CDATA[In this demonstration, we attempt to break into a hidden network. These networks won’t allow you to connect them like the usual WiFi network as you won’t be able to see it as it does not broadcast its SSID. Firstly after activating monitor mode on my Alfa AWUS036H adapter, we start airodump-ng on channel 6 and listened for any networks. ...]]></description>
				<content:encoded><![CDATA[<p><iframe width="670" height="540" src="http://www.youtube.com/embed/3VaVtfKO2U4?rel=0" frameborder="0" allowfullscreen></iframe></p>
<p>In this demonstration, we attempt to break into a hidden network. These networks won’t allow you to connect them like the usual WiFi network as you won’t be able to see it as it does not broadcast its SSID.</p>
<p>Firstly after activating monitor mode on my Alfa AWUS036H adapter, we start airodump-ng on channel 6 and listened for any networks.</p>
<p>After noticing the hidden network we stop airodump-ng and started it again on channel 6 and to save the captured data to a file called hidden.</p>
<p>Noticing there was an already authenticated client we start up aireplay-ng and attempted to de-authenticate the client forcing it to re-authenticate with the network revealing that the hidden SSID, which in this case was Cisco.</p>
<p>After we discovered the SSID we then attempt to authenticate with the network Cisco and started the ARP Request Replay attack to increase the rate of new IV’s generated and crack the WEP key for the network.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thexero.co.uk/wifu/episode-5/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WiFu – ARP Amplification</title>
		<link>http://www.thexero.co.uk/wifu/episode-4</link>
		<comments>http://www.thexero.co.uk/wifu/episode-4#comments</comments>
		<pubDate>Thu, 31 Jan 2013 15:26:27 +0000</pubDate>
		<dc:creator>Toby</dc:creator>
				<category><![CDATA[WiFu]]></category>

		<guid isPermaLink="false">http://www.thexero.co.uk/?p=20</guid>
		<description><![CDATA[Using ARP to our advantage we can greatly increase our IV generate rates. ARP amplification is a very advanced topic and this should not be attempted by new comers. In this demonstration, we first perform a standard 1 – 1 attack by creating a generic ARP broadcast request and our injection rates are around 400, which is considered pretty good. ...]]></description>
				<content:encoded><![CDATA[<p><iframe width="670" height="540" src="http://www.youtube.com/embed/F970UdMRqhA" frameborder="0" allowfullscreen></iframe></p>
<p>Using ARP to our advantage we can greatly increase our IV generate rates. ARP amplification is a very advanced topic and this should not be attempted by new comers.</p>
<p>In this demonstration, we first perform a standard 1 – 1 attack by creating a generic ARP broadcast request and our injection rates are around 400, which is considered pretty good.</p>
<p>While attacking a network it is possible to find out the address ranges that are used and even associated client’s IP using attacks like the Korek Chop Chop. With this information you can potentially more than double your IV generation rates by sending an ARP request to a existing WiFi client which will create a 1 -3 IV generation rate.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thexero.co.uk/wifu/episode-4/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
