<?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>cat slave diary &#187; Security</title>
	<atom:link href="http://www.greebo.net/category/security/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.greebo.net</link>
	<description>mostly useless crap from me</description>
	<lastBuildDate>Thu, 26 Jan 2012 21:50:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>I hate being proven right &#8211; mass pwnage</title>
		<link>http://www.greebo.net/2011/12/30/i-hate-being-proven-right-mass-pwnage/</link>
		<comments>http://www.greebo.net/2011/12/30/i-hate-being-proven-right-mass-pwnage/#comments</comments>
		<pubDate>Fri, 30 Dec 2011 11:48:27 +0000</pubDate>
		<dc:creator>vanderaj</dc:creator>
				<category><![CDATA[Rants]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.greebo.net/?p=750</guid>
		<description><![CDATA[Seriously. When will people (even security pros) ever learn? This is the IRC log between a few security pros who are involved in w00w00.org and BlackOps.org from an insanely long tour de force brag post that seemingly showed up folks &#8230; <a href="http://www.greebo.net/2011/12/30/i-hate-being-proven-right-mass-pwnage/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Seriously. When will people (even security pros) ever learn? This is the IRC log between a few security pros who are involved in w00w00.org and BlackOps.org from an insanely long tour de force brag post that seemingly showed up folks from the big guns like Google, through security ISVs such Core Security through several security pros that I truly admire. I am not perfect, and honestly, I feel for these folks as it could happen to me, but weak passwords? OMG! Passwords seem to have cost one of them a great deal of money and time, irreversible data loss and <del>now</del> involve<del>s</del>d law enforcement (update &#8211; see comments, this log is from the 1990&#8242;s I&#8217;m so duh that I missed that bit, but it still proves my point that passwords have sucked for a long time):</p>
<pre>  [14:41] &lt;@rkl&gt; shit.
  [14:41] &lt;@rkl&gt; whoever broke into blackops.org
  [14:41] &lt;@rkl&gt; when we caught them
  [14:41] &lt;@rkl&gt; they began rm filesystems
  [14:41] &lt;@rkl&gt; and removed my only copy of some photos i had of me and my
          fiance'
  [14:42] &lt;@rkl&gt; that i had up there for like 2 days while i reinstalled my OS
  [14:42] &lt;@rkl&gt; she's going to be sad about that
  [14:44] &lt;@nobody&gt; ur shitting me
  [14:44] &lt;@nobody&gt; who broke in?
  [14:44] &lt;@rkl&gt; we know.
  [14:44] &lt;@rkl&gt; luckily they were incompetent
  [14:44] &lt;@rkl&gt; however
  [14:44] &lt;@nobody&gt; bunch of savages in this town
  [14:44] &lt;@rkl&gt; because they tried to use blackops as a platform to launch
          attacks against a few corporations
  [14:44] &lt;@rkl&gt; now the FBI is involved
  [14:45] &lt;@nobody&gt; wonderful
  [14:45] &lt;@rkl&gt; me and murray couldnt' give a rat's ass
  [14:45] &lt;@rkl&gt; we back up blackops 1 time a month
  [14:45] &lt;@rkl&gt; to cd, now dvd
  [14:45] &lt;@rkl&gt; <span style="color: #ff0000;"><strong>they got in through a weak user passwd</strong></span>
  [14:45] &lt;@rkl&gt; <span style="color: #ff0000;">cause there were near 100 users</span>
  [14:45] &lt;@rkl&gt; <span style="color: #ff0000;">just normal users, so they didn't practice good security with their passwds</span>
  [14:45] &lt;@nobody&gt; typical
  [14:46] &lt;@rkl&gt; we've had to turn over everything to the FBI
  [14:46] &lt;@nobody&gt; a system is only as secure as its users</pre>
<p>In my <a title="Security trends for 2012" href="http://www.greebo.net/2011/12/16/security-trends-for-2012/">previous post</a>, my first item stated unequivocally that passwords are crap and first against the wall when the revolution comes? That revolution starts today.</p>
<p>Everyone&#8217;s New Year resolution has to be to change their crappy password (or in the rare case, passwords) for their computer to a passphrase (20 characters or more), install a password manager, and change all those crappy passwords into long (20 characters or more) random passwords for <strong>every single service</strong>. If your service doesn&#8217;t let you use &gt; 20 character passwords, STOP USING IT. There&#8217;s something very dumb, wrong and insecure with that service.</p>
<p>I do not have a single password that is the same for any service on the Internet. Changing a password to me is extremely simple because I DO NOT CARE about any of them. I do not type them, I do not remember them. They are all at least 20 characters long, and occasionally way more if I care about the system in question.</p>
<p>Additionally, I have no truthful answers for the weak Q&amp;A security backdoor on any system I use. What is your first pet&#8217;s name? Just try to crack fazEha*u@eJAM#!#6DafRatrAm6Q before the universe ends. p.s. I generated that one just for this blog entry. Don&#8217;t waste your time trying it out anywhere.</p>
<p>Passwords are insecure, always have been, always will be, and that goes double for the horrifically insecure Q&amp;A backdoor that many sites insist upon who should (and most likely do) know better. Passwords are unsuitable even for this blog. Folks who say passwords are free or worse &#8211; &#8220;the norm&#8221; &#8211; are idiots and should be ignored whilst the rest of us get on with getting rid of them as Priority #1.</p>
<p><span style="color: #ff0000;"><strong>CALL TO ACTION!</strong></span></p>
<p>If you are responsible for passwords on your site or service, the very first thing you must do when you get back to work is to call an urgent meeting with all stakeholders. The very first agenda item must be &#8220;We&#8217;re getting rid of passwords as of right now. How do we do that?&#8221; Don&#8217;t stop until you succeed. Your users will love you.</p>
<p>If you are a victim of passwords, you should ask &#8220;Why are we still using passwords? When will you get rid of them?&#8221;</p>
<p>Just Do it. Do It Now. I&#8217;m deadly serious.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.greebo.net/2011/12/30/i-hate-being-proven-right-mass-pwnage/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Security trends for 2012</title>
		<link>http://www.greebo.net/2011/12/16/security-trends-for-2012/</link>
		<comments>http://www.greebo.net/2011/12/16/security-trends-for-2012/#comments</comments>
		<pubDate>Thu, 15 Dec 2011 14:38:56 +0000</pubDate>
		<dc:creator>vanderaj</dc:creator>
				<category><![CDATA[OWASP]]></category>
		<category><![CDATA[Rants]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.greebo.net/?p=745</guid>
		<description><![CDATA[Folks will continue to use abc123 as their password. They will then be surprised when they&#8217;re completely pwned. Folks will continue to not patch their apps and operating systems. They will then be surprised when they&#8217;re completely pwned. Folks will continue to &#8230; <a href="http://www.greebo.net/2011/12/16/security-trends-for-2012/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<ol>
<li>Folks will continue to use abc123 as their password. They will then be surprised when they&#8217;re completely pwned.</li>
<li>Folks will continue to not patch their apps and operating systems. They will then be surprised when they&#8217;re completely pwned.</li>
<li>Folks will continue to use apps as administrator or god like privileges. They will then be surprised when they&#8217;re completely pwned.</li>
<li>Folks will continue to click shit. They will then be surprised when they&#8217;re completely pwned.</li>
<li><strong>van der Stock&#8217;s immutable law of gullibility</strong>: Folks will continue to be sucked in by incredibly basic scams. They will then be surprised when they&#8217;re completely pwned.</li>
<li>Folks despite extensive and continuous evidence to the contrary for over 25 years, will continue to be sucked in by grandiose vendor claims (&#8220;buy X now, and you&#8217;ll be protected from X&#8230;&#8221;) in the unfounded belief that technological solutions can fix people problems. They will then be surprised when they&#8217;re completely pwned.</li>
<li>Folks will continue to allow mobile and web apps to transmit their sensitive crap without any form transport layer encryption. They will then be surprised when they&#8217;re completely pwned.</li>
<li>Folks will turn on a firewall and think they&#8217;re safe. They will then be surprised when they&#8217;re completely pwned. It&#8217;s not 1995 any more. Never was.</li>
<li>Folks will continue to run old crap, or allow old crap to connect to them. They will then be surprised when they&#8217;re completely pwned.</li>
<li>Folks will continue to think that they will be safe if they just virtualize or cloud enable their crappy apps. They will then be surprised when they&#8217;re completely pwned.</li>
</ol>
<div>If we can&#8217;t learn from our most basic of basic mistakes, 2012 will be exactly like 1989 &#8211; 2011. And that&#8217;s sad.</div>
<div>Because I hate solution free hand waving posts like the above, here are some basic solutions:</div>
<div>
<ul>
<li>Adopt strong authentication TODAY &#8211; passwords have NEVER been appropriate.</li>
<li>Patch your crap.</li>
<li>Implement low privilege users and service accounts.</li>
<li>Don&#8217;t click shit.</li>
<li>Learn about basic phishing and scams.</li>
<li>Fire folks who post on Twitter or Facebook all day. You know who they are.</li>
<li>Don&#8217;t buy any product marked &#8220;Protects against APT&#8221;. If you do, fire yourself as you&#8217;re an idiot.</li>
<li>Only use products that use SSL. If you don&#8217;t know, assume it doesn&#8217;t and find something that does.</li>
<li>Evaluate your security needs with 2012 in mind &#8211; firewalls alone are a few sheep short of a full paddock.</li>
<li>Upgrade to the latest OS and apps. Not only will your users love you, it&#8217;ll be harder to attack you.</li>
<li>Protect data assets no matter where they are. The plumbing is unimportant.</li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.greebo.net/2011/12/16/security-trends-for-2012/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Hope</title>
		<link>http://www.greebo.net/2011/10/07/hope/</link>
		<comments>http://www.greebo.net/2011/10/07/hope/#comments</comments>
		<pubDate>Thu, 06 Oct 2011 23:34:55 +0000</pubDate>
		<dc:creator>vanderaj</dc:creator>
				<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.greebo.net/?p=740</guid>
		<description><![CDATA[One of my favorite TV shows is the Gruen Transfer, a show deconstructing advertising. Don&#8217;t laugh, it&#8217;s the ABC&#8217;s #1 TV show. A few weeks back, one of the panelists revealed that there are two fundamental ways to sell things &#8230; <a href="http://www.greebo.net/2011/10/07/hope/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>One of my favorite TV shows is the Gruen Transfer, a show deconstructing advertising. Don&#8217;t laugh, it&#8217;s the ABC&#8217;s #1 TV show.</p>
<p>A few weeks back, one of the panelists revealed that there are two fundamental ways to sell things &#8211; fear, as in:</p>
<p><a href="http://www.youtube.com/watch?v=U219eUIZ7Qo">Late 1980\&#8217;s Anti-AIDS advert </a></p>
<p>&nbsp;</p>
<p>and hope, as in:</p>
<p><a href="http://www.youtube.com/watch?v=i-L06PfDF-M&amp;NR=1">Durex condom ad</a></p>
<p>The panellist&#8217;s comments are revealing &#8211; fear sells well for a short while and then stops working. This is true of the AIDS campaign. The campaign reduced HIV / AIDS infection rates to a low that hasn&#8217;t been repeated anywhere else on the planet since that time. Then the ad stopped, and there&#8217;s been no replacement campaign for nigh on 25 years. You can guess that the HIV / AIDS infection rates are back up.</p>
<p>We need to change the security industry from selling fear to selling (and delivering) hope. The results will last longer, and have better long term outcomes.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.greebo.net/2011/10/07/hope/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>On APT</title>
		<link>http://www.greebo.net/2011/06/07/on-apt/</link>
		<comments>http://www.greebo.net/2011/06/07/on-apt/#comments</comments>
		<pubDate>Tue, 07 Jun 2011 11:35:09 +0000</pubDate>
		<dc:creator>vanderaj</dc:creator>
				<category><![CDATA[OWASP]]></category>
		<category><![CDATA[Rants]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.greebo.net/?p=714</guid>
		<description><![CDATA[Recently, RSA was attacked by adversaries who targeted their two factor authentication fobs. These devices have known MITM issues, but folks still used them because there was so little information out there to say that a better choice is required. &#8230; <a href="http://www.greebo.net/2011/06/07/on-apt/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Recently, RSA was attacked by adversaries who targeted their two factor authentication fobs.</p>
<p>These devices have known MITM issues, but folks still used them because there was so little information out there to say that a better choice is required. RSA liked it that way.</p>
<p>RSA chose not to discuss the details of the attack, using the old furphy that disclosure will damage their customers (reality: it would damage RSA&#8217;s brand). RSA&#8217;s silence allowed</p>
<p><em>Advanced </em></p>
<p><em>Persistent </em></p>
<p><em> Threats </em></p>
<p>to execute the boldest cryptographic information warfare attack since Enigma.</p>
<p>RSA&#8217;s (IMHO) cowardly silence has actually damaged their customers in highly spectacular fashion. RSA told us nothing, so we couldn&#8217;t ask our clients to change vendors in a staged way, or to disable access, or put in other controls. We could guess, but business decisions are not made that way.</p>
<p>Now the brand damage to RSA will truly begin. This is the end of the simple RSA fob. Even if a  better algoritm or fob is used, RSA are toast as no one will trust them any more, particularly in the  sort of organizations that buy fobs by the palette.</p>
<p>APT boosters have said vociferously &#8211; &#8220;see, it was APT!&#8221;. Yep, I agree. It&#8217;s one of the few times that truly worthy attacks are out in the open enough for us to get a small glimpse into what&#8217;s really going on.</p>
<p>Unfortunately, due to widespread abuse of the term, APT is the laughing stock of the information  security world. The folks who routinely use it with knowledge can&#8217;t discuss why APT is any different to the other threats out there today. Everyone  else has no clue.</p>
<p>I&#8217;ve seen CSOs give up, thinking that since these attackers are so advanced, surely we can&#8217;t protect against them, or they buy stuff marked &#8220;Solves APT TODAY!1!&#8221; when in fact, hard work is required.  Nothing very hard, just simple stuff like input validating every field and not tolerating insecure software any more.</p>
<p>But for your average CSO, finding out if an application was developed in a secure fashion and that every parameter is validated is impossible. It shouldn&#8217;t be. But that&#8217;s not the main point of today&#8217;s post.</p>
<p>It&#8217;s moderately clear in the fog of active disinformation that the weaknesses used in the RSA, Sony,  and PBS hacks are well known and easily exploitable. The solution is like losing weight. There is a  simple solution that works &#8211; albeit slowly. It&#8217;s called eating the right amounts of good food for a  year or two and exercising hard every day. Anyone who has tried to lose weight, including myself,  knows that we really just want an APT strength diet pill.</p>
<p>I think most of us in our industry will acknowledge that penetration testing has become &#8220;different&#8221; over the  last few years, from literally shooting fish in a barell with the most rudimentary or no tools, to requiring a fair bit of work, and moving up the value chain to find interesting and exploitable issues the business cares about.</p>
<p>In terms of results, I think we&#8217;re still finding 10-20 things wrong in every app. Attackers need one. This is the attacker&#8217;s advantage. The number of weaknesses, the type of weaknesses, and the  severity of the weaknesses are NOT &#8220;advanced&#8221; in any way shape or form in 95%+ of the code reviews and penetration tests I perform. The other 5% have been working with me for a while, are mature risk managers, and they&#8217;re hard to attack as a result.</p>
<p>But because of the hard core mystique surrounding the use of the term &#8220;APT&#8221;, we&#8217;re seeing completely  inappropriate uses of the term everywhere from anti-virus scanners through to security appliances that promise data loss protection but forget that the information security triangle is people-process-technology.  Putting one in place doesn&#8217;t solve the other two, nor negate your responsiblities to put in appropriate controls that PEOPLE can live with to do their JOBS and make the business MONEY.</p>
<p>My twitter icon is the famous drive around control image:</p>
<div id="attachment_716" class="wp-caption aligncenter" style="width: 482px"><a href="http://www.greebo.net/wp-content/uploads/2011/06/kurios119.jpg"><img class="size-full wp-image-716" title="Human Response to Access Control " src="http://www.greebo.net/wp-content/uploads/2011/06/kurios119.jpg" alt="Access controls are only for those with easy access" width="472" height="435" /></a><p class="wp-caption-text">Access controls are only for those with easy access</p></div>
<p>This is where folks promoting APT fail. I am not denying that the attackers who have found a end run around a widely known security control are</p>
<p><em> Advanced </em></p>
<p><em>Persistent </em></p>
<p><em>Threats </em></p>
<p>Anyone who targeted a particular firm, and utterly broke a long standing crypto system, and everything else required to obviate hardened controls of at least two military industrial giants are worthy of the term APT.</p>
<p>Unfortunately, APT as a term is so brand damaged in the info sec community (try saying it at a public event without  being openly laughed at), that we have to choose a better one, one that marketers would never dream of  using inappropriately. I don&#8217;t know what it is, but surely</p>
<p><em>Enemy  Combatent </em></p>
<p>or</p>
<p><em> Soon  To  Be  A  Small Pile  Of Glowing Ash</em> (STBASPOGA, or the more friendly sounding Strasbourg)</p>
<p>are right up there.</p>
<p>Worse still, the fact that these Strasbourgs really are APTs doesn&#8217;t mean that we should forget to do the  hard work, but instead demonstrates the paucity of protective information security research. Some of you might remember me saying a year or two ago that too much attention is paid to those who hack, and not enough on those who defend.   Strasbourgs should mean more dollars in pro-active research. We need to make it difficult to  develop insecure software. We should make easy to determine if Acme&#8217;s latest release of their  widgets are insecure. We should have metrics that easily demonstrate insecure software costs more. We  should make it legally untenable to ship insecure software, and give redress to consumers when their investments, privacy and intellectual property are violated due to stupid, simple weaknesses that we knew about in 1965.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.greebo.net/2011/06/07/on-apt/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Time for something new</title>
		<link>http://www.greebo.net/2011/05/17/time-for-something-new/</link>
		<comments>http://www.greebo.net/2011/05/17/time-for-something-new/#comments</comments>
		<pubDate>Mon, 16 May 2011 16:52:57 +0000</pubDate>
		<dc:creator>vanderaj</dc:creator>
				<category><![CDATA[Life, the universe, and everything...]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.greebo.net/?p=712</guid>
		<description><![CDATA[As many of you have probably noticed by now, my larger than life frame is not at AusCERT 2011. This is a shame as it sounding like one of the best AusCERTs in the history of AusCERT. There&#8217;s a couple of &#8230; <a href="http://www.greebo.net/2011/05/17/time-for-something-new/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>As many of you have probably noticed by now, my larger than life frame is not at AusCERT 2011. This is a shame as it sounding like one of the best AusCERTs in the history of AusCERT. There&#8217;s a couple of reasons for my absence - flu and the strange case of the disappearing job.</p>
<p>My services at Pure Hacking are no longer required, and so I need to get on with the job of getting on with the next phase of my life &#8211; and that means finding a great job that allows everyone to win.</p>
<p>There are a couple of options on the table as I write this. But the most intriguing to me right now is to be the advanced gun for hire for consultancies with schedule overload. If you think your consultancy could use me in that fashion even a few times a year, I definitely want to hear from you. If I can make alliances with even a few of you, this could work for us all. This would allow me to work for anyone in the world from my lab here, and would allow consultancies all over the world to plug their scheduling nightmare with one of the best web app sec minds* out there period.</p>
<ul>
<li><a title="Andrew van der Stock" href="http://au.linkedin.com/pub/andrew-van-der-stock/1/1a1/88b" target="_blank">My Linked In Profile</a></li>
<li><a title="My resume" href="http://www.greebo.net/ajv-resume.pdf" target="_blank">My resume</a></li>
</ul>
<p>I have a strong preference for remote telecommuting jobs as I live in a regional city. This doesn&#8217;t mean that a full time job in Melbourne is out of the question, but I will be upfront about my need for flexibility (i.e. allow me to work on the train and a day a week at home), or full time remote working from Geelong. Being 2011, full time or partial telecommuting should not be a difficult decision today.</p>
<p>I know I have a small but loyal readership in this blog, so if you know someone who knows someone, I&#8217;m available. I only have a short window before I have to make a decision, so if you&#8217;re able to pick me up, I definitely want to hear from you &#8211; vanderaj @ greebo . net.</p>
<p>* Just in case you didn&#8217;t know, I was the Project Leader and primary author of the OWASP Developer Guide 2.0, OWASP Top 10 2007 (the one in PCI DSS), and ESAPI for PHP, and I helped set the exam for the SANS GSSP (Java).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.greebo.net/2011/05/17/time-for-something-new/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upcoming speaking engagements &#8211; AusCERT and iTSMF</title>
		<link>http://www.greebo.net/2011/05/04/upcoming-speaking-engagements-auscert-and-itsmf/</link>
		<comments>http://www.greebo.net/2011/05/04/upcoming-speaking-engagements-auscert-and-itsmf/#comments</comments>
		<pubDate>Wed, 04 May 2011 06:11:35 +0000</pubDate>
		<dc:creator>vanderaj</dc:creator>
				<category><![CDATA[Conferences and Travel]]></category>
		<category><![CDATA[OWASP]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.greebo.net/?p=709</guid>
		<description><![CDATA[I am scheduled to talk or give tutorials at a couple of places so far this year. AusCERT I am giving a two day Secure Coding tutorial using OWASP&#8217;s Application Security Verification Standard. This course is different to most security &#8230; <a href="http://www.greebo.net/2011/05/04/upcoming-speaking-engagements-auscert-and-itsmf/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I am scheduled to talk or give tutorials at a couple of places so far this year.</p>
<h2>AusCERT</h2>
<p>I am giving a two day Secure Coding tutorial using OWASP&#8217;s <a title="OWASP Application Security Verification Standard" href="https://www.owasp.org/index.php/Category:OWASP_Application_Security_Verification_Standard_Project" target="_blank">Application Security Verification Standard</a>.</p>
<p>This course is different to most security training courses you&#8217;ll ever take. It teaches architects, lead developers and developers how to design and code in a positive fashion. You&#8217;ll learn of about 80 controls over the two days, and complete four hands on labs and a bunch of demos. Of course, you&#8217;ll see me demonstrate ninja levels of breaking crappy applications, but my primary goal is for you to build secure software.</p>
<p>Now that you want to come, you should bring your laptop with the ability to run a 64 bit VMware VM. As the VM is Linux, it could be converted to KVM, Xen, Parallels, or Virtual Box. You can take the VM home along with the slides and learn even more later.</p>
<p>This is the cheapest method of getting instructor led training by me. <a title="AusCERT 2011 Registration" href="http://conference.auscert.org.au/conf2011/registration.html" target="_blank">Registration here</a>. There&#8217;s about 10 spots left as far as I&#8217;m aware.</p>
<h2>itSMF</h2>
<p>Later in the year, I am giving my well received talk at <a title="itSMF 2011 Conference" href="http://www.itsmf.org.au/leadit/2011/" target="_blank">itSMF</a>, an ITIL aligned operations conference, on how to make your security dollars work harder for you. This talk is aimed at CIO, CISO&#8217;s, and those who are tasked at securing their stuff with ever less budget, or ever more capability (or both).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.greebo.net/2011/05/04/upcoming-speaking-engagements-auscert-and-itsmf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OWASP Podcast 82 &#8211; Authorship of OWASP Top 10 2007</title>
		<link>http://www.greebo.net/2011/03/18/owasp-podcast-82-authorship-of-owasp-top-10-2007/</link>
		<comments>http://www.greebo.net/2011/03/18/owasp-podcast-82-authorship-of-owasp-top-10-2007/#comments</comments>
		<pubDate>Fri, 18 Mar 2011 07:24:21 +0000</pubDate>
		<dc:creator>vanderaj</dc:creator>
				<category><![CDATA[OWASP]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.greebo.net/?p=707</guid>
		<description><![CDATA[Dave Wichers* appears in the latest OWASP Podcast (go get it!). In the podcast, he goes through the huge number of OWASP projects he&#8217;s been involved in. There&#8217;s no doubt Dave&#8217;s massive investment in time, intellectual property, and money have &#8230; <a href="http://www.greebo.net/2011/03/18/owasp-podcast-82-authorship-of-owasp-top-10-2007/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Dave Wichers* appears in the latest OWASP Podcast (go get it!). In the podcast, he goes through the huge number of OWASP projects he&#8217;s been involved in. There&#8217;s no doubt Dave&#8217;s massive investment in time, intellectual property, and money have been instrumental to OWASP&#8217;s success. Without Jeff and Dave&#8217;s leadership and contributions, OWASP would be a far poorer place.</p>
<p>But&#8230;. the problem starts when he goes through attribution for the OWASP Top 10, starting around the 17 minute mark. Dave says &#8220;Jeff Williams and I basically wrote it&#8221; (17:10 onwards), and had various people in OWASP review it such as Dinis Cruz and myself. This is exactly what happened for the 2004 version. But the way it was said implies that the OWASP Top 10 2007 was Dave and Jeff&#8217;s and I reviewed that too. I&#8217;m sure Dave didn&#8217;t mean to miss out on appropriate attributions (he&#8217;s a straight up and down sort of guy), but just in case anyone thinks like I did when listening to the podcast, I&#8217;d like to set the story straight:</p>
<p>The <strong>OWASP Top 10 2004</strong> was Jeff and Dave&#8217;s. Absolutely agree with this. I&#8217;m pretty sure I reviewed it as I was working on the Developer Guide 2.0 at the time.</p>
<p>The <strong>OWASP Top 2010</strong> is primarily Jeff and Dave&#8217;s efforts. No problems. I gave up leadership in the project sometime in 2008 when I had to concentrate on personal matters. At that time, I had no draft or made any effort to update the text. Dave&#8217;s effort to restart the project didn&#8217;t start until after I&#8217;d left Aspect. After the draft PPTX was complete, I reviewed drafts of the release candidates, along with about another 30 or so folks.</p>
<p>The <strong>OWASP Top 10 2007</strong> is primarily mine in methodology (strict adherence to MITRE statistics in 2006), research and development, authorship, editing and leadership. For example, I sat down with Raoul Endres in a pho restaurant in a wintery day Melbourne, Australia well before I moved to the USA and worked out the methodology. I delivered a draft to about 30 folks in early January of 2007. Jeff Williams and Dave re-wrote and included a few items that I disagreed with (effectively two crypto sections that were not representative in the statistics), and dropped important issues that I felt strongly about. You don&#8217;t win them all, but I would have loved for these findings to have made it.</p>
<p>Some of the sections I wrote up in the draft that missed out in the final version:</p>
<ul>
<li>A7 &#8211; Malformed input (dropped &#8211; a bad call in my opinion as nearly all flaws are due to insufficient input validation and output encoding)</li>
<li>A8 &#8211; Broken authorization (dropped &#8211; a bad call in my opinion, as most of the easily discovered business logic flaws are authorization related)</li>
<li>A9 &#8211; Insecure cryptography and communications (became A8 &#8211; A9 in the final version)</li>
<li>A10 &#8211; Privilege escalation (dropped &#8211; a bad call in my opinion, as attackers try to do this all the time)</li>
</ul>
<p>You can see an <a title="OWASP Top 10 2007 RC1 early draft" href="http://www.greebo.net/owasp/owasp_top_10_2007_rc1.pdf" target="_blank">early draft</a> here. DO NOT USE THIS VERSION &#8211; IT&#8217;S NOT OFFICIAL!</p>
<p>I strongly disagreed with the dropping of RFI as it&#8217;s one of the biggest reasons that PHP sites are taken over, and PHP is by far the most prevalent server platform. RFI belongs in the OWASP Top 10 probably as the #1 item in the Security Configuration section. There are still millions of sites with this particular flaw.</p>
<p>Call me hypersensitive to the way Dave phrased just one sentence in 45 minutes, but I want folks to realize that I didn&#8217;t dedicate many nights and weekends to the OWASP Top 10 2007 to have that taken away from me in glossing over of efforts. I also want to make sure that folks understand that I consider Jeff and Dave friends and utterly respect their long time efforts with OWASP.</p>
<p>* Full disclosure &#8211; I worked for Aspect Security between December 2006 and January 2009. Dave and Jeff are founders of Aspect Security and thus my employer during the latter stages of Top 10 2007 gestation. I had a great time at Aspect, worked with amazing customers on cool projects, and have very fond memories of the USA.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.greebo.net/2011/03/18/owasp-podcast-82-authorship-of-owasp-top-10-2007/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Need a secure code review? We have slots available</title>
		<link>http://www.greebo.net/2011/02/28/need-a-secure-code-review/</link>
		<comments>http://www.greebo.net/2011/02/28/need-a-secure-code-review/#comments</comments>
		<pubDate>Mon, 28 Feb 2011 01:03:59 +0000</pubDate>
		<dc:creator>vanderaj</dc:creator>
				<category><![CDATA[OWASP]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.greebo.net/?p=703</guid>
		<description><![CDATA[I don&#8217;t normally pimp my employer, but I&#8217;d rather be doing secure code reviews than pen tests any day of the week. We have open slots in our schedule for secure code reviews starting from mid March 2011. We perform &#8230; <a href="http://www.greebo.net/2011/02/28/need-a-secure-code-review/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I don&#8217;t normally pimp my employer, but I&#8217;d rather be doing secure code reviews than pen tests any day of the week. <img src='http://www.greebo.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>We have open slots in our schedule for secure code reviews starting from mid March 2011.</p>
<p>We perform our code reviews against the <a title="OWASP" href="http://www.owasp.org" target="_blank">OWASP</a> <a title="OWASP Application Security Verification Standard" href="http://www.owasp.org/index.php/Category:OWASP_Application_Security_Verification_Standard_Project" target="_blank">Application Security Verification Standard</a></p>
<ul>
<li>Level 2B &#8211; Automated Review using Fortify 360 coupled with a manual verification of 83 items (Architecture, Authentication, Authorization, Session Management, Data Protection, Cryptography, etc)</li>
<li>Level 3 &#8211; Includes all of the above, but 110 inspection points. The sweet spot of our reviews in my personal opinion.</li>
<li>Level 4 &#8211; Includes all of the above, plus manual inspection for trojans, backdoors, etc.</li>
</ul>
<p>These reviews help folks wishing to comply with PCI DSS or PCI PA DSS, or just wish to know that their websites are safe and secure.</p>
<p>If you&#8217;d like to discuss things further, please e-mail avanderstock (at) purehacking.com.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.greebo.net/2011/02/28/need-a-secure-code-review/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Take Two on Top 10 2010 Security Defenses</title>
		<link>http://www.greebo.net/2011/02/10/take-two-on-top-10-2010-security-defenses/</link>
		<comments>http://www.greebo.net/2011/02/10/take-two-on-top-10-2010-security-defenses/#comments</comments>
		<pubDate>Thu, 10 Feb 2011 04:01:00 +0000</pubDate>
		<dc:creator>vanderaj</dc:creator>
				<category><![CDATA[OWASP]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.greebo.net/?p=700</guid>
		<description><![CDATA[A little while ago, I was thoroughly sick of the usual attack attack attack gumpf, and decided to put up a competition for Top 10 defenses. Epic fail. Looking back at it, attacking the attackers is not a winning strategy. &#8230; <a href="http://www.greebo.net/2011/02/10/take-two-on-top-10-2010-security-defenses/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>A little while ago, I was thoroughly sick of the usual attack attack attack gumpf, and decided to put up a competition for Top 10 defenses.</p>
<p><strong>Epic fail. </strong></p>
<p>Looking back at it, attacking the attackers is not a winning strategy. It&#8217;s a fact of human nature that it&#8217;s better to be a hot firefighter putting out a fire that costs a million bucks to put right than to be the materials engineer who designs cheap fireproof cladding. I&#8217;m burying the hatchet as I burnt a fair bit of goodwill in my original announcement, which not my intention at all. We still need folks to break stuff and disprove snake oil, so there&#8217;s a place for the dark side whether I agree with the focus on the dark side or not.</p>
<p>Just two nominations made Andrew sad despite the worthiness of the submissions.</p>
<ol>
<li>Rob Lewis nominated Trustifier <a href="http://trustifier.com/ryu/features.html" target="_blank">http://trustifier.com/ryu/features.html</a></li>
<li>I nominated Josh Zlatin, a colleague for the work he has done on PureWAF, extensions for the OWASP Core Rule Set + Mod Security. You can see the results of PureWAF on Pure Hacking&#8217;s website, which is behind our WAF in the cloud service. That&#8217;s not an invitation to attack us, just sayin&#8217;</li>
</ol>
<p>Please discuss or vote in the comments section for who you think should get the non-existant gong.</p>
<p><strong>The Sorta Inaugural 2011 Pure Hacking Top Web App Sec Defenses Competition</strong></p>
<p>There&#8217;s a couple of changes. <a title="Best web app sec firm out there. Period." href="http://purehacking.com" target="_blank">Pure Hacking</a> will be sponsoring the competition in 2011. There will be categories, such as Life Time Achievement, Best Security Architecture, Best Left Field Idea, Best Secure Business Idea, Best Quick and Dirty Defense, Best Educator, and of course Best Defense. I will detail more about the categories as time goes on. I will be getting inappropriate statuettes made with engraving and everything. If you feel like you can donate something to boost the booty, contact me.</p>
<p>As for nominations, I will keep a running tally of awesomeness from my RSS feeds and other sources. You can nominate your favorite folks and defenses by e-mailing me &#8211; vanderaj ( at ) owasp.org. Come December 1, 2011, I&#8217;ll put them up for voting at which time I will disclose the prizes.</p>
<p>So far -</p>
<p>1. OWASP&#8217;s XSS roundtable at the OWASP Summit in Portugal is a worthy nominee. Let&#8217;s stamp out XSS.</p>
<p>2. I think <a title="1raindrop" href="http://1raindrop.typepad.com/" target="_blank">Gunnar Peterson</a> should get a Lifetime Prize just for being Gunnar. If more of us thought like Gunnar, the world would be a safer place and folks would be making a LOT more money than they do today.</p>
<p>Please keep this competition in mind throughout 2011.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.greebo.net/2011/02/10/take-two-on-top-10-2010-security-defenses/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Force.com secure code review howto Part 1</title>
		<link>http://www.greebo.net/2010/10/11/force-com-secure-code-review-howto-part-1/</link>
		<comments>http://www.greebo.net/2010/10/11/force-com-secure-code-review-howto-part-1/#comments</comments>
		<pubDate>Mon, 11 Oct 2010 12:33:00 +0000</pubDate>
		<dc:creator>vanderaj</dc:creator>
				<category><![CDATA[OWASP]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.greebo.net/?p=679</guid>
		<description><![CDATA[For those of you who have to review unusual platforms, here are my notes for reviewing apps coded in Apex and Visual Force. As I learn more, I might add some additional entries, but I&#8217;ve been so constrained with time &#8230; <a href="http://www.greebo.net/2010/10/11/force-com-secure-code-review-howto-part-1/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>For those of you who have to review unusual platforms, here are my notes for reviewing apps coded in Apex and Visual Force. As I learn more, I might add some additional entries, but I&#8217;ve been so constrained with time for so long, don&#8217;t hold your breath.</p>
<p><strong>Terminology and Basics</strong></p>
<p>Force.com is Sales Force&#8217;s SAAS API for ISVs and customers to write custom CRM apps atop the Sales Force platform. To provide some serious platform lock in, they use a new strongly typed language called Apex. Apex is sort of Java based. Java programmers will be somewhat familiar with its capabilities, but it has some surprising differences. As a reviewer, there&#8217;s nothing really head hurty when reading the code, but it&#8217;s important to realize it&#8217;s not grandpa&#8217;s Java you&#8217;re looking at.</p>
<p>Some things you&#8217;ll come across:</p>
<p><strong>Meta data</strong>. You&#8217;ll see code with associated XML files. This XML data has a lot of stuff going on that describes it and allows Force.com to correctly handle it, particularly static resources. You can&#8217;t just ignore meta data &#8211; you need to inspect it.</p>
<p><strong>Visual Force </strong>is a MVC based framework. It appears to act like a tag library with the &lt;apex:&#8230; prefix, used inside files with a .page extension. These mimic the traditional type 1 JSP model. I think most of you will be familiar with this model and will not have too many difficulties in reviewing it. However, there are some asynchronous AJAX helpers (timers, future events, etc) that you will need to be aware of, particularly in relation to race conditions.</p>
<p><strong>Objects</strong>. Sales Force have defined an object interface over their CRM data model. This has some interesting gotchyas, in particular, queries across these objects is called SOQL, and is pretty much a semi-injection proof sub-dialect of SQL 99. There will be an entire blog post for those issues primarily as there&#8217;s several ways code can be written to be unsafe.</p>
<p><strong>Triggers.</strong> Triggers are executed after users undertake actions within the public site / sand box application. I need to learn more about them before I write about them, but they are the start of the flow of execution after the user does things within the application. If you have custom classes, they are generally called by triggers.</p>
<p><strong>Bulk importer and Batch Apex</strong>. ETL support. I need to learn more about this functionality before I comment.</p>
<p><strong>Flash and Flex support</strong>. Just in case some of the options weren&#8217;t scary enough, you can implement your presentation and business logic in a client side language. Sweet. I will not document Flash / Flex support as a) I hate Flash and have it disabled b) I have yet to see such code in action and I hate slamming or praising things I&#8217;ve not used. c) I don&#8217;t have any Flash or Flex tools to build test cases, so it&#8217;s going to be hard to nail this one down. Feel free to steal my thunder here if you so desire.</p>
<p><strong>Web Services</strong>. These are traditional SOAP web services. Instead of using WS-Security, Sales Force have implemented their own session manager. Probably a good idea since no one besides Gunnar Petersen understands WS-Security. However, we all know that web services can be a mine field, so I will experiment with them and see how things work in a much later article.</p>
<p><strong>Ajax</strong>. The Ajax API is one of the newest, and allows Javascript to make pretty much any call to the web services back end that a traditional SOAP web service can. Without WS-Security. Awesome. I&#8217;ll be looking into this issue a bit later as I learn more.</p>
<h3>Some things they did right</h3>
<p>Please don&#8217;t take my tone for disparagement, for it is not. There are some cool things Sales Force did right:</p>
<ul>
<li>Everything is escaped by default. You have to add code or an attribute to get this wrong.</li>
<li>CSRF protection in every form. You have to do the wrong thing to be CSRFable.</li>
<li>The easiest way to do SOQL is sorta magically injection proof. There are injectable ways, but again, you have to work at it.</li>
<li>Many defaults chosen by Sales Force are good &#8211; SSL by default. Yay. SAML by default for SSO. Yay. GET and POST only. Yay. UTF-8 only. Yay. UCS-2 only. Yay. Illegally encoded Unicode characters are replaced. Yay. Content Type is safe unless you do the wrong thing. Yay.</li>
<li>Sending cookies or headers are escaped. I&#8217;m not sure they&#8217;re properly escaped yet, but they are escaped.</li>
<li>There are encoders for not just HTML and URL, but for JavaScript and others. Yay</li>
<li>To promote code into production out the sand pit requires at least 75% test coverage. O.M.G. YAY! Tests are also not counted towards billing. There&#8217;s exactly zero reasons not to test your code.</li>
</ul>
<p>This is but a part of the overall list of goodness. But that doesn&#8217;t help you figure out how to secure code review things yet.</p>
<p>The trouble for secure code reviews is several fold:</p>
<ul>
<li>There are no static code review tools to review Apex code. This is a serious deficiency that will only get worse if others try to emulate Sales Force&#8217;s success in crafting an entirely new language and API for their SAAS offerings.</li>
<li>The security documentation is relatively sparse, and only gives hints as to how to shoot yourself with XSS, CSRF, SOQL, fine grained access control and other issues. This series is an effort to break through that and provide more documentation.</li>
<li>There is a tight coupling between the code in your IDE and the sand box / public site. If you break this nexus, you do not have configuration data. With Sales Force&#8217;s &#8220;No code&#8221; logo, they hide some code and configuration from you. So expect to ask for the login and hope it&#8217;s not production.</li>
<li>Sales Force have given a lot of thought to security, and many common Java issues are &#8220;fixed&#8221; or safe by default. But as Apex is a serious systems language, it allows you to shoot yourself in the foot. I don&#8217;t know yet as to the extent of it, but I will find out with some luck.</li>
</ul>
<p>If you&#8217;re from Sales Force, please don&#8217;t worry. I&#8217;m not about to give away 0days &#8211; I am not a weak minded moron who delights in creating grief with no solutions. This series will be primarily about how to review Force.com code, followed by advice on recommendations for &#8220;fixing&#8221; it. Which is most likely to be &#8220;Do it how Force.com told you to do it in the manuals&#8221;.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.greebo.net/2010/10/11/force-com-secure-code-review-howto-part-1/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

