<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>deadhacker.com &#187; Tools</title>
	<atom:link href="http://deadhacker.com/category/tools/feed/" rel="self" type="application/rss+xml" />
	<link>http://deadhacker.com</link>
	<description>research repository of nathan andrew fain / cyphunk</description>
	<lastBuildDate>Tue, 22 May 2012 22:14:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='deadhacker.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>deadhacker.com &#187; Tools</title>
		<link>http://deadhacker.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://deadhacker.com/osd.xml" title="deadhacker.com" />
	<atom:link rel='hub' href='http://deadhacker.com/?pushpress=hub'/>
		<item>
		<title>Predicting location of one hop proxy users</title>
		<link>http://deadhacker.com/2011/03/13/predicting-location-of-one-hop-proxy-users/</link>
		<comments>http://deadhacker.com/2011/03/13/predicting-location-of-one-hop-proxy-users/#comments</comments>
		<pubDate>Sun, 13 Mar 2011 15:11:02 +0000</pubDate>
		<dc:creator>cyphunk</dc:creator>
				<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://deadhacker.com/?p=335</guid>
		<description><![CDATA[Herein I will describe a simple technique that attempts to determine the location of a user in relation to their proxy. Obvious use-cases include restricting content based on location of user, augmenting existing fraud metrics for banks and online payment systems or by law enforcement. For anonymity systems this technique should exmplify why onion based routing systems [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deadhacker.com&#038;blog=31698&#038;post=335&#038;subd=cyphunk&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Herein I will describe a simple technique that attempts to determine the location of a user in relation to their proxy. Obvious use-cases include restricting content based on location of user, augmenting existing fraud metrics for banks and online payment systems or by law enforcement. For anonymity systems this technique should exmplify why <a href="https://secure.wikimedia.org/wikipedia/en/wiki/Onion_routing">onion based routing systems</a> such as <a href="https://www.torproject.org/">Tor</a> are important.</p>
<p>It&#8217;s simple: if we can determine the network latency between a proxy user and their proxy we can begin to make <strong>educated guesses</strong> about their location or at least how close they are to the proxy. This latency can be determined by analyzing any sequential serialized traffic. As an example imagine a website that has early in the HTML header code a request for a script. The browser will begin processing the HTML and then immediately request the script:</p>
<pre style="padding-left:30px;">1: Users_browser     GET index.html  --&gt;  Server
2: Users_browser &lt;-- index.html data      Server
[browser processes index.html and see's a required script] 
3: Users_browser     GET script.js   --&gt;  Server
4: Users_browser &lt;-- script.js data       Server</pre>
<p>If the user is sending and receiving via a proxy we need to figure out the latency between the user and the proxy, as well as the distance between the proxy and the server. The requests, with mnemonics representing the latency we need to determine (<em>l_pu</em> = latency between proxy and user, <em>l_ps</em> =  latency between proxy and server), look as follows:</p>
<pre style="padding-left:30px;">                [       l_pu       ]     [l_ps]
1: Users_browser     index.html --&gt; Proxy  --&gt; Server
2: Users_browser &lt;-- index.html     Proxy &lt;--  Server
3: Users_browser     script.js  --&gt; Proxy  --&gt; Server
4: Users_browser &lt;-- script.js      Proxy &lt;--  Server</pre>
<p>Determining <em>l_ps</em> can be done in many ways, the simplest being sending a ping request from the server to the IP address of the proxy. To determine <em>l_pu</em> the server sets a time stamp when it sends back the <em>index.html</em> data (line 2) and subtracts this from the time it receives the request for <em>script.js </em>(line 3). The result is the total round trip time between the user and the server (<em>tRTT</em>). Now <em>l_pu</em> can be calculated as:</p>
<pre style="padding-left:30px;">l_pu = (tRTT - (l_ps * 2)) / 2</pre>
<p>This simplification ignores a lot. Such as the latency overhead added due to how different browsers process certain content or the discrepancy between different users and proxies with differing types of uplinks that effect the latency (dialup, DSL, ISDN, cellular GPRS and UMTS). Even with such caveats this technique can still be used for applications such as restricting content to users that &#8220;should&#8221; be close to their exit node or proxy. If the caveats can be handled the potential exists for using a basic latency map of long haul cross continent network backbones to give clues such as if a proxy user accessing a system in the UK is coming from the west, south america or the east. On its own the use is limited but as one clue along with others it has more relevant application.</p>
<p>This technique can be applied with greater accuracy to other systems. Dor Levi and I developed a basic server based application to show users that might be using a proxy server-side. But this could be done client side as well. For example, a Flash applett could be built and included in online auctions so that both the seller or the auction house could detect when suspicious bids are coming from behind a proxy.</p>
<p>I would be interested to hear of other research in this area. Personally I am a strong advocate and sporadic developer that helps where I can in building stronger anonymity systems. I am also an absolute technologist and believe that evolution in this field requires progress from all directions.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cyphunk.wordpress.com/335/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cyphunk.wordpress.com/335/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cyphunk.wordpress.com/335/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cyphunk.wordpress.com/335/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cyphunk.wordpress.com/335/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cyphunk.wordpress.com/335/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cyphunk.wordpress.com/335/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cyphunk.wordpress.com/335/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cyphunk.wordpress.com/335/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cyphunk.wordpress.com/335/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cyphunk.wordpress.com/335/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cyphunk.wordpress.com/335/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cyphunk.wordpress.com/335/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cyphunk.wordpress.com/335/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deadhacker.com&#038;blog=31698&#038;post=335&#038;subd=cyphunk&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://deadhacker.com/2011/03/13/predicting-location-of-one-hop-proxy-users/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">cyphunk</media:title>
		</media:content>
	</item>
		<item>
		<title>Speaking at 27c3 in Berlin, Dec 27-30</title>
		<link>http://deadhacker.com/2010/12/12/speaking-at-27c3-in-berlin-dec-27-30/</link>
		<comments>http://deadhacker.com/2010/12/12/speaking-at-27c3-in-berlin-dec-27-30/#comments</comments>
		<pubDate>Sun, 12 Dec 2010 23:48:22 +0000</pubDate>
		<dc:creator>cyphunk</dc:creator>
				<category><![CDATA[Events]]></category>
		<category><![CDATA[Reverse Engineering]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://deadhacker.com/?p=314</guid>
		<description><![CDATA[Myself and Vadim Vygonets gave a talk on embedded analysis at the CCC 27c3 conference in Berlin 2010. The purpose of this talk was to explain and simplify hardware embedded analysis. We went over various tools mentioned at this blog. Full documentation/reference for the tools discussed can be found on the wiki. Full video of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deadhacker.com&#038;blog=31698&#038;post=314&#038;subd=cyphunk&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Myself and <a href="http://www.vygo.net/vadik/">Vadim Vygonets</a> gave a <a href="http://events.ccc.de/congress/2010/Fahrplan/events/4011.en.html">talk on embedded analysis</a> at the CCC 27c3 conference in Berlin 2010. The purpose of this talk was to explain and simplify hardware embedded analysis. We went over various tools mentioned at this blog. Full documentation/reference for the tools discussed can be <a href="http://events.ccc.de/congress/2010/wiki/Embedded_Analysis">found on the wiki</a>. Full video of the lecture:</p>
<span style="text-align:center; display: block;"><a href="http://deadhacker.com/2010/12/12/speaking-at-27c3-in-berlin-dec-27-30/"><img src="http://img.youtube.com/vi/8Unisnu-cNo/2.jpg" alt="" /></a></span>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cyphunk.wordpress.com/314/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cyphunk.wordpress.com/314/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cyphunk.wordpress.com/314/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cyphunk.wordpress.com/314/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cyphunk.wordpress.com/314/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cyphunk.wordpress.com/314/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cyphunk.wordpress.com/314/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cyphunk.wordpress.com/314/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cyphunk.wordpress.com/314/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cyphunk.wordpress.com/314/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cyphunk.wordpress.com/314/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cyphunk.wordpress.com/314/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cyphunk.wordpress.com/314/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cyphunk.wordpress.com/314/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deadhacker.com&#038;blog=31698&#038;post=314&#038;subd=cyphunk&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://deadhacker.com/2010/12/12/speaking-at-27c3-in-berlin-dec-27-30/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">cyphunk</media:title>
		</media:content>
	</item>
		<item>
		<title>Bincrowd communal reverse engineering framwork</title>
		<link>http://deadhacker.com/2010/03/25/bincrowd-communal-reverse-engineering-framwork/</link>
		<comments>http://deadhacker.com/2010/03/25/bincrowd-communal-reverse-engineering-framwork/#comments</comments>
		<pubDate>Thu, 25 Mar 2010 21:03:28 +0000</pubDate>
		<dc:creator>cyphunk</dc:creator>
				<category><![CDATA[Reverse Engineering]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://deadhacker.com/?p=242</guid>
		<description><![CDATA[Update: link to Halvar &#38; SP at Zynamics post and slides from CanSecWest Bincrowd, a project I had the pleasure of contributing to, has been released by Zynamics. Bincrowd simplifies the collaborative option in reverse engineering and brings it en masse. Any function a user has ever submitted documentation for can be found quickly in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deadhacker.com&#038;blog=31698&#038;post=242&#038;subd=cyphunk&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><em>Update: link to Halvar &amp; SP at Zynamics <a href="http://blog.zynamics.com/2010/03/25/shareing-is-caring-announcing-the-free-bincrowd-community-server/">post and slides</a> from CanSecWest</em></p>
<p><a href="http://bincrowd.zynamics.com"></p>
<div id="attachment_255" class="wp-caption alignright" style="width: 310px"><a href="http://blog.zynamics.com/2010/03/25/shareing-is-caring-announcing-the-free-bincrowd-community-server/"><img class="size-medium wp-image-255" title="ShaREing is caring" src="http://cyphunk.files.wordpress.com/2010/03/picture-3.png?w=300&h=224" alt="" width="300" height="224" /></a><p class="wp-caption-text">From Zynamics BinCrowd presentation</p></div>
<p>Bincrowd</a>, a project I had the pleasure of contributing to, has been released by <a href="http://zynamics.com">Zynamics</a>. Bincrowd simplifies the collaborative option in reverse engineering and brings it en masse. Any function a user has ever submitted documentation for can be found quickly in your target. It also introduces greater flexibility and reliability by adding additional signature methods for functions. Further, server access and clients for various disassemblers are free (ida client <a href="http://github.com/zynamics/bincrowd-plugin-ida">here</a>).</p>
<div><span id="more-242"></span></div>
<p>To fully understand how this could create an evolutionary step for software reverse engineering (RE) lets walk look at a typical RE session. You open your target in your favorite disassembler and find it<br />
has several hundred functions. If you are lucky you will have a signature database that matches the OS version, library versions and compiler version your target was built with.  This will let you find the system calls quickly, fiddling down the undocumented code you need to RE to a hundred or so functions. Once you have reverse engineered a function that is missing a signature you could create one for it but until now it has been difficult to share this with others. With Bincrowd you can share this information quickly for team based RE efforts or just for posterity sake.  If 10 years from now someone runs into similar code somewhere else this information becomes useful. Further, Bincrowd goes further by adding more flexible signature routines to the mix. Signatures often used today are based on the raw bytes of a compiled function. The added signatures in Bincrowd are based on the flow of the function instead. The flexibility this introduces means you might find details and signatures for functions that were compiled with a different version compiler, different version of libraries, different compiler and libraries entirely, different hardware architectures or even different OS&#8217;s. Research from Zynamics has been the ground breaking in this field.</p>
<p>My efforts on Bincrowd were supported by <a href="http://recurity-labs.com">Recurity-Labs</a>. Both Recurity-Labs and Zynamics are great companies to work with.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cyphunk.wordpress.com/242/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cyphunk.wordpress.com/242/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cyphunk.wordpress.com/242/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cyphunk.wordpress.com/242/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cyphunk.wordpress.com/242/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cyphunk.wordpress.com/242/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cyphunk.wordpress.com/242/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cyphunk.wordpress.com/242/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cyphunk.wordpress.com/242/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cyphunk.wordpress.com/242/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cyphunk.wordpress.com/242/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cyphunk.wordpress.com/242/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cyphunk.wordpress.com/242/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cyphunk.wordpress.com/242/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deadhacker.com&#038;blog=31698&#038;post=242&#038;subd=cyphunk&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://deadhacker.com/2010/03/25/bincrowd-communal-reverse-engineering-framwork/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">cyphunk</media:title>
		</media:content>

		<media:content url="http://cyphunk.files.wordpress.com/2010/03/picture-3.png?w=300" medium="image">
			<media:title type="html">ShaREing is caring</media:title>
		</media:content>
	</item>
	</channel>
</rss>
