<?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>hypatia dot ca &#187; security</title>
	<atom:link href="http://hypatia.ca/category/security/feed/" rel="self" type="application/rss+xml" />
	<link>http://hypatia.ca</link>
	<description>Leigh Honeywell&#039;s Blog</description>
	<lastBuildDate>Thu, 08 Jul 2010 05:28:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Vulnerability Disclosure for Open Source projects</title>
		<link>http://hypatia.ca/2009/07/vulnerability-disclosure-for-open-source-projects/</link>
		<comments>http://hypatia.ca/2009/07/vulnerability-disclosure-for-open-source-projects/#comments</comments>
		<pubDate>Fri, 03 Jul 2009 06:29:14 +0000</pubDate>
		<dc:creator>Leigh Honeywell</dc:creator>
				<category><![CDATA[security]]></category>
		<category><![CDATA[basie]]></category>
		<category><![CDATA[markus]]></category>
		<category><![CDATA[school]]></category>

		<guid isPermaLink="false">http://hypatia.ca/?p=143</guid>
		<description><![CDATA[These are the notes and some links for a brief talk I gave a few weeks ago to my classmates in the summer CS project class I&#8217;m taking at U of T.  We&#8217;re working on the Basie and Markus projects.  Both are web apps; Basie is a software project management app built on Django, and [...]]]></description>
			<content:encoded><![CDATA[<p>These are the notes and some links for a brief talk I gave a few weeks ago to my classmates in the summer CS project class I&#8217;m taking at U of T.  We&#8217;re working on the Basie and Markus projects.  Both are web apps; Basie is a software project management app built on Django, and Markus is a CS-specific marking / grading app built on Rails.</p>
<p>The debate over full disclosure goes back hundreds of years in the locksmithing world.  Locksmiths were historically very secretive about weaknesses in their products; interestingly, they still are &#8211; <a href="http://www.crypto.com/papers/kiss.html">here</a>&#8217;s an interesting note on the subject from a few years ago.</p>
<p>There&#8217;s nuance and detail to the recent history of disclosure practices which Wikipedia does <a href="http://en.wikipedia.org/wiki/Full_disclosure">a good treatment of</a>, but it&#8217;s fair to say that today there are three broad categories of practices:</p>
<ul>
<li>silent patching (no disclosure) &#8211; this is a bad idea for fairly obvious reasons, except (some argue) in edge cases like the Linux kernel (the &#8220;every kernel bug is a security bug&#8221; argument) (<a href="http://kerneltrap.org/node/4540">one discussion of this</a>, <a href="http://kerneltrap.org/Linux/Security_Bugs_and_Full_Disclosure">another</a>)</li>
<li>partial disclosure, where one issues the patch before explaining full details of the vulnerability</li>
<li>full disclosure, where vulnerability details (and sometimes exploit code) are released at the same time as the patch is issued</li>
</ul>
<p>Aside from how much is being disclosed, there&#8217;s the question of  <a href="http://en.wikipedia.org/wiki/Responsible_disclosure"><em>responsible disclosure</em></a> on the part of security researchers, which is in a nutshell the idea of giving software vendors a set amount of time to respond to security issues before going public with them.</p>
<p><strong>How to Screw Up Disclosure</strong></p>
<ul>
<li>don&#8217;t give credit in your vulnerability advisories</li>
<li>don&#8217;t even bother publishing advisories (silent patching)</li>
<li>be unresponsive</li>
<li>demand excessive, unreasonable timeframes for patching (this is of course subjective)</li>
<li>make people sign NDAs (!)</li>
<li>threaten to sue people</li>
</ul>
<p>The last two aren&#8217;t generally screwups committed by Open Source projects, of course :)<br />
<strong>How to do it right &#8211; best practices</strong></p>
<ul>
<li>have a clear security contact on your site, no more than a click away from the homepage, and easily googlable with the string &#8220;$projectname security&#8221;</li>
<li>have a gpg key posted, with a good web of trust, for that contact</li>
<li>have email to that contact go to an email list with a clear process for dealing with it so that you don&#8217;t drop the ball, or have it filed into the bugtracker automagically (in a private bug!!11)</li>
<li>have an announce-only security mailing list for your users, and post issues to it ASAP when they come out!  An RSS feed works too.  Do both!</li>
<li>ensure that someone in your project monitors lists such as full-disclosure and bugtraq for issues in both your project, upstream frameworks, and your infrastructure.  For just monitoring your project, a Google Alert works well too. &#8220;project name + bug or vulnerability or security&#8221;.  People sometimes announce vulns without disclosing at all; you want to catch these.</li>
<li>if the project ends up getting abandoned at some point in the future, at the <em>very least</em> post a warning that it&#8217;s deprecated and unmaintained even for security issues, and possibly take down the code.</li>
</ul>
<p><strong>Specific Issues for web apps</strong></p>
<ul>
<li>you may have a widely deployed base of users.  An auto-update system such as WordPress&#8217;s is awesome for getting them to $%^$&amp;&amp;* patch!</li>
<li>the framework you&#8217;re building on may have (security) bugs too.</li>
<li>your code may be customized by users, which makes them lazy about patching &#8211; a good plugin architecture can help mitigate this.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://hypatia.ca/2009/07/vulnerability-disclosure-for-open-source-projects/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>meshU 2009 &#8211; writing (more) secure software</title>
		<link>http://hypatia.ca/2009/04/meshu-2009-writing-more-secure-software/</link>
		<comments>http://hypatia.ca/2009/04/meshu-2009-writing-more-secure-software/#comments</comments>
		<pubDate>Tue, 07 Apr 2009 06:14:59 +0000</pubDate>
		<dc:creator>Leigh Honeywell</dc:creator>
				<category><![CDATA[conferences]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[meshu]]></category>
		<category><![CDATA[meshu09]]></category>

		<guid isPermaLink="false">http://hypatia.ca/?p=124</guid>
		<description><![CDATA[Today at the meshU conference I gave a talk about secure programming, with a focus on the web.  There were 2 token slides for the C and C++ devs out there, which ended up working perfectly because there were only two people in the room who wrote C/C++ :)
I mostly touched on stuff from OWASP&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>Today at the <a href="http://meshu.ca">meshU</a> conference I gave a talk about secure programming, with a focus on the web.  There were 2 token slides for the C and C++ devs out there, which ended up working perfectly because there were only two people in the room who wrote C/C++ :)</p>
<p>I mostly touched on stuff from <a href="http://www.owasp.org/index.php/Main_Page">OWASP</a>&#8217;s vast collection of resources,specifically their <a href="http://www.owasp.org/index.php/Secure_Coding_Principles">top ten principles of secure programming</a>, and their <a href="http://www.owasp.org/index.php/Top_10_2007">top ten web application vulnerabilities</a>.  Slides are after the jump, but I wanted to include some related links to things which came up during the talk:</p>
<ul>
<li><a href="http://isc.sans.org/diary.html?storyid=6136&amp;rss">SANS says to have good, visible security contact info</a></li>
<li><a href="http://ha.ckers.org/blog/20090406/hacking-without-all-the-jailtime/">Some more web app hacking learning resources from RSnake</a></li>
</ul>
<p>Enjoy the slides!  Slideshare messed up the formatting of the additional notes, so for full effect I&#8217;d download them from <a href="http://hypatia.ca/wp-content/uploads/2009/04/break-it-while-you-make-it-revised.odp">here</a>.</p>
<p><span id="more-124"></span></p>
<div style="width:425px;text-align:left" id="__ss_1257773"><a style="font:14px Helvetica,Arial,Sans-serif;display:block;margin:12px 0 3px 0;text-decoration:underline;" href="http://www.slideshare.net/hypatiadotca/break-it-while-you-make-it-writing-more-secure-software?type=presentation" title="Break it while you make it: writing (more) secure software">Break it while you make it: writing (more) secure software</a><object style="margin:0px" width="425" height="355"><param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=breakitwhileyoumakeit-revised-090407005820-phpapp02&#038;rel=0&#038;stripped_title=break-it-while-you-make-it-writing-more-secure-software" /><param name="allowFullScreen" value="true"/><param name="allowScriptAccess" value="always"/><embed src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=breakitwhileyoumakeit-revised-090407005820-phpapp02&#038;rel=0&#038;stripped_title=break-it-while-you-make-it-writing-more-secure-software" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"></embed></object>
<div style="font-size:11px;font-family:tahoma,arial;height:26px;padding-top:2px;">View more <a style="text-decoration:underline;" href="http://www.slideshare.net/">presentations</a> from <a style="text-decoration:underline;" href="http://www.slideshare.net/hypatiadotca">Leigh Honeywell</a>.</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://hypatia.ca/2009/04/meshu-2009-writing-more-secure-software/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Career talk at SpoofIT</title>
		<link>http://hypatia.ca/2009/03/career-talk-at-spoofit/</link>
		<comments>http://hypatia.ca/2009/03/career-talk-at-spoofit/#comments</comments>
		<pubDate>Sun, 08 Mar 2009 22:37:49 +0000</pubDate>
		<dc:creator>Leigh Honeywell</dc:creator>
				<category><![CDATA[conferences]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[presentations]]></category>
		<category><![CDATA[spoofit]]></category>

		<guid isPermaLink="false">http://hypatia.ca/?p=100</guid>
		<description><![CDATA[I gave a talk a few weeks ago at SpoofIT, the IT Security club at UOIT.  I referred to a number of links and resources during the talk but haven&#8217;t had a chance until now to post a list of them.  I&#8217;ve also written up a little summary of the talk for those who missed [...]]]></description>
			<content:encoded><![CDATA[<p>I gave a talk a few weeks ago at <a href="http://spoofit.ca/">SpoofIT</a>, the IT Security club at UOIT.  I referred to a number of links and resources during the talk but haven&#8217;t had a chance until now to post a list of them.  I&#8217;ve also written up a little summary of the talk for those who missed it.  I owe a huge debt of inspiration to James Arlen&#8217;s talk at The Last Hope, which you can download at the <a href="http://tinyurl.com/hackarchive">hackermedia archive</a> or on bittorrent at the <a href="http://hopetracker.donthax.me/">HOPE tracker</a>.  It&#8217;s the one titled &#8220;From Black Hat to Black Suit&#8221;.  He&#8217;s been doing this a lot longer than I have, so go watch his talk too :)<br />
<span id="more-100"></span></p>
<ol>
<li>figure out what you want out of a career in information security &#8211; technical mastery, a cushy job, organizational power?  There are lots of reasons to want to work in this field, but you should put some thought into what <em>your</em> reasons are.</li>
<li>do your networking, especially while you&#8217;re still in school.  Build your network before you need it.  Go to user groups (<a href="http://spoofit.ca/">SpoofIT</a>, <a href="http://task.to/">TASK</a>, <a href="http://www.owasp.org/index.php/Toronto">OWASP</a>, <a href="http://www.unixunanimous.org/">UU</a>, <a href="http://www.gtabug.ca/">GTABUG</a>, Windows-related ones I&#8217;ve never heard of, etc.).  Go to conferences &#8211; you can do it on the cheap, pay your own way when necessary.  Participate in the appropriate professional organizations (but choose wisely).  Take advantage of the network you have by default through being at school &#8211; cultivate those relationships.</li>
<li>get your big break.  Build an online &#8220;brand&#8221; (barf) even if it seems cheesy (see this blog?  That&#8217;s what I&#8217;m trying for here :) ).  Remember that the people hiring you will Google you and do things like compare your LinkedIn to your paper résumé.  They will read your blog and Twitter and look for red flags.  This can be a good thing &#8211; I don&#8217;t try to hide that I&#8217;m a feminist, because I don&#8217;t want to work anywhere that would not hire me based on that.  Lock down the privacy settings on your Facebook, though.  Volunteer.  Check out <a href="http://hackersforcharity.org/HFC/Hackers_For_Charity.html">Hackers for Charity</a> (when Johnny gets the site back up) and <a href="http://www.techsoupcanada.ca/">TechSoup</a>.  Work HARD on your soft skills.  Learn to speak fluent Human, not just fluent Geek.  But be careful, and pick the organization you have your big break at carefully.  Judge organizations harshly.  Read the <a href="http://en.wikipedia.org/wiki/The_Mythical_Man-Month">Mythical Man-Month</a>.  We&#8217;re still making many of the same mistakes.  Orgs which have parallel tracks for technical and managerial advancement are a very good sign.  No seriously, read the Mythical Man-Month.  Pay attention to the interactions you observe while interviewing.  The interview really is about you checking out the company as much as them checking you out.</li>
<li>build yourself up.  Try things which stretch your abilities and comfort zone.   Figure out how to survive within whatever organization you&#8217;re in &#8211; it won&#8217;t be easy.  Pay your dues, whatever they are.  Expect to not be doing as much strictly security work as you want.  Expect to do sysadminning and lots of log-related stuff.  I think the idea of having a degree in security is too young to get you out of this entirely, but it will help.</li>
<li>try different things.  Big companies, small companies, non-profits, public service.  The latter two will likely make you crazy; if they don&#8217;t, you&#8217;re very lucky.  Be a generalist, and learn a bit of everything.  But make sure you stay a year.  It looks bad otherwise.</li>
</ol>
<p>Some conference-related advice, from someone who&#8217;s lost count of how many I&#8217;ve attended:</p>
<ol>
<li>go.  They are the most efficient way to network, bar none.</li>
<li>if you can&#8217;t go, download and watch talks.  The hackermedia archive is the first place to look: <a href="http://tinyurl.com/hackarchive">http://tinyurl.com/hackarchive</a>.  Con websites will also frequently post talks soon after the con, and many cons stream content live as well.</li>
<li>talk to the speakers, but find a way to bring value to the conversation, and don&#8217;t be a fanboy/girl.  They want to hear how it relates to what you&#8217;ve been studying &#8211; that&#8217;s a good way to start the conversation.</li>
<li>bringing value to the conversation is the general rule.  Have a cool project you&#8217;re working on for fun, or some interesting coursework you can talk about.  Go out of your way to be nice to people.  Bring business cards, and write key things on them before you hand them out, and on any cards you receive from others.  I love my moo cards, even if they are a geek cliché.  Put your GPG key on them.  Follow up on contacts.  Don&#8217;t be forgettable, but don&#8217;t be remembered for being a jerk.  And, uh, party wisely lest embarrassing photos of you end up on Flickr :)</li>
<li>present at them!  The bar is lower than you think.  I&#8217;ve seen some really crappy talk at conferences.  You can do better.  Presenting well will grant you amazing opportunities and exposure.  Do manage the press aggressively, and be careful what sound-bites you offer up in interviews.  Reporters aren&#8217;t your friends, unfortunately.</li>
</ol>
<p>I spoke a bit about <a href="http://defcon.org/">Defcon</a>, <a href="http://notacon.org">NOTACON</a>, and <a href="http://sector.ca/">SecTor</a>.  There&#8217;s also a great calendar of all sorts of hacker / security events <a href="http://www.google.com/calendar/embed?src=pe2ikdbe6b841od6e26ato0asc%40group.calendar.google.com">here</a>.</p>
<p>None of these are hard rules, just things I&#8217;ve found to work, learned the hard way by doing the opposite, or been told by people whose advice I value.  I hope you find them useful.</p>
<p>-Leigh</p>
]]></content:encoded>
			<wfw:commentRss>http://hypatia.ca/2009/03/career-talk-at-spoofit/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>25C3 Day 3</title>
		<link>http://hypatia.ca/2009/01/25c3-day-3/</link>
		<comments>http://hypatia.ca/2009/01/25c3-day-3/#comments</comments>
		<pubDate>Sat, 03 Jan 2009 04:22:52 +0000</pubDate>
		<dc:creator>Leigh Honeywell</dc:creator>
				<category><![CDATA[conferences]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[25C3]]></category>
		<category><![CDATA[CCC]]></category>

		<guid isPermaLink="false">http://hypatia.ca/?p=59</guid>
		<description><![CDATA[Paul and I turned in pretty early on Day 2 and managed to make the first talk on Day 3, though not without the assistance of Club Mate and Starbucks.  Day 3 was where things started to get really hairy in terms of being able to get into rooms to see the talks I wanted [...]]]></description>
			<content:encoded><![CDATA[<p>Paul and I turned in pretty early on Day 2 and managed to make the first talk on Day 3, though not without the assistance of Club Mate and Starbucks.  Day 3 was where things started to get really hairy in terms of being able to get into rooms to see the talks I wanted to see; I ended up missing the <a href="http://events.ccc.de/congress/2008/Fahrplan/events/3032.en.html">RFID talk I really wanted to see </a>in favor of getting to the room for the Storm talk half an hour early.  But that&#8217;s what conference recordings are for, isn&#8217;t it!</p>
<p>As before, be sure to also check out <a href="http://blog.security4all.be/2009/01/25c3-day-3-overview-going-to-warp-speed.html">Security4All&#8217;s post on Day 3</a> for a more Belgian perspective on things.</p>
<p><span id="more-59"></span></p>
<div class="wp-caption aligncenter" style="width: 510px"><a title="inside of a GSM microBTS by hypatiadotca, on Flickr" href="http://www.flickr.com/photos/hypatiadotca/3146756857/"><img style="margin-left: 20px; margin-right: 20px;" src="http://farm4.static.flickr.com/3200/3146756857_1197dc4e5d.jpg" alt="inside of a GSM microBTS" width="500" height="375" /></a><p class="wp-caption-text">BYOGSM</p></div>
<p><a href="http://events.ccc.de/congress/2008/Fahrplan/events/3007.en.html">Running your own GSM network</a></p>
<p>We&#8217;re really excited about the results from this talk at the <a href="http://hacklab.to">hacklab</a>, as we&#8217;re hoping to get a couple of cells (pending investigation of the appropriate Canadian licensing requirements) in order to build something awesome and shiny for <a href="http://har2009.org">Hacking At Random</a> next summer.</p>
<ul>
<li>the big &#8220;why&#8221;: they wanted to demo known (theoretical) security issues with GSM networks</li>
<li>the network authorizes mobile devices using their sims, the devices don&#8217;t do any sort of authorization against the network</li>
<li>copious &#8220;don&#8217;t try this at home&#8221; warnings &#8211; use a good dummy load, and don&#8217;t interfere with other operators, particularly military</li>
<li>like all telco / ITU protocols, the intelligence is in the network not the endpoints, protocols described as a &#8220;TDMA nightmare&#8221;</li>
<li>the base station they obtained (in 2006 on eBay, then bought the whole lot of 74 when they got the one working) is a Siemens BS-11 microBTS</li>
<li>there are a bunch of specifications of the base station in their slides, as well as a hierarchy of needed components</li>
<li>the documentation is available under NDA but 99% of the specs are available</li>
<li>they were able to get in touch with others running the same BTS</li>
<li>they got it basically working using an E1 card hooked up to a Linux PC, and you can too! (With the proper licensing of course)</li>
<li>fun fact from the talk: phones have code in them implementing &#8220;Egypt detection&#8221; as GPS is illegal in that jurisdiction; the phones detect that they are on an Egyptian network and disable the GPS in software</li>
<li>they also did an awesome demo which I won&#8217;t describe here &#8211; feel free to ask me about it offline</li>
</ul>
<p><a href="http://events.ccc.de/congress/2008/Fahrplan/events/3000.en.html">Stormfucker: Owning the Storm Botnet</a></p>
<p>As far as I could tell, the talk didn&#8217;t contain any new information that I hadn&#8217;t seen in other talks about Storm.  The researchers had thoroughly reverse-engineered the Storm bot and were able to control the remains of the botnet; it&#8217;s mostly or totally dead these days, however.</p>
<p><a href="http://events.ccc.de/congress/2008/Fahrplan/events/2596.en.html">SWF and the Malware Tragedy</a></p>
<p>This talk discussed some theoretical and some practical vulnerabilities in Adobe Flash, as well as how to use Flash as a sidechannel or a loader for other malware to obfuscate malicious code.  Flash can hide malicious code in externally referenced resources as well as internally stored objects, though fukami says that it does strange things to some kinds of media files which pre-empt their use in steganographic storage.</p>
<p>They also explored some behavioral analysys of ActionScript bytecode using <a href="http://code.google.com/p/erlswf/">erlswf</a>, an ActionScript disassembler written in Erlang.</p>
<p><a href="http://events.ccc.de/congress/2008/Fahrplan/events/2938.en.html">Methods for Understanding Targeted Attacks with Office Documents<br />
</a></p>
<div class="wp-caption alignright" style="width: 190px"><a title="targeted trojans by hypatiadotca, on Flickr" href="http://www.flickr.com/photos/hypatiadotca/3148480590/"><img src="http://farm4.static.flickr.com/3223/3148480590_19ac082f5c_m.jpg" alt="targeted trojans" width="180" height="240" /></a><p class="wp-caption-text">Oh, PowerPoint...</p></div>
<p>Bruce Dang&#8217;s talk and the conversation afterwards was one of the highlights of the Congress for me.  He went over the OLE structured storage format which these attacks leverage (in addition to PDF vulnerabilities), as well as a number of easy mitigation strategies (he didn&#8217;t mention using OpenOffice, cough cough).  He pointed at a few interesting things: <a href="http://www.us-cert.gov/cas/techalerts/TA05-189A.html">Technical Cyber Security Alert TA05-189A</a>; the <a href="http://docs.activestate.com/activepython/2.4/pywin32/pythoncom.html">pythoncom</a> wrapper for Microsoft&#8217;s COM API&#8217;s, and the <a title="Microsoft Office Isolated Conversion Environment" href="http://support.microsoft.com/kb/935865">MOICE</a> tool which converts documents into the much safer Office XML.  They also have a blog <a href="http://blogs.technet.com/swi/">here</a>.</p>
<p>I&#8217;m going to leave Day 4 to another post which I&#8217;ll put up tomorrow.</p>
<p>After chatting with Bruce and <a href="http://www.aculei.net/~shardy/">Seth</a> for a while I had dinner and eventually made my way to c-base again.  There was a hilarious auction in which I contributed to VHS acquiring the c-base server, a really great <a href="http://hackerspaces.org/wiki/Call-in">hackerspaces call-in</a> featuring about 20 people at c-base, a bunch from the US, Canada, and around Europe, as well as a caller from the <a href="http://www.ductape.co.za/">nascent space in Durban, South Africa</a> (zomg!).  Afterwards there was lots more conversation about hackerspaces in Canada and a zillion other things.  It was a great night.</p>
]]></content:encoded>
			<wfw:commentRss>http://hypatia.ca/2009/01/25c3-day-3/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>25C3 Day 2</title>
		<link>http://hypatia.ca/2009/01/25c3-day-2/</link>
		<comments>http://hypatia.ca/2009/01/25c3-day-2/#comments</comments>
		<pubDate>Sat, 03 Jan 2009 01:31:14 +0000</pubDate>
		<dc:creator>Leigh Honeywell</dc:creator>
				<category><![CDATA[conferences]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[25C3]]></category>
		<category><![CDATA[CCC]]></category>

		<guid isPermaLink="false">http://hypatia.ca/?p=58</guid>
		<description><![CDATA[Continuing on from my post from a couple of days ago, here are my notes from Day 2 of the 25th Chaos Communications Congress in Berlin.  I&#8217;ve been slow with getting these posted &#8211; Day 2 was December 28th.  Better late than never, right?
As with the previous posts, for a different perspective and selection of [...]]]></description>
			<content:encoded><![CDATA[<p>Continuing on from my <a href="http://hypatia.ca/2008/12/25c3-day-1/">post from a couple of days ago</a>, here are my notes from Day 2 of the 25th Chaos Communications Congress in Berlin.  I&#8217;ve been slow with getting these posted &#8211; Day 2 was December 28th.  Better late than never, right?</p>
<div class="wp-caption alignleft" style="width: 250px"><a title="soviet unterzugedorf represent by hypatiadotca, on Flickr" href="http://www.flickr.com/photos/hypatiadotca/3145473074/"><img src="http://farm4.static.flickr.com/3207/3145473074_33cf5cd8b4_m.jpg" alt="soviet unterzugedorf represent" width="240" height="180" /></a><p class="wp-caption-text">A lighthearted moment from Soviet Unterzoegersdorf</p></div>
<p>As with the previous posts, for a different perspective and selection of talks I highly recommend checking out <a href="http://blog.security4all.be/2009/01/25c3-day-2-overview-picking-up-pace.html">Security4All&#8217;s blog post about Day 2</a> as well.</p>
<p>Finally, if you&#8217;re particularly interested in anything I&#8217;ve written about, you should check out the <a href="http://events.ccc.de/congress/2008/wiki/Conference_Recordings">official recordings here</a>.  Most of the talks have been posted both as direct downloads and torrents.  I can&#8217;t even begin to say how amazing this is given that the conference is barely over.  From what I hear as well the live streams coming from the conference while it was running were also totally solid.</p>
<p>And now for the actual comments about this day&#8217;s talks!</p>
<p><span id="more-58"></span>Exhaustion, jet-lag, and a late night at the <a href="http://www.c-base.org/">space station</a> made me miss a few talks I wanted to see, but they all conflicted anyway so I&#8217;m just going to watch the recordings on my long flight home on Sunday :)  I made it to these talks:</p>
<p><a href="http://events.ccc.de/congress/2008/Fahrplan/events/2909.en.html">TCP Denial of Service Vulnerabilities</a></p>
<ul>
<li>I feel like I somewhat still don&#8217;t understand this attack, despite having read tons about it &#8211; this probably has to do with not also reading more about TCP/IP design.</li>
<li>The gist is that TCP connection window scaling reduces the effectiveness of the source port randomization, which was never a security feature anyway but intended for multiplexing&#8230;</li>
<li>Also there was something about resource starvation by partially opening connections akin to SYN flooding.</li>
</ul>
<p><a href="http://events.ccc.de/congress/2008/Fahrplan/events/2890.en.html">Scalable Swarm Robotics</a></p>
<ul>
<li>definitely wins the &#8220;cutest props&#8221; award for their <a href="http://www.flickr.com/photos/hypatiadotca/3147326856/in/set-72157611831013410/">demo of tiny robots</a> (link to video!)</li>
<li>the robots they built can be made for about €15 in quantities of 25+ using off-the-shelf parts exclusively except for the tiny wheels which they stamped out of rubber</li>
<li>the plans are GPLv3 and CC (yay!)</li>
<li>the &#8220;wheels&#8221; are driven by cellphone vibration motors with the weights replaced by rubber wheels</li>
<li>they re-program eachother&#8217;s firmware on the fly and indicate their firmware status as well as other conditions via multi-colour LED&#8217;s</li>
<li>lots and lots more info at their site if you are interested: http://warrantyvoidifremoved.com/formica</li>
</ul>
<p><a href="http://events.ccc.de/congress/2008/Fahrplan/events/3020.en.html">Banking Malware 101</a>, or, Stuff I Found On My Sister&#8217;s Dead Laptop And Now She Has A Mac</p>
<ul>
<div class="wp-caption alignright" style="width: 250px"><a title="anatomy of banking trojans by hypatiadotca, on Flickr" href="http://www.flickr.com/photos/hypatiadotca/3144260341/"><img src="http://farm4.static.flickr.com/3132/3144260341_6d48510b65_m.jpg" alt="anatomy of banking trojans" width="240" height="180" /></a><p class="wp-caption-text">Anatomy of Banking Trojans</p></div>
<li>in all seriousness, I found three of the mentioned malware families on the hard drive of my sister&#8217;s dead machine, and she now has a Mac.</li>
<li>given that this is what I deal with in my day-job, I took a lot of notes on this one</li>
<li>what set this talk apart from your average Banking Trojans talk, which made it much more than a 101 in my opinion, was the fact that the researcher had gained access to the Command and Control servers for several variants of banking malware, and worked in conjunction with AusCERT to notify the people whose banking info he found on these servers.</li>
<li>all of the covered trojans affected only Internet Explorer; the only one which has thusfar affected Firefox was ChromeInject, a drive-by-installer targeting users of the Greasemonkey plugin.  There&#8217;s more on it <a href="http://www.trustdefender.com/blog/2008/12/06/firefox-malware-chromeinject-the-honeymoon-is-over/">here</a>; it wasn&#8217;t covered at all in the talk, and it no longer works.</li>
<li>the trojan Nethell stole cookies, usernames/passwords, stored credentials (saved passwords) and could defeat &#8220;visual keyboards&#8221;</li>
<li>another sample (Zeus / Wsnpoem / Zbot) could inject arbitrary HTML into forms and ask for the secondary transaction numbers in use in a number of European banks</li>
<li>they had some excellent sample collection and analysis automation which I&#8217;m definitely going look into more, using CaptureHPC, Honeyclient, phoneyc</li>
<li>they created a simulator based on AutoIT called &#8220;Simuser&#8221; which they could write behavior templates for</li>
<li>if you&#8217;re interested, <a href="http://honeyblog.org/archives/13-25C3-Banking-Malware-101-Slides.html">here is the presenter&#8217;s blog post</a> linking to the recording and talk slides.</li>
</ul>
<p>ascii&#8217;s <a href="http://events.ccc.de/congress/2008/Fahrplan/events/2992.en.html">Tricks: makes you smile</a></p>
<ul>
<li>A++ did indeed make me smile</li>
<li>while the speaker was a little hard to follow at times, the talk was colourful and entertaining</li>
<li>he showed off several small hacks involving sudo timeouts</li>
<li>apparently putting localhost into your server&#8217;s DNS very much breaks the Same Origin Policy&#8230; oops</li>
<li>he showed off a GREAT technique for fooling people into copying and pasting random things into shell prompts by using some HTML / CSS obfuscation in demo code snippets</li>
<li>he presented new tools to do ICMP PMTU Denials of Service and blind SQL injection</li>
<li>sadly, <a href="http://www.ush.it/">his website</a> is down but hopefully it will reappear soon so that the tools and PoC&#8217;s can be obtained</li>
</ul>
<p>I have five more pages of notes to write up on days 3 and 4, but I&#8217;ll try to get it out tonight.</p>
]]></content:encoded>
			<wfw:commentRss>http://hypatia.ca/2009/01/25c3-day-2/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>25C3 Day 1</title>
		<link>http://hypatia.ca/2008/12/25c3-day-1/</link>
		<comments>http://hypatia.ca/2008/12/25c3-day-1/#comments</comments>
		<pubDate>Mon, 29 Dec 2008 15:15:27 +0000</pubDate>
		<dc:creator>Leigh Honeywell</dc:creator>
				<category><![CDATA[conferences]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[25C3]]></category>
		<category><![CDATA[CCC]]></category>

		<guid isPermaLink="false">http://hypatia.ca/?p=55</guid>
		<description><![CDATA[Finally sitting down at Paul&#8217;s laptop to write up some notes on the talks I&#8217;ve seen so far.  I&#8217;m going to break it up into days becaus eI&#8217;ve taken a lot of notes :)  Here goes, with comments in brackets:
Gadi Evron on Cyberwarfare

EU security operations / CERTs are not very organized
cyber warfare is mostly bull****

iPhone [...]]]></description>
			<content:encoded><![CDATA[<p>Finally sitting down at Paul&#8217;s laptop to write up some notes on the talks I&#8217;ve seen so far.  I&#8217;m going to break it up into days becaus eI&#8217;ve taken a lot of notes :)  Here goes, with comments in brackets:</p>
<p><a href="http://events.ccc.de/congress/2008/Fahrplan/events/2988.en.html">Gadi Evron on Cyberwarfare</a></p>
<ul>
<li>EU security operations / CERTs are not very organized</li>
<li>cyber warfare is mostly bull****</li>
</ul>
<p><a href="http://events.ccc.de/congress/2008/Fahrplan/events/2976.en.html">iPhone hacking</a></p>
<ul>
<li>They&#8217;ve fully soft-unlocked the phone, but it&#8217;s been done in such a way that Apple can still fix it with a software update</li>
</ul>
<p><a href="http://events.ccc.de/congress/2008/Fahrplan/events/2922.en.html">Memory Forensics with the Cold Boot Attack</a></p>
<ul>
<li>attack has been fully weaponized to USB keys (or functional iPods) and PXE boot</li>
<li>Jake has found a somewhat unrelated bug in Mac OSX&#8217;s Login.app which results in logged-in users&#8217; passwords being stored in RAM; Apple is aware of the issue and not fixing it.  Same for FileVault keys [o_0]</li>
<li>Linux dm_crypt is vulnerable</li>
<li>loop_aes devs thought they weren&#8217;t vulnerable because of some key-shifting stuff they do, turns out it just means that they store twice the keydata :)</li>
<li>Co-author of USENIX paper Nadia wrote an awesome keyfinding tool which can grab keys from RAM even with something like 75% corruption</li>
<li>Bitlocker default / simple mode is totally pwned</li>
<li>Even with TPM in use Bitlocker is still vulnerable if precise timings are used</li>
</ul>
<p><a href="http://events.ccc.de/congress/2008/Fahrplan/events/2906.en.html">Dan Kaminsky &#8211; Why were we so vulnerable to the DNS vulnerability?</a></p>
<ul>
<li>random person named Paul sitting beside me on the couch by the Go boards describes it as &#8220;+5 insightful&#8221;</li>
<li>My Paul is all excited that Dan is now publicly in favour of DNSSEC :)</li>
</ul>
<p><a title="dns pwnage by hypatiadotca, on Flickr" href="http://www.flickr.com/photos/hypatiadotca/3141624043/"><img src="http://farm4.static.flickr.com/3199/3141624043_981aebed12.jpg" alt="dns pwnage" width="500" height="375" /></a></p>
<p>Edited to add:  For some additional perspectives on Day 1, have a look at my Belgian friend <a href="http://blog.security4all.be/2008/12/25c3-day-1-overview-quiet-start.html">Security4All&#8217;s blog post</a>, which has a different selection of talks.</p>
]]></content:encoded>
			<wfw:commentRss>http://hypatia.ca/2008/12/25c3-day-1/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>TD Canada Trust password policy fail</title>
		<link>http://hypatia.ca/2008/11/td-canada-trust-password-policy-fail/</link>
		<comments>http://hypatia.ca/2008/11/td-canada-trust-password-policy-fail/#comments</comments>
		<pubDate>Fri, 28 Nov 2008 17:30:20 +0000</pubDate>
		<dc:creator>Leigh Honeywell</dc:creator>
				<category><![CDATA[geek]]></category>
		<category><![CDATA[life]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[fail]]></category>
		<category><![CDATA[lulz]]></category>

		<guid isPermaLink="false">http://hypatia.ca/?p=47</guid>
		<description><![CDATA[My browser was behaving strangely when I tried to log in to the TD Canada Trust online banking server, so just to be paranoid I decided to change my password using another machine.  I then realized that it was just me being dumb &#8211; my user agent was set to IE as I had been [...]]]></description>
			<content:encoded><![CDATA[<p>My browser was behaving strangely when I tried to log in to the TD Canada Trust online banking server, so just to be paranoid I decided to change my password using another machine.  I then realized that it was just me being dumb &#8211; my user agent was set to IE as I had been testing something earlier.  Oops!</p>
<p>However, it did all lead me to discover this <span style="text-decoration: line-through;">gem</span> <a href="http://www.shipmentoffail.com/fails/2008/01/all-aboard-the-fail-boat/">epic failboat</a> of a password policy:</p>
<blockquote><p>When changing your password, please remember that it must be between 5 and 8 characters in length and should contain both letters and numbers. Special characters (e.g. #, &amp;, @) must not be used as they will not be accepted by the system. Passwords consisting of all letters or all numbers are not recommended. Although TD Canada Trust does not require you to change your password, we recommend that for security purposes you change your password every 90 days.</p></blockquote>
<p>Okay, wtf people.  5-8 characters seems awfully permissive, and doesn&#8217;t let me put in a nice long password&#8230; but not requiring numbers and letters?  Just recommending it?  And their system doesn&#8217;t support punctuation in passwords?  Yeesh.</p>
<p>It gets worse.  I decided to play around with it, and was able to change my password to the following:</p>
<ul>
<li>foobar</li>
<li>12345</li>
<li>11111</li>
<li>aaaaa</li>
<li>the first 5 characters of my bank card number (which is the username when one logs in, and is common to <em>many</em> TD customers).</li>
</ul>
<p>Obviously I&#8217;ve changed the password to one which is as secure as I can make it given their crappy constraints, but it really angers me that I&#8217;m paying through the fees I pay them for this kind of asinine security policy.  It almost makes me want to go through the hassle of switching banks&#8230; but I&#8217;m sure the others all have similar issues on one level or another.</p>
<p>Some days, though, this industry just makes me want to set things on fire &#8211; today is one of those days.</p>
<p>-Leigh</p>
]]></content:encoded>
			<wfw:commentRss>http://hypatia.ca/2008/11/td-canada-trust-password-policy-fail/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
