<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title><![CDATA[[SecurityRatty] tag: ugly]]></title>
    <link>http://securityratty.com/tag/ugly</link>
    <description></description>
    <pubDate>Fri, 01 Aug 2008 12:21:00 +0000</pubDate>
    <generator>iRatty Engine</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <item>
      <title><![CDATA[Raffys Visualization Book]]></title>
      <link>http://securityratty.com/article/f4265f82839e3f66c8b6b3a78d7fa468</link>
      <guid>http://securityratty.com/article/f4265f82839e3f66c8b6b3a78d7fa468</guid>
      <description><![CDATA[Here is my long-overdue book review for Applied Security Visualization by Raffy Marty
First, here is what my early endorsement for the book said (can be found on the inside cover of the book
Amazingly...]]></description>
      <content:encoded><![CDATA[<p>Here is my long-overdue book review for <a href="http://www.amazon.com/Applied-Security-Visualization-Raffael-Marty/dp/0321510100">“Applied Security Visualization“&#160; by Raffy Marty</a>.</p>  <p>First, here is what my early endorsement for the book said (can be found on the inside cover of the book):</p>  <p>“Amazingly useful (and fun to read!) book that does justice to this&#160; somewhat esoteric subject - and this is coming from a long-time&#160; visualization skeptic! What is most impressive that&#160; this book is&#160; actually 'hands-on-useful,&quot; not conceptual, with examples usable by&#160; readers in their daily jobs. Chapter 8 on insiders is my favorite!”</p>  <p>What else do I think of the book, apart from the fact that it is awesome? :-)</p>  <p>First, I have to admit that I used to argue with Raffy about usefulness of visualization. I was burned by having to look at bad “visualization” tools and would take <em>an ugly, meaningful table over an ugly, meaningless picture</em> any day now. Thus, I was a visualization skeptic. Buy you know what? The book does justice to visualization really well, and it explains when to use it and when not to use it.</p>  <p>The book gives just the right amount of visualization theory, which is not onerous to read at all (unlike some other books), as well as other visualization basics. The fun starts at Chapter 4, where he covers&#160; the process from data to useful pictures. This actually explains why some visualization are useful and some are not; if you just jam data into a graphing program, there is a good chance that it would not be too useful. If you follow the ideas from Ch4, it is more likely to be useful.</p>  <p>Ch5 and 6 cover network data analysis: logs, packets, flows. This is what most people usually try to visualize; this book goes beyond “worms and scans” into nice visuals of email traffic, wireless and even vulnerability data (I found the latter slightly confusing). Ch7 covers “compliance”, which, in this case, covers all sorts of fun things, from risk assessment to database log visualization.&#160; As I said, Ch8 is my favorite: I agree that insider tracking MAY be the area where visualization tools and approaches beat others. In Ch9, the book covers a few visualization tools; obviously, including the author’s AfterGlow.</p>  <p>So, to summarize, get the book if you have any connection to security AND data analysis. In fact, it is very likely that if you are doing security, you’d have to do data analysis at some point and so will benefit from reading the book. And, yes, it does come with a CD full of visualization tools (DAVIX).</p>  <p>BTW, I am posting it <a href="http://www.amazon.com/Applied-Security-Visualization-Raffael-Marty/dp/0321510100">at Amazon</a> as well.</p>  <div class="blogger-post-footer">About me: http://www.chuvakin.org</div><div class="feedflare">
<a href="http://feeds.feedburner.com/~f/AntonChuvakinPersonalBlog?a=wgwyN"><img src="http://feeds.feedburner.com/~f/AntonChuvakinPersonalBlog?i=wgwyN" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/AntonChuvakinPersonalBlog?a=ADZPN"><img src="http://feeds.feedburner.com/~f/AntonChuvakinPersonalBlog?i=ADZPN" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/AntonChuvakinPersonalBlog?a=N8CKN"><img src="http://feeds.feedburner.com/~f/AntonChuvakinPersonalBlog?i=N8CKN" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/AntonChuvakinPersonalBlog/~4/460098463" height="1" width="1"/>]]></content:encoded>
      <pubDate>Thu, 20 Nov 2008 11:40:00 +0000</pubDate>
      <category domain="http://securityratty.com/tag/visualization">visualization</category>
      <category domain="http://securityratty.com/tag/visualization tools">visualization tools</category>
      <category domain="http://securityratty.com/tag/bad visualization tools">bad visualization tools</category>
      <category domain="http://securityratty.com/tag/book">book</category>
      <category domain="http://securityratty.com/tag/database log visualization">database log visualization</category>
      <category domain="http://securityratty.com/tag/security visualization">security visualization</category>
      <category domain="http://securityratty.com/tag/long-time visualization skeptic">long-time visualization skeptic</category>
      <category domain="http://securityratty.com/tag/long-overdue book review">long-overdue book review</category>
      <category domain="http://securityratty.com/tag/book covers">book covers</category>
      <source url="http://feeds.feedburner.com/~r/AntonChuvakinPersonalBlog/~3/460098463/raffys-visualization-book.html">Raffys Visualization Book</source>
    </item>
    <item>
      <title><![CDATA[What's Happiness Got to Do With It?]]></title>
      <link>http://securityratty.com/article/141d4a55a5d3195a7aaaa7ca4b3a3c7e</link>
      <guid>http://securityratty.com/article/141d4a55a5d3195a7aaaa7ca4b3a3c7e</guid>
      <description><![CDATA[Gartner's own John Pescatore has issued a 12 world post
The best security program is at the business with the happiest customers

Happiness? Really? That's the measure of program effectiveness? I...]]></description>
      <content:encoded><![CDATA[<p>Gartner&#39;s own John Pescatore has issued a 12 world <a href="http://blogs.gartner.com/john_pescatore/2008/10/28/twelve-word-tuesday-measuring-security-program-effectiveness/">post:</a></p><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><p><span style="color: #333333; font-family: Arial; font-size: 14px; line-height: 17px; ">The best security program is at the business with the happiest customers.</span></p></blockquote><br /><div>Happiness? Really? That&#39;s the measure of program effectiveness? I would see those 12 words and raise them one word (13 if you&#39;re scoring at home):</div><br /><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><p>There&#39;s a fine line between happy customers and playing piano in a bordello.</p></blockquote><br /><div>I mean the people running hedge funds and derivative books at AIG, Lehman and friends had lots of happy customers for the last decade!</div><br /><div>To me the happy customer is a classic IT copout &quot;we just did what the &quot;business&quot; asked&quot;. Like we&#39;re just a bystander or something. Its our job to create business value and be business like. We should seek to <span style="font-style: italic;">empower</span> out customers, not make them happy.&#0160;</div><br /><div>Please understand I am not that guy who says IT security has to be the &quot;bad cops&quot; who deny everything the business wants to do. Just saying it is our job to raise the bar where we can. Raising the bar does not always create super happy customers in the short run, but it does empower companies.</div><br /><div>Unfortunately, playing piano in the bordello is what a lot of security groups do and even big analyst firms. The path of least resistance ain&#39;t always the way. Here is an example. I was at a client many years ago, they wanted to build a big Identity Management solution, so of course they wrote a big RFI got responses from Sun, IBM, Oracle and friends. The bids were in the $3-5 million range. Pretty big projects for an Infosec team. So what do you do? Call up a big analyst firm and get some advice, right?</div><br /><div>A week goes by and we get an audience with the &quot;guru&quot; from the Big Analyst Firm. The client has pretty detailed requirements, what systems they want to connect to, what use cases they are looking to solve for, &#0160;and so on. We anxiously await the knowledge the analyst is about to transfer to us. His response was as follows - &quot;what kind of shop are you? IBM shop? Oracle shop?&quot; &quot;Ummm...we are a huge company we have everything.&quot; &quot;Well if you are more of a IBM shop you should go with them. If you are more of a Oracle shop you should go with them.&quot; That was the extent of a 30 minute conversation. True story.</div><br /><div>Of course, the one value proposition of the Big Analyst Firms is that they supposedly can tell you what everyone else is supposedly doing. There is some value in this I grant you. And it does make for happy customers because even when you force your customers to change, you can say &quot;Well geez, I know its hard but the Big Analyst Firm says that everyone is doing it.&quot; But is this security improvement?</div><br /><div>Back in 2004, I went to a great security conference, it was Information Security Decisions (<a href="http://infosecurityconference.techtarget.com/conference/index.html">they are back in Chicago next week</a>). It was in Chicago, downtown on the river. Tom Davern even took us all out on a boat for lunch one day. Anyway, there was one truly great talk there. It wasn&#39;t Fred Cohen debating <a href="http://cigital.com/justiceleague/">Gary McGraw</a> on application security which was outstanding (in which Fred uttered the memorable line &quot;I agree with Gary everywhere he agrees with me.&quot; (Gary won the debate, his best line - &quot;We know how to win the software security war, but we don&#39;t know how to manage the peace&quot; still the problem today actually)) It wasn&#39;t Pete Lindstrom showing his security metrics framework (which is still a great starting point). it wasn&#39;t Dan Geer&#39;s fireside chat.</div><br /><div>The truly great talk, though, was by the now departed <a href="http://1raindrop.typepad.com/1_raindrop/2007/02/thinking_about_.html">Robert Garigue</a>. It was called &quot;Its the End of the CISO as I Know It, (And I Feel Fine).&quot; The whole end to end talk was wonderful, there are several things in there that I still use every single day like the separate security models for Infostructure and Infrastructure but the point I want to talk about is the CISO role.</div><br /><div>Garigue talked about the two most prevalent CISO models - the jester and the bad cop. The jester CISO</div><br /><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><p><span style="color: #333333; line-height: 19px; ">Sees a lot</span><br /><span style="color: #333333; line-height: 19px; ">Can tell the king he has no clothes</span><br /><span style="color: #333333; line-height: 19px; ">Can tell the king he really is ugly</span><br /><span style="color: #333333; line-height: 19px; ">Does not get killed by the king</span><br /><span style="color: #333333; line-height: 19px; ">Nice to have around but…how much security improvement comes from this ?</span></p></blockquote><p><span style="color: #333333; line-height: 19px;"><br /></span></p><div><span style="color: #333333; line-height: 19px;">The jester has happy customers! At least for awhile.</span></div><div><span style="color: #333333; line-height: 19px;"><br /></span></div><div><span style="color: #333333; line-height: 19px;">Again I grant you bad cop is not the way to go either (and while this already long post could read harsh on John Pescatore&#39;s pithy summary, I give him a lot of points for saying that security needs to be customer conscious).</span></div><div><span style="color: #333333; line-height: 19px;"><br /></span></div><div><span style="color: #333333; line-height: 19px;">We have all seen bad cop CISOs who</span></div><div><span style="color: #333333; line-height: 19px;"><br /></span></div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><p><span style="color: #333333; line-height: 19px; ">Changes happened faster that he was able to move</span><br /><span style="color: #333333; line-height: 19px; ">Did not read the signs</span><br /><span style="color: #333333; line-height: 19px; ">Good intentions went unfulfilled</span><br /><span style="color: #333333; line-height: 19px; ">A brutal way to ending a promising career</span><br /><span style="color: #333333; line-height: 19px; ">Sad to have around but…how much security improvement comes from this ?</span></p></blockquote><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><p><span style="color: #333333; line-height: 19px;"><br /></span></p></blockquote><p><span style="color: #333333; line-height: 19px;"></span></p><p style="margin-top: 10px; margin-bottom: 10px; text-align: left; ">Obviously these models of CISOs are not solving our information security problems. Instead Dr. Garigue points us to Charlemagne as a better model</p><blockquote style="margin-top: 10px; margin-bottom: 10px; "><p>King of the Franks and Holy Roman Emperor; conqueror of the Lombards and Saxons (742-814) - reunited much of Europe after the Dark Ages.</p><p style="margin-top: 10px; margin-bottom: 10px; text-align: left; ">He set up other schools, opening them to peasant boys as well as nobles. Charlemagne never stopped studying. He brought an English monk, Alcuin, and other scholars to his court - encouraging the development of a standard script.</p><p style="margin-top: 10px; margin-bottom: 10px; text-align: left; ">He set up money standards to encourage commerce, tried to build a Rhine-Danube canal, and urged better farming methods. He especially worked to spread education and Christianity in every class of people.</p><p style="margin-top: 10px; margin-bottom: 10px; text-align: left; ">He relied on Counts, Margraves and Missi Domini to help him.</p><p style="margin-top: 10px; margin-bottom: 10px; text-align: left; ">Margraves - Guard the frontier districts of the empire. Margraves retained, within their own jurisdictions, the authority of dukes in the feudal arm of the empire.</p><p style="margin-top: 10px; margin-bottom: 10px; text-align: left; ">Missi Domini - Messengers of the King.</p></blockquote><p style="margin-top: 10px; margin-bottom: 10px; text-align: left; "></p><p style="margin-top: 10px; margin-bottom: 10px; text-align: left; ">This is the way forward! Find software security champions in the architecture and development groups,help them understand the real security issues. They will find solutions you have not thought of. Same for DBAs, same for business analysts even. Its all about beating the bushes, education, and decentralizing security services. Specifically, he points out this important mandate for IT security</p><p></p><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><p><span style="color: #333333; line-height: 19px; ">Knowledge of risky things is of strategic value</span></p></blockquote><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><p><span style="color: #333333; line-height: 19px; ">How to know today tomorrow’s unknown ?</span><br /><span style="color: #333333; line-height: 19px; ">How to structure information security processes in an organization so as to identify and address the NEXT categories of risks ?</span></p></blockquote><p><span style="color: #333333; line-height: 19px;"></span></p><p style="margin-top: 10px; margin-bottom: 10px; text-align: left; ">To me this is our mandate and measure of effectiveness. Empower our customers, educate, and create business value. If I am a CISO &#0160;I don&#39;t want 20 people reporting to me who do firewall ruleset changes. I want one champion in 20 different groups - development teams, architects, DBAs, business analysts.</p><p style="margin-top: 10px; margin-bottom: 10px; text-align: left; ">A concrete example, infosec can continue to go along with the herd and follow the &quot;what everyone else is doing architecture&quot; meanwhile developers are connecting <span style="font-style: italic;"><span style="font-weight: bold;">every single thing</span></span> in your business to the Web. I have been doing integration and new technology projects for a long time, and let me tell you - Change does not always create happy customers in the short run. But the chart below shows that information security is maybe more concerned with not causing waves rather than adapting.</p><p style="margin-top: 10px; margin-bottom: 10px; text-align: left; "></p>
<div><a href="http://1raindrop.typepad.com/photos/uncategorized/2008/05/19/innovatecompare_2.png"><img alt="Innovatecompare_2" border="0" height="167" src="http://1raindrop.typepad.com/1_raindrop/images/2008/05/19/innovatecompare_2.png" title="Innovatecompare_2" width="300" /></a><p></p></div><div>How long can developers evolve, connect everything and security people not change anything? Herb Stein said, &quot;things that can&#39;t go on forever, don&#39;t. &quot;At some point these chickens are coming home to roost, there is a yawning gap between rapidly evolution connecting the enterprise and the 13 year old and counting security architecture that &quot;Everyone else is using&quot; and when those chicken come home to roost you may not have happy customers then. Here is my 12 words:</div><br /><p></p><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><p><span style="color: #333333; font-family: Arial; font-size: 14px; line-height: 17px; ">The best security program is at the business with sustainable competitive advantage.</span></p></blockquote>]]></content:encoded>
      <pubDate>Wed, 29 Oct 2008 07:00:44 +0000</pubDate>
      <category domain="http://securityratty.com/tag/information security">information security</category>
      <category domain="http://securityratty.com/tag/information security decisions">information security decisions</category>
      <category domain="http://securityratty.com/tag/security">security</category>
      <category domain="http://securityratty.com/tag/software security champions">software security champions</category>
      <category domain="http://securityratty.com/tag/architecture">architecture</category>
      <category domain="http://securityratty.com/tag/security architecture">security architecture</category>
      <category domain="http://securityratty.com/tag/security metrics framework">security metrics framework</category>
      <category domain="http://securityratty.com/tag/super happy customers">super happy customers</category>
      <category domain="http://securityratty.com/tag/happy customers">happy customers</category>
      <source url="http://1raindrop.typepad.com/1_raindrop/2008/10/whats-happiness-got-to-do-with-it-1.html">What's Happiness Got to Do With It?</source>
    </item>
    <item>
      <title><![CDATA[Partial Disclosure - The Good, Bad, and Ugly]]></title>
      <link>http://securityratty.com/article/0f6f787360fca21b1b1d9b08ece3672b</link>
      <guid>http://securityratty.com/article/0f6f787360fca21b1b1d9b08ece3672b</guid>
      <description><![CDATA[There is apparently a bit of fear going around information security circles that the next big trend in the disclosure wars is going to be Partial Disclosure. In the past, the vulnerability research...]]></description>
      <content:encoded><![CDATA[<p>There is apparently a bit of fear going around information security circles that the next big trend in the disclosure wars is going to be &#8220;Partial Disclosure&#8221;. In the past, the vulnerability research community has embraced the concepts of &#8220;Full Disclosure&#8221; and/or &#8220;Non-Disclosure&#8221;. Once those concepts had been sufficiently played out, the general consensus was to move towards &#8220;Responsible Disclosure&#8221; whereby the security researcher responsibly discloses the discovered vulnerability to the vendor and works in a cooperative fashion in an effort to minimize the risk to the general user populous. This has worked well in the vast majority of cases that I have had the pleasure of managing the disclosure process.</p>
<p><b>Partial Disclosure - The Good</b></p>
<p>The responsible disclosure process tends to break down in rare occasions where the vendor doesn&#8217;t want to fix the issue. When this occurs, the researcher is put into a difficult position whereby full disclosure could put users&#8217; systems at high risk of compromise. The other case where partial disclosure becomes an alternative is when the researcher has discovered a design flaw in a protocol or underlying multiple vendor component. Examples of this case include the DNS flaws published this past summer by Dan Kaminsky and the TCP denial of service condition discovered by Robert E. Lee and Jack Louis that is currently in the disclosure process. When the flaw affects a very large number of vendors and the actual problem is located within the underlying protocols that support the communications of the Internet as a whole, one possible solution is to follow a partial disclosure model where phasing the details to the general public can be used to encourage adoption and creation of patches throughout the enormous target audience.</p>
<p><b>Partial Disclosure - The Bad</b></p>
<p>What is driving the fear surrounding partial disclosure is the potential for abuse. When a major flaw is partially disclosed, a number of potential issues may occur. First and foremost, the further along the partial disclosure path we are, the more details will be released to the public, and the higher the probability that someone (either good or bad intentioned) will figure out the exploit and disclose the details. Second, when partially disclosing, the vendor&#8217;s hand is being forced into a situation that could speed up fixes, reduce testing, and cause ripple problems elsewhere within the infrastructure. It is difficult enough to dance the fine time line when doing responsible disclosure, but if we are escalated to the point of partial disclosure, additional fuel is added to the fire.</p>
<p><b>The Ugly</b></p>
<p>The real ugly part of partial disclosure is when we add to the equation the ability to spread fear, uncertainty, and doubt into the normal user community. It is generally well accepted that FUD can be used to drive additional revenue. If it is possible to increase the perceived magnitude of the &#8220;problem&#8221; that your product or service solves, it is possible to directly impact the demand for that product or service. That is the major fear imposed by the growing trend of partial disclosure. By releasing just enough information to trigger wide scale speculation into the flaw, it is possible to create buzz and garner media attention resulting in a lot of speculation and very little hard facts around the issue. The potential for abuse by the security industry at large is enormous.</p>
<p><b>The Fix</b></p>
<p>Some have suggested a group of security researchers be convened to vet the requirement of partial disclosure and to allow for independent peer review of any security research that requires the partial disclosure process. This suggestion leaves questions regarding who would stand on this group and who would be impartial enough to ensure that the right thing was always done regardless of profit potential. It also leaves open the opportunity for member researchers to utilize the information gathered during the vetting process to position themselves to profit from the data upon release. It might be wiser to rely on a higher level authority or government entity to manage this process and use the services of security researchers as required for subject matter expertise. While a group of this type wouldn&#8217;t ensure that all partial disclosure is appropriate, it would hopefully limit the potential for abuse and the ever present chance that people try to profit from the FUD that surrounds the current partial disclosure process.</p>
]]></content:encoded>
      <pubDate>Tue, 21 Oct 2008 09:58:00 +0000</pubDate>
      <category domain="http://securityratty.com/tag/partial disclosure">partial disclosure</category>
      <category domain="http://securityratty.com/tag/process">process</category>
      <category domain="http://securityratty.com/tag/responsible disclosure process">responsible disclosure process</category>
      <category domain="http://securityratty.com/tag/partial disclosure process">partial disclosure process</category>
      <category domain="http://securityratty.com/tag/disclosure">disclosure</category>
      <category domain="http://securityratty.com/tag/partial disclosure model">partial disclosure model</category>
      <category domain="http://securityratty.com/tag/responsible disclosure">responsible disclosure</category>
      <category domain="http://securityratty.com/tag/partial disclosure path">partial disclosure path</category>
      <category domain="http://securityratty.com/tag/disclosure andor non-disclosure">disclosure andor non-disclosure</category>
      <source url="http://www.veracode.com/blog/2008/10/partial-disclosure-the-good-bad-and-ugly/">Partial Disclosure - The Good, Bad, and Ugly</source>
    </item>
    <item>
      <title><![CDATA[Presentation on Application Logging, Done Wrong or Very Wrong :-)]]></title>
      <link>http://securityratty.com/article/64c60e0fd4df7a290c1a9b95390af78d</link>
      <guid>http://securityratty.com/article/64c60e0fd4df7a290c1a9b95390af78d</guid>
      <description><![CDATA[A final &quot;automated&quot; post, while I am on a plane back to California. This is a result of my work on defining what is a good log, based on looking at countless bad logs

This presentation &quot; Application...]]></description>
      <content:encoded><![CDATA[A final "automated" post, while I am on a plane back to California. This is a result of my work on defining what is a good log, based on looking at countless bad logs :-)<br /><br />This presentation <span style="text-decoration: underline;">"</span><a href="http://www.slideshare.net/anton_chuvakin/application-logging-good-bad-ugly-beautiful-presentation">Application Logging Good Bad Ugly ... Beautiful?</a>" would be useful to application developers who create logging functionality as well as security pros who then need to use the logs.<br /><br />Here it is, embedded below:<br /><br /><div style="width:425px;text-align:left" id="__ss_647422"><a style="font:14px Helvetica,Arial,Sans-serif;display:block;margin:12px 0 3px 0;text-decoration:underline;" href="http://www.slideshare.net/anton_chuvakin/application-logging-good-bad-ugly-beautiful-presentation?type=powerpoint" title="Application Logging Good Bad Ugly ... Beautiful?">Application Logging Good Bad Ugly ... Beautiful?</a><object style="margin:0px" width="425" height="355"><param name="movie" value="http://static.slideshare.net/swf/ssplayer2.swf?doc=applicationlogginggoodbaduglymay2008rel-1223571758617993-9&stripped_title=application-logging-good-bad-ugly-beautiful-presentation" /><param name="allowFullScreen" value="true"/><param name="allowScriptAccess" value="always"/><embed src="http://static.slideshare.net/swf/ssplayer2.swf?doc=applicationlogginggoodbaduglymay2008rel-1223571758617993-9&stripped_title=application-logging-good-bad-ugly-beautiful-presentation" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"></embed></object><div style="font-size:11px;font-family:tahoma,arial;height:26px;padding-top:2px;">View SlideShare <a style="text-decoration:underline;" href="http://www.slideshare.net/anton_chuvakin/application-logging-good-bad-ugly-beautiful-presentation?type=powerpoint" title="View Application Logging Good Bad Ugly ... Beautiful? on SlideShare">presentation</a> or <a style="text-decoration:underline;" href="http://www.slideshare.net/upload?type=powerpoint">Upload</a> your own. (tags: <a style="text-decoration:underline;" href="http://slideshare.net/tag/logs">logs</a> <a style="text-decoration:underline;" href="http://slideshare.net/tag/logging">logging</a>)</div></div><br /><br /><br />Enjoy!<div class="blogger-post-footer">About me: http://www.chuvakin.org</div><div class="feedflare">
<a href="http://feeds.feedburner.com/~f/AntonChuvakinPersonalBlog?a=qaZcM"><img src="http://feeds.feedburner.com/~f/AntonChuvakinPersonalBlog?i=qaZcM" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/AntonChuvakinPersonalBlog?a=EHOqM"><img src="http://feeds.feedburner.com/~f/AntonChuvakinPersonalBlog?i=EHOqM" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/AntonChuvakinPersonalBlog?a=oc8SM"><img src="http://feeds.feedburner.com/~f/AntonChuvakinPersonalBlog?i=oc8SM" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/AntonChuvakinPersonalBlog/~4/423694840" height="1" width="1"/>]]></content:encoded>
      <pubDate>Fri, 17 Oct 2008 01:55:00 +0000</pubDate>
      <category domain="http://securityratty.com/tag/presentation">presentation</category>
      <category domain="http://securityratty.com/tag/application">application</category>
      <category domain="http://securityratty.com/tag/logs">logs</category>
      <category domain="http://securityratty.com/tag/countless bad logs">countless bad logs</category>
      <category domain="http://securityratty.com/tag/bad ugly">bad ugly</category>
      <category domain="http://securityratty.com/tag/application developers">application developers</category>
      <category domain="http://securityratty.com/tag/view slideshare presentation">view slideshare presentation</category>
      <category domain="http://securityratty.com/tag/security pros">security pros</category>
      <category domain="http://securityratty.com/tag/beautiful">beautiful</category>
      <source url="http://feeds.feedburner.com/~r/AntonChuvakinPersonalBlog/~3/423694840/presentation-on-application-logging.html">Presentation on Application Logging, Done Wrong or Very Wrong :-)</source>
    </item>
    <item>
      <title><![CDATA[From the Executive Women's Forum on Information Security]]></title>
      <link>http://securityratty.com/article/f2976566aba2a7d7042931766a835f14</link>
      <guid>http://securityratty.com/article/f2976566aba2a7d7042931766a835f14</guid>
      <description><![CDATA[The theme of the 2008 Executive Women's Forum on Information Security, Risk Management &amp; Privacy is &quot;risk convergence is inevitable.&quot; The risks associated with information security, privacy, physical...]]></description>
      <content:encoded><![CDATA[The theme of the 2008 Executive Women's Forum on Information Security, Risk Management & Privacy is "risk convergence is inevitable." The risks associated with information security, privacy, physical security and so forth are converging such that an integrated management approach is required from within the firm. <br />
<br />
Interestingly enough, business continuity management was not a key risk area mentioned by all panelists of the session titled "Convergence: The Good, The Bad & The Ugly." There were two pieces of strategic program management advice from the panelists. The first point is that you have to partner with all of your lines of business and corporate support areas. Since risk is related to the delivery of the business, no one department can address all of the issues. And, you might find that there are good practices already in place within your firm, so that you are not reinventing the wheel - leverage the good stuff throughout the firm. The second point is to focus on the budget issue - how many risk-related activities are already in place in your organization that could be combined, and possibly duplicated, so that more work gets done with less money spent? Pooling of already limited budgets can go a long way toward developing a program that is more mature, delivers more benefit to the organization and eliminates a lot of duplicative work. <br />
<br />
But all of this convergence comes at a price - mainly in fear, uncertainty and doubt of the workforce. Some feel that they will lose authority (especially in siloed risk approaches); others might lose their jobs as a result of the convergence. This human aspect was mentioned as the key challenge of an integrated approach. Therefore, communicating not only up within the firm but down to the workforce is critical to achieving a well-run and integrated program. <br />
<br />
And finally, for those areas that just don't want to "play the game," use your internal audit department as the "stick" that can get them to act. When I was an IT risk manager, I always said that I was management's best friend - let me tell you the gaps in your risk program rather than having them come from the audit department, which then become part of the records of the firm.]]></content:encoded>
      <pubDate>Thu, 18 Sep 2008 15:29:34 +0000</pubDate>
      <category domain="http://securityratty.com/tag/risk">risk</category>
      <category domain="http://securityratty.com/tag/risk approaches">risk approaches</category>
      <category domain="http://securityratty.com/tag/risk program">risk program</category>
      <category domain="http://securityratty.com/tag/risk management">risk management</category>
      <category domain="http://securityratty.com/tag/management">management</category>
      <category domain="http://securityratty.com/tag/management approach">management approach</category>
      <category domain="http://securityratty.com/tag/key risk">key risk</category>
      <category domain="http://securityratty.com/tag/audit department">audit department</category>
      <category domain="http://securityratty.com/tag/internal audit department">internal audit department</category>
      <source url="http://blog.gartner.com/blog/security.php?x=0&amp;itemid=3879">From the Executive Women's Forum on Information Security</source>
    </item>
    <item>
      <title><![CDATA[Assets Good Until Reached For]]></title>
      <link>http://securityratty.com/article/b4259e9d1ccfa754480b062e7acb4e32</link>
      <guid>http://securityratty.com/article/b4259e9d1ccfa754480b062e7acb4e32</guid>
      <description><![CDATA[A few months back Minyanville wondered whether this subprime mess would end up as a cancer or a car crash. Guess we know the answer now. The question is - should we be at all surprised? Some smart...]]></description>
      <content:encoded><![CDATA[<p><span style="white-space: pre-wrap; font-size: 12px; "><span style="font-family: Arial;">A few months back </span></span><a href="http://www.minyanville.com/articles/football-bears-bulls-Credit-equities-fannie/index/a/18769"><span style="font-size: 12px; "><span style="font-family: Arial;">Minyanville</span></span></a><span style="white-space: pre-wrap; font-size: 12px; "><span style="font-family: Arial;"> wondered whether this subprime mess would end up as a cancer or a car crash. Guess we know the answer now. The question is - should we be at all surprised?

Some smart folks have been warning for a long time. Warren Buffett famously called derivatives financial weapons of mass destruction.</span></span></p><div><span style="line-height: 14px; white-space: pre-wrap; font-size: 12px; "><span style="font-family: Arial;"><br /></span></span></div><div><span style="white-space: pre-wrap; font-size: 12px; "><span style="font-family: Arial;">Charlie Munger, as he is wont to do, went a bit further (from 2004):</span></span></div><div><span style="line-height: 14px; white-space: pre-wrap; font-size: 12px; "><span style="font-family: Arial;"><br /></span></span></div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><p><span style="color: #222222; line-height: 20px; font-size: 12px; "><span style="font-family: Arial;">I think a good litmus test of the mental and moral quality at any large institution [with significant derivatives exposure] would be to ask them, &quot;Do you really understand your derivatives book?&quot; Anyone who says yes is either crazy or lying.</span></span></p></blockquote><div><span style="white-space: pre-wrap; font-size: 12px; "><span style="font-family: Arial;">
</span></span><div><span style="white-space: pre-wrap; font-size: 12px; "><span style="font-family: Arial;">They have many other statements in the same direction, based on their own experience from buying companies that used deriviatives where they were unable to to unwind the books and figure out who owed who. At the last Berkshire Hathaway annual meeting someone asked Charlie Munger what we could learn from past blow ups about the present crisis</span></span></div><div><span style="line-height: 14px; white-space: pre-wrap; font-size: 12px; "><span style="font-family: Arial;"><br /></span></span></div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><p><span style="color: #333333; line-height: 20px; font-size: 12px; "><span style="font-family: Arial;">It was a particularly foolish mess. We talked about an idiot in the credit delivery grocery business, Webvan. Internet based delivery service for groceries -- that was smarter than what happened in mortgage business. I wish we had those Webvan people back.</span></span></p></blockquote><div><div><span style="white-space: pre-wrap; font-size: 12px; "><span style="font-family: Arial;">
What can we learn from all this?
<br /></span></span></div><div><span style="line-height: 14px; white-space: pre-wrap; font-size: 12px; "><span style="font-family: Arial;">Well Dan Geer launched a revolution with his </span></span><a href="http://catless.ncl.ac.uk/risks/20.06.html"><span style="font-size: 12px; "><span style="font-family: Arial;">famous speech</span></span></a><span style="line-height: 14px; white-space: pre-wrap; font-size: 12px; "><span style="font-family: Arial;"> about risk management. He got the big picture part right on the security industry evolving into more risk management practices, however the examples we assumed that were right at the time, the financial industry are proving wrong. For one thing you can&#39;t manage a risk if you don&#39;t know the assets (back to Charlie Munger, emphasis added):</span></span></div><div><span style="line-height: 14px; white-space: pre-wrap; font-size: 12px; "><span style="font-family: Arial;"><br /></span></span></div></div></div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><p><span style="color: #333333; line-height: 20px; "><span style="color: #333333; line-height: 20px; font-size: 12px; "><span style="font-family: Arial;">It is crazy to allow things to get too big to fail, run with knavery. As an industry, there is a crazy culture of greed and overreaching and overconfidence trading algorithms. It is demented to allow derivative trading such that clearance risks are embedded in system. Assets are all “good until reached for” on balance sheets. We had $400m of that at general re, </span></span><span style="font-weight: bold; font-size: 12px; "><span style="font-family: Arial;">“good until reached for”</span></span><span style="color: #333333; line-height: 20px; font-size: 12px; "><span style="font-family: Arial;">. In drug business you must prove it is good. It is a crazy culture, and to some extent an evil culture. Accounting people really failed us. Accounting standards ought to be dealt with like engineering standards.</span></span></span></p></blockquote><div><div><div><span style="line-height: 14px; white-space: pre-wrap; font-size: 12px; "><span style="font-family: Arial;"><br /></span></span></div><div><span style="line-height: 14px; white-space: pre-wrap; font-size: 12px; "><span style="font-family: Arial;">So, yes it is about risk management, but if you build too many abstractions on top of your assets through derivative accounting and such you may find you don&#39;t have any assets when you need them. Don&#39;t fall in love with your abstractions, </span></span><a href="http://1raindrop.typepad.com/1_raindrop/2008/04/security-rules.html"><span style="font-size: 12px; "><span style="font-family: Arial;">manage your assets</span></span></a><span style="line-height: 14px; white-space: pre-wrap; font-size: 12px; "><span style="font-family: Arial;">.</span></span></div><div><span style="line-height: 14px; white-space: pre-wrap; font-size: 12px; "><span style="font-family: Arial;"><br /></span></span></div><div><span style="line-height: 14px; white-space: pre-wrap; font-size: 12px; "><span style="font-family: Arial;">There are some clear lessons for us in Information Security, err I mean Information Risk Management.</span></span></div><div><span style="font-size: 12px; white-space: pre-wrap; "><span style="white-space: pre-wrap; font-size: 12px; "><span style="font-family: Arial;">
</span></span><span style="font-style: italic; font-size: 12px; "><span style="font-family: Arial;">Margin of safety</span></span><span style="white-space: pre-wrap; font-size: 12px; "><span style="font-family: Arial;">
Its our job to manage risk, but this doesn&#39;t mean that we have to build layers and layer of abstraction on top of it. It also means that we help to design, build, deploy, and operate systems with margins of safety. Understanding the failure modes and accounting for this in design. Developers (because they are supposed to) and architects (because they haven&#39;t been properly trained) focus on functional requirements, building features, but on security not so much. There are many ways to improve security in a system and they are all inadequate by themselves, but we can help find </span></span></span><a href="http://1raindrop.typepad.com/1_raindrop/2007/06/cost_effective_.html"><span style="font-size: 12px; "><span style="font-family: Arial;">cost effective improvements</span></span></a><span style="white-space: pre-wrap; font-size: 12px; "><span style="font-family: Arial;">. </span></span></div><div><span style="line-height: 14px; white-space: pre-wrap; font-size: 12px; "><span style="font-family: Arial;"><br /></span></span></div><div><span style="font-size: 12px; white-space: pre-wrap; "><span style="font-style: italic; font-size: 12px; "><span style="font-family: Arial;">Don&#39;t fall in love with abstractions</span></span><span style="white-space: pre-wrap; font-size: 12px; "><span style="font-family: Arial;">
</span></span></span></div><div><span style="line-height: 14px; white-space: pre-wrap; font-size: 12px; "><span style="font-family: Arial;">If you have a 100,000 dekstops or 100,000 servers it hard to manage. You will need to automate and to do that you need to abstract, but you should also realize that its a drawing on a whiteboard not reality. You need </span></span><a href="http://1raindrop.typepad.com/1_raindrop/2005/12/the_road_to_ass.html"><span style="font-size: 12px; "><span style="font-family: Arial;">abstraction assurance</span></span></a><span style="line-height: 14px; white-space: pre-wrap; font-size: 12px; "><span style="font-family: Arial;">.&#160;</span></span></div><div><span style="line-height: 14px; white-space: pre-wrap; font-size: 12px; "><span style="font-family: Arial;"><br /></span></span></div><div><a href="https://financialcryptography.com/"><span style="font-size: 12px; "><span style="font-family: Arial;">Ian Grigg</span></span></a><span style="line-height: 14px; white-space: pre-wrap; font-size: 12px; "><span style="font-family: Arial;"> </span></span><a href="http://1raindrop.typepad.com/1_raindrop/2008/09/if-a-tree-falls-in-someone-elses-silo.html#comments"><span style="font-size: 12px; "><span style="font-family: Arial;">commented</span></span></a><span style="line-height: 14px; white-space: pre-wrap; font-size: 12px; "><span style="font-family: Arial;"> on an earlier post</span></span></div><div><span style="line-height: 14px; white-space: pre-wrap; font-size: 12px; "><span style="font-family: Arial;"><br /></span></span></div></div></div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><p><span style="color: #333333; line-height: 19px; font-size: 12px; "><span style="font-family: Arial;">There are distinct parallels between phishing / retail payments, and the bigger investment mess. In both cases, banks would argue these are core business. In both cases, they have applied risk-based security models, and accepted some loss. In both cases, they have the ability to apply substantial experience to the monitoring, allocating and absorbing risks and losses.</span></span></p></blockquote><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><p><span style="color: #333333; line-height: 19px; font-size: 12px; "><span style="font-family: Arial;"><br /></span></span><span style="color: #333333; line-height: 19px; font-size: 12px; "><span style="font-family: Arial;">In both cases, they watched and did nothing as the risks started from low, and migrated upwards. Are we at the point where regulation has killed the ability of banks to apply their (arguable) one core skill, to whit, risk-based analysis? Are banks that far out of banking that they no longer have it?</span></span></p></blockquote><div><div><div><span style="line-height: 14px; white-space: pre-wrap; font-size: 12px; "><span style="font-family: Arial;"><br /></span></span></div><div><span style="line-height: 14px; white-space: pre-wrap; font-size: 12px; "><span style="font-family: Arial;">So you have to remember that top down and bottom up need to be combined.</span></span></div><div><span style="line-height: 14px; white-space: pre-wrap; font-size: 12px; "><span style="font-family: Arial;"><br /></span></span></div><div><span style="font-size: 12px; line-height: 14px; white-space: pre-wrap; "><span style="font-style: italic; font-size: 12px; "><span style="font-family: Arial;">Design for failure</span></span></span></div><div><span style="line-height: 14px; white-space: pre-wrap; font-size: 12px; "><span style="font-family: Arial;">Dan Geer has also told the story that he sat in a large bank&#39;s risk management training, and the trainer said &quot;you may wonder why this works so well. it works because there is zero ambiguity over who owns what risk.&quot; Dan&#39;s thought was - &quot;in my field we have nothing but ambiguity.&quot; Turns out the second part was right, we have nothing but ambiguity over who owns what risk; unfortunately the financial people have much more ambiguity than they thought! So we do have a lesson here after all, and it this - when the thing you thought was true isn&#39;t, the failure mode is very ugly. </span></span><a href="http://1raindrop.typepad.com/1_raindrop/2006/01/design_for_fail.html"><span style="font-size: 12px; "><span style="font-family: Arial;">Design for failure - a</span></span></a><span style="line-height: 14px; white-space: pre-wrap; font-size: 12px; "><span style="font-family: Arial;">dd layers of protection. </span></span><span style="font-size: 12px; "><span style="font-family: Arial;"><br /></span></span></div><div><span style="white-space: pre-wrap; font-size: 12px; "><span style="font-family: Arial;"><br /></span></span></div><div><span style="font-size: 12px; white-space: pre-wrap; "><span style="font-style: italic; font-size: 12px; "><span style="font-family: Arial;">Keep it simple.</span></span></span></div><div><span style="line-height: 14px; white-space: pre-wrap; font-size: 12px; "><span style="font-family: Arial;">They have some smart engineers at Google to be sure, but even they had </span></span><a href="http://www.identityblog.com/?p=1011"><span style="font-size: 12px; "><span style="font-family: Arial;">incredibly basic errors in their SSO</span></span></a><span style="line-height: 14px; white-space: pre-wrap; font-size: 12px; "><span style="font-family: Arial;">. I have seen other obvious fails like people signing WS-Security messages, and the recipient checks for a signature but not if they trust the signer! There are so many ways to shoot yourself in the foot in a loosely coupled systems, and we have so many abstractions layered on top of each other, part of the mantra of protecting assets has to be keeping it simple.</span></span></div><div><span style="line-height: 14px; white-space: pre-wrap; font-size: 12px; "><span style="font-family: Arial;"><br /></span></span></div><div><span style="line-height: 14px; white-space: pre-wrap; font-size: 12px; "><span style="font-family: Arial;">So that is my list, to do all these things it requires that Infosec get in the game, understand the use cases, understand the business value (it should be abundantly clear that you can&#39;t simply rely on &quot;business people&quot; to be &quot;business experts&quot;), and that you not lose sight of the asset amidst all the abstraction. Finally, the systems we build security on are very primitive, a firewall and SSL are fine, a seatbelt was fine in 1935 and its still fine today, but there are lots of other safety controls in cars. ABS, airbags, traction control, they all protect the assets far better than in 1935, that&#39;s what we need to build.</span></span></div><div><span style="line-height: 14px; white-space: pre-wrap; font-size: 12px; "><span style="font-family: Arial;"><br /></span></span></div><div><span style="line-height: 14px; white-space: pre-wrap; font-size: 12px; "><span style="font-family: Arial;">Anyone can make bad assumptions (assume you know who owns what risk) and its easy to make bad abstractions (the firewall protects the information system), but when you combine bad assumptions with bad abstractions you&#39;ll get assets that are good until reached for sooner or later</span></span></div></div></div>]]></content:encoded>
      <pubDate>Mon, 15 Sep 2008 05:41:43 +0000</pubDate>
      <category domain="http://securityratty.com/tag/risk management">risk management</category>
      <category domain="http://securityratty.com/tag/information risk management">information risk management</category>
      <category domain="http://securityratty.com/tag/risk management practices">risk management practices</category>
      <category domain="http://securityratty.com/tag/risk">risk</category>
      <category domain="http://securityratty.com/tag/assets">assets</category>
      <category domain="http://securityratty.com/tag/industry">industry</category>
      <category domain="http://securityratty.com/tag/people">people</category>
      <category domain="http://securityratty.com/tag/business people">business people</category>
      <category domain="http://securityratty.com/tag/security industry">security industry</category>
      <source url="http://1raindrop.typepad.com/1_raindrop/2008/09/assets-good-until-reached-for.html">Assets Good Until Reached For</source>
    </item>
    <item>
      <title><![CDATA[Fun Reading on Logs and Log Management - 2]]></title>
      <link>http://securityratty.com/article/dac0b52428267c699e6e37706f29fb2a</link>
      <guid>http://securityratty.com/article/dac0b52428267c699e6e37706f29fb2a</guid>
      <description><![CDATA[I am amazed (no, AMAZED!) about how many people now write about logs; it is definitely not &quot;the original logging evangelist&quot; anymore :-) Here is a bunch of good log-related reading, useful for those...]]></description>
      <content:encoded><![CDATA[<p>I am amazed (no, AMAZED!) about how many people now write about logs; it is definitely not <a href="http://www.chuvakin.org">&quot;the original logging evangelist&quot;</a> anymore :-) Here is a bunch of good log-related reading, useful for those struggling with logs (aka &quot;everybody&quot; :-))</p>  <ol>   <li>Our brilliant field engineer Dimitri McKay <a href="http://www.dimitrimckay.com/Loglogic/Blog/Entries/2008/7/20_How_to_convert_windows_logs_to_syslog:.html">talks about</a> the eternal topic of converting Windows event logs to syslog. <a href="http://blogs.msdn.com/ericfitz/">Yes, Eric, we ALL know</a> it is ugly, but that is the only way that actually works well across all systems ...</li>    <li>More on Windows and syslog: &quot;<a href="http://redmondmag.com/columns/article.asp?editorialsid=1868">Syslog ... 20 Years Later</a>.&quot;&#160; BTW, this is really not about syslog, but about Vista/2k8 finally getting an ability to natively centralize the event logs via event subscriptions (&quot;It's only about twenty years behind schedule, if you're counting.&quot;)</li>    <li>Two fun pieces on correlation: <a href="http://www.rsa.com/blog/blog_entry.aspx?id=1301">1</a> and <a href="http://blog.isc2.org/isc2_blog/2008/09/event-correlati.html">2</a>. What often kills &quot;a log correlation project&quot;? &quot;Whoever had worked on it <em>had not had much time available to learn the way to properly configure the software</em>&quot; (from <a href="http://blog.isc2.org/isc2_blog/2008/09/event-correlati.html">this</a>)&#160; and &quot;correlation only really works when backed up by real data about what is the biggest problem in your environment, and how that problem manifests itself in the event logs.&quot; (from <a href="http://www.rsa.com/blog/blog_entry.aspx?id=1301">this</a>) None of this is new, but a useful reminder nonetheless</li>    <li>Fun <a href="http://www.loglogic.com">LogLogic</a> podcast is <a href="http://blogs.zdnet.com/Gardner/?p=2723">here</a>. The topic of this high-level discussion (CEO) is related to operational use for logs. I did one with them too; on logs and virtualization (will be up soon)</li>    <li>A couple of good posts on logging from Nemertes Research: &quot;<a href="http://www.nemertes.com/analyst_blogs/sharpening_stones_and_walking_coals">Sharpening Stones and Walking on Coals</a>&quot;,&#160; &quot;<a href="http://www.nemertes.com/analyst_blogs/search_or_destroy">Search or Destroy</a>&quot;</li>    <li><a href="http://eventlogs.blogspot.com/2008/08/why-your-hr-department-will-love.html">Reminder</a> about a few useful Windows Vista and 2k8 events: 4802 (screensaver engaged) and 4803 (screensaver dismissed)</li>    <li><a href="http://jdm-tech.blogspot.com/2008/07/how-worthwhile-is-logging.html">One person is wondering</a> about the usefulness of logging after &quot;experiencing&quot; Linux auditd logging (kernel audit): &quot;Logs are like a warm blanket; verbose logging means you can know what's happening on your systems if you keep up with the logs.&#160; At the same time, logs become a burden very very easily, and they are easy to ignore.&quot; <a href="http://jdm-tech.blogspot.com/2008/07/how-worthwhile-is-logging.html">This post</a> is a must read for <a href="http://www.chuvakin.org">us logging afficionados</a>; producing too much log data is a sure way to make people hate you...</li>    <li><a href="http://thomasnicholson.com/2008/07/02/log-management-is-a-pain/">This</a> also follows the same theme: people doubting the god-like power of logs :-) &quot;So for an administrator to not care about logs was a shock.&quot; But would I argue that &quot;<a href="http://thomasnicholson.com/2008/07/02/log-management-is-a-pain/">log management is NOT a pain?</a>&quot; Now, would I? :-)</li>    <li>A classic about logging for application developers: &quot;<a href="http://www.securityfocus.com/infocus/1888">Building Secure Applications: Consistent Logging</a>.&quot;&#160; I am noticing a lot more discussions about logging in a developer community, e.g. see <a href="http://ayende.com/Blog/archive/2008/08/02/Logging-Auditing-and-Alerts.aspx">this</a> and <a href="http://www.softwaremag.com/l.cfm?doc=1048-5/2007">this</a> (the latter, BTW, contains a lot of info on &quot;why log&quot; for developers). Overall, &quot;getting logging right&quot; is important (and will get more important in the future) and people need something NOW and cannot wait for the <a href="http://cee.mitre.org">standards.</a>&#160; BTW, I am planning a mini-crusade on how to train application developers to include useful logging in their applications...</li>    <li>Finally, the &quot;Is SIEM dead?&quot; theme is continued in this fun post &quot;<a href="http://blogs.splunk.com/thebaum/2008/09/03/situational-awareness/">Life after SIEM. Situational Awareness is next.</a>&quot; Indeed, <a href="http://chuvakin.blogspot.com/2008/06/logging-poll-8-analysis-needed-log.html">context is key for logs</a>. BTW, if somebody mentions that I have &quot;vendor bias&quot;, I will kick your ass! :-)</li> </ol>  <p>Enjoy!</p>  <div class="blogger-post-footer">About me: http://www.chuvakin.org</div><div class="feedflare">
<a href="http://feeds.feedburner.com/~f/AntonChuvakinPersonalBlog?a=gABUL"><img src="http://feeds.feedburner.com/~f/AntonChuvakinPersonalBlog?i=gABUL" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/AntonChuvakinPersonalBlog?a=5mpyL"><img src="http://feeds.feedburner.com/~f/AntonChuvakinPersonalBlog?i=5mpyL" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/AntonChuvakinPersonalBlog?a=AMhOL"><img src="http://feeds.feedburner.com/~f/AntonChuvakinPersonalBlog?i=AMhOL" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/AntonChuvakinPersonalBlog/~4/393291744" height="1" width="1"/>]]></content:encoded>
      <pubDate>Mon, 15 Sep 2008 04:03:00 +0000</pubDate>
      <category domain="http://securityratty.com/tag/logs">logs</category>
      <category domain="http://securityratty.com/tag/windows event logs">windows event logs</category>
      <category domain="http://securityratty.com/tag/event logs">event logs</category>
      <category domain="http://securityratty.com/tag/log management">log management</category>
      <category domain="http://securityratty.com/tag/log">log</category>
      <category domain="http://securityratty.com/tag/developers">developers</category>
      <category domain="http://securityratty.com/tag/train application developers">train application developers</category>
      <category domain="http://securityratty.com/tag/log correlation project">log correlation project</category>
      <category domain="http://securityratty.com/tag/application developers">application developers</category>
      <source url="http://feeds.feedburner.com/~r/AntonChuvakinPersonalBlog/~3/393291744/fun-reading-on-logs-and-log-management.html">Fun Reading on Logs and Log Management - 2</source>
    </item>
    <item>
      <title><![CDATA[Second ROI War]]></title>
      <link>http://securityratty.com/article/6df05dd9c10c56e31ac61b4fc3737f79</link>
      <guid>http://securityratty.com/article/6df05dd9c10c56e31ac61b4fc3737f79</guid>
      <description><![CDATA[Another day, another security ROI blogwar
Schneier on Security ROI &quot;: &quot;It's a good idea in theory , but it's mostly bunk in practice .&quot; and &quot;The term just doesn't make sense in this context
Richards...]]></description>
      <content:encoded><![CDATA[<p>Another day, another security ROI blogwar.</p>  <ul>   <li>&quot;<a href="http://www.schneier.com/blog/archives/2008/09/security_roi_1.html">Schneier on Security ROI</a>&quot;: &quot;It's a <a href="http://communities.intel.com/openport/blogs/it/2008/08/25/are-security-roi-figures-meaningless">good</a> <a href="http://communities.intel.com/openport/blogs/it/2007/08/14/the-problem-of-measuring-information-security">idea</a> in <a href="https://buildsecurityin.us-cert.gov/daisy/bsi/articles/knowledge/business/677-BSI.html">theory</a>, <a href="http://taosecurity.blogspot.com/2007/07/are-questions-sound.html">but</a> <a href="http://www.bloginfosec.com/2007/07/13/bejtlich-and-business-will-it-blend/">it's</a> <a href="http://blog.vorant.com/2007/07/my-input-to-roi-spat.html">mostly</a> <a href="http://taosecurity.blogspot.com/2007/07/no-roi-no-problem.html">bunk</a> <a href="http://chuvakin.blogspot.com/2007/07/security-roi-pile-up.html">in</a> <a href="http://taosecurity.blogspot.com/2007/07/security-roi-revisited.html">practice</a>.&quot; and &quot;The term just doesn't make sense in this context.&quot; </li>    <li>Richards adds to it: &quot;<a href="http://taosecurity.blogspot.com/2008/09/schneier-agrees-security-roi-is-mostly.html">Schneier Agrees: Security ROI is &quot;Mostly Bunk&quot;</a>&quot;</li>    <li>&quot;<a href="http://andyitguy.blogspot.com/2008/09/security-roi-debate-continues.html">Security ROI - The debate continues</a>&quot;: &quot;ROI&#160; ... reared its ugly head.&quot; </li>    <li>&quot;<a href="http://blog.uncommonsensesecurity.com/2008/09/foi-failure-of-investment.html">FOI, Failure of Investment</a>&quot;:&#160; &quot;Not that you asked, but IMHO: ROI and TCO are SWAG at best. And, they are rarely at their best.&quot; The secret weapon of ROI war - <strong>FOI</strong> -&#160; is thus unleashed! </li>    <li><a href="http://www.datagovernance.com/cartoon_2.html">This</a> is also very relevant :-) </li> </ul>  <p>Overall, I love it when educated peoples' debate just falls waaaay down to the level of &quot;I won't care what YOU call it as long as you don't care what I call it....&quot; Yuck! :-)</p>  <p>All security ROI coverage is tagged <a href="http://delicious.com/anton18/ROI">here</a>: <a title="http://delicious.com/anton18/ROI" href="http://delicious.com/anton18/ROI">http://delicious.com/anton18/ROI</a>. The previous, &quot;First ROI War&quot;, is summarized <a href="http://chuvakin.blogspot.com/2007/07/security-roi-pile-up.html">here</a>.</p>  <div class="blogger-post-footer">About me: http://www.chuvakin.org</div><div class="feedflare">
<a href="http://feeds.feedburner.com/~f/AntonChuvakinPersonalBlog?a=njcdL"><img src="http://feeds.feedburner.com/~f/AntonChuvakinPersonalBlog?i=njcdL" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/AntonChuvakinPersonalBlog?a=TiVeL"><img src="http://feeds.feedburner.com/~f/AntonChuvakinPersonalBlog?i=TiVeL" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/AntonChuvakinPersonalBlog?a=hJ3bL"><img src="http://feeds.feedburner.com/~f/AntonChuvakinPersonalBlog?i=hJ3bL" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/AntonChuvakinPersonalBlog/~4/389103499" height="1" width="1"/>]]></content:encoded>
      <pubDate>Wed, 10 Sep 2008 12:11:00 +0000</pubDate>
      <category domain="http://securityratty.com/tag/security roi coverage">security roi coverage</category>
      <category domain="http://securityratty.com/tag/security roi">security roi</category>
      <category domain="http://securityratty.com/tag/roi">roi</category>
      <category domain="http://securityratty.com/tag/security roi blogwar">security roi blogwar</category>
      <category domain="http://securityratty.com/tag/roi war">roi war</category>
      <category domain="http://securityratty.com/tag/schneier">schneier</category>
      <category domain="http://securityratty.com/tag/schneier agrees">schneier agrees</category>
      <category domain="http://securityratty.com/tag/falls waaaay">falls waaaay</category>
      <category domain="http://securityratty.com/tag/foi">foi</category>
      <source url="http://feeds.feedburner.com/~r/AntonChuvakinPersonalBlog/~3/389103499/second-roi-war.html">Second ROI War</source>
    </item>
    <item>
      <title><![CDATA[A tip on using ASP.NET validation controls]]></title>
      <link>http://securityratty.com/article/20fc43ecdf7ca60d64f9285d0e374a62</link>
      <guid>http://securityratty.com/article/20fc43ecdf7ca60d64f9285d0e374a62</guid>
      <description><![CDATA[Executive summary
ValidationSummary controls look at the ErrorMessage field to figure out what to display, so always use ErrorMessage in a verbose enough way that it will be helpful from a...]]></description>
      <content:encoded><![CDATA[<p>Executive summary:</p> <ul> <li>ValidationSummary controls look at the ErrorMessage field to figure out what to display, so always use ErrorMessage in a verbose enough way that it will be helpful from a ValidationSummary control.</li> <li>If you need a shorter message to display inline (i.e., where the validation control is on the form, as opposed to the ValidationSummary) use the body of the control to define it.</li></ul> <p>In the past, I&#39;ve used RequiredFieldValidator controls on my web forms to remind users that certain fields are required. I would set the ErrorMessage to something vanilla like, &quot;This field is required&quot;, or even something simpler like &quot;*&quot; (an asterisk) if I didn&#39;t have much room on the form to display more prose for an error.</p> <p>A friend was recently testing a new feature that I&#39;d built for our sales team and she had a hard time seeing the little red asterisks that were showing up next to required fields. It felt to her as though she was pushing the submit button on the form but nothing was happening. It was clear that a ValidationSummary control would be helpful, especially if placed close to the submit button for the form.</p> <p>I&#39;ve been a bit lazy in the past about using ValidationSummary controls, partially because most of my forms are simple enough that they feel a bit redundant. But on a more complicated form, they can be very helpful to guide users back to the places on the form where there&#39;s problems.</p> <p>So I threw one of those puppies on the form and immediately saw that there was a problem - my error message was set to &quot;*&quot;, which meant that my validation summary was pretty useless - it just displayed a bunch of red asterisks! And in places where I&#39;d used the prose, &quot;This field is required&quot;, well that was pretty useless as an error message in the summary.</p> <p>After a bit of research and experimentation, I discovered that the ValidationSummary control looks at the ErrorMessage property on each validation control in order to figure out what to display in the summary. So it&#39;s important to use ErrorMessage with a summary in mind! Don&#39;t use text like &quot;*&quot; or &quot;This field is required&quot;. Be more specific so the user can find her way up to the problem field, as in, &quot;PostalCode is required&quot;.</p> <p>But if you make ErrorMessage verbose so that it&#39;s helpful in a summary, it may make your form really ugly when displayed inline next to the control being validated. The trick is to use the body of the validation control element to specify the inline error message. Then you end up with two messages: a verbose one that&#39;s used in your summary, and a more localized, brief message that shows up right next to the control being validated. Note the asterisk that&#39;s in the body of the RequiredFieldValidator below:</p><pre class="csharpcode"><span class="kwrd">&lt;</span><span class="html">asp:RequiredFieldValidator</span>
      <span class="attr">ErrorMessage</span><span class="kwrd">=&quot;Zip/postal code is required&quot;</span>
      <span class="attr">ControlToValidate</span><span class="kwrd">=&#39;txtPostalCode&#39;</span>
      <span class="attr">ValidationGroup</span><span class="kwrd">=&#39;BasicInfo&#39;</span>
      <span class="attr">Display</span><span class="kwrd">=&quot;Dynamic&quot;</span>
      <span class="attr">runat</span><span class="kwrd">=&#39;server&#39;</span><span class="kwrd">&gt;</span>*<span class="kwrd">&lt;/</span><span class="html">asp:RequiredFieldValidator</span><span class="kwrd">&gt;</span></pre>
<p>I&#39;ve learned a lesson from all of this. In the future when I use validation controls I&#39;ll always provide a summary-friendly message in the ErrorMessage field, and if I need something different (typically shorter) to display inline, I&#39;ll put it in the body of the validation control element.</p>
<p>Hope this helps!</p><div style="clear:both;"></div><img src="http://www.pluralsight.com/community/aggbug.aspx?PostID=52816" width="1" height="1">]]></content:encoded>
      <pubDate>Wed, 03 Sep 2008 13:16:35 +0000</pubDate>
      <category domain="http://securityratty.com/tag/shorter message">shorter message</category>
      <category domain="http://securityratty.com/tag/message">message</category>
      <category domain="http://securityratty.com/tag/inline error message">inline error message</category>
      <category domain="http://securityratty.com/tag/validation control element">validation control element</category>
      <category domain="http://securityratty.com/tag/control">control</category>
      <category domain="http://securityratty.com/tag/inline">inline</category>
      <category domain="http://securityratty.com/tag/display inline">display inline</category>
      <category domain="http://securityratty.com/tag/errormessage">errormessage</category>
      <category domain="http://securityratty.com/tag/errormessage property">errormessage property</category>
      <source url="http://www.pluralsight.com/community/blogs/keith/archive/2008/09/03/a-tip-on-using-asp-net-validation-controls.aspx">A tip on using ASP.NET validation controls</source>
    </item>
    <item>
      <title><![CDATA[ASP.NET Health Monitoring doesn't log inner exception stack trace]]></title>
      <link>http://securityratty.com/article/b3299c7401f4189ad9619ab42a4a438e</link>
      <guid>http://securityratty.com/article/b3299c7401f4189ad9619ab42a4a438e</guid>
      <description><![CDATA[This can be a problem, especially when an ObjectDataSource starts throwing exceptions. The stack trace looks the same because of the way the methods are invoked (via reflection) - you end up with a...]]></description>
      <content:encoded><![CDATA[<p>This can be a problem, especially when an ObjectDataSource starts throwing exceptions. The stack trace looks the same because of the way the methods are invoked (via reflection) - you end up with a stack trace for a TargetInvocationException, which basically says, &quot;I used reflection to invoke some method, and it threw an exception. See the inner exception for details.&quot;</p>
<p>ASP.NET&#39;s health monitoring system does list the inner exceptions (apparently up to a maximum depth of two, from spelunking the code with <a href="http://www.aisto.com/roeder/dotnet/">reflector</a>), but it does not emit the stack traces for these exceptions, which would be <i>really helpful</i>. I&#39;ve spent some time this morning trying to figure out how I&#39;d customize things to emit this, and it looks like what I&#39;d have to do is catch the exception and generate a custom WebEvent that overrides ToString(bool, bool) and does everything that WebRequestErrorEvent does, but also generate the inner stack trace.</p>
<p>That seems a bit ugly. A search for &quot;ASP.NET web event inner exception stack trace&quot; yielded no interesting results, so if you&#39;ve dealt with this and have a cleaner solution, let me know. I&#39;ll post my solution once I get it worked out.</p><div style="clear:both;"></div><img src="http://www.pluralsight.com/community/aggbug.aspx?PostID=52306" width="1" height="1">]]></content:encoded>
      <pubDate>Fri, 01 Aug 2008 12:21:00 +0000</pubDate>
      <category domain="http://securityratty.com/tag/exception stack trace">exception stack trace</category>
      <category domain="http://securityratty.com/tag/exception">exception</category>
      <category domain="http://securityratty.com/tag/stack trace">stack trace</category>
      <category domain="http://securityratty.com/tag/net">net</category>
      <category domain="http://securityratty.com/tag/net web event">net web event</category>
      <category domain="http://securityratty.com/tag/asp">asp</category>
      <category domain="http://securityratty.com/tag/exceptions">exceptions</category>
      <category domain="http://securityratty.com/tag/solution">solution</category>
      <category domain="http://securityratty.com/tag/cleaner solution">cleaner solution</category>
      <source url="http://www.pluralsight.com/community/blogs/keith/archive/2008/08/01/asp-net-health-monitoring-doesn-t-log-inner-exception-stack-trace.aspx">ASP.NET Health Monitoring doesn't log inner exception stack trace</source>
    </item>
  </channel>
</rss>
