<?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>Passionate about Information Security &#187; Cracking</title>
	<atom:link href="http://blog.ismaelvalenzuela.com/tag/cracking/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.ismaelvalenzuela.com</link>
	<description>on ismaelvalenzuela.com</description>
	<lastBuildDate>Fri, 16 Sep 2011 18:48:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Password Cracking &#8216;Pass The Hash&#8217; style</title>
		<link>http://blog.ismaelvalenzuela.com/2008/05/15/password-cracking-pass-the-hash-style/</link>
		<comments>http://blog.ismaelvalenzuela.com/2008/05/15/password-cracking-pass-the-hash-style/#comments</comments>
		<pubDate>Thu, 15 May 2008 16:13:03 +0000</pubDate>
		<dc:creator>Ismael Valenzuela</dc:creator>
				<category><![CDATA[Passwords]]></category>
		<category><![CDATA[Pentesting]]></category>
		<category><![CDATA[Cracking]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Pass The Hash]]></category>
		<category><![CDATA[Password]]></category>

		<guid isPermaLink="false">http://blog.ismaelvalenzuela.com/?p=37</guid>
		<description><![CDATA[One of the most time consuming tasks a penetration tester has to face is password attacks. Traditional password attacks involve password guessing, password cracking or a combination of both. While the first can take anything from days to months, the latter can take from hours to days, depending on the quality of the password dictionary [...]]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal" style="margin: 0cm 0cm 10pt;"><span style="mso-ansi-language: EN-GB"><span style="font-size: 9pt; color: #000000; font-family: 'Arial','sans-serif'; mso-ansi-language: EN-GB;">One of the most time consuming tasks a penetration tester has to face is password attacks. Traditional password attacks involve password guessing, password cracking or a combination of both. While the first can take anything from days to months, the latter can take from hours to days, depending on the quality of the password dictionary and the available CPU power among others. Tools that make use of Rainbow Tables, like <a title="Ophcrack" href="http://ophcrack.sourceforge.net/" target="_blank">Ophcrack</a>, have significantly reduced those times to hours or even minutes, especially for systems that use weak password schemes like LM or NTLMv1.</span></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 10pt;"><span style="mso-ansi-language: EN-GB"><span style="font-size: 9pt; color: #000000; font-family: 'Arial','sans-serif'; mso-ansi-language: EN-GB;">All of the above describe how the password attack picture was before a new technique, called ‘Pass-The-Hash’ made its way into the hacking scene. Although someone may think this technique is quite new, it was actually back in 1997 when Paul Ashton posted on <a title="Bugtraq" href="http://www.securityfocus.com/bid/233/discuss" target="_blank"><span style="color: #bb3300;">Bugtraq</span></a> a Windows exploit named “NT Pass the Hash” along with the theory which the exploit was based on. This Unix-based tool implemented a modified version of a SMB client that allowed the use of captured LanMan hashes, without having to decrypt them first. However, it wasn’t before last year when <a title="Core Security" href="http://oss.coresecurity.com/projects/pshtoolkit.htm" target="_blank"><span style="color: #bb3300;">Core Security</span></a> finally took this concept to the next level and produced a much more powerful tool called &#8216;Pass-The-Hash Toolkit&#8217;, which now runs on Windows and works with NTLM hashes. Let’s see how this technique works in more detail.</span></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 10pt;"><span style="mso-ansi-language: EN-GB"><span style="font-size: 9pt; color: #000000; font-family: 'Arial','sans-serif'; mso-ansi-language: EN-GB;"><span id="more-37"></span>Pass-The-Hash is a different kind of password attack in that its ultimate goal is not to reveal what the password is, but rather to use it without having to crack it. Think about this, do you really care whether the password you are cracking is actually “peanuts”, “Barbie” or “Mickey Mouse”? I don&#8217;t think so. All you need to know is that it will give you access to the resource it’s protecting. Well, that’s the main concept behind ‘Pass-The-Hash’ attack.</span></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 10pt;"><span style="mso-ansi-language: EN-GB"><span style="font-size: 9pt; color: #000000; font-family: 'Arial','sans-serif'; mso-ansi-language: EN-GB;">First step to launch this attack is obviously to extract the password hashes. I’m not pretending to detail how to obtain them here, but you know you can either dump the SAM database if you managed to get admin privileges or dump current user SAM from memory if you &#8216;only&#8217; have regular user privileges. Now, instead of trying to crack the hashes with L0pthCrack or Cain, all you need to do is to USE them directly.</span></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 10pt;"><span style="mso-ansi-language: EN-GB"><span style="font-size: 9pt; color: #000000; font-family: 'Arial','sans-serif'; mso-ansi-language: EN-GB;">To do so, the <a title="Pshtoolkit" href="http://oss.coresecurity.com/projects/pshtoolkit.htm" target="_blank"><span style="color: #bb3300;">&#8216;Pass-The-Hash Toolkit&#8217;</span></a> contains utilities that let you manipulate the Windows Logon Session maintained by the LSA (Local Security Authority) component, allowing you not only to list the current logon sessions along with its corresponding NTLM credentials, but also to change in runtime the current username, domain name, and even NTLM hashes. Isn&#8217;t DLL injection lovely? <img src='http://blog.ismaelvalenzuela.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </span></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 10pt;"><span style="mso-ansi-language: EN-GB"><span style="font-size: 9pt; color: #000000; font-family: 'Arial','sans-serif'; mso-ansi-language: EN-GB;">The Toolkit contains three utilities:</span></span></p>
<ul>
<li>
<div class="MsoNormal" style="margin: 0cm 0cm 10pt; text-align: justify;"><span style="mso-ansi-language: EN-GB"><span style="font-size: 9pt; color: #000000; font-family: 'Arial','sans-serif'; mso-ansi-language: EN-GB;"><strong>IAM.EXE</strong>: This tool allows you to change your current NTLM credentials directly in memory without having the cleartext passwords. Only the password hashes are needed. Yes, that means no password cracking anymore! From the moment the NTLM credentials are changed you can immediately use commands that make use of NTLM authentication, like ‘net use’ or ‘net view’, with the stolen user’s credentials.</span></span></div>
</li>
<li>
<div class="MsoNormal" style="margin: 0cm 0cm 10pt; text-align: justify;"><span style="mso-ansi-language: EN-GB"><span style="font-size: 9pt; color: #000000; font-family: 'Arial','sans-serif'; mso-ansi-language: EN-GB;"><strong>WHOSTHERE.EXE</strong>: This tool will list logon sessions with NTLM credentials, including username, domain name, LM and NTLM hashes. Those logon sessions also include remote sessions like Remote Desktop Connections. That means you can now steal Domain Administrator’s password not only from the Domain Controller but also from any machine the Administrator may RDP to. Just run WHOSTHERE.EXE while the admin is logged on and use IAM.EXE from your machine to compromise the Domain Controller using those credentials. Also Man-in-the-middle attacks could be used effectively with this tool.</span></span></div>
</li>
<li>
<div class="MsoNormal" style="margin: 0cm 0cm 10pt; text-align: justify;"><span style="mso-ansi-language: EN-GB"><span style="font-size: 9pt; color: #000000; font-family: 'Arial','sans-serif'; mso-ansi-language: EN-GB;"><strong>GENHASH.EXE</strong>: This tool generates LANMAN and NT hashes from user given passwords. It’s just a small tool designed to help testing of IAM.EXE.</span></span></div>
</li>
</ul>
<p class="MsoNormal" style="margin: 0cm 0cm 10pt;"><span style="mso-ansi-language: EN-GB"><span style="font-size: 9pt; color: #000000; font-family: 'Arial','sans-serif'; mso-ansi-language: EN-GB;">The advantages of using this technique are out of doubt. First, the time consuming password cracking is not needed, and additionally, the account lockouts that happened so often when doing password guessing won’t happen anymore. This is a massive improvement so it’s not surprising that Penetration Testers are increasingly relying on ‘Pass The Hash’ techniques.</span></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 10pt;"><span style="mso-ansi-language: EN-GB"><span style="font-size: 9pt; color: #000000; font-family: 'Arial','sans-serif'; mso-ansi-language: EN-GB;">For the folks on the other side of the line, that is from a defensive perspective, the above reinforces the need of adopting best practices when it comes to high privilege account management, using secure authentication schemes and maintaining a suitable patch and vulnerability management programme. Doesn’t it sound familiar?</span></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 10pt;"><span style="font-size: 9pt; color: #000000; font-family: 'Arial','sans-serif'; mso-ansi-language: EN-GB; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"><span style="mso-ansi-language: EN-GB">&#8212;</span></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 10pt;"><span style="font-size: 9pt; color: #000000; font-family: 'Arial','sans-serif'; mso-ansi-language: EN-GB; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"><span style="mso-ansi-language: EN-GB">The tools described in this post are part of the </span><span style="mso-ansi-language: EN-GB; mso-bidi-font-family: Tahoma">Pass-the-Hash Toolkit (pshtoolkit), written by Hernán Ochoa from Core Security. Latest release of </span><span style="mso-ansi-language: EN-GB"><span style="color: #bb3300;"><span style="color: #000000;">Pass-The-Hash toolkit</span> </span></span>(v1.3 published on February 29, 2008) is <span style="mso-ansi-language: EN-GB; mso-bidi-font-family: Tahoma">available for free download </span><a title="Win32 binaries" href="http://oss.coresecurity.com/pshtoolkit/release/1.3/pshtoolkit_v1.3.tgz" target="_blank"><span style="color: #bb3300;">here</span></a>.</span></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ismaelvalenzuela.com/2008/05/15/password-cracking-pass-the-hash-style/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Cracking into embedded devices and beyond!</title>
		<link>http://blog.ismaelvalenzuela.com/2008/04/22/cracking-into-embedded-devices-and-beyond/</link>
		<comments>http://blog.ismaelvalenzuela.com/2008/04/22/cracking-into-embedded-devices-and-beyond/#comments</comments>
		<pubDate>Tue, 22 Apr 2008 20:01:18 +0000</pubDate>
		<dc:creator>Ismael Valenzuela</dc:creator>
				<category><![CDATA[Papers & Presentations]]></category>
		<category><![CDATA[Security Advisories]]></category>
		<category><![CDATA[Cracking]]></category>
		<category><![CDATA[Dubai]]></category>
		<category><![CDATA[Embedded Devices]]></category>
		<category><![CDATA[Hack in the Box]]></category>

		<guid isPermaLink="false">http://blog.ismaelvalenzuela.com/?p=35</guid>
		<description><![CDATA[As promised in my previous post, I have  just uploaded Cracking into embedded devices and beyond, Adrian Pastor&#8217;s presentation at &#8216;Hack in The Box&#8217; Dubai 2008. Thanks Adrian for your promptly response when asked for the slides and congratulations for your excellent contribution to the security community. Hope we can share a pint next time I&#8217;m [...]]]></description>
			<content:encoded><![CDATA[<p>As promised in my <a title="Cerrudo’s talk prompts Microsoft to admit serious flaw on Windows" href="http://blog.ismaelvalenzuela.com/2008/04/20/cerrudo-talk-prompts-microsoft-to-admit-serious-flaw-on-windows-affecting-web-hosting-providers/" target="_blank">previous post</a>, I have  just uploaded <a title="Cracking into embedded devices and beyond" href="http://blog.ismaelvalenzuela.com/wp-content/uploads/2008/04/cracking-into-embedded-devices-hitb-dubai-2008.pdf" target="_blank"><strong>Cracking into embedded devices and beyond</strong></a>, <a title="Adrian Pastor (GNUCITIZEN)" href="http://www.gnucitizen.org/about/ap/" target="_blank">Adrian Pastor&#8217;s</a> presentation at &#8216;Hack in The Box&#8217; Dubai 2008.</p>
<p>Thanks Adrian for your promptly response when asked for the slides and congratulations for your excellent contribution to the security community. Hope we can share a pint next time I&#8217;m in London. Un abrazo!</p>
<p><span id="more-35"></span>From HITBSecConf2008 website:</p>
<address><strong>Presentation Title:</strong> <a title="Cracking into embedded devices and beyond" href="http://blog.ismaelvalenzuela.com/wp-content/uploads/2008/04/cracking-into-embedded-devices-hitb-dubai-2008.pdf" target="_blank">Cracking into Embedded Devices and Beyond!</a> (pdf)</address>
<address></address>
<address><strong>Presentation Details</strong> </address>
<address>The presentation covers cracking into embedded devices by exploiting vulnerabilities present on default software running on the target device. </address>
<address></address>
<address></address>
<address>Most of the vulnerabilities discussed are web bugs that can be exploited remotely. The reason for focusing on such type of flaws, is because I’ve personally had several successful experiences discovering important/critical vulnerabilities. Additionally, the presentation is focused on vulnerabilities that can be exploited remotely. </address>
<address></address>
<address></address>
<address>Some of my personal discoveries will be covered, including vulnerabilities found on Axis IP cameras, Belkin “belkin54g” family of routers, BT Home Hub wireless routers (Thomson/Alcatel Speedtouch 7G), BT Voyager 2091, 3COM APXXXX Dual Radio 11a/b/g Access Point, and Linksys Wireless-G ADSL Gateway (WAG54GS). Some interesting vulnerabilities found on embedded devices by other peers will also be explained. </address>
<address>Not only *real attacks* will be explored, but also the *consequences* of cracking into embedded devices. How nasty can it get after an embedded device has been exploited? How far does the rabbit hole go? </address>
<address>In the case of routers, scenarios include eavesdropping the victim(s)’ Internet connection, controlling the traffic flow, stealing services such as TV streaming and VoIP. In the case of miscellaneous devices such as IP cameras scenarios include replacing the surveillance video stream, and one of my favorites: using the device as a stepping stone to penetrate into the corporate network after the device as been compromised from an attack originated from the Internet. </address>
<address></address>
<address>Classic attacks against embedded devices will also be discussed, although this will be a minor portion of the presentation. Finally, possibilities of exploiting FON, a community-shared Wi-Fi network will be discussed.</address>
<address></address>
<address></address>
<address><strong>About Adrian</strong> </address>
<address>Adrian ‘pagvac’ Pastor, BSc (Hons) Computer Engineering, has been part of the security community for about four years, although he has been interested in the hacker culture since an early age. He currently works as a senior pentester and security researcher for ProCheckUp (www.procheckup.com), a leading independent specialist security organization based in London, UK. Additionally, Adrian is an active security researcher at GNUCITIZEN (www.gnucitizen.org), a renowned white-hat hacker think tank where he enjoys breaking things and publishing his findings. </address>
<address></address>
<address></address>
<address>Adrian is currently interested in topics such as web security, eavesdropping techniques, magstripes, and embedded devices. His research has been featured in established magazines and information portals such as BBC, The Washington Post, Wired, Slashdot, PC Pro, The Register, PC World, CNET and many others.</address>
]]></content:encoded>
			<wfw:commentRss>http://blog.ismaelvalenzuela.com/2008/04/22/cracking-into-embedded-devices-and-beyond/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

