<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://www.communities.hp.com/securitysoftware/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Following the White Rabbit Blog : web application security</title><link>http://www.communities.hp.com/securitysoftware/blogs/rafal/archive/tags/web+application+security/default.aspx</link><description>Tags: web application security</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP1 (Build: 31106.3070)</generator><item><title>Quality Engineers &amp; Testers - StarWest is Coming Up!</title><link>http://www.communities.hp.com/securitysoftware/blogs/rafal/archive/2009/07/02/quality-engineers-amp-testers-starwest-is-coming-up.aspx</link><pubDate>Thu, 02 Jul 2009 20:45:00 GMT</pubDate><guid isPermaLink="false">94bda21f-7d63-4095-85de-7c2a68fb172c:91110</guid><dc:creator>RafalLos</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.communities.hp.com/securitysoftware/blogs/rafal/rsscomments.aspx?PostID=91110</wfw:commentRss><comments>http://www.communities.hp.com/securitysoftware/blogs/rafal/archive/2009/07/02/quality-engineers-amp-testers-starwest-is-coming-up.aspx#comments</comments><description>&lt;p&gt;&lt;span style="font-family:arial,helvetica,sans-serif;"&gt;&lt;span style="font-size:small;"&gt;I&amp;#39;m thrilled to announce that I have been selected to speak at the StarWest 2009 Quality Conference (SQE) October 5-9th 2009, hosted at the DisneyLand Hotel in Annaheim, CA!&amp;nbsp; Link to the conference website is here (&lt;a target="_blank" title="SQE StarWest Conference" href="http://www.sqe.com/starwest/Schedule/Default.aspx"&gt;http://www.sqe.com/starwest/Schedule/Default.aspx&lt;/a&gt;)&lt;span style="line-height:115%;"&gt; and there are a number of awesome speakers as well!&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:arial,helvetica,sans-serif;"&gt;&lt;span style="font-size:small;"&gt;The StarEast conference was chock-full of great speakers, vendors and of course yours-truly... speaking on Security topics and why the quality assurance teams are so crucial to the web application security process.&amp;nbsp; That&amp;#39;s right, I&amp;#39;ve been talking about Q/A engineering and testing teams and why they&amp;#39;re so crucial to the success of any enterprise web application security program - but now for the first time you&amp;#39;ll get the truth that the IT Security guys probably won&amp;#39;t tell you - &lt;b&gt;YOU&lt;/b&gt; are the key!&amp;nbsp; My talk on this topic promises to be riveting and will certainly have an impact on formal testing and security organizations...&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:arial,helvetica,sans-serif;"&gt;&lt;span style="font-size:small;"&gt;As an added bonus - if you sign up you&amp;#39;ll get money OFF the price of your admission!&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;








 
  Normal
  0
  
  
  
  
  false
  false
  false
  
  EN-US
  X-NONE
  X-NONE
  
   
   
   
   
   
   
   
   
   
   
   
  
  
   
   
   
   
   
   
   
   
   
   
   
  

 
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
 





&lt;p class="MsoNormal"&gt;&lt;span style="font-family:arial,helvetica,sans-serif;"&gt;&lt;span style="font-size:small;"&gt;&lt;span class="blacktext1"&gt;&lt;span style="line-height:115%;"&gt;Register using special promo code &lt;/span&gt;&lt;/span&gt;&lt;i&gt;SKWS&lt;/i&gt; and save up to
$300! Register by September 4&lt;sup&gt;th&lt;/sup&gt; to add the Early Bird Discount for
up to $600 in total savings! Call the client support group at 888.268.8770 or
register online at: &lt;a href="https://www.sqe.com/starwest/Register/SelectConference.aspx"&gt;https://www.sqe.com/starwest/Register/SelectConference.aspx&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;span style="color:#ff0000;"&gt;&lt;span style="font-size:small;"&gt;&lt;span style="font-family:arial,helvetica,sans-serif;"&gt;I&amp;#39;ll see you all there!&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;

