<?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: sequence]]></title>
    <link>http://securityratty.com/tag/sequence</link>
    <description></description>
    <pubDate>Tue, 01 Apr 2008 22:55:47 +0000</pubDate>
    <generator>iRatty Engine</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <item>
      <title><![CDATA[Massive SQL Injection Attacks - the Chinese Way]]></title>
      <link>http://securityratty.com/article/42e493c2424af4f8ef6cc5dd581317bf</link>
      <guid>http://securityratty.com/article/42e493c2424af4f8ef6cc5dd581317bf</guid>
      <description><![CDATA[From copycats and &quot;localizers&quot; of Russian web malware exploitation kits , to suppliers of original hacking tools, the Chinese IT underground has been closely following the emerging threats and the...]]></description>
      <content:encoded><![CDATA[<div style="text-align: left;"></div><div class="separator" style="clear: both; text-align: center;"></div><a href="http://2.bp.blogspot.com/_wICHhTiQmrA/SP46U3HSQHI/AAAAAAAACUY/QH40puDsgXY/s1600-h/security_company_hacking_tools.JPG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/_wICHhTiQmrA/SP46U3HSQHI/AAAAAAAACUY/QO3L0OWKJcY/s200-R/security_company_hacking_tools.JPG" /></a>From <a href="http://ddanchev.blogspot.com/2008/05/firepack-exploitation-kit-localized-to.html">copycats</a> and <a href="http://ddanchev.blogspot.com/2007/10/mpack-and-icepack-localized-to-chinese.html">"localizers" of Russian web malware exploitation kits</a>, to suppliers of original hacking tools, the Chinese IT underground has been closely following the emerging threats and the obvious insecurities on a large scale, and so is either filling the niches left open by other international communities, or coming up with tools setting new benchmarks for massive SQL injection attacks, like the case with this one :<br />
<br />
<div style="text-align: left;"></div><div class="separator" style="clear: both; text-align: center;"></div><a href="http://3.bp.blogspot.com/_wICHhTiQmrA/SP5DX0GzAtI/AAAAAAAACUg/3GOnK2TsSRk/s1600-h/search_engines_mass_SQL_injection.JPG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/_wICHhTiQmrA/SP5DX0GzAtI/AAAAAAAACUg/pdCwjwri7LM/s200-R/search_engines_mass_SQL_injection.JPG" /></a>"<i>A professional web site vulnerability scanning, use of tools, SQL injection is a new generation of tools to help Web developers and site of the station quickly find vulnerabilities in order to be able to effectively prepare Security work. At the same time, the tool to Web developers to demonstrate the ways in which hackers are using these vulnerabilities, hackers, as well as through the loopholes to do things, can effectively raise the safety awareness of relevant personnel.</i>"<br />
<br />
<div style="text-align: left;"></div><div class="separator" style="clear: both; text-align: center;"></div><a href="http://2.bp.blogspot.com/_wICHhTiQmrA/SP5DkEEtbqI/AAAAAAAACUo/Mm7pCwd7LT4/s1600-h/search_engines_mass_SQL_injection2.JPG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/_wICHhTiQmrA/SP5DkEEtbqI/AAAAAAAACUo/qMaY93_QOvY/s200-R/search_engines_mass_SQL_injection2.JPG" /></a>Nothing's wrong with the marketing pitch at the first place, but going through the features, the "massive SQL injections through search engine reconnaissance" and automatic page rank verification which you can see in the attached screenshots, ruin the "security auditing" marketing pitch. The tool not only allows easy integration of potentially vulnerable sites obtained through <a href="http://ddanchev.blogspot.com/2007/07/sql-injection-through-search-engines.html">search engines reconnaissance</a>, but also, is prioritizing the results based on the probability for successful injection, next to the page rank of the domains in question. A simple demonstration offered by the company is also, directly enticing its users to "localize" the search engine reconnaissance, by filtering the search results for a particupar country, in this case they used French sites for one of the demos. Here are some excerpts from its CHANGE log speaking for themselves :<br />
<br />
"<i><b>2008.7.15 release version 1.3 </b><br />
&nbsp;</i><br />
<div style="text-align: left;"></div><div class="separator" style="clear: both; text-align: center;"></div><a href="http://2.bp.blogspot.com/_wICHhTiQmrA/SP5DyBXVu7I/AAAAAAAACUw/37LsW8yh_AE/s1600-h/chinese_SQL_injector.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/_wICHhTiQmrA/SP5DyBXVu7I/AAAAAAAACUw/ub8OVgeWC6Y/s200-R/chinese_SQL_injector.png" /></a><i>- New powerful "automatic machine cycle" feature&nbsp;</i><br />
<i>- Automatic machine cycle is to provide assistance to the advanced user manual into the use of a very&nbsp;</i><br />
<i>- powerful and flexible module, the main sites used for some special filtering into the hand, is almost a&nbsp;</i><br />
<i>- universal tool, you can achieve the following: <br />
&nbsp;</i><br />
<a href="http://4.bp.blogspot.com/_wICHhTiQmrA/SP5D-g3FyAI/AAAAAAAACU4/xYACViJuVn4/s1600-h/chinese_SQL_injector2.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="http://4.bp.blogspot.com/_wICHhTiQmrA/SP5D-g3FyAI/AAAAAAAACU4/oPVCur3PMgI/s200-R/chinese_SQL_injector2.png" /></a><i>1. In support of GET / POST / COOKIES in a variety of ways, such as the injection.&nbsp;</i><br />
<i>2. Scan the key to the page (background, upload, WebShell, databases, backup files, etc.).&nbsp;</i><br />
<i>3. According to the dictionary to violence landing back-guess solution WebShell password and password (required to verify that the code can not guess solution).&nbsp;</i><br />
<i>4. Page language does not limit the types and databases (to provide specific statements into the database).&nbsp;</i><br />
<i>5. At the same time, support for the circulation of the two variables and two dictionaries, fast running and violent content of the database solution to guess a password.</i>"<br />
<br />
It gets even more interesting in terms of the massive SQL injection attacks mentality which is pretty evident on all fronts :<br />
<br />
<div style="text-align: left;"></div><div class="separator" style="clear: both; text-align: center;"></div><div style="text-align: left;"></div><div class="separator" style="clear: both; text-align: center;"></div><div style="text-align: left;"></div><div class="separator" style="clear: both; text-align: center;"></div><div class="separator" style="clear: both; text-align: center;"></div><a href="http://3.bp.blogspot.com/_wICHhTiQmrA/SP5ELiLoBiI/AAAAAAAACVA/0fb6Epapby0/s1600-h/chinese_SQL_injector3.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/_wICHhTiQmrA/SP5ELiLoBiI/AAAAAAAACVA/nmrC87TeCxo/s200-R/chinese_SQL_injector3.png" /></a>"<i>- The use of the three search engine sites scans to invade the side to complete<br />
- in scanning probe into the Web site ranking points<br />
- added, "VBS upload to download", "upload directory Web site viewer," "FTP upload to download configuration file" function to make it more convenient for the sa rights to use the site. <br />
- New "sequence document scanners" <br />
- What is the sequence document scanners role? Upload to find loopholes, some of the procedures to upload the file after the upload will be renamed, rename the way the system is usually based on time or incremental increase in the number prefix code for the upload process, if not to return after the file name, Upload files to know the url is usually very difficult to sequence the use of paper scanner can be scanned out</i><br />
<div style="text-align: left;"></div><div class="separator" style="clear: both; text-align: center;"></div><a href="http://3.bp.blogspot.com/_wICHhTiQmrA/SP5FUvl0FhI/AAAAAAAACVY/Y5mM2l7Q6K4/s1600-h/chinese_SQL_injector4.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/_wICHhTiQmrA/SP5FUvl0FhI/AAAAAAAACVY/DU7feV1pnjU/s200-R/chinese_SQL_injector4.png" /></a><i><br />
- The best reverse domain name query engine, and quasi-wide <br />
- in scanning the database of basic information, an increase of the database of information related to the process, the link has information on the database server user login (sa need permission) <br />
- control of the interface had a big adjustment, the interface process easier to understand and operate. <br />
- based on a significant site of the wrong mode of access to a comprehensive code optimization and more accurate access to the content, accuracy and access to show progress. <br />
- added, "VBS upload to download", "upload directory Web site viewer," "FTP upload to download configuration file" function to make it more convenient for the sa rights to use the site.&nbsp;</i><br />
<div style="text-align: left;"></div><div class="separator" style="clear: both; text-align: center;"></div><a href="http://2.bp.blogspot.com/_wICHhTiQmrA/SP5FgfdkSbI/AAAAAAAACVg/R77obP_vxig/s1600-h/chinese_SQL_injector5.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/_wICHhTiQmrA/SP5FgfdkSbI/AAAAAAAACVg/ORo853Aicy4/s200-R/chinese_SQL_injector5.png" /></a><i><br />
- point into the types of improved detection order to improve the efficiency of detection. <br />
- improved automatic keyword detection, automatic keyword detection more accurate. <br />
- probe into the points the way to improve and increase the use of automatic detection of the keyword detection. <br />
- type of database to improve the detection, the use of the contents of the length of the failure to detect the type of database automatically switch to the probe through the keyword. <br />
- automatically save and load solution has been to guess the tree structure of the database, guess Solutions has been the content and structure of the database will automatically save and open the next time the injection point will be automatically made available, the solutions do not have to guess again, the continuity of work Greatly increased.&nbsp;</i><br />
<div style="text-align: left;"></div><div class="separator" style="clear: both; text-align: center;"></div><a href="http://2.bp.blogspot.com/_wICHhTiQmrA/SP5FrcWctII/AAAAAAAACVo/DcQNU5crc5k/s1600-h/chinese_SQL_injector6.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="131" src="http://2.bp.blogspot.com/_wICHhTiQmrA/SP5FrcWctII/AAAAAAAACVo/9zGp4bsPB2U/s200-R/chinese_SQL_injector6.png" width="200" /></a><i><br />
- solved from the database to read large amounts of data (on hundreds of thousands or millions of records), the half-way card program will die. <br />
- increased significantly on the wrong model of ASP.NET and SQL Server2005 significant mode of dealing with mistakes, error messages can be extracted from a Web directory! <br />
- significant amendments to the wrong mode, some of the injected one by one point in the field or access to the contents of the issue can not be successful (error code in hand); for increased access to specific points table and into the field.&nbsp;</i><br />
<i><br />
- amendments to the text of a significant error patterns to detect and correct use of loopholes in the system can be used more to expand. (Text significantly in the wrong mode in version 1.1 already supported, but in the version 1.2 upgrade in the process of scanning to improve the performance of the Gaodiao careless. -_-#) <br />
- on a variety of encoded text can be significantly wrong in the right-compatible, able to correctly handle the ASP.NET page of the text marked wrong. Through custom error keyword, truly compatible with any language, any coding error message. <br />
- crack anti-improvement and enhancement. <br />
- An increase of auto-detection feature keywords.&nbsp;</i><br />
<i><br />
- Mssql database specifically for significant points into the wrong mode of detection and the use of up and down the hard work, and many other software can not detect the point of injection can also be used. <br />
- Automatic save and load access to the database, to allow manual known to add tables and fields for solutions to guess. <br />
- Can be used to amend the degree of accuracy; optimize the code to reduce memory footprint; enhance the stability of multi-threading. <br />
- Significant amendments to the wrong mode solution guess the contents of the database must be checked first field defects.</i>"<br />
<br />
The public version of the tool has been in the while for over an year, with a VIP version available to customers only.<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?a=PsITM"><img src="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?i=PsITM" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?a=JBO9M"><img src="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?i=JBO9M" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?a=owYAm"><img src="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?i=owYAm" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?a=LTzNm"><img src="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?i=LTzNm" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?a=LaPQM"><img src="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?i=LaPQM" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?a=go5fM"><img src="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?i=go5fM" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?a=rYJ9m"><img src="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?i=rYJ9m" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/DanchoDanchevOnSecurityAndNewMedia/~4/427878843" height="1" width="1"/>]]></content:encoded>
      <pubDate>Tue, 21 Oct 2008 12:18:48 +0000</pubDate>
      <category domain="http://securityratty.com/tag/keyword detection">keyword detection</category>
      <category domain="http://securityratty.com/tag/detection">detection</category>
      <category domain="http://securityratty.com/tag/database">database</category>
      <category domain="http://securityratty.com/tag/database solution">database solution</category>
      <category domain="http://securityratty.com/tag/solution">solution</category>
      <category domain="http://securityratty.com/tag/process">process</category>
      <category domain="http://securityratty.com/tag/upload process">upload process</category>
      <category domain="http://securityratty.com/tag/text">text</category>
      <category domain="http://securityratty.com/tag/load solution">load solution</category>
      <source url="http://feeds.feedburner.com/~r/DanchoDanchevOnSecurityAndNewMedia/~3/427878843/massive-sql-injection-attacks-chinese.html">Massive SQL Injection Attacks - the Chinese Way</source>
    </item>
    <item>
      <title><![CDATA[Mark Curphey On Builders and Breakers]]></title>
      <link>http://securityratty.com/article/207400daa5782f9a7cfce814ad45404e</link>
      <guid>http://securityratty.com/article/207400daa5782f9a7cfce814ad45404e</guid>
      <description><![CDATA[Superb post by Mark on what I think is the biggest problem we have in security. One thing you learn in consulting is that no matter what anyone tells you when you start a project about what problem...]]></description>
      <content:encoded><![CDATA[<p>Superb <a href="http://securitybuddha.com/2008/09/10/are-you-a-builder-or-a-breaker/">post</a> by Mark on what I think is the biggest problem we have in security. One thing you learn in consulting is that no matter what anyone tells you when you start a project about what problem you are trying to solve, it is <span style="font-style: italic;">always</span> a people problem. The single biggest problem in security is too many breakers not enough builders. Please understand I am not saying that breakers are not useful, we need them, and we need them to continue to get better so we can build more resilient systems. But the industry is about 90% breaking and 10% building and thats plain bad.</p><br /><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><p><span style="font-family: Georgia; line-height: 19px; ">It’s still predominantly made up of an army of skilled hackers focused on better ways to break systems apart and find new ways to exploit vulnerabilities than “security architects” who are designing secure components, protocols and ultimately secure systems. If you don’t believe me go have a conversation with a&#160; so called application security&#160; consultant about SAML or security issues in Enterprise Message Buses and you’ll almost definitely draw blank stares. Ask application security consultants if they know about the latest HTTP or HTML spec and they’ll likely say yes (and want to demonstrate the latest issues) but if you ask them about the latest WS-x spec you’ll likely draw more blank stares.&#160; When was the last time you saw an attack drawn out as a UML sequence diagram? This is worrying and somewhat sad. I don’t think we are culturing, encouraging and nurturing people with the right skills to make a positive difference.&#160;</span></p></blockquote><br /><div>This is exactly my experience as well. Not only that, we have too much destruction and not enough construction, this is a big enough problem all by itself. I would go one step further and say we need creative destruction, breakers breaking things that lead to better systems over time. Maybe we need an OWASP Builders project?</div><br /><div>In any case, for my small part I am builder. I teach a <a href="http://arctecgroup.net/training.htm">class</a> (and will at <a href="http://www.owasp.org/index.php/OWASP_NYC_AppSec_2008_Conference">OWASP</a>) that is 100% focused on building secure Web services, identity management, distribut authN, authZ, message security and so on. I can tell you first hand there are not a lot of people approaching the problem from a builder mindset.&#160;</div>]]></content:encoded>
      <pubDate>Fri, 19 Sep 2008 08:02:10 +0000</pubDate>
      <category domain="http://securityratty.com/tag/issues">issues</category>
      <category domain="http://securityratty.com/tag/security issues">security issues</category>
      <category domain="http://securityratty.com/tag/security">security</category>
      <category domain="http://securityratty.com/tag/application security consultants">application security consultants</category>
      <category domain="http://securityratty.com/tag/message security">message security</category>
      <category domain="http://securityratty.com/tag/builders">builders</category>
      <category domain="http://securityratty.com/tag/systems">systems</category>
      <category domain="http://securityratty.com/tag/security architects">security architects</category>
      <category domain="http://securityratty.com/tag/resilient systems">resilient systems</category>
      <source url="http://1raindrop.typepad.com/1_raindrop/2008/09/mark-curphey-on-builders-and-breakers.html">Mark Curphey On Builders and Breakers</source>
    </item>
    <item>
      <title><![CDATA[Blamestorming]]></title>
      <link>http://securityratty.com/article/95618fa2d7ec7b889e72d37343245d7a</link>
      <guid>http://securityratty.com/article/95618fa2d7ec7b889e72d37343245d7a</guid>
      <description><![CDATA[So, let's recap the sequence of events
The Sun-Sentinel newspaper in Fort Lauderdale accidentally republishes a six-year-old news story about the bankruptcy of UAL. It wasn't on the home page, but...]]></description>
      <content:encoded><![CDATA[<p>So, let's recap the sequence of events:</p>  <ol>   <li>The <em>Sun-Sentinel</em> newspaper in Fort Lauderdale accidentally republishes a six-year-old news story about the bankruptcy of UAL. It wasn't on the home page, but instead buried somewhere inside the web site. </li>    <li>Google's news crawler (an automated thing, remember) finds the story and incorporates it as part of its news feed. </li>    <li>Investors see the story, and immediately react. When UAL's stock <a href="http://money.cnn.com/2008/09/08/news/companies/united_airlines/index.htm" target="_blank">plunged 76% to a low of $3</a>, Nasdaq shut down trading. Eventually trading resumed, and the stock closed at just under $11, losing about 11%. </li>    <li>United blamed Tribune Company (the owner of the <em>Sun-Sentinel</em>) for <a href="http://www.cnbc.com/id/26608126" target="_blank">&quot;irresponsibly&quot; changing the date</a> on the story and <a href="http://media.corporate-ir.net/media_files/irol/83/83680/articles/bankruptcy_statementFINAL2.pdf" target="_blank">demanded a retraction</a>. </li>    <li>Tribune Company blamed Google, claiming they've <a href="http://www.eweek.com/c/a/Search-Engines/Tribune-Blames-Google-for-UAL-Bankruptcy-Story/?kc=rss" target="_blank">had issues</a> with Google's crawler &quot;for months.&quot; </li> </ol>  <p>Who will blame be shifted to next?</p>  <p>Look -- if people haven't realized by now that the Internet pretty much <a href="http://www.archive.org/index.php" target="_blank">lacks a delete function</a>, then (IMNSHO) it becomes the requirement of <em>each and every one of us</em> to pay close attention to what we're reading, to use our own big brains and fine-tuned bullshit detectors to suss out whether something makes sense.</p>  <p>Since this is my blog, I'm going to parcel out blame the way I see it:</p>  <ul>   <li><strong>United: 0%.</strong> If the concept of &quot;negative blame&quot; made any sense, then I'd actually write <strong>&#8722;&#8734;</strong> (that's a negative infinity, in case your character set is different than mine). </li>    <li><strong>Google: 5%.</strong> How can an automated crawler know that a newly-dated story isn't really new? Well, those folks over there at Google are smart. Certainly it shouldn't be that difficult to compare a &quot;new&quot; article against existing ones. Content hashes won't work as a comparison tool, because the date would be included in the hash computation, thus making the hashes different anyway. Full-text comparisons? Sure, it would take a lot of horsepower. Perhaps not every &quot;new&quot; story needs comparison, but at least the crawler could submit to the comparator any stories that ought to be verified (say those with the word &quot;bankruptcy&quot; in them). </li>    <li><strong>Tribune Company: 30%.</strong> Hey guys, <em>you changed the date on the article.</em> Don't go blaming someone else for your screw-up. </li>    <li><strong>Investors: 65%.</strong> If you're using an automated news aggregator (remember, an aggregator is not a <em>source</em> of news) to make major financial decisions -- decisions that affect the livelihoods of thousands (maybe millions) of people -- well, you're a moron. You should know that incorrect information can be just as instantly available as correct information. Verify potentially damaging claims before engaging in reckless behavior. </li> </ul>  <p>What's this got to do with security? I don't know, maybe nothing directly related. But it certainly raises the question -- what if someone intentionally wanted to cause nearly permanent damage to a person or a corporation? Malicious content, disguised as &quot;news,&quot; certainly seems to have become a potentially successful attack vector this week.</p>  <p>Worried about a social engineering attack on a massive scale? I suspect that what happened Monday (8 September) <em>was</em> the largest social engineering attack in history -- although I wouldn't classify it as intentionally malicious. Just you wait until the <a href="http://en.wikipedia.org/wiki/Meme" target="_blank">idea spreads</a>.</p><img src="http://blogs.technet.com/aggbug.aspx?PostID=3122810" width="1" height="1">]]></content:encoded>
      <pubDate>Fri, 12 Sep 2008 02:03:42 +0000</pubDate>
      <category domain="http://securityratty.com/tag/news">news</category>
      <category domain="http://securityratty.com/tag/news aggregator">news aggregator</category>
      <category domain="http://securityratty.com/tag/news feed">news feed</category>
      <category domain="http://securityratty.com/tag/six-year-old news story">six-year-old news story</category>
      <category domain="http://securityratty.com/tag/story">story</category>
      <category domain="http://securityratty.com/tag/news crawler">news crawler</category>
      <category domain="http://securityratty.com/tag/tribune company">tribune company</category>
      <category domain="http://securityratty.com/tag/google">google</category>
      <category domain="http://securityratty.com/tag/successful attack vector">successful attack vector</category>
      <source url="http://blogs.technet.com/steriley/archive/2008/09/11/blamestorming.aspx">Blamestorming</source>
    </item>
    <item>
      <title><![CDATA[Contest: Cory Doctorow's Cipher Wheel Rings]]></title>
      <link>http://securityratty.com/article/5bf9715088e83f021dd3a8a86d47bb52</link>
      <guid>http://securityratty.com/article/5bf9715088e83f021dd3a8a86d47bb52</guid>
      <description><![CDATA[Cory Doctorow wanted a secret decoder wedding ring, and he asked me to help design it. I wanted something more than the standard secret decoder ring , so this is what I asked for: &quot;I want each wheel...]]></description>
      <content:encoded><![CDATA[<p>Cory Doctorow wanted a secret decoder wedding ring, and he asked me to help design it.  I wanted something more than the standard <a href="http://en.wikipedia.org/wiki/Secret_decoder_ring">secret decoder ring</a>, so this is what I asked for: "I want each wheel to be the alphabet, with each letter having either a dot above, a dot below, or no dot at all.  The first wheel should have alternating above, none, below.  The second wheel should be the repeating sequence of above, above, none, none, below, below.  The third wheel should be the repeating sequence of above, above, above, none, none, none, below, below, below."  (I know it sounds confusing, but <a href="http://www.flickr.com/photos/doctorow/2816467273/">here's</a> a chart.)</p>

<p>So that's what he asked for, and that's what <a href="http://www.flickr.com/photos/doctorow/2817314740/">he got</a>.  And now it's time to create some cryptographic applications for the rings.  Cory and I are holding an open contest for the cleverest application.</p>

<p>I don't think we can invent any encryption algorithms that will survive computer analysis -- there's just not enough entropy in the system -- but we can come up with some clever pencil-and-paper ciphers that will serve them well if they're ever stuck back in time.  And there are certainly other  cryptographic uses for the rings.</p>

<p>Here's a way to use the rings as a password mnemonic:  First, choose a two-letter key.  Align the three wheels according to the key.  For example, if the key is "EB" for eBay, align the three wheels AEB.  Take the common password "PASSWORD" and encrypt it.  For each letter, find it on the top wheel.  Count one letter to the left if there is a dot over the letter, and one letter to the right if there is a dot under it.  Take that new letter and look at the letter below it (in the middle wheel).  Count two letters to the left if there is a dot over it, and two letters to the right if there is a dot under it.  Take that new letter (in the middle wheel), and look at the letter below it (in the lower wheel).  Count three letters to the left if there is a dot over it, and three letters to the right if there is a dot under it.  That's your encrypted letter.  Do that with every letter to get your password.</p>

<p>"PASSWORD" and the key "EB" becomes "NXPPVVOF."</p>

<p>It's not very good; can anyone see why?  (Ignore for now whether or not publishing this on a blog makes it no longer secure.)</p>

<p>How can I do that better?  What else can we do with the rings?  Can we incorporate other elements -- a deck of playing cards as in <a href="http://www.schneier.com/solitaire.html">Solitaire</a>, different-sized coins to make the system more secure?</p>

<p>Post your contest entries as comments to <a href="http://www.boingboing.net/2008/09/05/help_design_a_cipher.html">Cory's blog post</a> -- you can post them here, but they're not going to count as contest submissions --  or send them to <a href="mailto:cryptocontest@craphound.com">cryptocontest@craphound.com</a>.  Deadline is October 1st.  </p>

<p>Good luck, and have fun with this. </p><div class="feedflare">
<a href="http://feeds.feedburner.com/~f/schneier/fulltext?a=XHAZL"><img src="http://feeds.feedburner.com/~f/schneier/fulltext?i=XHAZL" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/schneier/fulltext?a=vFg0L"><img src="http://feeds.feedburner.com/~f/schneier/fulltext?i=vFg0L" border="0"></img></a>
</div>]]></content:encoded>
      <pubDate>Fri, 05 Sep 2008 08:01:09 +0000</pubDate>
      <category domain="http://securityratty.com/tag/wheel">wheel</category>
      <category domain="http://securityratty.com/tag/letter">letter</category>
      <category domain="http://securityratty.com/tag/two-letter key">two-letter key</category>
      <category domain="http://securityratty.com/tag/middle wheel">middle wheel</category>
      <category domain="http://securityratty.com/tag/dot">dot</category>
      <category domain="http://securityratty.com/tag/cory doctorow">cory doctorow</category>
      <category domain="http://securityratty.com/tag/cory">cory</category>
      <category domain="http://securityratty.com/tag/rings">rings</category>
      <category domain="http://securityratty.com/tag/top wheel">top wheel</category>
      <source url="http://www.schneier.com/blog/archives/2008/09/contest_cory_do.html">Contest: Cory Doctorow's Cipher Wheel Rings</source>
    </item>
    <item>
      <title><![CDATA[EPTS: Proposed Event Processing Definitions, September 20, 2006]]></title>
      <link>http://securityratty.com/article/c90d53785950324b36b55747a92766da</link>
      <guid>http://securityratty.com/article/c90d53785950324b36b55747a92766da</guid>
      <description><![CDATA[For interested readers, here are the event processing definitions we provided to the (future) EPTS working group on September 20, 2006, coordinated (edited)by David Luckham and Roy Schulte
adaptive...]]></description>
      <content:encoded><![CDATA[<p>For interested readers, here are the <a href="http://www.thecepblog.com/pdf/EVENT.PROCESSING.DRAFT.GLOSSARY.V4.SEPT.pdf" target="_blank">event processing definitions</a> we provided to the (future) EPTS working group on September 20, 2006, <a href="http://complexevents.com/?p=195" target="_blank">coordinated (edited) by David Luckham and Roy Schulte</a>;</p>
<p><strong>adaptive process management</strong> (n.) an element of resource and business process management, adaptive search and event processing. Sometimes referred to as “Level 4” event processing or process refinement.</p>
<p><strong>application concept</strong> (n.) a definition of a set of properties that represent the data fields of an application entity. An application concept can describe relationships among themselves. For example, an order concept might have a parent/child relationship with an item concept. A department concept might be related to a purchase requisition concept based on the shared property, department_id. Application concepts can include an application state model.</p>
<p><strong>application state modeler</strong> (n.) a UML-compliant application that allows you to model the life cycle of a concept instance — that is, for each instance of a given concept, you can define which states it will pass through and how it will transition from state to state. States have entry actions, exit actions, and conditions, providing precision control over the behavior of an event processing agent. Transitions between states also may have rules. Multiple types of states and transitions maximize the versatility and power of the application state modeler.</p>
<p><strong>derived event</strong> (n.) an event that is created as a result of processing one or more other events.</p>
<p><strong>complex event</strong> (n.) an event that is a situation-entity abstraction of two or more simple, derived or other complex events.</p>
<p><strong>complex event processing</strong> (n.) CEP is a technology for extracting information from message-based systems. CEP is primarily an event processing concept that deals with the task of processing multiple events from an event cloud with the goal of identifying the meaningful events within the event cloud. CEP employs techniques such as detection of complex patterns of many events, event correlation and abstraction, event hierarchies, and relationships between events such as causality, membership, and timing, and event-driven processes.</p>
<p><strong>event</strong> (n.) a instance of an event definition. It is an immutable object that represents a business activity that happened at a single point in time. Just as one cannot change the fact that a given activity occurred, one cannot change an event — events are immutable.</p>
<p><strong>event aggregation</strong> (n.) the aggregation of simple, derived or complex events into higher levels of event abstractions.</p>
<p><strong>event definition</strong> (n.) a set of properties related to a given activity that represents an important or interesting change of state in a human, system or computational activity. An event definition includes event properties such as event priority, event time to live (TTL), and a description of the payload, which is comprehensive information related to the activity that occurred. Events expire when the TTL has elapsed, unless the event processing agent has instructions to consume them prior to that time.</p>
<p><strong>event channel</strong> (n.) a communications channel in which events are transmitted from event source to event receivers, typically received as electronic messages. Each channel can have multiple destination and. events can be configured to transmit to a default destination. JMS is an example of an event channel.</p>
<p><strong>event cloud</strong> (n.) a partially ordered set of events (poset), either bounded or unbounded, where the partial orderings are imposed by the causal, timing and other relationships between the events. Typically an event cloud is created by the events produced by one or more distributed systems. An event cloud may contain many event types, event streams and event channels. The difference between a cloud and a stream is that there is no event relationship that totally orders the events in a cloud.</p>
<p><strong>event-driven</strong> (n.) the behavior of a human, system or computational entity whose execution or actuation is in response to events, typically received as electronic messages.</p>
<p><strong>event-driven architecture</strong> (n.) an architectural style for distributed computing applications in which some of the components are event-driven and communicate by means of events.</p>
<p><strong>event processing</strong> (n.) computing that performs operations on events, including modifying, creating and destroying events.</p>
<p><strong>event-object</strong> (n.) an software object that represents an event, generally for the purpose of computer processing, that exhibits both encapsulation, inheritance and polymorphism.</p>
<p><strong>event prediction</strong> (n.) computational activity where the impact of events, complex events, and situations caused by events identified, including both opportunity or threat. Sometimes referred to as “Level 2” event processing, impact assessment or predictive analytics.</p>
<p><strong>event pre-processing</strong> (n.) computational activity where events are cleansed or normalized to produce semantically understandable data. Sometimes referred to as “Level 0” event processing.</p>
<p><strong>event processing</strong> (n.) computational activities on events dealing with the association, correlation, and combination of event data and information from single and multiple event sources to achieve refined identity and situation estimates for observed event objects, and to achieve complete and timely assessments of opportunities, threats, and their significance. Event processing is characterized by continuous refinements of event estimates and assessments and by evaluation of the need for additional sources, or modification of the process itself, to achieve improved results.</p>
<p><strong>event processing agent</strong> (n.) an EPA is a computational entity that performs event processing.</p>
<p><strong>event processing network</strong> (n.) a set of event processing agents and a set of event channels connecting them.</p>
<p><strong>event properties</strong> (n.) data representation of an event, typically by name-value pairs of type string, integer, real, boolean or a complex data type.</p>
<p><strong>event refinement</strong> (n.) filter, identify and track events &amp; make initial processing decisions based on association, correlation and state estimation. Sometimes referred to as “Level 1” event, or event-object, track and trace.</p>
<p><strong>event stream</strong> (n.) a time-ordered sequence of events. An event stream may be bounded by a certain time interval or other contextual dimension (content, space, source, certainty), or be open ended and unbounded.</p>
<p><strong>event stream processing</strong> (n.) a time-ordered sequence of events. An event stream may be bounded by a certain time interval or other contextual dimension (content, space, source, certainty), or be open ended and unbounded.</p>
<p><strong>rule</strong> (n.) defines what triggers unusual, suspicious, problematic, or advantageous activity within an event processing agent and what the EPA does when it discovers these types of activities. Rules execute actions based on certain conditions on events, instances, or a combination of both. A rule includes a group of condition-rule statements and action-rule statements. The condition statements instruct the EPA what to look for in events, and action statements instruct the EPA how to respond when conditions are met. If all the conditions in a rule are satisfied by events or instances or both, the EPA fires the actions. The action might be to execute tasks, create an event instance, modify property values in an event instance, create and send an event, or something else.</p>
<p><strong>rules engine</strong> (n.) a type of event processing agent that uses a declarative programming model to process events. Formally described as &#8220;an abstract structure that describes a formal language precisely, i.e., a set of rules that mathematically delineates a (usually infinite) set of finite-length strings over a (usually finite) alphabet“. Informally, it can be any system that uses rules, in any form, that can be applied to data to produce outcomes.</p>
<p><strong>rule language</strong> (n.) is an artificial language that is used to control the behavior of an event processing agent. Rules languages, like human languages, have syntactic and semantic rules to define meaning.</p>
<p><strong>situation refinement</strong> (n.) identify situations, or complex events, based on event clustering, event-event relationships and relationship analysis and context. Sometimes referred to as “Level 2” event processing.</p>
<p><strong>simple event</strong> (n.) an event that is not an abstraction or composition of other events.</p>
<p><strong>virtual event</strong> (n.) an event that is imagined, modeled or simulated.</p>
<hr />Note:  The Emerging Technologies Engineering Team at <a href="http://www.tibco.com" target="_blank">TIBCO Software </a>significantly contributed to these event processing terms and definitions.</p>
]]></content:encoded>
      <pubDate>Thu, 21 Aug 2008 01:47:11 +0000</pubDate>
      <category domain="http://securityratty.com/tag/event">event</category>
      <category domain="http://securityratty.com/tag/event-object">event-object</category>
      <category domain="http://securityratty.com/tag/business process management">business process management</category>
      <category domain="http://securityratty.com/tag/process">process</category>
      <category domain="http://securityratty.com/tag/event correlation">event correlation</category>
      <category domain="http://securityratty.com/tag/process refinement">process refinement</category>
      <category domain="http://securityratty.com/tag/simple">simple</category>
      <category domain="http://securityratty.com/tag/simple event">simple event</category>
      <category domain="http://securityratty.com/tag/process events">process events</category>
      <source url="http://www.thecepblog.com/2008/08/21/epts-proposed-event-processing-definitions-september-20-2006/">EPTS: Proposed Event Processing Definitions, September 20, 2006</source>
    </item>
    <item>
      <title><![CDATA[Card Wars: The Phantom Menace]]></title>
      <link>http://securityratty.com/article/9d5b71fcb64161e1a88ba8844117af51</link>
      <guid>http://securityratty.com/article/9d5b71fcb64161e1a88ba8844117af51</guid>
      <description><![CDATA[Just like George Lucas cant help but return to his old projects , I have been returning to mine. After three years of stagnation, I am pleased to announce the re-launch of phantomwithdrawals.com ,...]]></description>
      <content:encoded><![CDATA[<p>Just like George Lucas can&#8217;t help but <a href="http://www.cinematical.com/2005/05/25/lucas-idea-for-new-star-wars-prequel/">return to his old projects</a>, I have been returning to mine. After three years of stagnation, I am pleased to announce the re-launch of <a href="http://www.phantomwithdrawals.com">phantomwithdrawals.com</a>, freshly re-vamped, updated and turned into a Wiki editable by the general public.</p>
<p>In fact, it&#8217;s not just great artists like Mr. Lucas and I starting up old projects, our honourable colleagues wearing the black hats have got the same idea. We have new victims reporting in, <a href="http://www.newsvine.com/_news/2008/07/01/1629600-citibank-atm-breach-reveals-pin-security-problems">rumours</a>&nbsp;<a href="http://blog.wired.com/27bstroke6/2008/06/citibank-issues.html">abound</a> of an auth system compromise at Citi, the Ombudsman is backlogged with months of disputed withdrawal cases, and some like <a href="http://www.guardian.co.uk/technology/2008/jan/03/hitechcrime.news">Alain Job</a> are even going to court.</p>
<p>One original contributor to the phantom case histories has just been hit by a second phantom withdrawal five years on and is chalking up another case in the files. While her new phantom is a bread-and-butter skim incident (a magstripe clone used in the far east), amongst this mass, true phantoms &#8212; the real mystery cases &#8212; are on the rise too. Two new victims with whom I have been corresponding very kindly offered to fund the hosting for the revamped site.</p>
<p>Let&#8217;s consider one of these mysteries. The McGaughey case has been reported in the media in Northern Ireland: dozens of withdrawals taking place over four weeks, totaling almost five thousand pounds, all within a ten mile radius of the McGaughey&#8217;s home. Summarised that way it looks like a classic first party fraud (couple short on cash withdraw money, then deny it later). But no-one in the family is short on cash, the McGaugheys look after their card details carefully, and have solid <a href="http://www.bridgewebs.com/derryvolgie/">alibis</a> at the time of many of the withdrawals, and the interlocking pattern of real and disputed withdrawals is such that any third party would have a hard time taking and returning the card (whether covertly or in collusion with the McGaugheys). No-one appears to have either the means or the motive.</p>
<p>Unusually the bank has been very cooperative, providing logs from their authorisation system (<A href="http://www.aciworldwide.com/products/detail.aspx?product_id=236">BASE24</a>), including all of the cryptograms, input data and transaction parameters covering the affected transactions. Everything turns on the Application Transaction Counter (ATC), an on-card counter which increments with every transaction initiated. If an EMV chip can be fully cloned (secret keys and all), then it will have to submit an ATC value when transacting, and if used in parallel with the real card, it won&#8217;t be long before the same number pops up twice in the auth system, or large gaps in the sequence appear. The McGaughey&#8217;s ATC sequence appears to interlock perfectly: clearly the original card was used?</p>
<p>Of course logs can be misinterpreted (<a href="http://news.bbc.co.uk/1/hi/programmes/newsnight/7265437.stm">Badger</a>) or even faked, auth systems may not work as expected, and customers may lie and cheat following all sorts of agendas; just around the corner the missing piece of the jigsaw may lie, which reveals the truth behind the case. And there is the totally separate matter of who should suffer the loss in the interim, whilst the truth remains unclear. <a href="http://www.lightbluetouchpaper.org/2008/04/09/new-banking-code-shifts-more-liability-to-customers/">Liability for disputed withdrawals</a> is the most hotly contested issue of all.</p>
<p><a href="http://www.phantomwithdrawals.com">phantomwithdrawals.com</a> can&#8217;t do much more for the McGaugheys, but it can bear witness. Documenting the incidence of phantoms and the experiences of customers disputing them adds much needed transparency to the process, and helps researchers and experts seek out the really interesting cases.</p>
<p>Maybe we can lift the lid and discover the truth behind the &#8220;phantom menace&#8221; &#8212; everyone is united in that goal at least &#8212; but let&#8217;s also hope that Episode 2: <a href="http://www.epaynews.com/index.cgi?survey=&#038;ref=browse&#038;f=view&#038;id=11497625028614136145&#038;block=">Attack of the Clones</a> has not yet started shooting!</p>
<p>Mike.</p>
]]></content:encoded>
      <pubDate>Tue, 05 Aug 2008 11:06:16 +0000</pubDate>
      <category domain="http://securityratty.com/tag/card">card</category>
      <category domain="http://securityratty.com/tag/phantom">phantom</category>
      <category domain="http://securityratty.com/tag/real">real</category>
      <category domain="http://securityratty.com/tag/real card">real card</category>
      <category domain="http://securityratty.com/tag/card details">card details</category>
      <category domain="http://securityratty.com/tag/phantom menace">phantom menace</category>
      <category domain="http://securityratty.com/tag/phantom withdrawal">phantom withdrawal</category>
      <category domain="http://securityratty.com/tag/transaction">transaction</category>
      <category domain="http://securityratty.com/tag/application transaction counter">application transaction counter</category>
      <source url="http://www.lightbluetouchpaper.org/2008/08/05/card-wars-the-phantom-menace/">Card Wars: The Phantom Menace</source>
    </item>
    <item>
      <title><![CDATA[Metrics for security and performance in low-latency anonymity systems]]></title>
      <link>http://securityratty.com/article/fad1cb42a51fdba1643f542416f2a5f3</link>
      <guid>http://securityratty.com/article/fad1cb42a51fdba1643f542416f2a5f3</guid>
      <description><![CDATA[In Tor , and in other similar anonymity systems, clients choose a random sequence of computers (nodes) to route their connections through. The intention is that, unless someone is watching the whole...]]></description>
      <content:encoded><![CDATA[<p>In <a href="https://www.torproject.org/">Tor</a>, and in other similar anonymity systems, clients choose a random sequence of computers (nodes) to route their connections through. The intention is that, unless someone is watching the whole network at the same time, the tracks of each user&#8217;s communication will become hidden amongst that of others. Exactly how a client chooses nodes varies between system to system, and is important for security.</p>
<p>If someone is simultaneously watching a user&#8217;s traffic as it enters and leaves the network, it is possible to de-anonymise the communication. This could occur if the first and last node for a connection is controlled by the same person. Tor takes some steps to avoid this possibility e.g. no two computers on the same /16 network may be chosen for each connection. However, someone with access to several networks could circumvent this measure.</p>
<p>Not only is route selection critical for security, but it&#8217;s also a significant performance factor. Tor nodes vary dramatically in their capacity, mainly due to their network connections. If all nodes were chosen with equal likelihood, the slower ones would cripple the network. This is why Tor weights the selection probability for a node proportional to its contribution to the network bandwidth.</p>
<p>Because of the dual importance of route selection, there are a number of proposals which offer an alternative to Tor&#8217;s bandwidth-weighted algorithm. Later this week at <a href="http://petsymposium.org/2008/">PETS</a> I&#8217;ll be presenting my paper, co-authored with <a href="http://www.cl.cam.ac.uk/~rnw24">Robert N.M. Watson</a>, &#8220;<a href="http://www.cl.cam.ac.uk/~sjm217/papers/pets08metrics.pdf">Metrics for security and performance in low-latency anonymity systems</a>&#8221;.  In this paper, we examine several route selection algorithms and evaluate their security and performance.</p>
<p>Intuitively, a route selection algorithm which weights all nodes equally appears the most secure because an attacker can&#8217;t make their node count any more than the others. This has been formalized by two measures: <a href="http://en.wikipedia.org/wiki/Gini_coefficient">Gini coefficient</a> and <a href="http://en.wikipedia.org/wiki/Information_entropy">entropy</a>. In fact the reality is more complex &#8212; uniform node selection resists attackers with lots of bandwidth, whereas bandwidth-weighting is better against attackers with lots of nodes.</p>
<p>Our paper explores the probability of path compromise of different route selection algorithms, when under attack by a range of different adversaries. We find that none of the proposals are optimal against all adversaries, and so summarizing effective security in terms of a single figure is not feasible. We also model the performance of the schemes and show that bandwidth-weighting offers both low latency and high resistance to attack by bandwidth-constrained adversaries.</p>
]]></content:encoded>
      <pubDate>Mon, 21 Jul 2008 04:16:12 +0000</pubDate>
      <category domain="http://securityratty.com/tag/route selection">route selection</category>
      <category domain="http://securityratty.com/tag/route selection critical">route selection critical</category>
      <category domain="http://securityratty.com/tag/route selection algorithms">route selection algorithms</category>
      <category domain="http://securityratty.com/tag/route">route</category>
      <category domain="http://securityratty.com/tag/nodes">nodes</category>
      <category domain="http://securityratty.com/tag/tor nodes vary">tor nodes vary</category>
      <category domain="http://securityratty.com/tag/security">security</category>
      <category domain="http://securityratty.com/tag/performance">performance</category>
      <category domain="http://securityratty.com/tag/route selection algorithm">route selection algorithm</category>
      <source url="http://www.lightbluetouchpaper.org/2008/07/21/metrics-for-security-and-performance/">Metrics for security and performance in low-latency anonymity systems</source>
    </item>
    <item>
      <title><![CDATA[10 Ways To Cheat At Being An IT Security Professional.]]></title>
      <link>http://securityratty.com/article/0e597656f62b35ec58b09e46325aaac1</link>
      <guid>http://securityratty.com/article/0e597656f62b35ec58b09e46325aaac1</guid>
      <description><![CDATA[photo credit: нσвσ
Be A Security Cool Cat : Place penguin stickers on every surface in your cubicle. Stick at least 3 on the dual boot company issued laptop (that hasnt had a kernel upgrade in 6...]]></description>
      <content:encoded><![CDATA[<p><span class="center"><a href="http://www.flickr.com/photos/68799045@N00/229151398/" title="About myths and t-shirts" target="_blank"><img class="center" src="http://farm1.static.flickr.com/84/229151398_5d7d461f09_m.jpg" alt="About myths and t-shirts" border="0" /></a><br /><small><a href="http://creativecommons.org/licenses/by-nc-sa/2.0/" title="Attribution-NonCommercial-ShareAlike License" target="_blank"><img src="http://securitywannabe.com/blog/wp-content/plugins/photo_dropper/images/cc.png" alt="Creative Commons License" border="0" width="16" height="16" align="absmiddle" /></a> <a href="http://www.photodropper.com/photos/" target="_blank">photo</a> credit: <a href="http://www.flickr.com/photos/68799045@N00/229151398/" title="нσвσ" target="_blank">нσвσ</a></small></span></p>
<ol>
<li><strong>Be A Security Cool Cat</strong>: Place <a href="http://www.uoregon.edu/~cchapma2/penguin.jpg">penguin stickers</a> on every surface in your cubicle.  Stick at least 3 on the dual boot company issued laptop (that hasn&#8217;t had a kernel upgrade in 6 months).  Use BlackHat stickers for bonus points.</li>
<li><strong>Be An Undercover Open Source Evangelist</strong>: Unfailingly, recommend open source solutions as more secure.  Be sure to quote &#8216;more eyes, less vulnerabilities&#8217;.  Recite frequently .  Always forward security advisories about commercial products to your boss.</li>
<li><strong>Walk the Tech Talk</strong>: Learn at Least 10 Bash Keyboard Shortcuts.  Treat this as a party trick.  Perform rapidly in sequence whenever anyone watches your screen.  Giggle and pass the keyboard over and say &#8216;Your turn!&#8217;.</li>
<li><strong>Be All Knowing, Jedi Warrior!</strong>:  Say &#8216;Trust but verify&#8217; whenever you are asked a question you do not understand.  Make it clear in meetings that you trust no-one and &#8220;verify&#8221; solely through a Google/Secunia search.</li>
<li><strong>Impress with a Penetration Test!</strong>:  Download Metasploit, spend 7 hours modifying the web interface: create custom graphics and hack up the CSS files.  Start Metasploit running before you leave for the day.  Use Camtasia to capture all screen activity so you can review in the morning.  If all went well upload to YouTube and link out via facebook.</strong></li>
<li><strong>Practice Defense In Depth&#8217;</strong>: When you are asked &#8216;What is the Risk?&#8217;, grin inanely and say &#8216;I&#8217;ll tell you after I break out the vulnerability scanners&#8217;.  Run at least 3 vulnerability scanners to get &#8216;defense in depth&#8217;.</li>
<li><strong>Latest *Is* Greatest!</strong>: Clipboard stealing attacks are *always* a bigger issue than the CISCO infrastructure with default passwords (how did they get there?!).</li>
<li><strong>Educate The Great Unwashed with a Deep Dive Security Awareness Program</strong>.  Educate end-users about Cross Site Scripting and SQL injection attacks.  Don&#8217;t invite the outsourced developers - they already know this stuff and have deadlines to meet.</li>
<li><strong>Impress Your Peers - Perfect the RFC Shoutout</strong>:  Pick at least 10 common protocols and learn the associated RFC numbers.  Intimidate IT colleagues by shouting out the RFC numbers whenever they mention the protocol.</li>
<li><strong>Start A Security Blog</strong>: What Can I Say? <img src='http://securitywannabe.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </li>
</ol>
<img src="http://feeds.feedburner.com/~r/SecurityWannabe/~4/293080251" height="1" width="1"/>]]></content:encoded>
      <pubDate>Sun, 18 May 2008 18:36:01 +0000</pubDate>
      <category domain="http://securityratty.com/tag/vulnerability scanners">vulnerability scanners</category>
      <category domain="http://securityratty.com/tag/rfc">rfc</category>
      <category domain="http://securityratty.com/tag/attacks">attacks</category>
      <category domain="http://securityratty.com/tag/sql injection attacks">sql injection attacks</category>
      <category domain="http://securityratty.com/tag/rfc shoutout">rfc shoutout</category>
      <category domain="http://securityratty.com/tag/bash keyboard shortcuts">bash keyboard shortcuts</category>
      <category domain="http://securityratty.com/tag/keyboard">keyboard</category>
      <category domain="http://securityratty.com/tag/trust no-one">trust no-one</category>
      <category domain="http://securityratty.com/tag/security cool cat">security cool cat</category>
      <source url="http://securitywannabe.com/blog/2008/05/18/10-ways-to-cheat-at-being-an-it-security-professional/">10 Ways To Cheat At Being An IT Security Professional.</source>
    </item>
    <item>
      <title><![CDATA[Sexing up the logs]]></title>
      <link>http://securityratty.com/article/097b1b9e4e4d915eb30f810a54e4bea8</link>
      <guid>http://securityratty.com/article/097b1b9e4e4d915eb30f810a54e4bea8</guid>
      <description><![CDATA[The title of this blog is false - a pure marketing ploy. Quite simply there is nothing sexy about logs. Few of us take any enjoyment out of reviewing them but there are plenty of mandates around...]]></description>
      <content:encoded><![CDATA[
      The title of this blog is false - a pure marketing ploy. Quite simply there is nothing sexy about logs. Few of us take any enjoyment out of reviewing them but there are plenty of mandates around telling us that we have to. For example, section 10 of the PCI DSS states: <strong>Review logs for all system components at least daily. Log reviews must include those servers that perform security functions like intrusion detection system (IDS) and authentication, authorization, and accounting protocol (AAA) servers (for example, RADIUS</strong>). Section A.10 of ISO27001 states: <strong>Audit logs recording user activities, exceptions, and information security events shall be produced and kept for an agreed period to assist in future investigations and access control monitoring</strong>. The importance of keeping logs is also called out in Basel II, SOX, and so on.

For anything you want to know about logs there's only one <a href="http://chuvakin.blogspot.com/2008/04/top-11-reasons-to-hate-logs.html">resource</a>. That of self-proclaimed "security warrior" Anton Chuvakin. His latest blog is on the "top eleven reasons to hate logs." I recommend reading back through Anton's archive  - there's a wealth of good guidance.

Let's remember that we don't "do security" just for the sake of compliance. Compliance is a side-effect of having a well planned security governance regime. The top level objectives are about protecting data assets (the CIA triad of confidentiality, integrity, and availability). Where does the review of log files come in and what risks are we mitigating? Well, logs support analysis processes - we learn a lot about what's going on within our systems. Reviewing security event logs provides us with increased situational awareness of our environment, while storing logs enables us to perform trend analysis and observe behaviour on systems over time and identify anomolies.

Here's an example. Let's say that every morning at 9am you would expect to see log output stating a successful startup sequence for a particular device or application. If one morning this log entry fails to appear then you have an anomoly to investigate. Of course the issue might not be security related, or it might be. The fact is that some anomolous behavious causes you to investigate and find out what the problem is. Another example is when you consider what is normal system user behaviour. If the log files show that an individual who usually accesses an account during office hours and a weekend from London is now accessing the account in the middle of the night from Elbonia then there's another anomoly for you to investigate. Suspicious behaviour or just on holiday? A review of the logs will likely reveal additional activity that lets you determine which it is.

There's much more to talk about on this topic - consolidating logs and getting them into a format that makes them easier to review is probably foremost in the minds of some, deciding what to log and how long to keep records for will be of interest to other.

      
   ]]></content:encoded>
      <pubDate>Thu, 03 Apr 2008 00:00:00 +0000</pubDate>
      <category domain="http://securityratty.com/tag/logs">logs</category>
      <category domain="http://securityratty.com/tag/logs enables">logs enables</category>
      <category domain="http://securityratty.com/tag/security event logs">security event logs</category>
      <category domain="http://securityratty.com/tag/security">security</category>
      <category domain="http://securityratty.com/tag/review logs">review logs</category>
      <category domain="http://securityratty.com/tag/perform security functions">perform security functions</category>
      <category domain="http://securityratty.com/tag/log">log</category>
      <category domain="http://securityratty.com/tag/log output">log output</category>
      <category domain="http://securityratty.com/tag/information security events">information security events</category>
      <source url="http://www.computerweekly.com/blogs/stuart_king/2008/04/sexing-up-the-logs.html">Sexing up the logs</source>
    </item>
    <item>
      <title><![CDATA[Got Entropy ?]]></title>
      <link>http://securityratty.com/article/e241bfde32ce971a3341a22fcb76c27d</link>
      <guid>http://securityratty.com/article/e241bfde32ce971a3341a22fcb76c27d</guid>
      <description><![CDATA[So I have been planning a series of podcasts on Cryptographic Controls. In the process of this planning, I fell into one of the classic traps that crypto-geeks fall into: obsessing about random number...]]></description>
      <content:encoded><![CDATA[<p>So I have been planning a series of podcasts on Cryptographic Controls. In the process of this planning, I fell into one of the classic traps that crypto-geeks fall into: obsessing about random number  generators (RNGs).</p>
<p><em>(FYI, for the impatient, <a href="http://gotentropy.artofinfosec.com/" >click here</a>.)<br />
</em></p>
<p>There are two ways to generate random numbers on computers: (1) use a software program called a Pseudorandom Number Generator (PRNG) or (2) use a hardware random number generator. A Pseudorandom Number Generator uses a seed value to generate a sequence of numbers that appear random. The problem is that the same seed generates the same random sequence. The hardware based RNG observes and samples some physical phenomenon which is random, such as cosmic rays, RF noise, etc. (aka Entropy).</p>
<p>RNGs are important in Information Security because they are used to generate encryption keys, salts, etc. Historically, attacking RNGs has proven effective, such as the defeat of <a href="http://community.webreview.com/windows/184409807" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://community.webreview.com/windows/184409807');">Netscape&#8217;s HTTPS sessions</a>.</p>
<p>Most operating systems utilize a hybrid approach, implementing a PseudoRandom Number Generator that has a seed that is regularly updated through the collection of random hardware events. This process is called Entropy Collection or Entropy Harvesting. <strong>For most applications, this approach should be completely sufficient.</strong> However, one of the key assumptions is that the operating system has been up and running long enough for the seed value itself to become hard to predict through the collection of Entropy. Also, many of the Entropy collecting events come from properties of hardware devices, such as the minor variations in hard drive rate of rotation. As such, there are a few circumstances where the OS RNG may not be good enough for strong cryptographic key generation:</p>
<ul>
<li>Live Boot CD ( The start state of the RNG may be predictable. )</li>
<li>Virtualized Hosts ( OS may be dependent on simulated events for randomness. )</li>
</ul>
<p>( Given the exploding popularity of virtualization, this is an area worthy of research. Stay tuned. )</p>
<p><strong>Design of the Got Entropy Service</strong></p>
<p>Many RNGs (such as the one included in Linux, as well as OpenSSL&#8217;s) allow the addition of entropy from outside sources. So I started looking to Entropy sources I could use to bolster the RNGs on my virtual hosts (and other uses&#8230;). While I was looking into this, it occurred to me that I had an unused TV tuner card, a PVR-350.</p>
<p>When a TV is tuned to a channel with no local station, the &#8217;snow&#8217; on the screen is RF noise (the same as the static between stations on AM radios). But, for reasons beyond our scope, you never use a direct physical observation as the RNG. You have to &#8216;de-skew and whiten&#8217; the data prior to sampling it. Here is the process that I use:</p>
<ol>
<li>Collect about 3 minutes of video ( about 130 MB data ).</li>
<li>Using a random key and IV, encrypt the data ( using openssl &amp; AES-128-CBC ).</li>
<li>Discard the first 32k of the file.</li>
<li>Use each of the following 32k blocks as samples.</li>
<li>Compress each sample with SHA-256.</li>
<li>Discard the last block.</li>
</ol>
<ul>
<li>Steps 2 and 3 remove any patterns, such as MPEG file formatting, from the data.</li>
<li>Steps 4 and 5 generate a 32-byte random value ( 1024 to 1 compression in the hash ).</li>
</ul>
<p><strong>Check it out at <a href="http://gotentropy.artofinfosec.com" >http://gotentropy.artofinfosec.com</a></strong></p>
<p><strong>Can an Attacker Broadcast a Signal to Undermine This?</strong></p>
<p>Such an attacker could not remove RF noise from the received signal. Our eyes and brains are good at filtering out the noise in the TV video, but there is a lot of it. Part of the noise comes from the atmospheric background RF, but there are also flaws (noise) in the tuner&#8217;s radio and analog-to-digital capture circuitry.</p>
<p>I think this is a pretty strong RNG, and I have provided an interface for pulling just the values.</p>
<p>Also, I have written a script ( <a href="http://gotentropy.artofinfosec.com/getEntropy.sh" >getEntropy.sh</a> ) that will pull Entropy from the service and seed it into /dev/random on Linux.</p>
<p><strong>Results from ENT</strong></p>
<p>Here are results, from a sample run of the Got Entropy, analyzed by  <a href="http://www.fourmilab.ch/random/" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://www.fourmilab.ch/random/');">ENT</a> ( A Pseudorandom Number Sequence Test Program provided by John Walker of www.fourmilab.ch - Thanks, John! ).</p>
<ul>
<li>Entropy = 7.999987 bits per byte</li>
<li>Optimum compression would reduce the size of this 13366112 byte file by 0 percent.</li>
<li>Chi square distribution for 13366112 samples is 233.85, and randomly would exceed this value 82.48 percent of the time.</li>
<li>Arithmetic mean value of data bytes is 127.4767 (127.5 = random).</li>
<li>Monte Carlo value for Pi is 3.143054786 (error = 0.05 percent).</li>
<li>Serial correlation coefficient is -0.000078 (totally uncorrelated = 0.0).</li>
</ul>
<p><strong>Resources for the Curious&#8230;</strong></p>
<ul>
<li><a href="http://en.wikipedia.org/wiki/Pseudorandom_number_generator" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://en.wikipedia.org/wiki/Pseudorandom_number_generator');">Wikipedia - Pseudo-random Number Generator</a></li>
<li><a href="http://en.wikipedia.org/wiki/Hardware_random_number_generator" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://en.wikipedia.org/wiki/Hardware_random_number_generator');">Wikipedia - Hardware Random Number Generator</a></li>
<li><a href="http://csrc.nist.gov/groups/ST/toolkit/rng/index.html" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://csrc.nist.gov/groups/ST/toolkit/rng/index.html');">NIST - Random Numbers Page</a></li>
<li><a href="http://community.webreview.com/windows/184409807" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://community.webreview.com/windows/184409807');">Netscape RNG Attack</a></li>
<li><a href="http://www.vanheusden.com/ved/" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://www.vanheusden.com/ved/');">van Heusden Video Rand</a></li>
</ul>
<p>Cheers, Erik</p>
<p><a href="http://artofinfosec.com" >Art of Information Security</a> would <a href="http://artofinfosec.com/feedback/" >love your feedback</a> !</p>
<p><a href="http://artofinfosec.com/?p=53" >Got Entropy ?</a></p>
<img src="http://feeds.feedburner.com/~r/artofinfosec/~4/262366868" height="1" width="1"/>]]></content:encoded>
      <pubDate>Tue, 01 Apr 2008 22:55:47 +0000</pubDate>
      <category domain="http://securityratty.com/tag/entropy">entropy</category>
      <category domain="http://securityratty.com/tag/random">random</category>
      <category domain="http://securityratty.com/tag/32-byte random">32-byte random</category>
      <category domain="http://securityratty.com/tag/byte">byte</category>
      <category domain="http://securityratty.com/tag/hardware random">hardware random</category>
      <category domain="http://securityratty.com/tag/entropy sources">entropy sources</category>
      <category domain="http://securityratty.com/tag/sequence">sequence</category>
      <category domain="http://securityratty.com/tag/random sequence">random sequence</category>
      <category domain="http://securityratty.com/tag/pull entropy">pull entropy</category>
      <source url="http://feeds.feedburner.com/~r/artofinfosec/~3/262366868/">Got Entropy ?</source>
    </item>
  </channel>
</rss>
