<?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>innismir.net &#187; Ben Jackson</title>
	<atom:link href="http://www.innismir.net/article/author/innismir/feed" rel="self" type="application/rss+xml" />
	<link>http://www.innismir.net</link>
	<description>Pointless, vapid ramblings of a surly information security engineer</description>
	<lastBuildDate>Fri, 09 Jul 2010 20:06:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Presenting at The Next HOPE</title>
		<link>http://www.innismir.net/article/510</link>
		<comments>http://www.innismir.net/article/510#comments</comments>
		<pubDate>Fri, 09 Jul 2010 20:06:01 +0000</pubDate>
		<dc:creator>Ben Jackson</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.innismir.net/?p=510</guid>
		<description><![CDATA[A bit late notice, but I will be presenting not one, but two talks at The Next HOPE next week at the Hotel Pennsylvania in New York City. Locational Privacy and Wholesale Surveillance via Photo Services (Friday, July 16th, 11:00AM EDT in the Lovelace Room) Why You Should Be an Amateur (Saturday, July 17th, 6:00PM [...]]]></description>
			<content:encoded><![CDATA[<p>A bit late notice, but I will be presenting not one, but two talks at <a href="http://thenexthope.org/">The Next HOPE</a> next week at the Hotel Pennsylvania in New York City.</p>
<ul>
<li><a>Locational Privacy and Wholesale Surveillance via  Photo Services (Friday, July 16th, 11:00AM EDT in  the Lovelace Room)</a></li>
<li><a>Why You Should Be an Amateur </a><a>(Saturday, July 17th, 6:00PM EDT  in the Bell Room)</a></li>
</ul>
<p>Talk slide decks should be posted up here and at <a href="http://www.mayhemiclabs.com/">Mayhemic Labs</a> after the talks.</p>
<p>Hope to see you there!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.innismir.net/article/510/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Where the hell have I been?</title>
		<link>http://www.innismir.net/article/502</link>
		<comments>http://www.innismir.net/article/502#comments</comments>
		<pubDate>Mon, 24 May 2010 02:00:39 +0000</pubDate>
		<dc:creator>Ben Jackson</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[Ham Radio]]></category>
		<category><![CDATA[infosec]]></category>
		<category><![CDATA[meta]]></category>

		<guid isPermaLink="false">http://www.innismir.net/?p=502</guid>
		<description><![CDATA[Been quiet over here recently, but I&#8217;ve been busy in other areas, so let&#8217;s do a quick update of what the hell has been going on: First off, QuahogCon was a blast. My presentation went rather well, despite some technical difficulties with the lack of Internet access and the fact that I was not able [...]]]></description>
			<content:encoded><![CDATA[<p>Been quiet over here recently, but I&#8217;ve been busy in other areas, so let&#8217;s do a quick update of what the hell has been going on:</p>
<p>First off, <a href="http://quahogcon.org">QuahogCon</a> was a blast. My presentation went rather well, despite some technical difficulties with the lack of Internet access and the fact that I was not able to raise the local IRLP repeater from inside the building. I&#8217;ve started tweaking it a bit and submitted an abstract to <a href="http://thenexthope.org/">The Next HOPE</a>&#8216;s CFP.</p>
<p>You can download the QuahogCon version of the slide deck here:</p>
<ul>
<li>Why you should be an Amateur <a href="http://www.innismir.net/etc/WhyYouShouldBeAnAmateur.ppt">PPT</a> (8.0MB)</li>
<li>Why you should be an Amateur <a href="http://www.innismir.net/etc/WhyYouShouldBeAnAmateur.pdf">PDF</a> (7.0MB)</li>
</ul>
<p>Also, available over at QuahogCon&#8217;s site is the <a href="http://quahogcon.org/QC2010Archive/audio/jackson.mp3">audio of the presentation</a>.</p>
<p>Next, over the past month, I re-launched Mayhemic Labs a group of very talented folks. We have started doing <a href="http://www.mayhemiclabs.com/tools" target="_blank">a few projects</a>, the coolest one (in my not so humble opinion) is <a href="http://www.icanstalku.com/" target="_blank">ICanStalkU</a>, a site that rips through public photo sites looking for latitude and longitude EXIF tags. You can read more about the project at the site&#8217;s <a href="http://www.icanstalku.com/how.php" target="_blank">how</a> and <a href="http://www.icanstalku.com/why.php" target="_blank">why</a> pages.</p>
<p>So, despite the lack of activity on here, I have been keeping busy. Of course, I am always <a href="http://twitter.com/innismir">mumbling to myself on Twitter</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.innismir.net/article/502/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://quahogcon.org/QC2010Archive/audio/jackson.mp3" length="38583490" type="audio/mpeg" />
		</item>
		<item>
		<title>My comments on the proposed changes to FCC Part 97.313</title>
		<link>http://www.innismir.net/article/499</link>
		<comments>http://www.innismir.net/article/499#comments</comments>
		<pubDate>Sun, 18 Apr 2010 13:08:30 +0000</pubDate>
		<dc:creator>Ben Jackson</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.innismir.net/?p=499</guid>
		<description><![CDATA[Since I already did my civic duty and submitted my comments on the NPRM for 97.113 and my all official-looking Word file was just sitting there, I went ahead and submitted my comments on the proposed amendments to the spread spectrum regulations which would limit the maximum power to 10 watts in exchange for elimination [...]]]></description>
			<content:encoded><![CDATA[<p>Since I already did my civic duty and submitted my <a href="http://www.innismir.net/article/494">comments on the NPRM for 97.113</a> and my all official-looking Word file was just sitting there, I went ahead and submitted my comments on the proposed amendments to the spread spectrum regulations which would limit the maximum power to 10 watts in exchange for elimination of the requirement for automatic power control. While I like the idea of eliminating the APC requirement I think the restriction to 10 watts is a bit overkill. I suggested that they increase the limit to 25 watts, as that would give amateurs a good amount of wattage to play with and still would still be 25% of what is currently allowed, mitigating interference concerns from Wireless ISPs.</p>
<p><a href="http://fjallfoss.fcc.gov/ecfs/comment/view?id=6015555120">My comments on FCC Docket 10-62</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.innismir.net/article/499/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Brand spanking new DNS cache scraping tool</title>
		<link>http://www.innismir.net/article/497</link>
		<comments>http://www.innismir.net/article/497#comments</comments>
		<pubDate>Tue, 13 Apr 2010 18:57:02 +0000</pubDate>
		<dc:creator>Ben Jackson</dc:creator>
				<category><![CDATA[Information Security]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[infosec]]></category>
		<category><![CDATA[malware]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[zeus]]></category>

		<guid isPermaLink="false">http://www.innismir.net/?p=497</guid>
		<description><![CDATA[I mentioned in a previous post that the ZeuS scraper was more or less going to be kept in it&#8217;s then-current form while I work on a new and improved version, and I&#8217;m happy to say that it&#8217;s just been released with an expanded array of hosts to check as well. Share and Enjoy!]]></description>
			<content:encoded><![CDATA[<p>I mentioned in a <a href="http://www.innismir.net/article/483">previous post</a> that the ZeuS scraper was more or less going to be kept in it&#8217;s then-current form while I work on a new and improved version, and I&#8217;m happy to say that <a href="http://www.mayhemiclabs.com/?q=node/13">it&#8217;s just been released</a> with an expanded array of hosts to check as well.</p>
<p>Share and Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.innismir.net/article/497/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My comments on the proposed change to FCC Part 97.113</title>
		<link>http://www.innismir.net/article/494</link>
		<comments>http://www.innismir.net/article/494#comments</comments>
		<pubDate>Thu, 08 Apr 2010 01:18:22 +0000</pubDate>
		<dc:creator>Ben Jackson</dc:creator>
				<category><![CDATA[Ham Radio]]></category>
		<category><![CDATA[emegency communications]]></category>
		<category><![CDATA[fcc]]></category>

		<guid isPermaLink="false">http://www.innismir.net/?p=494</guid>
		<description><![CDATA[The FCC has submitted a notice of proposed rule making (NPRM) to attempt to create an exception in the Part 97 rules to allow hams to participate in disaster drills on behalf of their employer. Currently, for amateurs to participate in drills on behalf of a government agency, the agency must submit a waiver to [...]]]></description>
			<content:encoded><![CDATA[<p>The FCC has submitted a notice of proposed rule making (NPRM) to attempt to create an exception in the Part 97 rules to allow hams to participate in disaster drills on behalf of their employer. Currently, for amateurs to participate in drills on behalf of a government agency, the agency must submit a waiver to the FCC for permission. Now, <a href="http://www.innismir.net/article/385">I have said before that I&#8217;m a fan of the waiver process</a> and I think that it has its place. However, I feel that giving blanket immunity to such things is not a good idea. I think I&#8217;m very much in the minority in this opinion, but after reading <a href="http://www.innismir.net/article/385" target="_blank">the comments submitted by Mark, K6HX</a>, I felt my Quixote-esque ability to tilt at windmills stir, so I went ahead and submitted my own.</p>
<p><a href="http://fjallfoss.fcc.gov/ecfs/comment/view?id=6015547515" target="_blank">My comments on FCC Docket 10-72</a></p>
<p>Let us see what happens&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.innismir.net/article/494/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Big career changes ahead &#8212; Goodbye InfoSec.</title>
		<link>http://www.innismir.net/article/490</link>
		<comments>http://www.innismir.net/article/490#comments</comments>
		<pubDate>Thu, 01 Apr 2010 14:01:34 +0000</pubDate>
		<dc:creator>Ben Jackson</dc:creator>
				<category><![CDATA[Information Security]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[aprilfools]]></category>
		<category><![CDATA[estonia]]></category>

		<guid isPermaLink="false">http://www.innismir.net/?p=490</guid>
		<description><![CDATA[As some of you know, Brady has recently celebrated his 1st birthday. It&#8217;s been a long year and as it&#8217;s worn on, my commute (two hours each way end to end) has often left me frustrated due to the lack of time with my son. More and more often, I have wondered, despite loving my [...]]]></description>
			<content:encoded><![CDATA[<p>As some of you know, Brady has recently celebrated his 1st birthday. It&#8217;s been a long year and as it&#8217;s worn on, my commute (two hours each way end to end) has often left me frustrated due to the lack of time with my son. More and more often, I have wondered, despite loving my current job and the people that I work with, if it was worth the time it was taking away from my family. Yesterday, as I had to telecommute due to the <a href="http://transportation.blog.state.ma.us/blog/2010/04/massdot-thursday-am-flood-update.html">epic flooding that shut down Route 140</a> I was able to play with my son before getting him ready for bed. It was during this I had a moment of clarity: It wasn&#8217;t worth it.</p>
<p>After putting him to bed and discussing it with my wife, I started weighing my options to figure out a way to allow me to work near my family, make my own hours, and hopefully live comfortably. After thinking about it more and more, I came to the realization that InfoSec lifestyle wasn&#8217;t cutting it anymore and that I was essentially fighting a losing battle. I&#8217;ve always been a bit of a <a href="http://easydamus.com/chaoticneutral.html">chaotic neutral</a> person and thusly I came to the conclusion that the best way to get what I want is to switch sides and move over to the darker realms of the Internet. As in my old job I monitored them daily, it was easy to reach out to my former adversaries and start inquiring about positions within their organization. They were very receptive and were happy to get someone with my portfolio, so I was able to negotiate a tidy signing bonus as long as relocation costs.</p>
<p>Yes, you read that right, relocation. We are all moving to Estonia. This may seem like a big move, but I have always wanted to set out and blaze a new trail beyond my comfort zone, so this was right up my alley. With Brady just picking up Portuguese and English, adding Estonian on top of that will do wonders for his development. Finding a new house would be a worry, but thankfully Peeter, my new boss, has an associate, Mikhail, that was able to get me a a killer deal on <a href="http://www.viviun.com.nyud.net/AD-119370/">some waterfront property</a> in <a href="http://en.wikipedia.org/wiki/Hiiumaa">Hiiumaa</a>. He was even able to get the seller to go way below their asking price! Plus, they <span style="text-decoration: line-through;">have a very decentralized structure</span> are fans of working from home, so I should be able to get away with only showing up to meetings a couple times a month off-island. This is an ideal situation and everyone in the Jackson household is excited.</p>
<p>I know this might come to a shock to some of my InfoSec friends and it may seem like I&#8217;m abandoning them for &#8220;the other team&#8221; &#8212; and I&#8217;m sorry if you feel this way. This was the best option available to me to continue working in the field I love that will allow me to be close to my family. I sincerely hope that despite now me being an adversary, we can still remain cordial and reasonable to each other and can remain friends. Of course, trusted friends should feel free to contact me if you are interested in joining me on this great adventure, as we are currently looking for people who have experience in the field and like to work in the trenches.</p>
<p>I&#8217;ll be chronicling the move and the adventure of emigrating int he upcoming weeks, this should be interesting on so many levels. I need to start researching how one gets an Amateur Radio license in Estonia.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.innismir.net/article/490/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>More Malware DNS Cache Scraping</title>
		<link>http://www.innismir.net/article/483</link>
		<comments>http://www.innismir.net/article/483#comments</comments>
		<pubDate>Fri, 26 Mar 2010 02:37:01 +0000</pubDate>
		<dc:creator>Ben Jackson</dc:creator>
				<category><![CDATA[Information Security]]></category>
		<category><![CDATA[infosec]]></category>
		<category><![CDATA[malware]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[zeus]]></category>

		<guid isPermaLink="false">http://www.innismir.net/?p=483</guid>
		<description><![CDATA[There has been some impressive hoopla over the ZeuS DNS scraper I posted last week. There&#8217;s been even more chatter then I expected. I&#8217;ve received nothing but good feedback and have even gotten tweeted by Mikko Hyppönen and Lenny Zeltser, two people I have immense respect for. Anyway, I have continued messing around with the [...]]]></description>
			<content:encoded><![CDATA[<p>There has been some impressive hoopla over the ZeuS DNS scraper I posted last week. There&#8217;s been even more chatter then I expected. I&#8217;ve received nothing but good feedback and have even gotten tweeted by <a href="http://twitter.com/mikkohypponen/status/10737210322">Mikko Hyppönen</a> and <a href="http://twitter.com/lennyzeltser/status/11036650725">Lenny Zeltser</a>, two people I have immense respect for. Anyway, I have continued messing around with the script, found and squashed a few bugs, and added a few features. So, now, I am releasing:</p>
<ul>
<li><a href="http://www.innismir.net/etc/zeusdnsscrape-0.3.4.txt">zeusdnsscrape.pl</a> &#8211; v0.3.4</li>
</ul>
<p>All of <a href="http://www.innismir.net/article/467">the old flags</a> should continue to work, and most of the changes are under the hood. There is, however, one major bug that was squashed: apparently the old version would never update the local copy of the ZeuS domain block list, even when it was supposed to. So, I would highly recommend everyone use this newer version. The big feature that has been added in this script is the ability to limit the rate of queries being fed to the DNS server. When I was running v0.3, I would occasionally run into problems where the script would stall for a bit, presumably when the DNS server didn&#8217;t respond fast enough. Worried that the sheer amount of queries may be overwhelming the server and also trying to make this as low-impact as possible for folks to run, I added he &#8211;rate flag in which you can specify how many queries per second the script should send.</p>
<p>So, if you wanted to run it at 30 queries per second:</p>
<pre>perl zeusdnsscraper.pl --server 192.168.1.2 --server 192.168.1.3 --rate 30</pre>
<p>If no rate is specified, the script currently defaults at 25 queries per second, which (I assume)  most normal DNS servers should be able to easily handle without breaking  a sweat.</p>
<p>Also, this might probably the last version of this tool in it current form. I currently have a new and improved version baking in the oven that expands the capabilities and dataset of the tool. I hope to have this out and released within the next week or so.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.innismir.net/article/483/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Tale of Two Skiddies&#8230;</title>
		<link>http://www.innismir.net/article/478</link>
		<comments>http://www.innismir.net/article/478#comments</comments>
		<pubDate>Wed, 24 Mar 2010 13:12:17 +0000</pubDate>
		<dc:creator>Ben Jackson</dc:creator>
				<category><![CDATA[Information Security]]></category>
		<category><![CDATA[Social Web]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://www.innismir.net/?p=478</guid>
		<description><![CDATA[&#8230; or, how selective prosecution of computer crimes is causing more problems then it&#8217;s solving. Allow me to introduce you to two script kiddies: David Kernell and Michael Mooney. One of which is currently on trial for accessing computers in an unauthorized manner, the other is currently scott free for doing the same. Why is [...]]]></description>
			<content:encoded><![CDATA[<p>&#8230; or, how selective prosecution of computer crimes is causing more problems then it&#8217;s solving.</p>
<p>Allow me to introduce you to two script kiddies: David Kernell and Michael Mooney. One of which is currently on trial for accessing computers in an unauthorized manner, the other is currently scott free for doing the same. Why is one being prosecuted for his crimes while the other is not? I think it&#8217;s a symptom of a larger problem in the legal system in the United States.</p>
<p>First off, a little background: In 2008, David Kernell aka &#8220;rubico&#8221; correctly guessed then Alaskan Governor Sarah Palin&#8217;s password reset question on her Yahoo mail account using public information sources such as Wikipedia. Kernell then proceeded to post the screenshots and other bits of information found in the account in a public forum on the Internet. A few months later, Michael Mooney aka &#8220;Mikeyy&#8221; found a security hole in the Twitter service which allowed a user to post Javascript in their &#8220;Bio&#8221; section. Mooney then decided that instead of doing the responsible thing and reporting this to Twitter, he should instead use the hole to hijack people&#8217;s Twitter account to at first promote a site he ran, then to sing his praises. You may remember me <a href="http://www.innismir.net/article/275">writing an article about what unfolded next</a>, but that&#8217;s another discussion entirely.</p>
<p>Now, today, Kernell is currently awaiting trial for his crimes in a Federal court in Knoxville. Mooney would have long faded into obscurity in my mind, but he decided to do some Google vanity searches on himself, came across my article, and decided to convince himself that I was <a href="http://twitter.com/Mikeyy_/status/10829794679">somehow jealous of his</a>&#8230; hmm&#8230; nope, not sure on that one, but anyway&#8230; After<a href="http://twitter.com/innismir/status/10896902042"> telling him in no uncertain terms about what I thought of him</a>, we got in a classic Internet argument.</p>
<p>After dealing with his inane ramblings and him trying trying to convince me that despite him admitting what he did broke the law what he did wasn&#8217;t illegal (Obviously, Mooney retained <a href="http://en.wikipedia.org/wiki/Schr%C3%B6dinger%27s_cat">Erwin Schrödinger</a> as counsel), I got to wondering why is Mooney free to drink Martinis, watch the sun rise, and <a href="http://mikeyy-security.com.nyud.net/">fancy himself as some kind of security consultant</a>, while Kernell is currently staring down a sentence in FPMITA prison? I understand that the Feds don&#8217;t have the time and inclination to investigate every little event, but the facts that Mooney admitted to doing it, his information is publicly available (Heck! Check his Twitter stream or his website and find his mobile number!), and that he&#8217;s admitted to breaking the law, the Feds are saying that while it&#8217;s not OK to break into a Vice Presidential candidate&#8217;s e-mail, you can hijack thousands of user&#8217;s computers to promote your website and get away with it, provided you don&#8217;t  do anything really nasty.</p>
<p>Something that has always concerned me is the selective prosecution of one computer crime and not of another. As someone who deals with the endless streams of attacks and scans coming down the SuperInfoBahn, &#8220;getting the bad guys&#8221; is a all too infrequent event. When incidents like the Mikeyy worm go un-prosecuted I feel that we are continuing to send the message to people that compromising a computer, website, or whatever, is fine provided that, you know, don&#8217;t do anything <em>really</em> bad, whatever that means. I think we&#8217;re essentially already looking at the <a href="http://en.wikipedia.org/wiki/Fixing_Broken_Windows">Fixing Broken Windows</a> theory at work: we&#8217;re not going after the crimes when their small, and thus, we&#8217;re continuing to see problems escalate. While I&#8217;m not suggesting that if we go after the small crimes we&#8217;ll see ZeuS drop off the face of the planet next week, it might start to take a bite out of younger people trying to compromise each other via <a href="http://sunbeltblog.blogspot.com/2010/03/neopets-paintbrush-generators-lead-to.html">Rouge Neopets Paintbrush Generators</a>.</p>
<p>I don&#8217;t know how it&#8217;s come to be that Kernell is being prosecuted while Mooney is not, I&#8217;m sure going after such a high profile target under USSS protection definitely made it hard for Kernell to slide back into obscurity. I&#8217;m not suggesting that Kernell be let off  the hook for his crimes, but, I don&#8217;t think anyone can disagree that it&#8217;s fair that Mooney isn&#8217;t being held responsible for his crimes, while Kernell is.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.innismir.net/article/478/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Finding Malware on your network via cached DNS entries</title>
		<link>http://www.innismir.net/article/467</link>
		<comments>http://www.innismir.net/article/467#comments</comments>
		<pubDate>Fri, 19 Mar 2010 03:16:24 +0000</pubDate>
		<dc:creator>Ben Jackson</dc:creator>
				<category><![CDATA[Information Security]]></category>
		<category><![CDATA[infosec]]></category>
		<category><![CDATA[malware]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[zeus]]></category>

		<guid isPermaLink="false">http://www.innismir.net/?p=467</guid>
		<description><![CDATA[UPDATE: There&#8217;s a new version, with 25% less bugs! Use this instead. As some of you may know, I wear an Incident Response hat within my organization. As I like to be proactive and actively search for issues rather then just be an IDS alert monkey, I love pages like the Malware Domain List, the [...]]]></description>
			<content:encoded><![CDATA[<p><strong>UPDATE:</strong> There&#8217;s a new version, with <em>25% less</em> bugs! <a href="http://www.innismir.net/article/483">Use this instead</a>.</p>
<p>As some of you may know, I wear an Incident Response hat within my organization. As I like to be proactive and actively search for issues rather then just be an IDS alert monkey, I love pages like the <a href="http://www.malwaredomainlist.com">Malware Domain List</a>, the <a href="https://zeustracker.abuse.ch/index.php">ZeuS Tracker</a>, and <a href="http://www.malwareurl.com/">malwareurl.com</a>. While these are great resources, it is a bit difficult attempting to take the lists and apply them to the environment; most of their usefulness comes from when you have a questionable URL and need to see if someone else has reported it as a bad site. A great service, but not proactive.</p>
<p>While staring at the <a href="https://zeustracker.abuse.ch/blocklist.php">ZeuS Tracker Domain Block list</a> and trying my usual method of <span style="text-decoration: line-through;">snipe hunting</span> manually entering domains to query the firewalls, a moment of inspiration hit: I don&#8217;t care about all the domains, just the domains that people visit. Who knows what domains people visit? The DNS servers! Now it was just a question of trying to coax the information out of the DNS servers. Thankfully, <a href="http://pauldotcom.com/">PaulDotCom Security Weekly</a> came to the rescue: They have been talking about getting information out of DNS servers during penetration tests and a simple non-recursive DNS lookup on the local DNS server can tell you if someone queried for the host recently. A couple of quick experiments to verify this fact on my work&#8217;s main DNS servers confirmed this fact, and I set to work.</p>
<p>My first attempt was a simple script to take a pre-chewed version of the ZeuS Domain list, feed it through dig and pipe the output through grep. It worked, but I wanted something a touch more automated. Over the next couple of nights on the train, I whipped up a tool to automate the process a little more. The resulting tool is the <a href="http://www.innismir.net/etc/zeusdnsscrape.txt">ZeuS DNS Scraper</a>. It&#8217;s a simple script written in Perl and should work straight out of the box with the default modules included in a Perl distribution.</p>
<h2>Running the Script</h2>
<p>Running the tool is fairly simple, there are only 4 options: &#8211;server, specifying which server(s) to query, &#8211;file, specifying where to put the downloaded ZeuS Tracker block list (defaulting to /tmp/ztbl.txt) , &#8211;download/&#8211;nodownload which specifies whether or not the script should attempt to download the block list, and &#8211;debug, which specifies the verbosity of the script.</p>
<p>A typical command line would be:</p>
<pre>perl zeusdnsscraper.pl --server 192.168.1.2 --server 192.168.1.3
</pre>
<p>Which would download the block list, and then proceed to query 192.168.1.2 and 192.168.1.3 for each entry in the block list. You can specify as many as many servers as you like, however, the block list often hovers around a thousand entries, so each additional server adds another thousand or so queries.</p>
<p>Alternatively, once the list is downloaded, the script will download the block list only if the local copy is older then 60 minutes, (don&#8217;t worry it doesn&#8217;t update that frequently). You can also specify that the script doesn&#8217;t download the list again with the &#8211;nodownload option:</p>
<pre>perl zeusdnsscraper.pl --server 192.168.1.2 --server 192.168.1.3 --nodownload
</pre>
<p>You can also turn on debugging with the debug option, which will display every step in the process:</p>
<pre>perl zeusdnsscraper.pl --server 192.168.1.2 --server 192.168.1.3 --debug
</pre>
<h2>Interpreting Results</h2>
<p>When the script is run in default mode, a &#8216;.&#8217; will appear after each query, while in debug mode it will display the result of the query and whether or not it found an entry.</p>
<h3>What You Want To See</h3>
<pre>Completed!
NNNN queries made, 0 entries found! Hooray!
</pre>
<p>In this example, NNNN would be the number of queries sent, remember this increases which each additional server you need to query, and it has found 0 entries, indicating that the DNS servers queried have no cached entries for any of the domains. Congratulations, pat yourself on the back and grab yourself a nice frosty beverage from the refrigerator.</p>
<h3>What You Do Not Want To See</h3>
<pre>NNNN queries made, 4 entries found. Uh Oh.
W.X.Y.Z has an entry in it's cache for www.example.net: 10.1.2.3
W.X.Y.Z has an entry in it's cache for www.example.net: 10.1.2.4
W.X.Y.Z has an entry in it's cache for www.example.com: 10.4.5.6
W.X.Y.Z has an entry in it's cache for www.example.org: 10.7.8.9
</pre>
<p>Well, crap. This time the beverage you need is probably kept in your <a href="http://attrition.org/news/content/flask.html">attrition.org flask</a>. NNNN is the number of queries the script made and the &#8220;4&#8243; in this example is number of results found. In this example, &#8220;www.example.net&#8221; was cached with two separate addresses, while &#8220;www.example.com&#8221; and &#8220;www.example.org&#8221; both have one apiece. The W.X.Y.Z in the above example is the DNS server that responded, and the 10.X.X.X addresses are the IP addresses that the DNS server responded with. These IP addresses are what you are interested in.</p>
<h2>My DNS Servers Have Cached Entries! Now What?</h2>
<p>This is where some good old detective work comes in. The presence of the cached entries on your DNS server only means that one of the clients on your network asked for the entry in question. Normally, it&#8217;s time to start plugging IP addresses in your firewall logs to see who&#8217;s been visiting them. Then it&#8217;s time to start cleaning.</p>
<h2>Caveats</h2>
<p>Now, obviously, this sends a boat load of queries in a very rapid fashion to DNS servers. Make sure that your DNS server and your connection can handle the load and don&#8217;t run it against DNS servers that you do not have permission to do so. Also, some of the DNS entries have small enough TTLs that they may expire quickly, meaning that even if the script comes back clean, there could still be infected hosts.</p>
<h2>Thanks</h2>
<p>I&#8217;d just like to say a big thanks to the folks over at <a href="http://www.abuse.ch/">abuse.ch</a> for hosting the ZeuS Tracker. It&#8217;s a handy tool and it&#8217;s invaluable if you&#8217;re running even a moderately sized network.</p>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 141px; width: 1px; height: 1px; overflow: hidden;">
<pre>ZeuS DNS Scraper</pre>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.innismir.net/article/467/feed</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>LMSD just a sign of things to come?</title>
		<link>http://www.innismir.net/article/462</link>
		<comments>http://www.innismir.net/article/462#comments</comments>
		<pubDate>Thu, 25 Feb 2010 04:02:09 +0000</pubDate>
		<dc:creator>Ben Jackson</dc:creator>
				<category><![CDATA[Information Security]]></category>
		<category><![CDATA[Politics]]></category>
		<category><![CDATA[bullies]]></category>
		<category><![CDATA[infosec]]></category>
		<category><![CDATA[lsmd]]></category>
		<category><![CDATA[privacy]]></category>
		<category><![CDATA[school]]></category>

		<guid isPermaLink="false">http://www.innismir.net/?p=462</guid>
		<description><![CDATA[Over the past few weeks, the Lower Merion School District has been in the news due to their use of school issued laptops to photograph, monitor, and otherwise invade the privacy of students that used them. The information security community I follow on Twitter, Martin Mckeay in general, are up in arms regarding the school&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>Over the past few weeks, the <a href="http://www.lmsd.org/">Lower Merion School District</a> has been<a href="http://www.nbcphiladelphia.com/news/local-beat/WebcamGate-Affects-Schools-Nationwide.html"> in the news</a> due to their use of school issued laptops to photograph, monitor, and otherwise invade the privacy of students that used them. The information security community I follow on Twitter, <a href="http://www.mckeay.net/2010/02/20/dont-spy-on-my-children/">Martin Mckeay in general</a>, are up in arms regarding the school&#8217;s behavior, and rightly so. But, with the way things are blowing, at least in Massachusetts, are the things that LMSD did just a sign of things to come?</p>
<p>In Massachusetts, there have been a couple high profile suicides over the past year by students that were the result of being &#8220;bullyed&#8221; at school. While each death is a tragedy, the Massachusetts Legislature, backed by the public&#8217;s outrage, is trying to pass &#8220;anti-bullying&#8221; legislation in order to somehow fix the problem. The legislation covers the usual bases, making it illegal to harass students at school, but the bill also covers&#8230;</p>
<blockquote><p>&#8230;bullying through, without limitation, electronic mails, cellular phones, instant messages, text messages or websites&#8230;</p></blockquote>
<p>&#8230;and that each school district must prohibit&#8230;</p>
<blockquote><p>&#8230;bullying through the use of the district computer system while on or off campus&#8230;</p></blockquote>
<p>Of course, the legislation is, like any law, vague in how the school is to accomplish such things.</p>
<p>With schools keen to embrace the &#8220;computers and broadband for everyone&#8221; mantra, and with the possibility of it becoming illegal for students to harass one another online, are we going to see more mandatory school issued computers for students tightly locked down with monitoring software and all activities logged? With the recent groundswell of support by parents of stiffer penalties I worry about whether or not there would be similar outrage if such an incident like the one in LMSD occurs again. Will the general public be aghast or pleased at the fact that a school district monitors such behavior in a few years time? Even more concerning, as <a href="http://www.computerworld.com/s/article/9161958/Pa._school_spying_case_What_s_the_law_?taxonomyId=15">pointed out in ComputerWorld</a>, schools get to slide sometimes as they have a sort of quasi-guardianship of students. It scares me that  if such legislation is passed and such an incident occurs again, the school may be able to legally hide behind such legislation saying that they&#8217;re trying to protect the general student populace as required by law.</p>
<p>Now, I am no fan of bullies, as I&#8217;m sure any computer geek that went to public schools can attest. However, despite the fact that everyone can agree that students harassing other students is bad, the schools should not have the right to monitor and investigate any behavior that happens physically off school grounds. Such areas are the parent&#8217;s and, if necessary, law enforcement&#8217;s domain. Also, as we start going even further down this slippery slope, are we going to see schools wanting to gain more access into student&#8217;s personal accounts if they access them from a school district computer? Wow! Check it out! This slope is <em>slippery</em>!</p>
<p>Any such legislation that mandates the protection of students must also mandate due process and protect the privacy of students, both the harassed and harassers. Otherwise we may start to see incidents like the one at LMSD stop being the exception and start being the rule.</p>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px;">http://www.mckeay.net/2010/02/20/dont-spy-on-my-children/B</div>
]]></content:encoded>
			<wfw:commentRss>http://www.innismir.net/article/462/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