&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://www.communities.hp.com/securitysoftware/aggbug.aspx?PostID=91110" width="1" height="1"&gt;</description><category domain="http://www.communities.hp.com/securitysoftware/blogs/rafal/archive/tags/quality/default.aspx">quality</category><category domain="http://www.communities.hp.com/securitysoftware/blogs/rafal/archive/tags/web+application+security/default.aspx">web application security</category><category domain="http://www.communities.hp.com/securitysoftware/blogs/rafal/archive/tags/QA/default.aspx">QA</category></item><item><title>Raising the Bar? Flash Encryption, Obfuscation</title><link>http://www.communities.hp.com/securitysoftware/blogs/rafal/archive/2009/04/20/raising-the-bar-flash-encryption-obfuscation.aspx</link><pubDate>Mon, 20 Apr 2009 17:37:00 GMT</pubDate><guid isPermaLink="false">94bda21f-7d63-4095-85de-7c2a68fb172c:89053</guid><dc:creator>RafalLos</dc:creator><slash:comments>4</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.communities.hp.com/securitysoftware/blogs/rafal/rsscomments.aspx?PostID=89053</wfw:commentRss><comments>http://www.communities.hp.com/securitysoftware/blogs/rafal/archive/2009/04/20/raising-the-bar-flash-encryption-obfuscation.aspx#comments</comments><description>&lt;p&gt;On the heels of&amp;nbsp;my OWASP talk regarding decompiling and analyzing Flash [&lt;a class="" title="HP SWFScan" href="http://www.hp.com/hpinfo/newsroom/press/2009/090323xa.html" target="_blank"&gt;see SWFScan link&lt;/a&gt;] files lots of you have asked &amp;quot;So what about Flash file encryption or obfuscation?&amp;nbsp; Does that make my code any more secure?&amp;quot;&amp;nbsp; I&amp;#39;ve done the research and talked to&amp;nbsp;experts (including our very own Billy Hoffman) - and have a blog post just for those of you starving for this information.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;There are a lot of Flash file obfuscators/encryptors out there... all of them hoping to raise the bar for attackers against your client-side Flash code.&amp;nbsp; I&amp;#39;d like to make sure I properly set the background for you here - everything you&amp;#39;ll read about is happening on the &lt;em&gt;client side&lt;/em&gt; within the user&amp;#39;s browser framework, meaning, it&amp;#39;s running in potentially hostile territory.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Now let&amp;#39;s move on and take a look at some of the ideas we&amp;#39;re addressing.&amp;nbsp; First when-ever you&amp;#39;re discussing client-run code you have to understand that whether it&amp;#39;s encryption, obfuscation, or magic you have one major problem: &lt;em&gt;the client has to know how to un-do the magic&lt;/em&gt;.&amp;nbsp; When the Flash! file comes to your client it has to be interpreted by the Flash! player, right?&amp;nbsp; In order for it to do that it has to be &lt;em&gt;readable&lt;/em&gt; and understandable by the Flash! player.&amp;nbsp; Think about that.&amp;nbsp; If the code is sent encrypted, say using some strong AES-256 encryption technology, then the player is unable to render it thus creating a quite secure, but completely unusable &amp;quot;blob&amp;quot;.&amp;nbsp; In order for the code to be worth anything to the client it has to be de-crypted (or obfuscated).&amp;nbsp; For that to happen you have to have the routine to &lt;em&gt;decrypt | de-obfuscate&lt;/em&gt; the blob located within that blob, likely as a pre-cursor to the whole piece of code.&amp;nbsp; You should already see a huge gaping hole here.&amp;nbsp; Here&amp;#39;s what this all looks like in terms of process from developer&amp;#39;s workstation to client player:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;Developer writes some [potentially bad] ActionScript code&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Developer &amp;quot;obfuscates | encrypts&amp;quot; the code&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;User hits page, downloads embedded &amp;quot;blob&amp;quot;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;User starts to execute Flash! file&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;&lt;em&gt;Decryption|De-obfuscation&lt;/em&gt; routine runs, produces valid (unprotected) Flash!&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Flash! player executes code, movie runs&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;Immediately, in the above step-by-step you&amp;#39;ll notice that step 5 the decryption|de-obfuscation routine has to run on the client to unprotect the SWF file.&amp;nbsp; This essentially breaks down to mean that the &lt;em&gt;deobfuscation|decryption&lt;/em&gt; code has to exist on the client, within the protected SWF file.&amp;nbsp; Ask yourself what sort of security that buys you, if you&amp;#39;re including the unprotect routine with the protected code.&lt;/p&gt;
&lt;p&gt;After wading through many different SWF encryption|obfuscation tools I&amp;#39;ve come to realize that they&amp;#39;re selling to folks who simply don&amp;#39;t understand the full scope of the problem.&amp;nbsp; Here is an interesting quote from&amp;nbsp;one vendor&amp;#39;s&amp;nbsp;marketing material.&amp;nbsp; I&amp;#39;m not identifying the vendor... mostly to protect them from the questions you would have about their effectiveness.&lt;/p&gt;
&lt;p&gt;&lt;span class="Apple-style-span" style="WORD-SPACING:0px;TEXT-TRANSFORM:none;TEXT-INDENT:0px;WHITE-SPACE:normal;LETTER-SPACING:normal;BORDER-COLLAPSE:separate;TEXT-ALIGN:justify;orphans:2;widows:2;-webkit-border-horizontal-spacing:3px;-webkit-border-vertical-spacing:3px;-webkit-text-decorations-in-effect:none;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0;"&gt;&lt;font color="#333399"&gt;&amp;quot;PRODUCT X uses Advanced Obfuscation Techniques along side proven Encryption Technology to provide security and protection for your Adobe Flash® SWF Files. Put simply,&amp;nbsp;PRODUCT X&amp;nbsp;prevents other people from decompiling or reverse engineering your SWF movie and stealing the ActionScript Code.&amp;quot; &lt;/font&gt;&lt;font color="#000000"&gt;How can a vendor make a statement like that, consciously, knowing full-well that this is just like the obfuscation techniques that are being used on JavaScript right now... their effectiveness is only marginal to the determined attacker.&amp;nbsp; You have to continue to put these types of technologies into context because if you&amp;#39;re looking at &amp;quot;encrypted content&amp;quot; you&amp;#39;d think that it&amp;#39;s secured, much like an &amp;quot;encrypted database&amp;quot; is secured from someone who steals it... until you realize the main difference is that generally the decryption routine is &lt;em&gt;not included&lt;/em&gt; with the database but as a separate process.&amp;nbsp; This is the main difference.&amp;nbsp; Since Flash! player has no internal mechanism to &lt;em&gt;decrypt|de-obfuscate&lt;/em&gt; flash files the work falls to the application itself, meaning it has to be included into the code blob.&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;The verdict?&amp;nbsp; If you&amp;#39;re depending on a code obfuscation|encryption tool to protect your Flash! files, you should probably re-think your strategy.&amp;nbsp; First ask yourself &lt;em&gt;why &lt;/em&gt;you&amp;#39;re hoping to hide the client-side code.&amp;nbsp; Intent here is key... because while the tools you&amp;#39;re using may &lt;em&gt;temporarily&lt;/em&gt; deter a simple Flash decompiler, in the long-run it will not protect your code.&amp;nbsp; As Billy Hoffman notes &amp;quot;Client-code obfuscation|encryption is much like WAF (Web Application Firewall) technology, it&amp;#39;s a temporary fix meant to increase the &amp;quot;time to hack&amp;quot; while not providing anything permanent.&amp;quot;&amp;nbsp; Including sensitive information on a client-side code blob is &lt;em&gt;never a good idea.&amp;nbsp; &lt;/em&gt;This should be self-evident but apparently there is a significant market for Flash! obfuscation|encryption tools so maybe I&amp;#39;m wrong.&amp;nbsp; Here are a few pointers for those of you thinking about writing sensitive client-side Flash! apps...&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;Never put sensitive information on a client (passwords, &amp;#39;hidden&amp;quot; URLs, validation routines, encryption routines, etc)&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Understand that &lt;em&gt;anything on a client can be compromised&lt;/em&gt; because you no longer have control&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Any encryption|obfuscation of client-side code has to be un-done in order for the framework to process it... thus only providing marginal security improvement&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;When all is said and done, to quote Billy Hoffman &amp;quot;It&amp;#39;s like boxing a 7 year-old... you&amp;#39;re going to win it&amp;#39;s just a matter of how hard do you want to try&amp;quot;.&amp;nbsp; --Thanks to Billy Hoffman of HP’s Web Security Research Group for his contribution to this blog, and his ongoing effort to protect developers from their own worst enemy... themselves.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://www.communities.hp.com/securitysoftware/aggbug.aspx?PostID=89053" width="1" height="1"&gt;</description><category domain="http://www.communities.hp.com/securitysoftware/blogs/rafal/archive/tags/web+application+security/default.aspx">web application security</category><category domain="http://www.communities.hp.com/securitysoftware/blogs/rafal/archive/tags/Web+2.0/default.aspx">Web 2.0</category><category domain="http://www.communities.hp.com/securitysoftware/blogs/rafal/archive/tags/Adobe+flash/default.aspx">Adobe flash</category></item><item><title>Enterprise Web Application Security: Part 1 - The Foundation</title><link>http://www.communities.hp.com/securitysoftware/blogs/rafal/archive/2009/02/20/enterprise-web-application-security-part-1.aspx</link><pubDate>Fri, 20 Feb 2009 15:10:00 GMT</pubDate><guid isPermaLink="false">94bda21f-7d63-4095-85de-7c2a68fb172c:88002</guid><dc:creator>RafalLos</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.communities.hp.com/securitysoftware/blogs/rafal/rsscomments.aspx?PostID=88002</wfw:commentRss><comments>http://www.communities.hp.com/securitysoftware/blogs/rafal/archive/2009/02/20/enterprise-web-application-security-part-1.aspx#comments</comments><description>&lt;p&gt;The term &amp;quot;&lt;b&gt;Enterprise Web Application Security Program&lt;/b&gt;&amp;quot; has been evolving.&amp;nbsp; Generally referring to a corporate IT program which includes web application code in some way and has traditionally meant either a white-box approach or a black-box approach, either through the use of tools or the use of a 3rd party for the assessment.&lt;/p&gt;&lt;p&gt;No matter how you look at it, that&amp;#39;s all completely wrong.&lt;/p&gt;&lt;p&gt;First off the thought that a &amp;quot;security program&amp;quot; would begin with code is a failure to launch, in my experience.&amp;nbsp; Web application security deals so much more with non-code items than we&amp;#39;d like to believe, but rarely address.&amp;nbsp; These topics include hosting, server hardening, user-management, and a few others I&amp;#39;m forgetting now.&amp;nbsp; The point is before you can bulid a strong web application security program that withstands not only economic cycles but business trends you have to understand what it is you&amp;#39;re building.&amp;nbsp; Much like a home, you can&amp;#39;t change plans after the foundation has been laid...or else you will fail.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;There are some fundamental components you must consider before you start to lay the foundation for your &lt;b&gt;Enterprise Web Application Security Program&lt;/b&gt;... here are some of the most important ones that have to be addressed from day one...&lt;/p&gt;&lt;ol&gt;&lt;li&gt;&lt;b&gt;Intended purpose&lt;/b&gt; - In order to solve a problem you must know what that problem is; you must understand what the &lt;i&gt;purpose&lt;/i&gt; of the program you&amp;#39;re building is going to be in business terms.&lt;/li&gt;&lt;li&gt;&lt;b&gt;Long-term vision&lt;/b&gt; - Define what you see this program evolving into 6, 12, and 18+ months down the road; clearly identifying a long-term goal will assure that you don&amp;#39;t start straying in different directions as you progress&lt;/li&gt;&lt;li&gt;&lt;b&gt;Success criteria&lt;/b&gt; - There must be a clear definition of how success or failure will be measured; if there is no way to measure failure you will never understand if you&amp;#39;ve succeeded (or failed) in your goals.&amp;nbsp; Setting realistic success criteria in a concrete context (as opposed to &amp;quot;secure the company&amp;#39;s web applications&amp;quot;) makes it real to reach those goals and achieve success, while setting milestones helps you focus on making little changes over time that don&amp;#39;t happen overnight &lt;/li&gt;&lt;li&gt;&lt;b&gt;Metrics&lt;/b&gt; - Setting success criteria and having clear metrics go hand-in-hand when building a framework and foundation for a successful program.&amp;nbsp; Just as you have to have a goal you must be able to measure that goal accurately, at any given point along your path in order to assess your rate of success&lt;/li&gt;&lt;li&gt;&lt;b&gt;Scope&lt;/b&gt; - While it may sound rudimentary to say that your program must have scope it is not to be confused with vision or success criteria.&amp;nbsp; Scope can keep your program in-focus and prevent creep into areas you are not equipped to handle.&amp;nbsp; Scope-creep is one of the most widely identified preventatives to success... if the finishline is always moving you will never be able to reach it&lt;/li&gt;&lt;li&gt;&lt;b&gt;Identified starting point&lt;/b&gt; - Yes, it&amp;#39;s critical to identify where you are starting- this goes back to gathering metrics and measuring success.&amp;nbsp; Very rarely does a program start at &amp;quot;nothing&amp;quot; actually; there is always some degree of movement already - you must quickly identify your starting point so as to build from that point forward&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;There you have it - there are six (6) identified components to a foundational approach to building an enterprise web application security program.&amp;nbsp; If you&amp;#39;re starting to put together a framework for such a program; no matter whether it&amp;#39;s due to compliance needs or internal pressures, make sure you understand at least those six pieces.&amp;nbsp; Write them down, remind yourself regularly of their existence.&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;i&gt;&amp;nbsp;As master Yoda said - &amp;quot;Do, or do not do, there is no try&amp;quot;.&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;Next time we will address framing that first step of building your program - the policy.&lt;/i&gt; &lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://www.communities.hp.com/securitysoftware/aggbug.aspx?PostID=88002" width="1" height="1"&gt;</description><category domain="http://www.communities.hp.com/securitysoftware/blogs/rafal/archive/tags/web+application+security/default.aspx">web application security</category><category domain="http://www.communities.hp.com/securitysoftware/blogs/rafal/archive/tags/enterprise+web+application+security+program/default.aspx">enterprise web application security program</category></item><item><title>President Obama's Web 2.0 Campaign Hijacked</title><link>http://www.communities.hp.com/securitysoftware/blogs/rafal/archive/2009/01/28/president-obama-s-web-2-0-campaign-hijacked.aspx</link><pubDate>Wed, 28 Jan 2009 21:00:00 GMT</pubDate><guid isPermaLink="false">94bda21f-7d63-4095-85de-7c2a68fb172c:87678</guid><dc:creator>RafalLos</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.communities.hp.com/securitysoftware/blogs/rafal/rsscomments.aspx?PostID=87678</wfw:commentRss><comments>http://www.communities.hp.com/securitysoftware/blogs/rafal/archive/2009/01/28/president-obama-s-web-2-0-campaign-hijacked.aspx#comments</comments><description>&lt;p&gt;Congratulations Mr. President, your Web 2.0 campaign to be the &amp;quot;hip&amp;quot; president has just been hijacked.&amp;nbsp; In an interesting news article published originally on &lt;a href="http://cyberinsecure.com" title="CyberInsecure.com" target="_blank"&gt;CyberInsecure.com&lt;/a&gt;, someone has decided to use the President&amp;#39;s popularity to hijack his potential, and unsuspecting, users and drump malware on their machines.&lt;/p&gt;&lt;p&gt;&amp;nbsp;I won&amp;#39;t go into details, you can read it all &lt;a href="http://cyberinsecure.com/my-barackobama-com-infects-visitors-with-trojan/" title="My.BarackObama.com - hacked." target="_blank"&gt;here&lt;/a&gt;, but&amp;nbsp; the moral is simple... I&amp;#39;ve been telling you folks that&lt;i&gt; hackers&lt;/i&gt; don&amp;#39;t just want your databases and credit card data... they want your CLICKS too.&amp;nbsp; The more popular your site is, the harder someone will try and break it (silently) to inject things like adware/malware for their own purposes... which by now should be obvious - make money.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Protect your sites...&amp;nbsp; and your users.&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://www.communities.hp.com/securitysoftware/aggbug.aspx?PostID=87678" width="1" height="1"&gt;</description><category domain="http://www.communities.hp.com/securitysoftware/blogs/rafal/archive/tags/web+application+security/default.aspx">web application security</category><category domain="http://www.communities.hp.com/securitysoftware/blogs/rafal/archive/tags/Web+2.0/default.aspx">Web 2.0</category><category domain="http://www.communities.hp.com/securitysoftware/blogs/rafal/archive/tags/president+hacked/default.aspx">president hacked</category></item><item><title>2009 - One Bold Prediction</title><link>http://www.communities.hp.com/securitysoftware/blogs/rafal/archive/2009/01/10/2009-one-bold-predicition.aspx</link><pubDate>Sat, 10 Jan 2009 08:36:00 GMT</pubDate><guid isPermaLink="false">94bda21f-7d63-4095-85de-7c2a68fb172c:87440</guid><dc:creator>RafalLos</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.communities.hp.com/securitysoftware/blogs/rafal/rsscomments.aspx?PostID=87440</wfw:commentRss><comments>http://www.communities.hp.com/securitysoftware/blogs/rafal/archive/2009/01/10/2009-one-bold-predicition.aspx#comments</comments><description>&lt;p&gt;Well, it&amp;#39;s official, we&amp;#39;re all another year older now.&lt;/p&gt;&lt;p&gt;Welcome to 2009, and what I can only hope will be a great year in information security.&lt;/p&gt;&lt;p&gt;I&amp;#39;m sure you&amp;#39;ve all read your share of scary predictions for 2009, from vendors, journalists, bloggers and such so why should I deprive you of my thoughts?&amp;nbsp; Rather than making some obvious statements about what 2009 will bring and linking them to my company&amp;#39;s revenue stream in a sneaky way (everyone already does that) I&amp;#39;m going to be outright about it.&amp;nbsp; This isn&amp;#39;t going to be rocket science nor will my prediction be revolutionary... but here it is:&lt;/p&gt;&lt;p style="margin-left:80px;"&gt;&lt;b&gt;One of your web applications will be penetrated in 2009.&lt;/b&gt;&lt;/p&gt;&lt;p&gt;That&amp;#39;s right, I said it, mark your calendars.&amp;nbsp; One of the many, many web applications or web services platforms will be broken into, and the scary thing is you probably won&amp;#39;t even notice.&amp;nbsp; Maybe you&amp;#39;ll notice if the attacker messes up and causes you some downtime, but it&amp;#39;s more than likely you&amp;#39;ll never notice.&lt;/p&gt;&lt;p&gt;&amp;nbsp;What do I recommend you do?&amp;nbsp; It&amp;#39;s simple:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Produce a written policy, authorized and endorsed by your top-level management for a web application security program&lt;/li&gt;&lt;li&gt;Educate your developers and staffers on web app development security best-practices&amp;nbsp;&lt;/li&gt;&lt;li&gt;Get tested.&amp;nbsp; Hire an outside party to penetration test your mission-critical applications and services to find your holes&lt;/li&gt;&lt;li&gt;Implement a program based on people, process and tools to help streamline, automate, and integrate security into the SDLC&lt;/li&gt;&lt;/ol&gt;This isn&amp;#39;t rocket science.&amp;nbsp; Good luck out there in 2009, and don&amp;#39;t be a statistic.&lt;br /&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://www.communities.hp.com/securitysoftware/aggbug.aspx?PostID=87440" width="1" height="1"&gt;</description><category domain="http://www.communities.hp.com/securitysoftware/blogs/rafal/archive/tags/web+application+security/default.aspx">web application security</category><category domain="http://www.communities.hp.com/securitysoftware/blogs/rafal/archive/tags/2009+prediction/default.aspx">2009 prediction</category></item><item><title>Thank you ViViT - Madison, WI!</title><link>http://www.communities.hp.com/securitysoftware/blogs/rafal/archive/2008/12/04/thank-you-vivit-madison-wi.aspx</link><pubDate>Thu, 04 Dec 2008 17:42:00 GMT</pubDate><guid isPermaLink="false">94bda21f-7d63-4095-85de-7c2a68fb172c:86892</guid><dc:creator>RafalLos</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.communities.hp.com/securitysoftware/blogs/rafal/rsscomments.aspx?PostID=86892</wfw:commentRss><comments>http://www.communities.hp.com/securitysoftware/blogs/rafal/archive/2008/12/04/thank-you-vivit-madison-wi.aspx#comments</comments><description>&lt;p&gt;Had a great time presenting, and talking with you all after.&amp;nbsp; I know I painted a gloomy picture, but remember - &lt;b&gt;you can succeed&lt;/b&gt; by taking that first step.&lt;/p&gt;&lt;p&gt;Here&amp;#39;s some key points:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Don&amp;#39;t let anyone tell you that it&amp;#39;s &lt;i&gt;all of nothing&lt;/i&gt;... &lt;br /&gt;&lt;/li&gt;&lt;li&gt;Risk-management is all about mitigating to a point of acceptable risk&lt;/li&gt;&lt;li&gt;Risk is a 1/x curve, where you will eventually hit that&lt;i&gt; law of diminishing returns&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;i&gt;Tools and services are not mutually exclusive&lt;/i&gt;&lt;/li&gt;&lt;li&gt;&lt;i&gt;Security vulnerabilities&lt;/i&gt; should be measured as defects... lest they be misunderstood&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;...&amp;quot;A journey of a thousand miles must begin with a single step.&amp;quot;&lt;br /&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://www.communities.hp.com/securitysoftware/aggbug.aspx?PostID=86892" width="1" height="1"&gt;</description><category domain="http://www.communities.hp.com/securitysoftware/blogs/rafal/archive/tags/web+application+security/default.aspx">web application security</category><category domain="http://www.communities.hp.com/securitysoftware/blogs/rafal/archive/tags/ViViT/default.aspx">ViViT</category></item><item><title>A Perspective on "Dumbing Down" the Security Profession</title><link>http://www.communities.hp.com/securitysoftware/blogs/rafal/archive/2008/12/02/a-perspective-on-quot-dumbing-down-quot-the-security-profession.aspx</link><pubDate>Tue, 02 Dec 2008 04:41:00 GMT</pubDate><guid isPermaLink="false">94bda21f-7d63-4095-85de-7c2a68fb172c:86846</guid><dc:creator>RafalLos</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.communities.hp.com/securitysoftware/blogs/rafal/rsscomments.aspx?PostID=86846</wfw:commentRss><comments>http://www.communities.hp.com/securitysoftware/blogs/rafal/archive/2008/12/02/a-perspective-on-quot-dumbing-down-quot-the-security-profession.aspx#comments</comments><description>&lt;p&gt;&lt;em&gt;Let me start off by reminding you that the main mission of this blog is to provide insight and perspective (from more than just the security angle) on web application security and risk management.&amp;nbsp; Keep that in mind as you read on...&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp; I read an article on ZDNet tonight as I usually do to catch up on things I&amp;#39;ve missed - and something caught my attention and my ire.&amp;nbsp; &lt;a class="" title="ZDNet Article" href="http://blogs.zdnet.com/security/?p=2234" target="_blank"&gt;This article by Shyama Rose&lt;/a&gt; made me read, and then re-read just to make sure I didn&amp;#39;t miss anything in her train of thought.&amp;nbsp; While I have to say she has some very good points (I will name them below individually) she&amp;#39;s pointing out something that is inherently biased,&amp;nbsp;I think, from a consultant&amp;#39;s point of view.&amp;nbsp; Googling her name, produces &lt;a class="" title="Shyama Rose - LinkedIn Profile" href="http://www.linkedin.com/in/shyama" target="_blank"&gt;this LinkedIn profile&lt;/a&gt; which makes her bias more obvious and understandable.&amp;nbsp; This post is *not* about bashing or negating someone else&amp;#39;s opinion, I will only seek to point out some obvious (to me) flaws in the thought process.&lt;/p&gt;
&lt;p&gt;&amp;nbsp; Let&amp;#39;s analyze the article, for content and idea so that I can make some relevant points.&amp;nbsp; I realize that I may have my own bias, working for a vendor of &amp;quot;web application security automation tools&amp;quot;, but bear with me and I will do my best to keep my vendor-bias out of this article.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;&amp;nbsp; There indeed is a large market &amp;quot;swelling&amp;quot; but it&amp;#39;s not just for &lt;em&gt;source code analysis&lt;/em&gt; tools&lt;/div&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;The vendor-space is actually *shrinking* (trust me on this one) due to the smaller boutique vendors ability to compete in a venture-capital starved market and budgets that increasingly go to a single-source vendor of multiple items (software/hardware/services combined)&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Source-code-analysis is a small part of the overall security tools market; in fact - I think that while companies seek to purchase &amp;quot;source code analysis&amp;quot; engines they eventually realize the issues with that*, and instead purchase &amp;quot;web application security scanning tools&amp;quot; (such as WebInspect &amp;amp; AMP from HP/ASC... sorry, couldn&amp;#39;t resist)&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;While tools are a hot commodity right now [emphasis on the commodity], there is no shortage of customers for boutique shops doing manual versions of this type of web application security testing (with a nod to my friends in white hats fighting the good fight) - Tools and services are &lt;strong&gt;not&lt;/strong&gt; mutually-exclusive, rather, part of a comprehensive risk-mitigation strategy&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;li&gt;
&lt;div&gt;The quote &amp;quot;...&lt;em&gt;deficiencies associated with security guarantees that tools promote&lt;/em&gt;&amp;quot; is either absolutely inaccurate or we as security automation tools vendors are doing a terrible job selling our products, period.&lt;/div&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Yes, automation-based security tools are in their infancy&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Yes, automation-based security tools identify ~35% of the total possible attack surface of an application [more on this in a minute]**&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Yes, metrics-based management practices are being increasingly used; why? because that is currently the &lt;em&gt;only way&lt;/em&gt; to demonstrate effectiveness.&amp;nbsp; I would love to debate the real-world application of security metrics in a qualitative vs. quantitative approach... anyone?&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Yes, some of the most sophisticated security tools are &lt;em&gt;partially&lt;/em&gt; signature-based... but the best ones are also data-flow and control-flow analyzers; tools by nature cannot &amp;quot;think&amp;quot;... Skynet, anyone?&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Yes, most source-code-analysis tools fail on frameworks.&amp;nbsp; Can you blame them?&amp;nbsp; How many Java-based frameworks are there?&amp;nbsp; What about .Net?&amp;nbsp; How about AJAX?&amp;nbsp; (Here&amp;#39;s&amp;nbsp;a fascinating read on AJAX frameworks... &lt;a href="http://en.wikipedia.org/wiki/List_of_Ajax_frameworks"&gt;http://en.wikipedia.org/wiki/List_of_Ajax_frameworks&lt;/a&gt;) -this all relates back to maturity of tools vs. development language advances.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Yes, many tools (source-code-analysis or otherwise) base themselves around an assurance or compliance angle (PCI-DSS and others) - but that&amp;#39;s because there is a &lt;em&gt;business need&lt;/em&gt; for this, and not because they simply like it that way&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;li&gt;
&lt;div&gt;Another interesting quote &amp;quot;...th&lt;em&gt;e differential between a comprehensive security review and the implementation of analysis in analysis tools is massive and harmful&lt;/em&gt;&amp;quot;&lt;/div&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Massive?&amp;nbsp; Probably not&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Harmful?&amp;nbsp; Absolutely not!&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;OK, so now that I&amp;#39;ve got that broken down a bit, let me give a sense of why I feel this article is a bit of a hate on the security tools out there today.&amp;nbsp; Anyone who&amp;#39;s ever heard me talk, or read my posts/articles/papers would hopefully agree that I have never, ever advocated tools as a replacement for intelligent people.&amp;nbsp; There&amp;#39;s no arguing that, there&amp;#39;s no replacing intelligent people.&amp;nbsp; &lt;font color="#008000"&gt;Furthermore, tools in themselves are &lt;em&gt;not a solution&lt;/em&gt; and &lt;em&gt;won&amp;#39;t magically make your code secure&lt;/em&gt;&lt;/font&gt;.&amp;nbsp; Sales people will often try and sell you snake-oil and magic pixie dust to make your web applications &amp;quot;magically secure&amp;quot; if you use them.&amp;nbsp; That&amp;#39;s crap and we all know it.&lt;/p&gt;
&lt;p&gt;&amp;nbsp; So why even consider automation-based web application security tools?&amp;nbsp; It&amp;#39;s elemantary my dear Watson!&amp;nbsp; Here&amp;#39;s just a few reasons why you should be making that purchase sooner rather than later... &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;&lt;strong&gt;Automation&lt;/strong&gt; - Automation is what makes tools viable.&amp;nbsp; Tools are great at repeating processes and supplementing the human mind to enable it to move faster and have to do less of the mundane (like finding the &amp;quot;easy stuff&amp;quot;); also... testing is generally done off-hours so while humans need time off... machines and tools do not&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;&lt;strong&gt;Expertise&lt;/strong&gt; - Do you (as a company) have $100k+ per year to spend on a talented web application security resource?&amp;nbsp; Consider that you may need more than one depending on the size of your enterprise and number (and complexity) of your web applications&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;&lt;strong&gt;Metrics&lt;/strong&gt; - Even though Shyama seems to be against metrics-based risk mitigation, I am thrilled to have tools that can track web application security defects throughout the lifecycle (development -&amp;gt; QA -&amp;gt; production) and show the ROI and risk-reduction metrics in a nice compact dashboard for my CIO&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;&lt;strong&gt;Process&lt;/strong&gt; - Every good enterprise web application security process (and enterprise security strategy in general) must have some tools component to complement the people and processes... common sense right?&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&amp;nbsp; Let me quickly address the points I put a star next to above:&lt;/p&gt;
&lt;p&gt;* Source-code-analysis tools are much more difficult to understand, implement, interpret and get use out of than most black-box testing tools.&amp;nbsp; Also, given that the highest risks are to &lt;em&gt;those applications already in production&lt;/em&gt;, it makes sense that black-box testing tools (and not source-code-analyzers) are the go-to choice for enterprises struggling with the &amp;quot;what do I do first?&amp;quot; question.&lt;/p&gt;
&lt;p&gt;** This ~35% number is debatable, that is, the rough percentage of security defects a tool can find vs a human analysis.&amp;nbsp; On the whole I think it&amp;#39;s reasonably correct but people get too caught up in the details of the number and forget the 80/20 rule altogether.&amp;nbsp; 80% (or more!) of hacks happen employing the &amp;quot;simple things&amp;quot; like SQL Injection and XSS... rather than highly-sophisticated complex logic or multi-stage attacks.&amp;nbsp; I don&amp;#39;t have any raw data to back that up - but I&amp;#39;d be willing to bet I&amp;#39;m not wrong.&amp;nbsp; If a simple scan from the WASC group showed 85% of sites scanner were vulnerable to attack that would compromise data... that&amp;#39;s &lt;em&gt;tools&lt;/em&gt; + &lt;em&gt;automation... and that&amp;#39;s a scarry number!&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;nbsp;&lt;/em&gt;I know this is a lot of information to wrap your brain around, and hopefully you won&amp;#39;t judge too harshly for my bias (everyone has some bias...) but I hope I&amp;#39;ve inspired you to think a little before jumping to conclusion that the world of security-source-code-analysis is going to implode because consultants will go out of business due to security automation tools being used more.&amp;nbsp; That&amp;#39;s just a silly conclusion.&amp;nbsp; Do companies rely too heavily on tools?&amp;nbsp; Maybe, but what alternatives are we offering given the cost of &amp;quot;manual&amp;quot; testing vs. automation?&amp;nbsp; I will leave you with some simple math.&amp;nbsp; Say for a moment you have 200 web applications in your enterprise.&amp;nbsp; Of those, taking the top 15% (see my Iceberg Principle presentation for more on this) as &lt;em&gt;mission-critical&lt;/em&gt; we have 30 web based applications.&amp;nbsp; Given that most of today&amp;#39;s web applications are moderately to highly complex, say 100,000+ lines of code we can do some basic math:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Application Security Automation&lt;/strong&gt; &amp;quot;Suite&amp;quot;... ~$500k - covers all phases of lifecycle and all applications (not just top 15%)&lt;br /&gt;&lt;strong&gt;Outsourced &lt;em&gt;Manual Testing&lt;/em&gt;&lt;/strong&gt; - $10,000 - $20,000/application x 30 applications = $300,000 - $600,000... for just 15 applications&lt;/p&gt;
&lt;p&gt;&amp;nbsp; ... now, factoring in time and efficiency, and given that most business can&amp;#39;t afford to just test their super-critical apps... I think the case for security-automation tools is a case of simple math, don&amp;#39;t you?&amp;nbsp; &lt;em&gt;(Of course, my numbers are rough SWAGs... do your own research to see what&amp;#39;s right for your enterprise).&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://www.communities.hp.com/securitysoftware/aggbug.aspx?PostID=86846" width="1" height="1"&gt;</description><category domain="http://www.communities.hp.com/securitysoftware/blogs/rafal/archive/tags/web+application+security/default.aspx">web application security</category><category domain="http://www.communities.hp.com/securitysoftware/blogs/rafal/archive/tags/security+tools/default.aspx">security tools</category><category domain="http://www.communities.hp.com/securitysoftware/blogs/rafal/archive/tags/security+automation/default.aspx">security automation</category></item><item><title>CSI Annual Conference - Highlights on Web App Security</title><link>http://www.communities.hp.com/securitysoftware/blogs/rafal/archive/2008/11/19/csi-annual-conference-take-aways-on-web-app-security.aspx</link><pubDate>Wed, 19 Nov 2008 04:00:00 GMT</pubDate><guid isPermaLink="false">94bda21f-7d63-4095-85de-7c2a68fb172c:86678</guid><dc:creator>RafalLos</dc:creator><slash:comments>3</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.communities.hp.com/securitysoftware/blogs/rafal/rsscomments.aspx?PostID=86678</wfw:commentRss><comments>http://www.communities.hp.com/securitysoftware/blogs/rafal/archive/2008/11/19/csi-annual-conference-take-aways-on-web-app-security.aspx#comments</comments><description>&lt;p&gt;Listening to the speakers (yes, this time around I was a spectator only... sort of) and the audience from these past 2 days, and specifically at the Web 2.0 Security Summit here at &lt;a class="" title="CSI Annual Homepage" href="http://www.csiannual.com/" target="_blank"&gt;CSI Annual 2008&lt;/a&gt;... I&amp;#39;ve come up with a few things that I think you (the readers who may or may not have attended) should come away with.&amp;nbsp; These are important points, highlights from a very well organized conference geared towards &lt;strong&gt;actual solutions&lt;/strong&gt; rather than the &lt;em&gt;typical smoke, mirrors, and hand-waving&lt;/em&gt; [&lt;a class="" title="Security Spin Control" href="http://treyford.wordpress.com/" target="_blank"&gt;Trey Ford&lt;/a&gt;] you may expect from a security conferences.&amp;nbsp; A nod to Robert Richardson for the guest pass, and an excellent conference.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;From the experts&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Threats &lt;em&gt;continue to escalate&lt;/em&gt; and get more clever in their attack&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Browsers cannot be trusted, applications can be compromised - this is not a rosy picture&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;End-user (and business) &amp;quot;push&amp;quot; is needed to help move browser&amp;nbsp;developers to produce more secure browsers&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;HTML-spec and standards are &lt;em&gt;actually working against&amp;nbsp;security&lt;/em&gt; in some cases (see: ClickJacking)&amp;nbsp;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Web applications are, and will continue to be, the prime target for attackers&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Few businesses are prepared to drive standardized security throughout their organization&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;&lt;em&gt;Metrics&lt;/em&gt; - good metrics collection and delivery is one of the secrets to making a security program work for you&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Process, services, secure coding tools, code analyzers/scanners and Web App Firewalls&amp;nbsp;&lt;em&gt;are not mutually exclusive&lt;/em&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Your business must have a short-term &lt;em&gt;tactical fix&lt;/em&gt; and long term &lt;em&gt;strategic plan&lt;/em&gt; to succeed&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Services and tools are maturing at a great rate - and businesses should understand the purpose of each&lt;/div&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Tools&amp;nbsp;are a support mechanism for automation, standardization, and repeatability - they do not replace people&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Services allow for independent 3rd party verification (satisfying some regulatory and compliance requirements)&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Neither of the above will magically &amp;quot;make your applications secure&amp;quot;&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;li&gt;
&lt;div&gt;SaaS (Software as a Service) for web app security provides immediate ROI, implementation, and won&amp;#39;t use up your CapEx (instead uses OpEx) spending&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;You can&amp;#39;t use the Ostrich approach (head in the sand, ignoring what&amp;#39;s around you)&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Right now, someone is hacking either your applications, your users or both&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;The bottom line from the experts?&amp;nbsp; &lt;strong&gt;The web is more dangerous than the wild-west; and things are going south fast.&amp;nbsp; There is hope.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;From the audience&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Managers and practitioners alike are confused and disheartened when it comes to security ... specifically web application security&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Despite &lt;em&gt;wanting&lt;/em&gt; to do the right thing, managers facing insecure (or worse, unknown) web applications are finding it &lt;em&gt;difficult to implement&lt;/em&gt; a program&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Between integrations, acquisitions, and poor oversight security teams are struggling to keep up with the avalanche of published web apps&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Overwhelming numbers of vulnerabilities presents itself in a feeling of &amp;quot;we&amp;#39;re powerless, why not just give up&amp;quot; as one person put it...&amp;nbsp;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Managers are confused on where, when, and how to apply tools to web application security programs&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Some managers have their hands tied by long-term contracts with outsource developers which &lt;em&gt;do not&lt;/em&gt; properly include information security components&lt;/div&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;When code is finally turned over to them, are faced with checking the security of that code on their own&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;... that code, if found defective, will then require re-work &lt;em&gt;at their cost!&lt;/em&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Ineffective contractual obligations are making it impossible to have an effective security program&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;li&gt;
&lt;div&gt;Security metrics are typically a problem...&lt;/div&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Some companies don&amp;#39;t know what metrics to collect&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;... others collect them and manually try to make sense of them&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;... still others have intelligent metrics but haven&amp;#39;t been able to translate them into actionable items yet&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;... still haven&amp;#39;t figured out how to take raw metrics and model them for upper-management consumption&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;li&gt;
&lt;div&gt;Security outsourced services are still too confusing&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Compliance is causing more headaches than it is solving&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Companies are striving to be compliant... but are &lt;em&gt;still terribly insecure&lt;/em&gt; - and managers are getting that but feel powerless to change&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;The bottom line from the audience?&amp;nbsp; &lt;strong&gt;Make security simple, actionable, and consumable for my organization... and do more than just sell me tools or services - help me build a program.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color="#ff0000"&gt;There is good news, and bad news.&lt;br /&gt;&amp;nbsp; The good news is that I feel very strongly that we (HP Application Security Center) can help you accomplish your goals.&lt;br /&gt;&amp;nbsp; &amp;nbsp; The bad news is ... it&amp;#39;s still going to be your job to sell it to your upper management and execute...&lt;/font&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://www.communities.hp.com/securitysoftware/aggbug.aspx?PostID=86678" width="1" height="1"&gt;</description><category domain="http://www.communities.hp.com/securitysoftware/blogs/rafal/archive/tags/web+application+security/default.aspx">web application security</category><category domain="http://www.communities.hp.com/securitysoftware/blogs/rafal/archive/tags/CSI+Conference/default.aspx">CSI Conference</category><category domain="http://www.communities.hp.com/securitysoftware/blogs/rafal/archive/tags/Computer+Security+Institute/default.aspx">Computer Security Institute</category></item><item><title>PCI Compliance Madness - See!  I'm not insane!</title><link>http://www.communities.hp.com/securitysoftware/blogs/rafal/archive/2008/10/25/see-i-m-not-insane.aspx</link><pubDate>Sat, 25 Oct 2008 05:41:00 GMT</pubDate><guid isPermaLink="false">94bda21f-7d63-4095-85de-7c2a68fb172c:86292</guid><dc:creator>RafalLos</dc:creator><slash:comments>6</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.communities.hp.com/securitysoftware/blogs/rafal/rsscomments.aspx?PostID=86292</wfw:commentRss><comments>http://www.communities.hp.com/securitysoftware/blogs/rafal/archive/2008/10/25/see-i-m-not-insane.aspx#comments</comments><description>&lt;p&gt;&amp;nbsp;Rich Mogull over at &lt;a href="http://securosis.com/" title="Securosis Homepage" target="_blank"&gt;Securosis&lt;/a&gt; totally nailed it.&amp;nbsp; &lt;a href="http://securosis.com/2008/10/22/waf-vs-secure-code-vs-dead-fish/" title="WAF vs Secure Code" target="_blank"&gt;This article&lt;/a&gt; he put up talking about the Web Application Firewall (although it&amp;#39;s still a mis-named product, see &lt;a href="http://preachsecurity.blogspot.com/2008/06/product-formerly-known-as-waf.html" title="WAF is mis-named... my rant" target="_blank"&gt;my rant here&lt;/a&gt;) vs. secure coding is brilliant.&amp;nbsp; I&amp;#39;ve been saying this since I can remember hearing about &amp;quot;WAFs&amp;quot;... and it&amp;#39;s nice to see someone out there that people actually recognize (Rich is an industry heavyweight) echo this sentiment... although the analogy of using Cajuns and gumbo is probably beyond my abilities :)&lt;/p&gt;&lt;p&gt;Still thinking about this as I sat here and re-read the &lt;a href="https://www.pcisecuritystandards.org/security_standards/pci_dss_download.html" title="PCI DSS" target="_blank"&gt;PCI DSS current standard (and supporting documentation)&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;{PCI DSS}&lt;br /&gt;&lt;i&gt;6.6 For public-facing web applications, address new threats and vulnerabilities on an ongoing basis and ensure these applications are protected against known attacks by either of the following methods:&lt;br /&gt;&lt;/i&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;i&gt;Reviewing public-facing web applications via manual or automated application vulnerability security assessment tools or methods, at least annually and after any changes &lt;/i&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;&lt;i&gt;Installing a web-application firewall in front of public-facing web applications &lt;/i&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;{/PCI DSS}&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;A few things immediately hit me that I felt the immediate need to comment on, because my mind now thinks in terms of &amp;quot;if I&amp;#39;m a business leader, how do I find loopholes in this...&amp;quot;.&amp;nbsp; Here are my thoughts:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;&amp;nbsp;I am having an issue with the term public-facing being there.&amp;nbsp; I&amp;#39;d be OK with business-critical or something that indicates the application/site hosts critical data (such as user information, credit card numbers, etc).&amp;nbsp; What if I&amp;#39;m a business and I have 100 &amp;quot;public-facing&amp;quot; sites, but they just all happen to be brochure-ware.&amp;nbsp; Granted I am a card processor.&amp;nbsp; Does it make sense to put non-mission-critical (or containing no critical data) sites through this review process?&lt;/li&gt;&lt;li&gt;&amp;quot;... after any changes&amp;quot; - so if I change the background, or add new legal verbiage I have to re-submit my site to inspection?&amp;nbsp; That makes no sense from a business perspective... does it?&lt;/li&gt;&lt;li&gt;Notice that it says &amp;quot;&lt;i&gt;Review&lt;/i&gt;&amp;quot; and not &amp;quot;&lt;i&gt;Review and mitigate any critical issues found within x time-frame&lt;/i&gt;&amp;quot;; does this bother anyone else?&lt;/li&gt;&lt;li&gt;The word &amp;quot;&lt;b&gt;either&lt;/b&gt;&amp;quot; implies an OR clause here... why does the PCI DSS council see Security Review and added protection as an OR?&lt;/li&gt;&lt;/ol&gt;As you can guess, I can come up with no less than 5 scenarios where I&amp;#39;m [assuming I&amp;#39;m a business which should be compliant with this policy] going to be horribly security-deficient while still being PCI Compliant.&amp;nbsp; So once again, I&amp;#39;m going to return back to this question and I want everyone to think about this carefully.&amp;nbsp; &lt;b&gt;Would you rather be PCI Compliant, or secure?&amp;nbsp; Further, does compliance equal security?&lt;/b&gt;&lt;br /&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://www.communities.hp.com/securitysoftware/aggbug.aspx?PostID=86292" width="1" height="1"&gt;</description><category domain="http://www.communities.hp.com/securitysoftware/blogs/rafal/archive/tags/PCI+DSS/default.aspx">PCI DSS</category><category domain="http://www.communities.hp.com/securitysoftware/blogs/rafal/archive/tags/compliance/default.aspx">compliance</category><category domain="http://www.communities.hp.com/securitysoftware/blogs/rafal/archive/tags/web+application+security/default.aspx">web application security</category><category domain="http://www.communities.hp.com/securitysoftware/blogs/rafal/archive/tags/Web+application+firewall/default.aspx">Web application firewall</category></item><item><title>Web Application Security 101: Simple SQL Injection</title><link>http://www.communities.hp.com/securitysoftware/blogs/rafal/archive/2008/10/04/web-application-security-101-simple-sql-injection.aspx</link><pubDate>Sat, 04 Oct 2008 05:08:00 GMT</pubDate><guid isPermaLink="false">94bda21f-7d63-4095-85de-7c2a68fb172c:86018</guid><dc:creator>RafalLos</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.communities.hp.com/securitysoftware/blogs/rafal/rsscomments.aspx?PostID=86018</wfw:commentRss><comments>http://www.communities.hp.com/securitysoftware/blogs/rafal/archive/2008/10/04/web-application-security-101-simple-sql-injection.aspx#comments</comments><description>&lt;p&gt;&amp;nbsp; Web application security is a hot topic, no doubting that these days.&amp;nbsp; The awareness is growing and developers are starting to take notice of the security shortfalls in their code.&amp;nbsp; Awareness of attacks like SQL injection, cross-site scripting, and CSRF (Cross-Site Request Forgery) is starting to spread and so are ways to protect against these types of attacks.&lt;/p&gt;&lt;p&gt;&amp;nbsp;With this Security 101 post I&amp;#39;d like to call attention to a particular type of attack that (after nearly 5 years of executing it successfully) is finally starting to trend towards extinction - but sadly still is all-too-common.&amp;nbsp; Let&amp;#39;s do this by example... &lt;/p&gt;&lt;p&gt;&amp;nbsp; As you visit your favorite site one of the first thing that the server on the other end of your connection does is checks your browser.&amp;nbsp; It does this for an obvious reason: it needs to know whether to serve you java or ActiveX/.Net -based content.&amp;nbsp; This isn&amp;#39;t going to go away since I don&amp;#39;t see either Microsoft or Mozilla dropping out of the browser game, so the checking of &amp;quot;user-agent&amp;quot; will continue. Moving on in our example, the server pulls the &amp;quot;user-Agent&amp;quot; header component and has to compare it against known types of browsers.&amp;nbsp; Now, there are a number of ways that the server can check your browser version (against an XML file, using JavaScript from within the page, or using a database call) but it is fairly likely that it will be done with a database call to the back-end database server against a table of supported browsers.&amp;nbsp; Here&amp;#39;s where the magic happens if you&amp;#39;re an attacker.&amp;nbsp; Most of the time, if the developer is making a database call to check browser version compatibility they are *not* sanitizing that parameter before passing it into the database server.&amp;nbsp; This, of course, leads to &lt;b&gt;SQL Injection&lt;/b&gt;.&lt;/p&gt;&lt;p&gt;&amp;nbsp; This absolutely fundamental check can cause a site or application with *zero form inputs* to still be vulnerable to SQL Injection.&amp;nbsp; I&amp;#39;ve seen it first-hand, so I know it exists in &amp;quot;the wild&amp;quot;. Absolutely fascinating since I&amp;#39;ve had developers ask me why they need to sanitize parameters when they have little (or no) form inputs on a site.&amp;nbsp; My answer is always this example.&lt;/p&gt;&lt;p&gt;&amp;nbsp; The moral of this story is don&amp;#39;t get over-confident.&amp;nbsp; Just because your site/application is &amp;#39;basic&amp;#39; or short of complex inputs it does not necessarily mean that you&amp;#39;re invulnerable to attacks like SQL Injection.&amp;nbsp; Check and sanitize &lt;b&gt;all&lt;/b&gt; your parameters coming from the user-side.&amp;nbsp; Never, ever, under any circumstances trust data coming from the client.&amp;nbsp; This goes for *any* data, including header fields! &lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://www.communities.hp.com/securitysoftware/aggbug.aspx?PostID=86018" width="1" height="1"&gt;</description><category domain="http://www.communities.hp.com/securitysoftware/blogs/rafal/archive/tags/hacking/default.aspx">hacking</category><category domain="http://www.communities.hp.com/securitysoftware/blogs/rafal/archive/tags/web+application+security/default.aspx">web application security</category><category domain="http://www.communities.hp.com/securitysoftware/blogs/rafal/archive/tags/input+validation/default.aspx">input validation</category><category domain="http://www.communities.hp.com/securitysoftware/blogs/rafal/archive/tags/user-agent/default.aspx">user-agent</category><category domain="http://www.communities.hp.com/securitysoftware/blogs/rafal/archive/tags/data+sanitization/default.aspx">data sanitization</category><category domain="http://www.communities.hp.com/securitysoftware/blogs/rafal/archive/tags/web+application+hacking/default.aspx">web application hacking</category><category domain="http://www.communities.hp.com/securitysoftware/blogs/rafal/archive/tags/sql+injection/default.aspx">sql injection</category></item><item><title>Security Program vs. Shrinking Budget - Part 1</title><link>http://www.communities.hp.com/securitysoftware/blogs/rafal/archive/2008/07/13/security-program-vs-shrinking-budget-part-1.aspx</link><pubDate>Sun, 13 Jul 2008 06:25:00 GMT</pubDate><guid isPermaLink="false">94bda21f-7d63-4095-85de-7c2a68fb172c:83758</guid><dc:creator>RafalLos</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.communities.hp.com/securitysoftware/blogs/rafal/rsscomments.aspx?PostID=83758</wfw:commentRss><comments>http://www.communities.hp.com/securitysoftware/blogs/rafal/archive/2008/07/13/security-program-vs-shrinking-budget-part-1.aspx#comments</comments><description>&lt;p&gt;&amp;nbsp;Greetings readers, it&amp;#39;s been a while since I wrote up an article - but I&amp;#39;ve been busy I assure you.&amp;nbsp; I&amp;#39;ve been gathering up information for the series you&amp;#39;re about to read over the coming weeks.&lt;/p&gt;&lt;p&gt;&amp;nbsp;As I travel and speak to large enterprises at the starting stages of implementing web application security programs, I&amp;#39;ve noticed a trend in the types of challenges CISOs and&amp;nbsp; security program leaders face.&amp;nbsp; While the questions are asked slightly differently from place to place, the enterprise profiles are different, the applications are different - everyone is asking the same thing.&amp;nbsp; CISOs and web application security program leaders are desperate to know how they can implement their fledgling programs with little or no budget.&lt;/p&gt;&lt;p&gt;&amp;nbsp;I know, you&amp;#39;re reading this thinking - &amp;quot;we have the same exact problem&amp;quot;... and I&amp;#39;d like to say that I have an answer for you.&amp;nbsp; While it&amp;#39;s not going to work 100% of the time, and there is still some work for you to do - I do have the answer.&lt;/p&gt;&lt;p&gt;Think of it- what if you could build a program that has the PPT (People, Processes, Tools) you wanted, without any of the budgetary requirements.&amp;nbsp; What if you could do it without putting a single additional penny into your budget?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Stay tuned.&amp;nbsp; I&amp;#39;ll show you how. &lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://www.communities.hp.com/securitysoftware/aggbug.aspx?PostID=83758" width="1" height="1"&gt;</description><category domain="http://www.communities.hp.com/securitysoftware/blogs/rafal/archive/tags/web+application+security/default.aspx">web application security</category><category domain="http://www.communities.hp.com/securitysoftware/blogs/rafal/archive/tags/security+budget/default.aspx">security budget</category><category domain="http://www.communities.hp.com/securitysoftware/blogs/rafal/archive/tags/security+program/default.aspx">security program</category></item><item><title>Misunderstanding the Purpose of Automated Tools</title><link>http://www.communities.hp.com/securitysoftware/blogs/rafal/archive/2008/06/11/misunderstanding-the-purpose-of-automated-tools.aspx</link><pubDate>Wed, 11 Jun 2008 02:29:00 GMT</pubDate><guid isPermaLink="false">94bda21f-7d63-4095-85de-7c2a68fb172c:83208</guid><dc:creator>RafalLos</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.communities.hp.com/securitysoftware/blogs/rafal/rsscomments.aspx?PostID=83208</wfw:commentRss><comments>http://www.communities.hp.com/securitysoftware/blogs/rafal/archive/2008/06/11/misunderstanding-the-purpose-of-automated-tools.aspx#comments</comments><description>&lt;p&gt;&amp;nbsp; Let&amp;#39;s get this out in the open - &lt;u&gt;there is a misunderstood purpose of automated tools in web application security&lt;/u&gt;.&amp;nbsp; Based on my personal experiences&amp;nbsp;in front of&amp;nbsp;both management and engineering teams in the last few months, I feel this needs to be addressed, and addressed now.&lt;/p&gt;
&lt;p&gt;&amp;nbsp; I know that as a vendor of tools, we would like everyone to use our wares to find and mitigate their web application security vulnerabilities - but no one here is dilusional.&amp;nbsp; No one here in the HP ASC will ever tell you that buying/implementing our tools&amp;nbsp;will give you&amp;nbsp;total security for your web applications.&amp;nbsp; No one here will ever advocate our tools as the sole solution to an enterprise web application security strategy.&lt;/p&gt;
&lt;p&gt;&amp;nbsp; So why do other vendors do it?&amp;nbsp; More to the point - why is it that I am often asked the question... &amp;quot;&lt;em&gt;So can you tell me if we implement (the HP ASC Security Suite, or some subset thereof) we will have secure web applications?&lt;/em&gt;&amp;quot;&amp;nbsp; Still scarrier - why do people get upset at me when I answer them with a stout &amp;quot;&lt;em&gt;No... our tools are but one part of a holistic strategy&lt;/em&gt;&amp;quot;.&amp;nbsp; Before you think that this can&amp;#39;t possibly be anyone you know, or any manager you work for... think again.&amp;nbsp; The list of places and teams that have posed this question starts in government, leads to the education sector and trails into large enterprises just the same.&lt;/p&gt;
&lt;p&gt;&amp;nbsp; I know there is some level of education that has to happen, and to some degree vendors are to blame for trying to sell &amp;quot;Magic Bullet&amp;quot; solutions at times to make the sale but the reality is no one piece of software will fix your web security woes holistically.&amp;nbsp; Let me elaborate, and explain my case.&lt;/p&gt;
&lt;p&gt;&amp;nbsp; First, tools are just one piece of the security pyramid (People -&amp;nbsp;Process -&amp;nbsp;Tools).&amp;nbsp; I&amp;#39;ve had that slide in my presentations as far back as I can remember presenting, and it&amp;#39;s served me well but I do think it&amp;#39;s time to preach that a little more emphatically.&amp;nbsp; People and Process are the other two key factors to a successful web-app-sec strategy - without them the tools are of very little use.&amp;nbsp; It&amp;#39;s like having a 500Hp sports car with a nice manual gearbox and not being able to drive a manual and having no gas in the tank.&amp;nbsp; Building a successful&amp;nbsp;practice takes all 3 pieces of the pyramid to be well-established in order to function.&amp;nbsp; While the *people* are the foundation of the whole pyramid, the processes and tools keep the pyramid from collapsing on itself.&amp;nbsp; Without the other 2, no one piece can stand alone... &lt;/p&gt;
&lt;p&gt;&amp;nbsp; I&amp;#39;m writing a piece on the P-P-T (People/Process/Tools), but in the mean time ... this should give you something to think about.&amp;nbsp; Let&amp;#39;s just be clear one more time... no &amp;quot;tools&amp;quot; can solve the web application security problem holistically... but I will continue to argue that HP&amp;#39;s ASC Suite provides the most comprehensive, most complete lifecycle solution out there, bar-none.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://www.communities.hp.com/securitysoftware/aggbug.aspx?PostID=83208" width="1" height="1"&gt;</description><category domain="http://www.communities.hp.com/securitysoftware/blogs/rafal/archive/tags/process/default.aspx">process</category><category domain="http://www.communities.hp.com/securitysoftware/blogs/rafal/archive/tags/holistic+security/default.aspx">holistic security</category><category domain="http://www.communities.hp.com/securitysoftware/blogs/rafal/archive/tags/web+application+security/default.aspx">web application security</category><category domain="http://www.communities.hp.com/securitysoftware/blogs/rafal/archive/tags/automated+tools/default.aspx">automated tools</category><category domain="http://www.communities.hp.com/securitysoftware/blogs/rafal/archive/tags/automated+testing/default.aspx">automated testing</category></item></channel></rss>