<?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-12907541</id><updated>2011-12-03T19:50:15.708-08:00</updated><category term='iSeries'/><category term='as/400'/><category term='security'/><title type='text'>Blood, Sweat, and Information Security</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://bloodsweatinfosec.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://bloodsweatinfosec.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>V. LeVeque</name><uri>http://www.blogger.com/profile/13511228704319189784</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://www.ibiblio.org/eldritch/el/pix/teli1.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>37</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-12907541.post-6958294585293923936</id><published>2010-10-24T18:47:00.001-07:00</published><updated>2010-10-24T19:16:11.310-07:00</updated><title type='text'>Another SSL cert atrocity!</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_stC6klR9WQs/TMToRu6reEI/AAAAAAAAAAw/CqFzdKxT2Cw/s1600/Screenshot-Certificate+Viewer:"&gt;&lt;img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 295px; height: 320px;" src="http://4.bp.blogspot.com/_stC6klR9WQs/TMToRu6reEI/AAAAAAAAAAw/CqFzdKxT2Cw/s320/Screenshot-Certificate+Viewer:" alt="" id="BLOGGER_PHOTO_ID_5531801633667381314" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;My Website hosted by "The Planet" has an https control panel with a self-signed cert.  Self-signed certs are very very bad.  A web site hosting company should know better&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12907541-6958294585293923936?l=bloodsweatinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bloodsweatinfosec.blogspot.com/feeds/6958294585293923936/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12907541&amp;postID=6958294585293923936' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/6958294585293923936'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/6958294585293923936'/><link rel='alternate' type='text/html' href='http://bloodsweatinfosec.blogspot.com/2010/10/another-ssl-cert-atrocity.html' title='Another SSL cert atrocity!'/><author><name>V. LeVeque</name><uri>http://www.blogger.com/profile/13511228704319189784</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://www.ibiblio.org/eldritch/el/pix/teli1.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_stC6klR9WQs/TMToRu6reEI/AAAAAAAAAAw/CqFzdKxT2Cw/s72-c/Screenshot-Certificate+Viewer:' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12907541.post-4059591695133687680</id><published>2010-10-10T20:16:00.000-07:00</published><updated>2010-10-10T20:46:27.517-07:00</updated><title type='text'>OWASP AppSec at U.C. Irvine a success!</title><content type='html'>I worked as a volunteer at the &lt;a href="http://forum.owasp.org/index.php/AppSec_US_2010,_CA"&gt;OWASP AppSec conference&lt;/a&gt; at the University of California at Irvine, held Sept 7 through the 10th.&lt;br /&gt;&lt;br /&gt;Unfortunately I did not get to sit in on any of the training sessions - they all looked first rate.  I *was* invited to the VIP reception.  It had a nice selection of appetizers and good drinks from the bar, with opportunities to chat with other conference volunteers, organizers and speakers.&lt;br /&gt;&lt;br /&gt;The sessions I was able to attend were all very good, some excellent.  My best take-away from the CxO panel was that "buy a tool" inevitably fails as an approach.  I already knew this, but it is refreshing to hear this truism so bluntly stated.&lt;br /&gt;&lt;br /&gt;The session on Threat Modeling covered the Microsoft-supported STRIDE/DREAD model for assessing application security.  I've used this tool before so it was interesting to hear the speaker's perspective.  Threat modeling belongs as part of the application's architecture review, and should be embedded in the development life cycle.  The threat model should be maintained and updated for as long as the application is in use.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://cheswick.com/ches/"&gt;Bill Cheswick&lt;/a&gt; gave the end-all of password security talks.  I've seen his &lt;a href="http://vimeo.com/6298970"&gt;video&lt;/a&gt; online, and this was similar.  He gave a lot of very useful ideas about password vulnerabilities, user psychology, and how to realistically manage passwords better given human and technical limitation.&lt;br /&gt;&lt;br /&gt;Other sessions I attended included ones on secure coding practices, OWASP projects, "Reducing Web application Vulnerabilities: Moving from a Test-Dependent to Design-Driven development", and &lt;a href="http://digitaloffense.net/"&gt;HD Moore's&lt;/a&gt; talk.&lt;br /&gt;&lt;br /&gt;HD's talk was given in a rapid-fire style that took some careful listening to follow and dwelt exclusively with the Metasploit product and plans to incorporate more Web application testing in future versions.  And a Linux Meterpreter module may be out by version 3.5&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12907541-4059591695133687680?l=bloodsweatinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bloodsweatinfosec.blogspot.com/feeds/4059591695133687680/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12907541&amp;postID=4059591695133687680' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/4059591695133687680'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/4059591695133687680'/><link rel='alternate' type='text/html' href='http://bloodsweatinfosec.blogspot.com/2010/10/owasp-appsec-at-uc-irvine-success.html' title='OWASP AppSec at U.C. Irvine a success!'/><author><name>V. LeVeque</name><uri>http://www.blogger.com/profile/13511228704319189784</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://www.ibiblio.org/eldritch/el/pix/teli1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12907541.post-7921670743033769479</id><published>2010-09-06T16:04:00.000-07:00</published><updated>2010-09-06T18:19:49.195-07:00</updated><title type='text'>RISSC's 3 year grant is ending</title><content type='html'>Got an email about a  reception for the &lt;a href="http://www.risscsite.org/"&gt;RISSC&lt;/a&gt; industry advisory board  (including me). Their NSF RISSC Grant is winding to a close and they'd like to thank those of us in industry who have helped them over the last 3 years.  I won't be able to make it - I will be attending &lt;a href="http://www.sans.org/network-security-2010/?utm_source=web&amp;amp;utm_medium=text-ad&amp;amp;utm_content=FE_Links_Homepage_NS_2010_&amp;amp;utm_campaign=NS_2010_FE&amp;amp;ref=59303"&gt;SANS Las Vegas&lt;/a&gt; that week.  I will be facilitating the &lt;a href="http://www.sans.org/network-security-2010/description.php?tid=4467"&gt;Wireless Ethical Hacking, Penetration Testing, and Defenses&lt;/a&gt; course taught by Josh Wright.&lt;br /&gt;&lt;br /&gt;Speaking of volunteering - I just got the assignment sheet for the &lt;a href="http://www.appsecusa.org/"&gt;OWASP AppSec Conference&lt;/a&gt; in Irvine.  I will be working as a volunteer on Thursday.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12907541-7921670743033769479?l=bloodsweatinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bloodsweatinfosec.blogspot.com/feeds/7921670743033769479/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12907541&amp;postID=7921670743033769479' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/7921670743033769479'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/7921670743033769479'/><link rel='alternate' type='text/html' href='http://bloodsweatinfosec.blogspot.com/2010/09/risscs-3-year-grant-is-ending.html' title='RISSC&apos;s 3 year grant is ending'/><author><name>V. LeVeque</name><uri>http://www.blogger.com/profile/13511228704319189784</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://www.ibiblio.org/eldritch/el/pix/teli1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12907541.post-260451605778797303</id><published>2010-08-29T15:43:00.000-07:00</published><updated>2010-08-29T15:50:34.218-07:00</updated><title type='text'>Defcon 18 quickly summarized</title><content type='html'>I skipped Defcon last year, so I made a point to be there all 3 days. I strongly recommend arriving Thursday evening.  Registration is no hassle, you get the official badge, and you get to check out the facility at your leisure.  Even though Defcon has been at the Riviera for years, I still need a walk-through to remember how to get around.  Maybe casinos hope that lost hotel guests will gamble more.&lt;br /&gt;&lt;br /&gt;Defcon is generally well organized and with few exceptions the talks are first rate.  My main complaint is the long line to get into just about every talk.  I suspect they have greatly oversold admission.  I wanted to attend the SCADA track on Saturday, so I showed up almost an hour early for the first session, and remained in my seat for as many sessions as biological needs would permit.&lt;br /&gt;&lt;br /&gt;The best session was given by Fyodor on scripting nmap.   He gave a very useful and clear explanation of how to customize nmap using the Lua programming language.  Fyodor is also a very engaging speaker.  I was very fond of his dry wit.&lt;br /&gt;&lt;br /&gt;Dan Kaminsky and Paul Vixie gave a double-shot of DNS on Friday.  Vixie discussed the use of passive DNS to gain information useful in tracking malware and criminal activity by flagging malicious use of DNS.  Kaminsky gave a talk similar to Toorcon 2009, on the use of DNSSEC to provide a true, usable public key infrastructure.  Using signed DNS records can authenticate destination sites.  DNS authority can also be delegated more elegantly (and more usefully) than X.509.&lt;br /&gt;&lt;br /&gt;The SCADA track was interesting, with the talks varying between those concerned with general risk discussions, technical information systems, and general discussions of plan operations.  If you've ever wondered how a small water district works, this was your chance.&lt;br /&gt;&lt;br /&gt;"Wardriving the Smart Grid" gave an overview of the technology used for wireless monitoring and control of electrical utilities.  Exploitation of field tech boxes would provide privileged access to these networks.  The speaker suggested that it is only a matter of time until software for these boxes is available on bit-torrent.&lt;br /&gt;&lt;br /&gt;"SCADA and ICS for Security Experts" gave a definition of SCADA and discussed what systems can be called SCADA and which ones aren't really SCADA.  SCADA involves interconnected sensors and controls under central management.  Not all industrial control systems (ICS) are SCADA.  Electrical "Smart Meters" are really a billing system, not a remote control system, for example.  The hard part of attacking SCADA and ICS isn't getting into the network - it is understanding the physical impact of various logical controls.&lt;br /&gt;&lt;br /&gt;Speaking of Smart Meters, "The Night the Lights Went Out in Vegas" covered some of the details of Smart Meter networks.  Radio communications involves either 900 mHz licensed spectrum and GRPS, with a small number of other methods like powerline RF.&lt;br /&gt;&lt;br /&gt;"Cyberterrorism and the National Drinking Infrastructure" gave an overview of operations at a small public water district.  There are a lot of fail safe mechanisms that make it difficult to effectively attack a drinking water system.  Water districts themselves are highly fragmented, meaning an attack would likely be local in scope, confined to a single municipality.&lt;br /&gt;&lt;br /&gt;Aside from SCADA other notable topics included cyber-warfare and hardware hacking.  "How to Build a Cyber Army" discussed a possible budget for a hypothetical cyber-army (North Korea was the example).  Having agents embedded in the target nation's critical infrastructure is essential - remote attacks would not have their full impact without this.  The final budget came out to something short of $50 million (I'm relying on memory here).&lt;br /&gt;&lt;br /&gt;Hardware hacking included hacking WiMAx customer boxes, basics of the Arduino ("Hardware Hacking for Software Guys"), and building electronic weapons (a variant of the old Defcon "Build your own HERF gun" talk).&lt;br /&gt;&lt;br /&gt;It wouldn't be Defcon without some controversy.  Here's a short rundown:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;A talk on Chinese cyberattacks was canceled due to objections of the Taiwanese government, ever desirous of not offending the mainline Chinese.  The key speaker was a Taiwan national, so his government's request carried the day.&lt;/li&gt;&lt;li&gt;A talk on evading censorship by using TOR had one of the key speakers, affiliated with Wikileaks, detained by US authorities upon entering the country from the Netherlands. His electronics (computer, cell phone, etc.) were seized.&lt;/li&gt;&lt;li&gt;A talk on jackpotting ATMs went on as scheduled.  It was pulled last year due to pressure from the presenter's employer (Juniper).  He now works fo IOActive, who had no objection.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;GSM-based cell phone communication was intercepted using a mock base-station built using $1500 of equipment.  Lots of notices were prominently posted warning people not to use your cell phone during this time!&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;Lastly, one of my favorite things was the exhibit of old computer technology.  A fully functioning DEC PDP-11 was featured that brought back memories of my first computing experiences.&lt;br /&gt;&lt;br /&gt;And while I fully support the EFF, I did *not* get a mohawk, thank you&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12907541-260451605778797303?l=bloodsweatinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bloodsweatinfosec.blogspot.com/feeds/260451605778797303/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12907541&amp;postID=260451605778797303' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/260451605778797303'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/260451605778797303'/><link rel='alternate' type='text/html' href='http://bloodsweatinfosec.blogspot.com/2010/08/i-skipped-defcon-last-year-so-i-made.html' title='Defcon 18 quickly summarized'/><author><name>V. LeVeque</name><uri>http://www.blogger.com/profile/13511228704319189784</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://www.ibiblio.org/eldritch/el/pix/teli1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12907541.post-7588421738516546173</id><published>2010-08-13T07:37:00.001-07:00</published><updated>2010-08-13T07:39:07.727-07:00</updated><title type='text'>Another entry in the broken cert hall of shame</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_stC6klR9WQs/TGVY3EtwoeI/AAAAAAAAAAg/w4GgbqhRZ9E/s1600/Screenshot-Evolution+Warning.png"&gt;&lt;img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 320px; height: 159px;" src="http://4.bp.blogspot.com/_stC6klR9WQs/TGVY3EtwoeI/AAAAAAAAAAg/w4GgbqhRZ9E/s320/Screenshot-Evolution+Warning.png" alt="" id="BLOGGER_PHOTO_ID_5504903822712021474" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Noted this when trying to log into gmail using my secure POP client.  I hope this is just a quirk in Google's cert management&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12907541-7588421738516546173?l=bloodsweatinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bloodsweatinfosec.blogspot.com/feeds/7588421738516546173/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12907541&amp;postID=7588421738516546173' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/7588421738516546173'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/7588421738516546173'/><link rel='alternate' type='text/html' href='http://bloodsweatinfosec.blogspot.com/2010/08/another-entry-in-broken-cert-hall-of.html' title='Another entry in the broken cert hall of shame'/><author><name>V. LeVeque</name><uri>http://www.blogger.com/profile/13511228704319189784</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://www.ibiblio.org/eldritch/el/pix/teli1.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_stC6klR9WQs/TGVY3EtwoeI/AAAAAAAAAAg/w4GgbqhRZ9E/s72-c/Screenshot-Evolution+Warning.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12907541.post-7405678702665295453</id><published>2010-08-03T16:02:00.000-07:00</published><updated>2010-08-03T16:25:55.158-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='as/400'/><category scheme='http://www.blogger.com/atom/ns#' term='security'/><category scheme='http://www.blogger.com/atom/ns#' term='iSeries'/><title type='text'>OCEAN AS/400 Conference Notes</title><content type='html'>I attended the &lt;a href="http://www.ocean400.org/mc/community/eventdetails.do?eventId=275681&amp;amp;orgId=ougsc&amp;amp;recurringId=0"&gt;July 16 OCEAN annual technical conference&lt;/a&gt; on the iSeries (which I will always call the AS/400).  I've spent a good chunk of my professional career working on this system and while it seems to be slowly fading away, I still like to keep up on it.  Who knows when you might run across one?  Being one of the last people around familiar with this technology may prove useful.&lt;br /&gt;&lt;br /&gt;Some general notes: There was a session on iPhone integration with the iSeries, showing this venerable back end is still being adapted to the latest client gadgets.  A whole series of PHP development sessions was provided, including ones on the Zend environment.&lt;br /&gt;&lt;br /&gt;My main focus here is the session on security, given by &lt;a href="http://www.linkedin.com/in/johntearl"&gt;John Earl&lt;/a&gt; (who immediately recognized me in the audience after over 10 years).  He covered some of the laws governing breach reporting and personal information protection, noting that Massachusetts has the strictest state laws in the US.  His main focus was on insider threats, as he believes the iSeries is hard for an outsider to attach without some sort of inside access and knowledge.&lt;br /&gt;&lt;br /&gt;John noted that default passwords are still a problem, especially for vendor software.  The &lt;a href="http://publib.boulder.ibm.com/iseries/v5r1/ic2924/info/cl/anzdftpw.htm"&gt;ANZDFTPWD &lt;/a&gt;command will help by checking for many of these.  Unencrypted passwords on the wire is another problem, with FTP, telnet and the iSeries Access Servers (formerly Client Access).  He noted some common mechanisms for finding user IDs and user profile information that can be exploited even with a limited capability account that supposedly restricts command line access.  Read access to a user profile provides the ability to take over the profile - so do not allow *PUBLIC (world in unix-speak) read access.  Taking over a profile involves using it in the &lt;a href="https://publib.boulder.ibm.com/iseries/v5r2/ic2924/info/cl/sbmjob.htm"&gt;SBMJOB &lt;/a&gt;commands, in a &lt;a href="http://www.code400.com/forum/showthread.php/606-Jobd"&gt;JOBD&lt;/a&gt;, or through &lt;a href="http://publib.boulder.ibm.com/infocenter/iseries/v5r3/topic/cl/addjobscde.htm"&gt;ADDJOBSCDE &lt;/a&gt;(look these up if they don't make sense!).  John is a strong believer in relying on object authority rather than exit programs for security.&lt;br /&gt;&lt;br /&gt;Having been outside the iSeries world for a while, it was discouraging to hear the same flaws mentioned that I had known about ten and fifteen years ago.  The approach to taking over an AS/400 seems similar to that used in Windows systems - get the authentication credentials, execute a command using that credential, use the command to gain command line access.  What ADDJOBSCDE does in an iSeries, "schtasks" (or "at") does for Windows.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12907541-7405678702665295453?l=bloodsweatinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bloodsweatinfosec.blogspot.com/feeds/7405678702665295453/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12907541&amp;postID=7405678702665295453' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/7405678702665295453'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/7405678702665295453'/><link rel='alternate' type='text/html' href='http://bloodsweatinfosec.blogspot.com/2010/08/ocean-as400-conference-notes.html' title='OCEAN AS/400 Conference Notes'/><author><name>V. LeVeque</name><uri>http://www.blogger.com/profile/13511228704319189784</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://www.ibiblio.org/eldritch/el/pix/teli1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12907541.post-1441945424324995389</id><published>2010-07-19T21:42:00.000-07:00</published><updated>2010-07-19T21:54:21.204-07:00</updated><title type='text'>ISSA LA gets some press</title><content type='html'>Our very own Stan Stahl has been quoted in the &lt;a href="http://www.labusinessjournal.com/news/2010/jul/12/playing-defense-onlin"&gt;LA Business Journal&lt;/a&gt;:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;It seems starting Internet security companies has become something of a gold rush, according to Stan Stahl, chief executive of L.A. cybersecurity firm Citadel Information Group and president of the Information Systems Security Association.  &lt;p&gt;“In the last year, all of a sudden this industry has taken off,” Stahl said. “Legally, anyone can hang up a shingle and say they are a computer security expert.”&lt;/p&gt;&lt;/blockquote&gt;This is in an announcement for a new independent information security firm headed by Hemu Nigam called &lt;a href="http://sspblue.com/"&gt;SSP Blue.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;A new infosec boutique isn't in itself so newsworthy - but the mention of ISSA along with some positive business prognostications about infosec in general make the article worth a read.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12907541-1441945424324995389?l=bloodsweatinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bloodsweatinfosec.blogspot.com/feeds/1441945424324995389/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12907541&amp;postID=1441945424324995389' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/1441945424324995389'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/1441945424324995389'/><link rel='alternate' type='text/html' href='http://bloodsweatinfosec.blogspot.com/2010/07/issa-la-gets-some-press.html' title='ISSA LA gets some press'/><author><name>V. LeVeque</name><uri>http://www.blogger.com/profile/13511228704319189784</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://www.ibiblio.org/eldritch/el/pix/teli1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12907541.post-5412821730297077407</id><published>2010-07-09T07:00:00.000-07:00</published><updated>2010-07-09T07:24:42.676-07:00</updated><title type='text'>News from 2009 - SSL Cert Atrocities from WAMU/CHASE</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_stC6klR9WQs/TDcrzcO30ZI/AAAAAAAAAAY/VwtuwdABiU0/s1600/Screenshot-Certificate+Viewer:"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 312px; height: 320px;" src="http://2.bp.blogspot.com/_stC6klR9WQs/TDcrzcO30ZI/AAAAAAAAAAY/VwtuwdABiU0/s320/Screenshot-Certificate+Viewer:" alt="" id="BLOGGER_PHOTO_ID_5491906433353503122" border="0" /&gt;&lt;/a&gt;For historical reasons I'd rather not detail, I had an account with WAMU (now Chase).  During the middle of the Chase acquisition, I noticed the ssl cert error displayed in this post.  This was during the process of setting up an online savings account, which the bank was heavily touting at the time.  I wish I had saved a screenshot, but at a slightly later time in the acquisition process, the cert error changed from expired cert to cert not matching URL.&lt;br /&gt;&lt;br /&gt;I called customer support at WAMU/Chase and got absolutely nowhere.  I went as far as to send a complaint to the OCC.  Their response was that they can't do anything, as they do not regulate Internet banking.&lt;br /&gt;&lt;br /&gt;Now think about this a bit.  This is a bank.  You trust them to hold your money - lots of it.  This particular bank is heavily pushing their Internet-only services.  They then commit the most atrocious ssl cert error possible - a cert that does not match the URL for their heavily-promoted online savings enrollment.  This is an error that every modern browser screams loudly about - for good reason.  This type of cert error is the one encountered with a man-in-the-middle attack.  I've just entered all the information required for major identity theft, and I then have my browser telling me the site I've encountered is likely fake.  When the error is reported the response is - crickets chirping.  Not just from the bank itself, but from the regulators.&lt;br /&gt;&lt;br /&gt;You may accuse me of being a luddite, but I still do a minimal amount of electronic banking.  Most of my bills are paid with old fashioned checks sent via the US Postal Service.  If banks want to gain the trust of customers like me, they need to start getting the very basics of security right - regardless of whether or not they are undergoing a merger.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12907541-5412821730297077407?l=bloodsweatinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bloodsweatinfosec.blogspot.com/feeds/5412821730297077407/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12907541&amp;postID=5412821730297077407' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/5412821730297077407'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/5412821730297077407'/><link rel='alternate' type='text/html' href='http://bloodsweatinfosec.blogspot.com/2010/07/news-from-2009-ssl-cert-atrocities-from.html' title='News from 2009 - SSL Cert Atrocities from WAMU/CHASE'/><author><name>V. LeVeque</name><uri>http://www.blogger.com/profile/13511228704319189784</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://www.ibiblio.org/eldritch/el/pix/teli1.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_stC6klR9WQs/TDcrzcO30ZI/AAAAAAAAAAY/VwtuwdABiU0/s72-c/Screenshot-Certificate+Viewer:' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12907541.post-6929937213392886501</id><published>2010-07-05T17:27:00.000-07:00</published><updated>2010-07-05T18:39:18.543-07:00</updated><title type='text'>Where does Windows 7 hide GnuPG keys?</title><content type='html'>Look under &lt;span style="font-family:courier new;"&gt;C:\Users\yourName\Application Data\gnupg&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12907541-6929937213392886501?l=bloodsweatinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bloodsweatinfosec.blogspot.com/feeds/6929937213392886501/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12907541&amp;postID=6929937213392886501' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/6929937213392886501'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/6929937213392886501'/><link rel='alternate' type='text/html' href='http://bloodsweatinfosec.blogspot.com/2010/07/where-does-windows-7-hide-gnupg-keys.html' title='Where does Windows 7 hide GnuPG keys?'/><author><name>V. LeVeque</name><uri>http://www.blogger.com/profile/13511228704319189784</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://www.ibiblio.org/eldritch/el/pix/teli1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12907541.post-5136589525270327022</id><published>2010-06-01T21:24:00.000-07:00</published><updated>2010-06-01T21:25:36.124-07:00</updated><title type='text'>Secret to getting Kismet to work in Ubuntu 9.04 on a Dell Inspiron 1420</title><content type='html'>the secret is:&lt;br /&gt;&lt;br /&gt;source=rt8180,wlan0,ALFA&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12907541-5136589525270327022?l=bloodsweatinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bloodsweatinfosec.blogspot.com/feeds/5136589525270327022/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12907541&amp;postID=5136589525270327022' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/5136589525270327022'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/5136589525270327022'/><link rel='alternate' type='text/html' href='http://bloodsweatinfosec.blogspot.com/2010/06/secret-to-getting-kismet-to-work-in.html' title='Secret to getting Kismet to work in Ubuntu 9.04 on a Dell Inspiron 1420'/><author><name>V. LeVeque</name><uri>http://www.blogger.com/profile/13511228704319189784</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://www.ibiblio.org/eldritch/el/pix/teli1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12907541.post-4467751247969015355</id><published>2007-07-09T08:05:00.000-07:00</published><updated>2007-07-13T16:36:08.693-07:00</updated><title type='text'>PHP Code Scanners</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;PHP code scanners&lt;?xml:namespace prefix = o /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;Investigating source code for possible security flaws is an important part of a security assessment.&lt;span style="font-size:+0;"&gt; &lt;/span&gt;Common source code flaws can include trusting untrustworthy input, allowing executable strings in data input, buffer overflows, timing flaws&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;There are code scanners for C, java and other common languages.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;The growth in Web-based applications means that the focus of code flaws has shifted to common Web programming languages.&lt;span style="font-size:+0;"&gt; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;I've found two tools specifically designed for analyzing PHP code:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;- PHP security scanner from &lt;a href="http://securityscanner.lostfiles.de/"&gt;http://securityscanner.lostfiles.de/&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;- Pixy from &lt;a href="http://pixybox.seclab.tuwien.ac.at/pixy/"&gt;http://pixybox.seclab.tuwien.ac.at/pixy/&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;These tools can both provide some useful information, unfortunately both lack certain key functionality, and both look like fully-functioning prototypes that are no longer actively maintained.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;The PHP Security Scanner tool requires that you install it under your Apache server's document root.&lt;span style="font-size:+0;"&gt; &lt;/span&gt;It requires pre-existing MySQL service.&lt;span style="font-size:+0;"&gt; &lt;/span&gt;In addition, two php modules, Smarty and Pear are required.&lt;span style="font-size:+0;"&gt; &lt;/span&gt;Both should be installed in the same directory as the tool.&lt;span style="font-size:+0;"&gt; &lt;/span&gt;Ideally, PHP Security Scanner would include these as part of the install process.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;The PHP Security Scanner tool will automatically search for php source files, starting at a given document root.&lt;span style="font-size:+0;"&gt; &lt;/span&gt;I like this feature - it allows reviewing an entire Web site in one execution. It also has the ability to force include or exclude of specific files via a black/white list filter. I did not review this feature (maybe in the future).&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;Flaws are found via a regex match - no parsing of PHP code is performed.  It looks for "dangerous" operations with a variable (any variable) as an operand.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;Results from PHP Security Scanner are displayed as a Web page.&lt;span style="font-size:+0;"&gt; &lt;/span&gt;While very visually attractive, I question the sanity of displaying your Web server's vulnerabilities using that very same server. Advertising your vulnerabilities on a Web page is not very smart.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;Some of the messages shown in the results are a bit generic.&lt;span style="font-size:+0;"&gt; &lt;/span&gt;The regex patterns and the error messages are stored in a MySQL database, and thus are easily editable.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;Pixy actually attempts to parse the PHP syntax, to determine the severity of a code flaw based on its role.  Pixy attempts to track the flow of "tainted" (untrustworthy) values through the program using data flow analysis.  A &lt;a href="http://www.seclab.tuwien.ac.at/papers/pixy.pdf"&gt;paper &lt;/a&gt;presented at the IEEE Security and Privacy conference describes the approach in more detail.&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;Pixy is written in Java, and specifically requires JRE 1.5 or more recent from Sun (it will NOT work with the Gnu version of Java).&lt;span style="font-size:+0;"&gt; &lt;/span&gt;Installing Sun Java on my Ubuntu test system was more of a pain than I first realized.&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;&lt;/span&gt; &lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;The output from Pixy is plain text, not as visually stunning as the HTML from PHP Security Scanner.  Interpreting the output seems challenging as well.  I consider myself fairly well versed in security and had a tough time figuring out what the messages meant.&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12907541-4467751247969015355?l=bloodsweatinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bloodsweatinfosec.blogspot.com/feeds/4467751247969015355/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12907541&amp;postID=4467751247969015355' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/4467751247969015355'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/4467751247969015355'/><link rel='alternate' type='text/html' href='http://bloodsweatinfosec.blogspot.com/2007/07/php-code-scanners.html' title='PHP Code Scanners'/><author><name>V. LeVeque</name><uri>http://www.blogger.com/profile/13511228704319189784</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://www.ibiblio.org/eldritch/el/pix/teli1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12907541.post-594061801764931253</id><published>2007-06-12T21:43:00.000-07:00</published><updated>2007-06-12T22:09:34.997-07:00</updated><title type='text'>SANS loses it</title><content type='html'>I subscribe to &lt;a href="http://www.sans.org/newsletters/newsbites/newsbites.php?vol=4&amp;amp;issue=21"&gt;SANS &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;Newsbytes&lt;/span&gt;&lt;/a&gt;, one of the best mailing lists for security news around. Many of the news articles come with brief commentary by the editors, which usually adds value to the original articles.&lt;br /&gt;&lt;br /&gt;I've noticed many recent articles about missing &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;laptops&lt;/span&gt; (of course). This is a major security issue that requires a combination of technical and administrative countermeasures.&lt;br /&gt;&lt;br /&gt;One measure I've seen SANS advocates indicates &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_2"&gt;they&lt;/span&gt; have lost all sense of proportion, and any consideration of the secondary consequences of excessively severe policies. Yes, they are advocating that companies "make automatic termination the consequence of losing the laptop" (comment by &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_3"&gt;Kreitner&lt;/span&gt; in May 8 2007 &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_4"&gt;Newsbytes&lt;/span&gt;).&lt;br /&gt;&lt;br /&gt;Knowing most organizations, I'm sure that terminating an otherwise diligent productive employee for a missing &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_5"&gt;laptop&lt;/span&gt; will not faze them in the least. Losing a &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_6"&gt;laptop&lt;/span&gt; is a likely consequence of carrying one. Given the nature of business travel, the difficulty of keeping a laptop in your possession at all times, and the determination of thieves, it is inevitable that the most diligent employee will find their laptop missing. Too bad - you lose your job. I assume termination would result that if the laptop were stolen from your vehicle or home as well.&lt;br /&gt;&lt;br /&gt;Let's also look at the unintended consequences of such a policy. If my company had a policy of automatic termination for a missing laptop, I would keep my company laptop in a safe at home (after all, theft from autos is common) and use my personal laptop for my day-to-day work. The company asset would be protected, I would not be at risk from termination, and I could get my work done. If the laptop is stolen or lost, I pay the cost. The end consequence is that &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_7"&gt;sensitive&lt;/span&gt; information is even less protected than before, because I no longer use a controlled company asset for my work. Other less severe work-&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_8"&gt;arounds&lt;/span&gt; include employees using their personal &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_9"&gt;PDAs&lt;/span&gt; for work, or just doing without a computer on some business travel. If you need to access email, well you can do that from a kiosk, right? And we all know how secure &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_10"&gt;Webmail&lt;/span&gt; from a public kiosk can be.&lt;br /&gt;&lt;br /&gt;The sad part about this poor advice from SANS is that many organizations will end up adopting this policy, based on SANS' reputation. They will find their overall security degraded as employees come up with creative ways to keep their laptops theft-free at the expense of greater information security goals.&lt;br /&gt;&lt;br /&gt;There is a general point here as well. Severe, draconian punishments may discourage the santcioned behavior, but usually encourage other sorts of mis-behavior that are far worse.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12907541-594061801764931253?l=bloodsweatinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bloodsweatinfosec.blogspot.com/feeds/594061801764931253/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12907541&amp;postID=594061801764931253' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/594061801764931253'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/594061801764931253'/><link rel='alternate' type='text/html' href='http://bloodsweatinfosec.blogspot.com/2007/06/sans-loses-it.html' title='SANS loses it'/><author><name>V. LeVeque</name><uri>http://www.blogger.com/profile/13511228704319189784</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://www.ibiblio.org/eldritch/el/pix/teli1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12907541.post-2902559270526784375</id><published>2007-04-29T19:53:00.000-07:00</published><updated>2007-04-29T20:05:03.469-07:00</updated><title type='text'>NSA IAM/IEM</title><content type='html'>I'm moving along with the lecture notes for my class.  I've got some more detail on the NIST FISMA criteria.  It looks like a perfectly decent security standard on the surface.  You start by categorizing your information systems, determine the security controls, document these controls, assess the effectiveness of the controls, lather, rinse and repeat.  FISMA gets a lot of criticism, expecially on the SANS mailing list for being an ineffective paperwork drill. This may well be true, but if an agency has absolutely nothing in place, I imagine FISMA would at least provide a framework for future improvements.&lt;br /&gt;&lt;br /&gt;I'm also looking at the NSA IAM/IEM process.  I was certified in the IAM via &lt;a href="http://www.securityhorizon.com/"&gt;SecurityHorizon&lt;/a&gt;.  It is very puzzling that this process is so minimally documented in any public domain sites or documents.  If you do a Google (tm) search on "NSA IAM" the first hits are all training organizations offering certification prep.  A security certificaiton methodology so heavily endorsed by the premier Federal government security agency should at least have a standards document available.&lt;br /&gt;&lt;br /&gt;I finally (after many months) received permission to reproduce the PCI documents in my course reader.  Unfortunately the reader went to UCLA previously.   There is no change of including the printed versions of the PCI standards at least this go-around.&lt;br /&gt;&lt;br /&gt;If you are interested in my class, check out &lt;a href="http://www.uclaextension.edu"&gt;UCLA Extension's Web site&lt;/a&gt;.  I wish they would allow deep linking to a single class, but I am not their Webmaster.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12907541-2902559270526784375?l=bloodsweatinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bloodsweatinfosec.blogspot.com/feeds/2902559270526784375/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12907541&amp;postID=2902559270526784375' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/2902559270526784375'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/2902559270526784375'/><link rel='alternate' type='text/html' href='http://bloodsweatinfosec.blogspot.com/2007/04/nsa-iamiem.html' title='NSA IAM/IEM'/><author><name>V. LeVeque</name><uri>http://www.blogger.com/profile/13511228704319189784</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://www.ibiblio.org/eldritch/el/pix/teli1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12907541.post-2479526503303296422</id><published>2007-03-24T21:59:00.000-07:00</published><updated>2007-03-24T22:32:03.676-07:00</updated><title type='text'>Books on Security Assessment</title><content type='html'>I'm building the course material for my upcoming &lt;a href="http://www.uclaextension.edu"&gt;UCLA Extension &lt;/a&gt;class on security assessment.  After searching the reviews at Amazon, Slashdot articles, and archives of the pen test mailing list, I've come up with the following:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.amazon.com/Penetration-Testing-Network-Networking-Technology/dp/1587052083/ref=pd_bbs_sr_1/102-1998585-3039322?ie=UTF8&amp;s=books&amp;amp;qid=1174798932&amp;sr=1-1"&gt;Penetration Testing and Network Defense &lt;/a&gt;by Andrew Whitaker and Daniel Newman&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.amazon.com/Hacking-Exposed-5th/dp/0072260815/ref=pd_bbs_sr_1/102-1998585-3039322?ie=UTF8&amp;amp;s=books&amp;qid=1174799006&amp;amp;sr=1-1"&gt;Hacking Exposed&lt;/a&gt;, 5th Edition by McClure, Scambray, and Kurtz&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.amazon.com/Network-Security-Assessment-Chris-McNab/dp/059600611X/ref=pd_bbs_sr_1/102-1998585-3039322?ie=UTF8&amp;s=books&amp;amp;qid=1174799064&amp;sr=1-1"&gt;Network Security Assessment&lt;/a&gt;, by Chris McNab&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.amazon.com/Inside-Network-Security-Assessment-Infrastructure/dp/0672328097/ref=sr_1_5/102-1998585-3039322?ie=UTF8&amp;amp;s=books&amp;qid=1174799064&amp;amp;sr=1-5"&gt;Network Security AssessmentGuarding Your IT Infrastructure &lt;/a&gt;by Gregg and Kim&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.amazon.com/Practical-Guide-Security-Assessments/dp/0849317061/ref=pd_bbs_sr_1/102-1998585-3039322?ie=UTF8&amp;s=books&amp;amp;qid=1174799197&amp;sr=1-1"&gt;A Practical Guide to Security Assessments&lt;/a&gt; by Sudhanshu Kairab&lt;/li&gt;&lt;/ul&gt;These are all good books and each would be an excellent addition to the library of an IT auditor, security analyst, or penetration tester.&lt;br /&gt;&lt;br /&gt;Gregg and Kim's book is the best introduction to the subject.  It gives an overview of the risk assessment process.  It focuses on security essentials, then describes the components of a assessment methodology.  It is really a management overview, a good text for an intro class or for an IT manager considering hiring an assessment consultant.&lt;br /&gt;&lt;br /&gt;Sudhanshu Kairab's book goes into more detail on the business process behind performing an assessment.  This is a more detailed methodology for a senior security analyst.  The nuts and bolts of managing an assessment project are described, including hints on how to gather information via interviews and how to structure the final report.  A good third of the book is appendices covering various security checklists that can guide an assessment project.&lt;br /&gt;&lt;br /&gt;The remaining books provide a more in-depth look at technical aspects of security assessment.  These include the techniques used in performing a penetration test.   Their shelf life is much shorter than the process-based guides, as techniques for security analysis have a very short lifespan.  New techniques are developed very quickly, and older vulnerabilites often die just a s quickly.  A vulnerability testing tool only needs to be neglected for at most two years before it becomes useless.&lt;br /&gt;&lt;br /&gt;Chris McNab's book is part of the O'Reilly family of technical publications.  It is well written, easy to follow, and tends to focus on examining UNIX-like systems.  Hacking Exposed is the latest of a long dynasty of books from the former E&amp;Y guys.  It is very detailed, with chapters on current topics like VoIP hacking, phishing, and browser client attacks.  An older version I had (2nd) seemed to be rather Windows-centric in its choice of tools.  This current version does not suffer from such an emphasis.  Finally, Whitaker and Newman's book, published by Cisco Press, also has a good technical emphasis.  It does not seem as up-to-date as Hacking Exposed v5, though becoming out-of-date is a hazard of the genre.  Any technical "how to hack" book should be regarded as only a starting point.  Once you have mastered the basics, the professional pen tester should attend conferences and use mailing lists such as the &lt;a href="http://www.securityfocus.com/archive/101/description"&gt;pen test &lt;/a&gt;list.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12907541-2479526503303296422?l=bloodsweatinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bloodsweatinfosec.blogspot.com/feeds/2479526503303296422/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12907541&amp;postID=2479526503303296422' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/2479526503303296422'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/2479526503303296422'/><link rel='alternate' type='text/html' href='http://bloodsweatinfosec.blogspot.com/2007/03/books-on-security-assessment.html' title='Books on Security Assessment'/><author><name>V. LeVeque</name><uri>http://www.blogger.com/profile/13511228704319189784</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://www.ibiblio.org/eldritch/el/pix/teli1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12907541.post-5510183047587637540</id><published>2007-02-25T14:01:00.000-08:00</published><updated>2007-02-25T14:05:29.372-08:00</updated><title type='text'>Blogger now part of Google empire</title><content type='html'>I had to set up a Google account to edit my blog.  In the process, I found that almost every email account I have is associated with a pre-existing Google account.  I have no record of what password I used in setting up this account, and no desire to maintain three unused Google account.&lt;br /&gt;&lt;br /&gt;Google does not make it easy to delete accounts once they are set up.  Their help page suggests going to a "contact Google" link that does not appear to exist.&lt;br /&gt;&lt;br /&gt;I sent a fax right to Google requesting this.  I will see if anything happens.&lt;br /&gt;&lt;br /&gt;Unused accounts are the space debris of the Internet.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12907541-5510183047587637540?l=bloodsweatinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bloodsweatinfosec.blogspot.com/feeds/5510183047587637540/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12907541&amp;postID=5510183047587637540' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/5510183047587637540'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/5510183047587637540'/><link rel='alternate' type='text/html' href='http://bloodsweatinfosec.blogspot.com/2007/02/blogger-now-part-of-google-empire.html' title='Blogger now part of Google empire'/><author><name>V. LeVeque</name><uri>http://www.blogger.com/profile/13511228704319189784</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://www.ibiblio.org/eldritch/el/pix/teli1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12907541.post-116941939200417671</id><published>2007-01-21T14:39:00.000-08:00</published><updated>2007-01-21T14:44:09.410-08:00</updated><title type='text'>We've got mail</title><content type='html'>I received a very nice email from Peter Herzog on OSTTMM, letting me know that "the OSSTMM is taught at 14 universities in Europe and 1 in Hong Kong". This approach definitely has its fans. I was sent a copy of version 3 of the OSTTM to distribute to the class. I'll incorporate it into the section on pen testing as I work out the class material.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12907541-116941939200417671?l=bloodsweatinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bloodsweatinfosec.blogspot.com/feeds/116941939200417671/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12907541&amp;postID=116941939200417671' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/116941939200417671'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/116941939200417671'/><link rel='alternate' type='text/html' href='http://bloodsweatinfosec.blogspot.com/2007/01/weve-got-mail.html' title='We&apos;ve got mail'/><author><name>V. LeVeque</name><uri>http://www.blogger.com/profile/13511228704319189784</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://www.ibiblio.org/eldritch/el/pix/teli1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12907541.post-116732736466923017</id><published>2006-12-28T09:35:00.000-08:00</published><updated>2006-12-28T09:36:05.440-08:00</updated><title type='text'>A new class at UCLA Extension</title><content type='html'>I've "volunteered" to take on a new class at &lt;a href="http://www.uclaextension.edu"&gt;UCLA Extension&lt;/a&gt;.  It will be titled "Security Vulnerability Assessment" or something like that.  I'm going to teach it over 2 consecutive weekends (fri/sat two weeks in a row) sometime in Spring (mid-April most likely).&lt;br /&gt;&lt;br /&gt;Here is my outline so far:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Overview of information security, including the basic threat model, types of vulnerability, technical security architecture and principles of security management. &lt;/li&gt;&lt;li&gt;Discussion of the types of security assessment that may be conducted, including general controls audits, technical audits, vulnerability scans, and penetration tests.&lt;/li&gt;&lt;li&gt;Standards for vulnerability assessment, including &lt;a href="http://cpcaf.aicpa.org/Resources/Sarbanes+Oxley/"&gt;AICPA/PCAOB&lt;/a&gt;, &lt;a href="http://csrc.nist.gov/publications/nistpubs/"&gt;NIST SP 800-30 and related docs&lt;/a&gt;, &lt;a href="http://www.certtest.com/nsa-iam.html"&gt;NSA IAM/IEM&lt;/a&gt;, and &lt;a href="https://www.pcisecuritystandards.org/"&gt;Payment Card Industry (PCI) standards&lt;/a&gt;.  I MAY talk a bit about HIPAA.  I'm not sure if I should do the &lt;a href="http://www.isecom.org/osstmm/"&gt;OSSTMM&lt;/a&gt;.  Does anyone actually use OSSTMM aside from the folks who wrote it?&lt;/li&gt;&lt;li&gt;Some specific review items for most common technical platforms, meaning how to review Windows serves, Linux servers, and overall network security.&lt;/li&gt;&lt;li&gt;Demonstration of network security tools such as nmap, Nessus and the like.&lt;/li&gt;&lt;/ul&gt;I'll have a course reader with the slides as well as public domain material.  I'll include relevant NIST documents and maybe FFIEC audit programs.  I hope to get permission to use PCI documents.  I really wish the NSA IAM had public domain documentation.  I wish the &lt;a href="http://www.iatrp.com/iam.cfm"&gt;Web site&lt;/a&gt; wasn't broken.  It seems the Feds outsource this to training firms, who make a good business cranking out these certs.&lt;br /&gt;&lt;br /&gt;I've tried finding similar courses offered elsewhere, but with little luck.  Most of the "learn to hack" classes are proprietary, with no description other than the bare minimum.  They tend to be entirely tool oriented as well.  Classes on IT auditing only cover, well, IT auditing.  Classes that touch on security assessment tend to do so as a small subtopic of a bigger intro to security class.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12907541-116732736466923017?l=bloodsweatinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bloodsweatinfosec.blogspot.com/feeds/116732736466923017/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12907541&amp;postID=116732736466923017' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/116732736466923017'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/116732736466923017'/><link rel='alternate' type='text/html' href='http://bloodsweatinfosec.blogspot.com/2006/12/new-class-at-ucla-extension.html' title='A new class at UCLA Extension'/><author><name>V. LeVeque</name><uri>http://www.blogger.com/profile/13511228704319189784</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://www.ibiblio.org/eldritch/el/pix/teli1.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12907541.post-116172808443987552</id><published>2006-10-24T15:01:00.000-07:00</published><updated>2006-10-24T15:14:44.996-07:00</updated><title type='text'>Halloween InfoSec News</title><content type='html'>A few short items (again):&lt;br /&gt;&lt;br /&gt;The Blue Box podcast service has a new &lt;a href="http://www.blueboxpodcast.com/2006/10/blue_box_42_the.html"&gt;recording&lt;/a&gt; which includes a rant about the lack of security provided by some VoIP Service Providers. This came out of a "Service Provider Shootout" provided by the &lt;a href="http://www.tmcnet.com/voip/conference/"&gt;Internet Telephony West conference &lt;/a&gt;earlier this in October.&lt;br /&gt;&lt;br /&gt;SCADA security issues are covered in the &lt;a href="http://www.digitalbond.com/SCADA_Blog/SCADA_blog.htm"&gt;scada security blog&lt;/a&gt;.  Recent postings include how to detect &lt;a href="http://lemaymd.com/docs/iccp.pdf"&gt;ICCP &lt;/a&gt;servers with &lt;a href="http://www.nessus.org/"&gt;Nessus &lt;/a&gt;and a plug for the &lt;a href="http://www.digitalbond.com/SCADA_security/Call_for_Papers.pdf"&gt;SCADA Security Scientific Symposium &lt;/a&gt;(January 24-25 in Miami)&lt;br /&gt;&lt;br /&gt;And finally, what could be more "Halloween" than &lt;a href="http://en.wikipedia.org/wiki/Night_of_the_Living_Dead"&gt;Zombies&lt;/a&gt;?  ZDNet has an article titled "&lt;a href="http://news.zdnet.com/2100-1009_22-6127304.html"&gt;Zombies try to blend in with the crowd&lt;/a&gt;".  Compromised zomby systems, instead of using easily recognizable (and easily blocked) communication protocols, are now using more familiar one like HTTP.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12907541-116172808443987552?l=bloodsweatinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bloodsweatinfosec.blogspot.com/feeds/116172808443987552/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12907541&amp;postID=116172808443987552' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/116172808443987552'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/116172808443987552'/><link rel='alternate' type='text/html' href='http://bloodsweatinfosec.blogspot.com/2006/10/halloween-infosec-news.html' title='Halloween InfoSec News'/><author><name>V. LeVeque</name><uri>http://www.blogger.com/profile/13511228704319189784</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://www.ibiblio.org/eldritch/el/pix/teli1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12907541.post-115921899757789045</id><published>2006-09-25T14:16:00.000-07:00</published><updated>2006-09-25T14:18:51.633-07:00</updated><title type='text'>VoIP Security Exposed: Perspectives of a "Hacker"</title><content type='html'>&lt;p&gt;The &lt;a href="http://www.misti.com/default.asp?page=65&amp;Return=70&amp;amp;ProductID=5091"&gt;IT Security World Conference&lt;/a&gt; is being held in San Francisco this week. I was able to attend one of the pre-conference workshops, titled &lt;a href="http://www.misti.com/includes/conferences/workshopdetails.asp?pID=174&amp;ISS=21039&amp;amp;SID=627942"&gt;VoIP Security Exposed&lt;/a&gt;. The presenter’s name was Eric Hacker. That is his real name. He swears it is his real name, and that he comes from a long line of hackers.&lt;br /&gt;&lt;br /&gt;I’m going to give the main points of the seminar right now, and hold off a lengthier discussion until later:&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;&lt;a href="https://www.ietf.org/IESG/LIAISON/itut-sg17-ls-x805-end2end-communications.pdf"&gt;ITU-T X.805&lt;/a&gt; was introduced as a framework for telecom security architecture. It seems that Lucent was heavily involved in developing this standard, so it is no surprise Eric used it to illustrate VoIP security threats and mitigation measures.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;A &lt;a href="http://en.wikipedia.org/wiki/Session_Border_Controller"&gt;Session Border Controller &lt;/a&gt;(SBC) can be connected in parallel with an external firewall, or in series with it.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Windows Messenger includes &lt;a href="http://en.wikipedia.org/wiki/Session_Initiation_Protocol"&gt;SIP&lt;/a&gt; capabilities, so it is a VoIP client that is often included by default with Windows XP. This means you have less control over softphone use than you may have thought.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;BYE messages in SIP can be forged, making an interesting denial-of-service attack against VoIP. The attacker can repeatedly hang up calls.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Your firewall must understand &lt;a href="http://www.ietf.org/rfc/rfc2327.txt"&gt;Session Description Protocol &lt;/a&gt;(SDP) to effectively pass VoIP traffic. SDP tells the firewall which "pinholes" to open to allow the bearer RTP (voice) traffic through. There are no good open-source tools to test these ephemeral firewall rule exceptions.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Voicemail sometimes uses SMTP or even POP/IMAP to support convergence. This introduces all the security flaws of these protocols into your VoIP application.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Eric mentioned one case where an SBC uses a Java communication protocol for management. The protocol requires arbitrary ports, hence creating a security exposure.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Firewalls often require version upgrades in order to support VoIP. these upgrades are non-trivial in a production environment.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Traversing Network Address Translation is another issue. &lt;a href="http://www.voip-info.org/wiki-STUN"&gt;STUN &lt;/a&gt;and &lt;a href="http://en.wikipedia.org/wiki/TURN"&gt;TURN &lt;/a&gt;are often suggested as solutions, but for different reasons don’t work well (Eric made some comments about academics designing protocols that fail in the field...). Either SIP extensions with a proxy, or a &lt;a href="http://en.wikipedia.org/wiki/Back-to-back_user_agent"&gt;Back to Back User Agent&lt;/a&gt; (B2BUA) may work for handling NAT issues.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;End point devices (both PC-based softphones and hardware handsets) have their own security issues. Methods for downloading software and configuration updates may be insecure (e.g., TFTP), VLANs used to separate VoIP devices can be breached, and endpoint authentication requires a Public Key Infrastructure.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;A Man In The Middle (MITM) attack was mentioned as a high risk, enabling eavesdropping, endpoint spoofing, and call manipulation.&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;Wrapping up, Eric discussed the following tools for VoIP vulnerability testing:&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;&lt;a href="http://www.securityfocus.com/tools/3528"&gt;Sivus&lt;/a&gt; - Lots of unnecessary tests, hasn’t been updated in a while. Free.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;a href="http://www.sipfoundry.org/sftf/"&gt;SFTF&lt;/a&gt; - More of a QA tool than a vulnerability testing tool. Code and tests are tightly coupled, requiring a Python programmer to use. Not updated since 2004. Free.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;a href="http://sipp.sourceforge.net/"&gt;SIPp&lt;/a&gt; - More of a QA tool than a vulnerability scanner. Tests are in XML hence easily extendable. Under active development. Free.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;a href="http://www.metalinkltd.com/downloads.php"&gt;SIP Bomber&lt;/a&gt; - Based on the original Protos suite. More of a QA tool. Not recently updated. Free.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;a href="http://sipsak.org/"&gt;SipSak&lt;/a&gt; - really is a framework for testing SIP software than a security testing tool. Free.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;a href="http://www.codenomicon.com/"&gt;Codenomicon&lt;/a&gt; - The commercial (not free) version of Protos. A very good QA tool. Your SIP vendors should have used this one.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;a href="http://www.voipshield.com/index.php?option=com_frontpage&amp;amp;Itemid=1"&gt;VoIPSheild VoIPAudit&lt;/a&gt; - A basic vulnerability testing tool that has some promise (per Eric). Checks for vulnerabilities and for some policy compliance items. Commercial (not free)&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12907541-115921899757789045?l=bloodsweatinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bloodsweatinfosec.blogspot.com/feeds/115921899757789045/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12907541&amp;postID=115921899757789045' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/115921899757789045'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/115921899757789045'/><link rel='alternate' type='text/html' href='http://bloodsweatinfosec.blogspot.com/2006/09/voip-security-exposed-perspectives-of.html' title='VoIP Security Exposed: Perspectives of a &quot;Hacker&quot;'/><author><name>V. LeVeque</name><uri>http://www.blogger.com/profile/13511228704319189784</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://www.ibiblio.org/eldritch/el/pix/teli1.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12907541.post-115835421935665102</id><published>2006-09-15T14:03:00.000-07:00</published><updated>2006-09-15T14:03:39.756-07:00</updated><title type='text'>Odds and ends</title><content type='html'>If you are looking for examples of security awareness videos, a good place is the &lt;a href="http://www.educause.edu/SecurityVideoContest"&gt;educause &lt;/a&gt;Website.  They held a security video contest with 64 entries.  Winners took home a thousand dollar prize.  The videos are posted on their site.  While definitely applicable to academic environments, they still provide useful lessons for other organizations.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://media.wiley.com/product_data/coverImage/20/04717361/0471736120.jpg"&gt;&lt;img style="float:left;" src="http://media.wiley.com/product_data/coverImage/20/04717361/0471736120.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;My book is now featured in the &lt;a href="http://www.isaca.org/Template.cfm?Section=Browse_By_Category&amp;Template=/Ecommerce/ProductDisplay.cfm&amp;Productid=723"&gt;ISACA bookstore&lt;/a&gt;.  Buy it!  Be the first to review it for &lt;a href="http://www.amazon.com/gp/product/0471736120/sr=8-1/qid=1144685453/ref=sr_1_1/002-4825372-5868009?%5Fencoding=UTF8"&gt;Amazon.com&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br&gt;&lt;br /&gt;And evidence that the focus of computer crime (I hate the word "cybercrime") has shifted from the stereotypical adolescent hacker to organized crime comes from this &lt;a href="http://www.wired.com/news/technology/internet/0,71793-0.html?tw=rss.index"&gt;Wired &lt;/a&gt;article.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12907541-115835421935665102?l=bloodsweatinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bloodsweatinfosec.blogspot.com/feeds/115835421935665102/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12907541&amp;postID=115835421935665102' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/115835421935665102'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/115835421935665102'/><link rel='alternate' type='text/html' href='http://bloodsweatinfosec.blogspot.com/2006/09/odds-and-ends.html' title='Odds and ends'/><author><name>V. LeVeque</name><uri>http://www.blogger.com/profile/13511228704319189784</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://www.ibiblio.org/eldritch/el/pix/teli1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12907541.post-115613343397847391</id><published>2006-08-20T21:03:00.000-07:00</published><updated>2006-08-20T21:11:30.663-07:00</updated><title type='text'>Defcon 14 in Vegas</title><content type='html'>&lt;a href=”http://www.defcon.org”&gt;Defcon &lt;/a&gt; had its 14th year in Las Vegas just a few weeks back (specifically August 4 – 6).  I haven’t attended for a few years.  The old Defcon had gotten too glitzy and commercial.  It had lost the juvenile antics and outlaw spirit, becoming another commercialized security fest, with slick marketing-like presentations lacking in technical substance.  No more Mylar balloons launched over Area 51 anymore.&lt;br /&gt;&lt;br /&gt;I decided to attend this year mainly because I felts I was losing my edge in technical security issues.  My employer is going through fits regarding our training budget, so the $80 registration fee was something I could easily swallow.&lt;br /&gt;&lt;br /&gt;After many years at the Alexis Park, Defcon moved to the &lt;a href="http://www.rivierahotel.com/"&gt;Riviera&lt;/a&gt;.  It’s a larger hotel, with a full-on casino (unlike the Alexis Park, which distinguished itself as the one place in Vegas with no gambling, hence friendly to the under-18 set).  The hotel was OK as far as accommodations was concerned.  It was at the chintzy side of the strip, though a reasonable walk to the better hotels.  The layout of the hotel was very confusing – it took me the full 2 days before I could figure out how to get from point A to point B.  I also found the staff to be a bit on the surly side.&lt;br /&gt;&lt;br /&gt;I was very pleasantly surprised at the conference presentations.  Defcon has made the full transition to a professional security conference very well.  The speakers were all well prepared, spoke well, and presented valuable topics in a comprehensible fashion.  No more swaying drunks trying to talk about PBX hacking.&lt;br /&gt;&lt;br /&gt;Here are the sessions I attended with a short summary for each:&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="font-weight:bold;"&gt;Visual Log Analysis – The Beauty of Graphs (Raffael Marty)&lt;/span&gt; – Different visual styles for presenting firewall logs, basically tree maps (node-to-node) and bar-charts ( leveled breakdown by protocol, with cell size proportional to number of events).  He really likes Afterglow for parsing logs and providing them in a standard format for GraphViz or LGL to display.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="font-weight:bold;"&gt;802.1x Networking (tommEE pickles)&lt;/span&gt; – Tutorial on how to build a small secured wireless access system, including use of RADIUS for authentication.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="font-weight:bold;"&gt;Evolving Art of Fuzzing (Jared DeMott)&lt;/span&gt; -  Very good stuff on software quality assurance in general, and specific issues with fuzzing.  Notes the trade-off between random tests and total test time (lots of random cases mean testign will take a lot longer).  A big issue is how to know when the application is “broken” by input.  For example, running the app in a debugger will give you useful information, but the debugger itself changes how the application responds (e.g., to timing attacks).&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="font-weight:bold;"&gt;IBM Networking Attacks (Martyn Ruks)&lt;/span&gt; – Looks at Datalink Switching (DLSw) as a means of attacking large IBM mainframes.  DLSw is a method for encapsulating SNA in IP.  Very good intro, could be used as a tutorial in SNA.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="font-weight:bold;"&gt;Secure Cloaking and Anonymous Services (Michael Rash)&lt;/span&gt; – A lot about Tor and how to combine it with single packet authentication.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="font-weight:bold;"&gt;Fun with 802.11 Device Drivers (Johnny Cache)&lt;/span&gt; – Showed a video of a machine being rooted via a vulnerable 802.11 device driver.  Nothing a firewall can possibly do about this attack, as it occurs at layer 2.  Scary stuff.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="font-weight:bold;"&gt;UNCLASSIFIED Information Sharing with Non-Traditional Partners (Linton Wells)&lt;/span&gt; – The straight guy in the group.  He gave a very polished talk on DoD humanitarian initiatives, ending with a pitch for Defcon attendees to join up and become part of the DoD team.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="font-weight:bold;"&gt;Corporate Network Spying (Andrew Whitaker)&lt;/span&gt; – Very basic Hacking 101.  Nice summary of methods for attacking switched networks.  I only stayed for the first hour.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="font-weight:bold;"&gt;Traffic Analysis Panel (Jon Callas, moderator)&lt;/span&gt; – Think your encrypted communications will keep you safe?  Think again.  An amazing amount of information can be inferred from traffic analysis, and there is no feasible way to mask traffic patterns given the current Internet.  Typing patterns can reveal what you are saying, even if you use SSH.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="font-weight:bold;"&gt;Graphical Representations of Security Relationships: Awesome or Bullshit? (Foofus)&lt;/span&gt; – Awesome graphical representations are simple and illustrate a specific useful relationship.  Bullshit presentations are complex and impossible to read.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="font-weight:bold;"&gt;Phishing Tips and Techniques: Tackle, Rigging, and How &amp; Where to Phish (Peter Guttman, all the way from New Zealand)&lt;/span&gt; – Server certs mean nothing.  Most Web users have absolutely no clue about what they mean.  Users are trained by bad sofvtware to ignore security warnings, and US banks are miserable when it comes to securing their own Websites.  A successful phish should skip the server cert and just make a nice fancy dynamic Web page&lt;br /&gt;&lt;/ul&gt; that looks just like a real bank’s.&lt;/li&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12907541-115613343397847391?l=bloodsweatinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bloodsweatinfosec.blogspot.com/feeds/115613343397847391/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12907541&amp;postID=115613343397847391' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/115613343397847391'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/115613343397847391'/><link rel='alternate' type='text/html' href='http://bloodsweatinfosec.blogspot.com/2006/08/defcon-14-in-vegas.html' title='Defcon 14 in Vegas'/><author><name>V. LeVeque</name><uri>http://www.blogger.com/profile/13511228704319189784</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://www.ibiblio.org/eldritch/el/pix/teli1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12907541.post-115473059068453875</id><published>2006-08-04T15:04:00.000-07:00</published><updated>2006-08-04T15:29:51.716-07:00</updated><title type='text'>Hardening Fedora Core 5</title><content type='html'>I revised a year-old hardening document designed for Red Hat Enterprise, forking it to create a hardening document for Fedora Core 5.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I followed the &lt;a href="http://www.cisecurity.org"&gt;CIS recommendations&lt;/a&gt; in general. These consist of:&lt;br /&gt;&lt;ul&gt;Patch to OS&lt;br /&gt;&lt;li&gt;Remove (or don’t install) unnecessary services&lt;br /&gt;&lt;li&gt;Further harden with Bastille Linux&lt;br /&gt;&lt;li&gt;Apply a few more scripts to provide additional hardening.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;The first two points are no-brainers. The difference is that yum is used to patch Fedora, while up2date is used for RH Enterprise. Do the following:&lt;br /&gt;&lt;pre&gt;yum update&lt;/pre&gt;&lt;br /&gt;Fedora Core 5 supports SELinux to the extent of asking for configuration as part of the install process. I decided the hardening process should set SELinux to “warn” (permissive) mode initially, then set it to ‘enforce” mode once it is clear that applications would not be affected. There is an obvious analogy to installing RACF in this process. The trick is to eventually graduate from permissive to enforce mode.&lt;br /&gt;&lt;br /&gt;Here’s how to do this:&lt;br /&gt;&lt;ol&gt;&lt;br /&gt;&lt;li&gt;&lt;b&gt;Review SELinux policy violation messages&lt;/b&gt;&lt;br /&gt;After applications have been installed and are running, search the messages log file for any SELinux error or warning messages:&lt;br /&gt;&lt;pre&gt;grep avc /var/log/messages&lt;/pre&gt;&lt;br /&gt;If SELinux were to be installed in enforce mode, the listed errors would cause the application to fail. SELinux policy violations resulting from normal application use should be corrected by modifying the policy before setting SELinux to enforce mode.&lt;br /&gt;&lt;li&gt;&lt;b&gt;Revise SELinux policy to permit normal application functions&lt;/b&gt;&lt;br /&gt;A procedure is described in &lt;a href="http://fedora.redhat.com/docs/selinux-apache-fc3/sn-debugging-and-customizing.html"&gt;http://fedora.redhat.com/docs/selinux-apache-fc3/sn-debugging-and-customizing.html&lt;/a&gt; to modify the local SELinux policy to prevent authorization failures from normal application use. This procedure is summarized as:&lt;br /&gt;&lt;br /&gt;2.a. Install the yum module checkpolicy:&lt;br /&gt;&lt;pre&gt;yum install checkpolicy&lt;/pre&gt;&lt;br /&gt;2.b. Create a file containing the SELinux error log messages&lt;br /&gt;&lt;pre&gt;grep avc /var/log/messages &gt; avc&lt;/pre&gt;&lt;br /&gt;2.c. Create a local SELinux policy file:&lt;br /&gt;&lt;pre&gt;/usr/bin/audit2allow –M local &lt;/pre&gt;&lt;br /&gt;2.d. Load the policy file into the kernel:&lt;br /&gt;&lt;pre&gt;/usr/sbin/semodule –i local.pp&lt;/pre&gt;&lt;br /&gt;SELinux error messages should be tracked to ensure no other authorization failures occur.&lt;br /&gt;&lt;br /&gt;&lt;li&gt;&lt;b&gt;Set SELinux to enforce mode&lt;/b&gt;&lt;br /&gt;Observe the messages log file for any further SELinux error or warning messages. If no authorization failures occur due to normal application operations, SELinux should be set to enforce mode:&lt;br /&gt;&lt;pre&gt;/usr/sbin/setenforce 1&lt;/pre&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;Bastille has turned out to be a real pain. Bastille allows use of batch files to automate the hardening process. The batch files are replicas of the questions and answers used in the interactive hardening. Unfortunately, the batch files must follow a specific format exactly, or the entire process aborts. If a question/response is missing or out of order, the hardening never happens. You then have the option of running Bastille interactively, in either graphical or curses-text mode.&lt;br /&gt;&lt;br /&gt;Running in a graphical environment requires X. Hardened servers should not run X or even have the applications installed. First, I’ll be damned if I install X just to run a one time configurator. Second, if I’m going through the trouble to harden a server using Bastille, why would I introduce an unsafe application?&lt;br /&gt;&lt;br /&gt;Text mode requires the perl curses modules. If you don’t have the modules, you would have to install them. Installing curses requires a ‘c’ compiler. Again, what hardened server keeps compilers around “just in case”? The same issues as with X – why go through the trouble, and why weaken security to run a hardening script?&lt;br /&gt;&lt;br /&gt;Instead, I reviewed Bastille’s functions and specified shell commands to perform the same functions:&lt;br /&gt;&lt;ol&gt;&lt;br /&gt;&lt;li&gt;Remove non-root access to the following commands: linuxconf, fsck, ifconfig, runlevel and portmap: &lt;pre&gt;chmod 700 command&lt;/pre&gt;&lt;li&gt;Disable suid for mount/unmount commands: &lt;pre&gt;chmod ug-s command&lt;br /&gt;&lt;/pre&gt;&lt;li&gt;Remove suid status for dump and restore, cardctl, at, news server stuff (inndstart and startinnfeed), printing utilities (if not using anyway), usernetctl: &lt;pre&gt;chmod ug-s /usr/bin/command&lt;/pre&gt;&lt;br /&gt;&lt;li&gt;Remove all permissions for r-utilities ( rcp, rlogin, rdist, RSH, REXEC, RCP) so not even root can run these utilities without changing permissions explicitly: &lt;pre&gt;chmod 000 command&lt;/pre&gt;&lt;br /&gt;&lt;li&gt;Enable password aging in /etc/login.defs. The password change interval should be set as required by ITD policy. The minimum password length should be set to eight characters using the parameter PASS_MIN_LEN 8&lt;br&gt;&lt;br /&gt;&lt;li&gt;Require use of strong passwords for user accounts. To set up password restrictions, edit the /etc/pam.d/system-auth file and add/change the following:&lt;br /&gt;&lt;pre&gt;password    requisite     /lib/security/$ISA/pam_cracklib.so retry=3    minlen=8 lcredit=-1 ucredit=-1 dcredit=-1 ocredit=-1&lt;/pre&gt;Note that running authconfig will destroy these changes, so permissions to authconfig should be set to avoid this: &lt;pre&gt;chmod 000 /usr/bin/authconfig&lt;/pre&gt;&lt;pre&gt;chmod 000 /usr/sbin/authconfig&lt;/pre&gt;&lt;br /&gt;&lt;li&gt;Set default umask - always edit the /etc/login.defs file to change the default umask to 077. Add the line UMASK 077 to the end of the file.&lt;br&gt;&lt;br /&gt;&lt;li&gt;Remove unnecessary accounts: news, uucp, games, gopher. Also remove ftp, apache, and named if not using these service. Remove all associated groups having the same name as the removed accounts. userdel account groupdel group&lt;br&gt;&lt;br /&gt;&lt;li&gt;Create authorized use banner in /etc/motd .&lt;br&gt;&lt;br /&gt;&lt;li&gt;Disable these services unless specifically required: nfs, nfslock, ypbind, portmap, rpcidmapd, rpcgssd, netfs, cups, cups-config-daemons, hplib, and kudzu. Note that many servers may require printer access. Printer services may remain enabled if documented in the SIS and approved by ITD Security.&lt;br /&gt;&lt;br /&gt;These services are specifically described in the CIS hardening document. Other unnecessary services should be disabled as well, including isdn and bluetooth-related services.&lt;br /&gt;&lt;br /&gt;To disable services, from the System menu select the option Services. Select the background tab to remove services started at boot time.&lt;br&gt;&lt;br /&gt;&lt;li&gt;Remove these applications unless specifically required: apmd, PCMIA services, GPM, and news. To remove applications, from the Applications menu select the option Add/Remove Software.&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;These don’t cover everything Bastille could cover, but they reflect the needs of the environment. I specifically excluded hardening steps designed to protect against inappropriate physical access (e.g., USB boot devices, boot passwords, etc.). The servers are in a secured data center, so physical security should be adequate. An intruder with physical access can always work around logical security measures. Conversely, these measures will make needed emergency maintenance more difficult.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12907541-115473059068453875?l=bloodsweatinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bloodsweatinfosec.blogspot.com/feeds/115473059068453875/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12907541&amp;postID=115473059068453875' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/115473059068453875'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/115473059068453875'/><link rel='alternate' type='text/html' href='http://bloodsweatinfosec.blogspot.com/2006/08/hardening-fedora-core-5.html' title='Hardening Fedora Core 5'/><author><name>V. LeVeque</name><uri>http://www.blogger.com/profile/13511228704319189784</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://www.ibiblio.org/eldritch/el/pix/teli1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12907541.post-115150608780064614</id><published>2006-06-28T07:44:00.000-07:00</published><updated>2006-06-28T07:48:08.236-07:00</updated><title type='text'>VoIP Security and Technology Maturity</title><content type='html'>&lt;p&gt;Traditional telephony services, using Private Branch Exchange (PBX) systems and dedicated wiring are being supplanted by provision of telephony services over existing IP-based networks. Referred to as Voice over IP (VoIP), these services provide cost savings by using the same cable plant for both voice traffic and data traffic, and by permitting calls to be routed over lower cost IP networks. &lt;/p&gt;&lt;p&gt;&lt;br /&gt;Supporting voice traffic over existing IP-based networks means telephony services are subject to the same attacks that have traditionally plagued data networks. Virus outbreaks, denial of service attacks, and eavesdropping are threats found on IP based networks that are not typically found on traditional telephony systems. Compounding the security issues is voice traffic’s lack of tolerance for performance degradation. End user expectations of voice systems performance and reliability are much higher than for information systems. A lack of dial tone is much more disruptive of work processes than is a delay in receiving email messages.&lt;br /&gt;VoIP provides a tempting target for attackers. Common data network attacks may be used to perform toll fraud, voice wiretapping, and to shut down VoIP systems with denial of service attacks. Impersonation of users supports fraud as well as general mischief. In common with older PBX-based phone systems, theft of service is an issue. &lt;/p&gt;&lt;p&gt;&lt;br /&gt;VoIP protocols have often been designed with only secondary attention to security. Low tolerance for network latency hampers use of encryption and network proxies as security countermeasures. This emphasis on performance and reliability is common with many emerging technologies. &lt;/p&gt;&lt;p&gt;&lt;br /&gt;VoIP security, in my opinion, is at the same stage as Web-based ecommerce security in 1995. The service is new and growing rapidly, standards are being tested, and technical innovators are putting out something new almost every day. Security specialists are concerned about possible threats but can only speculate what these threats might look like, and which threats will turn out to have the most impact. &lt;/p&gt;&lt;p&gt;&lt;br /&gt;With VoIP security, we have seen several recently published books attempting to cover the subject: &lt;/p&gt;&lt;ul&gt;&lt;li&gt;Voice over Internet Protocol (VoIP) Security, by PhD, CISM, CISSP, James F. Ransome, PhD, CISM, John Rittinghouse (Elsevier) &lt;/li&gt;&lt;li&gt;Practical VoIP Security, by Thomas Porter, Jan Kanclirz Jr. (Syngress)&lt;/li&gt;&lt;li&gt;Understanding Voice over IP Security, by Alan B. Johnston, David M. Piscitello (Artech)&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;(Note that a “Hacking Exposed” book covering VoIP is promised for future publication.)&lt;br /&gt;&lt;br /&gt;Of these, I have read the first two. Both appear hastily written, to capitalize on an emerging high-interest field. Both spend a large portion of their text covering background material on IP networking and traditional telephony systems (even though the latter topic is only marginally relevant to VoIP security). Lastly, their coverage of threats, vulnerabilities, and countermeasures is an amalgam of existing IP-based data network attacks (hacker, worms, etc.) and traditional telephony concerns (mainly toll fraud).&lt;br /&gt;&lt;br /&gt;I don’t fault these books too much for their failings. As an author, I understand the pressures and constraints of technical book publishing. The problems in writing about VoIP security reflect the immaturity of the field as much as the constraints of the media.&lt;br /&gt;&lt;br /&gt;With little history of actual attacks, security specialists can only speculate on how VoIP systems will be compromised. This speculation naturally borrows from the two networking disciplines most related to VoIP – IP-based data communications and traditional PBX-based telephony. Think about trying to assess the threats to online ecommerce in 1995. You’d probably look at the prior ten years of public network security intrusion and combine this with some knowledge of fraud in the catalog retail business.&lt;br /&gt;&lt;br /&gt;I recall reviewing an audit done by a “Big 6” firm of a Public Key Infrastructure system in 2000. The audit program was a mix of a standard IT general controls review and the IETF RFC defining PKI best practices. That audit program was the best that could be done absent a track record of PKI installations to provide real insight into PKI control issues. A similar exercise for a contemporary VoIP audit would likely yield similar observations. &lt;/li&gt;&lt;/li&gt;&lt;ul&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12907541-115150608780064614?l=bloodsweatinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bloodsweatinfosec.blogspot.com/feeds/115150608780064614/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12907541&amp;postID=115150608780064614' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/115150608780064614'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/115150608780064614'/><link rel='alternate' type='text/html' href='http://bloodsweatinfosec.blogspot.com/2006/06/voip-security-and-technology-maturity.html' title='VoIP Security and Technology Maturity'/><author><name>V. LeVeque</name><uri>http://www.blogger.com/profile/13511228704319189784</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://www.ibiblio.org/eldritch/el/pix/teli1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12907541.post-114746379993623412</id><published>2006-05-12T12:48:00.000-07:00</published><updated>2006-05-12T12:56:40.250-07:00</updated><title type='text'>Layer 1 – “Security” Conference, April 15, 2006</title><content type='html'>The “hacker” community holds periodic conferences or “cons” to share tricks and techniques, impart practical and theoretical knowledge, socialize, drink, and have a good time.  The big, well-known cons include &lt;a href="http://www.defcon.org"&gt;Defcon &lt;/a&gt;(Las Vegas),  &lt;a href="www.the-fifth-hope.org"&gt;HOPE &lt;/a&gt;(New York City) and the European Chaos Computer Club (Berlin).  Local and regional events are held on a smaller scale.&lt;br /&gt;&lt;br /&gt;Layer 1 is one such local con, held in the Los Angeles area every year since its first session 3 years ago.  The 2006 con was held the weekend of April 15 (Easter).  I was able to attend Saturday.  My notes from the Saturday sessions include the following:&lt;br /&gt;&lt;br /&gt;Ken Caruso – Seattle Wireless 6 years later&lt;br /&gt;This community network uses &lt;a href="http://www.ietf.org/rfc/rfc3626.txt"&gt;RFC 3626 &lt;/a&gt;Optimized Link State Routing (OLSR) protocol.  It is a mesh routing protocol that does not assume central control over routers.  The protocol pro-actively builds network routes.  A nice utility is available that creates SVG images of the network topology.&lt;br /&gt;&lt;br /&gt;Seattle is up to 35 nodes.  Not all of these nodes are interconnected.  There are some “islands” of networks.&lt;br /&gt;&lt;br /&gt;Some thoughts on the future of Seattle Community Wireless include:&lt;ul&gt;&lt;br /&gt;&lt;li&gt;OPN, “Other People’s Networks”, including open access points within the free network.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;802.11 power saving mode could be used to store messages, to be retrieved when the devices are polled later.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Use of 900 mHz cards, for better RF penetration.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Use of a Nocat captive portal to advertise the community network (and to display some basic acceptable use policies, legal disclaimers, etc).&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Use a new captive portal, wifidog, to aggregate community information.&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;Ken’s Web site is &lt;a href="http://ken.ipl31.net"&gt;http://ken.ipl31.net&lt;/a&gt; . It has many links associated with his talk under the entry “LayerOne Talk Wrap Up”.&lt;br /&gt;&lt;br /&gt;Enno Rey – MPLS Security&lt;br /&gt;MPLS is the Multiprotocol Label Switch, specified in &lt;a href="http://www.ietf.org/rfc/rfc3626.txt"&gt;RFC 3031&lt;/a&gt;.  MPLS is typically used in carrier networks.  Layer 3 MPLS VPNs are used in enterprise networks, for traffic separation and segmentation (see RFC 2547 and RFC 2917).&lt;br /&gt;&lt;br /&gt;Enno went through a number of attack scenarios against MPLS networks.  These include replaying traffic and forging labels.  The most credible scenarios required access to the MPLS core, specifically involving modifying labels to send traffic to the wrong VPN.   Longer term, provision of Ethernet through MPLS will open up some interesting scenarios.&lt;br /&gt;&lt;br /&gt;Luiz Eduardo Dos Santos – RFID Active Tags&lt;br /&gt;Tags are distinguished as either UHF tags (passive, cheap legacy tags) and WiFi tags (longer range, more expensive, uses existing WiFi infrastructure).  Basic technology behind these tags were discussed, and some potential attacks described.&lt;br /&gt;&lt;br /&gt;Billy Hoffman – Covert Crawling&lt;br /&gt;How do you crawl a Website without the owner knowing it was a bot?  How do you get an automated program to look like normal human-based Web crawling?  This is not as easy as it looks.  Not only do you have to mimic human timing and attention to links, you also have to replicate rendering Web site objects and reference dynamic link information.  One interesting suggestion is to hide your crawling inside the “slashdot effect”.&lt;br /&gt;&lt;br /&gt;Paul Henry – Anti Forensics&lt;br /&gt;Police are losing the forensics war against digital criminals.  There are many tricks that can hide data inside ordinary storage without the most common forensic tools being able to discover.  Data wiping routines are really getting good, they are cleaning out places where vestiges of the cleaned data could be inferred (such as the MFT).  Specific mention was made of &lt;a href="http://www.evidence-eliminator.com"&gt;Evidence Eliminator&lt;/a&gt;, &lt;a href="http://www.cyberscrub.com"&gt;CyberScrub &lt;/a&gt;(for cleaning up email) and &lt;a href="http://www.metasploit.com"&gt;Metasploit’s &lt;/a&gt;anti-forensics project.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12907541-114746379993623412?l=bloodsweatinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bloodsweatinfosec.blogspot.com/feeds/114746379993623412/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12907541&amp;postID=114746379993623412' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/114746379993623412'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/114746379993623412'/><link rel='alternate' type='text/html' href='http://bloodsweatinfosec.blogspot.com/2006/05/layer-1-security-conference-april-15.html' title='Layer 1 – “Security” Conference, April 15, 2006'/><author><name>V. LeVeque</name><uri>http://www.blogger.com/profile/13511228704319189784</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://www.ibiblio.org/eldritch/el/pix/teli1.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12907541.post-114550887166951164</id><published>2006-04-19T21:51:00.000-07:00</published><updated>2006-04-19T22:06:56.496-07:00</updated><title type='text'>Converging facility and information security</title><content type='html'>&lt;p&gt;Convergence in this case refers to a coming together of physical and information security practices within organizations. This “coming together” is being driven by two trends: increasingly sophisticated network-based management of facility infrastructure and the increasing importance and sophistication of physical attacks against IT infrastructure. This merger is a difficult one, as facility and information security come from different cultures, and corporate turf wars make either side wary of reliquisinhg their traditional control.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Facility infrastructure requires measures to protect physical assets, through guard services, intrusion alarms, CCTV surveillance, and facility access control systems. Included among the physical assets are information technology resources such as servers, network devices, and communication lines. Denying potential attackers physical access to network equipment is essential to securing that equipment.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Facility access systems themselves are increasingly managed using shared information technology resources. Servers using off-the-shelf operating systems, network connections relying on IP and shared with other data and management consoles based on common Web browsers are becoming common. A compromise of network security could result in ineffective or compromised facility security systems.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Information security and facility security share common concerns. Both protect valuable organizational assets. An attack against one can compromise resources that are the responsibility of the other. A breakdown of facility security can compromise information systems, and an attack against information systems can harm facility security.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Information and facility security convergence implies formal coordination between facility security operations and information security. In some cases, information and facility security functions may be merged and managed under a single executive. More commonly, these functions continue to report to separate executives, establishing formal and informal coordination on matters of common concern.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Some of the benefits of coordinating facility and information security include:&lt;br /&gt;&lt;/p&gt;&lt;li&gt;The ability to provide a common security program to support an organization-wide risk management program. This facilitates executive level visibility to security issues, and allows for coordinated strategies for asset protection.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Having a one-stop-shop for resolution of security issues particularly at the executive level. This assumes a corporate culture that values an explicit organization-wide risk management approach.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Increased information sharing among staff. While upper management benefits from increased coordination at top levels, information sharing among middle management and technical staff can improve the delivery of security services.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;More versatile staff, cross-trained in facility and information security disciplines. Staff may perform roles involving both information and facility security such as investigations and audits.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Monetary savings by being able to optimize the use of technology across the board for asset protection.&lt;/li&gt;&lt;p&gt;&lt;br /&gt;Areas of common concern include investigations, hiring and termination processes (or “user provisioning”), business continuity, and industrial/facility control systems. The user provisioning process is of particular interest, as it opens up use of a single identifier for both facility and system access, relying on a common directory backend for authentication and authorization.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;More information on facility/information security convergence may be found at:&lt;/p&gt;&lt;br /&gt;&lt;a href="http://www.fcw.com/article84751-12-12-04-Print"&gt;http://www.fcw.com/article84751-12-12-04-Print&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.csoonline.com/fundamentals/abc_convergence.html"&gt;http://www.csoonline.com/fundamentals/abc_convergence.html&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.varbusiness.com/showArticle.jhtml?articleID=51200143"&gt;http://www.varbusiness.com/showArticle.jhtml?articleID=51200143&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.computerworld.com/securitytopics/security/story/0,10801,108571p2,00.html"&gt;http://www.computerworld.com/securitytopics/security/story/0,10801,108571p2,00.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12907541-114550887166951164?l=bloodsweatinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bloodsweatinfosec.blogspot.com/feeds/114550887166951164/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12907541&amp;postID=114550887166951164' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/114550887166951164'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/114550887166951164'/><link rel='alternate' type='text/html' href='http://bloodsweatinfosec.blogspot.com/2006/04/converging-facility-and-information.html' title='Converging facility and information security'/><author><name>V. LeVeque</name><uri>http://www.blogger.com/profile/13511228704319189784</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://www.ibiblio.org/eldritch/el/pix/teli1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12907541.post-113587978613016571</id><published>2005-12-29T10:07:00.000-08:00</published><updated>2005-12-29T10:13:56.073-08:00</updated><title type='text'>Emerging Challenges in Information Security</title><content type='html'>&lt;p&gt;I’m updating a client’s information strategy document. This requires that I identify emerging challenges in information security. This involves some prognostication regarding trends in the near future, and concise summaries of selected infosec pundits.&lt;br /&gt;&lt;br /&gt;I’m looking for truly new developments, not a rehashing of recent history, and not the usual security chestnuts like IDS, firewall policies, VPN administration, incident response, etc.&lt;br /&gt;&lt;br /&gt;Here are some topics I’ve found:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Information Security and Physical Security Convergence&lt;/strong&gt; – Physical security has always been important to IT security. The relationship has become more intertwined as the computing environment has become more distributed. It is no longer just about securing the data center. Intelligent computing devices and network access points are all over. A stronger reason for this convergence is the adoption of IP-based management protocols for traditional facility-based devices (CCTV, alarm systems, facility access control, HVAC, power, etc.).&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Integrated Security Management Systems&lt;/strong&gt; – Sometimes called the “security dashboard”, this is an attempt to create a security management console similar to what products like HP OpenView provide for fault and performance management.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;Voice over IP Security&lt;/strong&gt; – The cost and management advantages of VoIP are leading some organizations into a full charge ahead with this technology. The combination of IP-based networks and old-fashioned telephony promised to bring back the era of phone phreakers.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;Wireless LAN Security&lt;/strong&gt; – This is almost an “old news” category, but were it not for the constantly evolving security standards and constantly evolving attack tools. It seems every time an improved crypto protocol is released, a new tool designed to attack it follows.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;Business Partner links&lt;/strong&gt; – In some form, this has been around since the days of EDI. The current version involves Web services. The key buzzword acronym is SAML (Security Assertion Markup Language).&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;End point security&lt;/strong&gt; – Securing the desktop and laptop device, especially when IT may not have direct control over the machine. Employees want to work from home, traveling executives may check their email from kiosks, etc. How can one evaluate the security of the endpoint, and allow or deny services based on that security?&lt;br /&gt;&lt;br /&gt;As I research these, I will post my findings and analysis here.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12907541-113587978613016571?l=bloodsweatinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bloodsweatinfosec.blogspot.com/feeds/113587978613016571/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12907541&amp;postID=113587978613016571' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/113587978613016571'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/113587978613016571'/><link rel='alternate' type='text/html' href='http://bloodsweatinfosec.blogspot.com/2005/12/emerging-challenges-in-information.html' title='Emerging Challenges in Information Security'/><author><name>V. LeVeque</name><uri>http://www.blogger.com/profile/13511228704319189784</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://www.ibiblio.org/eldritch/el/pix/teli1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12907541.post-113142594403758336</id><published>2005-11-07T20:53:00.000-08:00</published><updated>2005-11-07T20:59:04.050-08:00</updated><title type='text'>Router brute force authentication program</title><content type='html'>I've written a perl script to perform a brute force login to network devices.  It is mainly designed for use with Cisco routers, but works with other devices as well.&lt;br /&gt;&lt;br /&gt;I wrote it because I had a very difficult time getting &lt;a href="http://www.thc.org/releases.php"&gt;Hydra &lt;/a&gt;to work at performing brute force attacks on Cisco routers.  My program differs from other brute force login programs by checking for a failed login, rather than a successful one. I found that many times a successful login did not produce a prompt having the magic characters brute force programs look for (such as &gt;, #, etc.). This program assumes that any text that does not match a specified failure message is good. Just unzip, untar, and use the -h option to find out how it works.&lt;br /&gt;&lt;br /&gt;You can download a tarball of this script from:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://pages.sbcglobal.net/vleveque/brute-routers.tgz"&gt;http://pages.sbcglobal.net/vleveque/brute-routers.tgz&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Just type ./brute-routers -h for the help text.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12907541-113142594403758336?l=bloodsweatinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bloodsweatinfosec.blogspot.com/feeds/113142594403758336/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12907541&amp;postID=113142594403758336' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/113142594403758336'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/113142594403758336'/><link rel='alternate' type='text/html' href='http://bloodsweatinfosec.blogspot.com/2005/11/router-brute-force-authentication.html' title='Router brute force authentication program'/><author><name>V. LeVeque</name><uri>http://www.blogger.com/profile/13511228704319189784</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://www.ibiblio.org/eldritch/el/pix/teli1.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12907541.post-113099534067741111</id><published>2005-11-02T20:09:00.000-08:00</published><updated>2005-11-02T21:29:51.663-08:00</updated><title type='text'>Infraguard session on SCADA security</title><content type='html'>The quarterly &lt;a href="http://www.infragard.net/"&gt;Infraguard &lt;/a&gt;meeting was held this morning at the Metropolitan Water District Headquarters in downtown Los Angeles. The topic was securing Supervisory Control And Data Acquisition (SCADA) devices. Speakers were Jason Larsen and Jeff Tebbe, both from the Idaho National Laboratories.&lt;br /&gt;&lt;br /&gt;Their facility at the Idaho National Laboratories is intended to provide a perfect test environment for hacking industrial control systems. According to Jeff, vendors will provide them with their latest products for "test hacks", designed to help improve the product's security. This is all done with the support of the US government, specifically the Department of Homeland Security.&lt;br /&gt;&lt;br /&gt;The Laboratory is developing a framework for SCADA security, based on &lt;a href="http://www.isd.mel.nist.gov/projects/processcontrol/PCSRF_info.pdf"&gt;NIST (SPP-PCSRF)&lt;/a&gt; and Common Criteria (ISO/FIC 15408) standards. These sometimes obtuse standards documents are made more comprehensible and more modular, and a database is created of the requirements combined with the SCADA components to which the requirements apply. Based on this framework, a security assessment methodology is applied to determine the actual security assurance level of the tested component. The goal of the framework is to provide common standards for assessment, such that an assessment performed by two different teams will produce similar findings.&lt;br /&gt;&lt;br /&gt;Generic attack methods were then discussed. An attacker must first reach the LAN containing the SCADA devices. This LAN is typically isolated from the business LAN by a firewall. The isolation is often not perfect, and successful penetration of the SCADA LAN may come from back-doors, rather than a frontal assault through the business network. Some methods to penetrate the SCADA LAN include:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Remote Terminal Units with modem access&lt;/li&gt;&lt;li&gt;Wireless interception, either of cellular or of 802.11 networks. Point-to-point microwave is actually quite difficult and expensive to intercept.&lt;/li&gt;&lt;li&gt;Vendor access for service&lt;/li&gt;&lt;li&gt;Control channels from IT directly to devices, bypassing the firewall.&lt;/li&gt;&lt;li&gt;Peering networks with other utilities, for load balancing. A "mom and pop" utility is compromised, and the peering relationship allows compromising a much larger utility&lt;/li&gt;&lt;li&gt;IT management VPN, by compromising the IT admin's desktop system&lt;/li&gt;&lt;li&gt;Cross-network database links&lt;/li&gt;&lt;li&gt;Hi-jacking vendor patches, and introducing Trojan horse modifications on the fly&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Inherent complexities in SCADA systems tend to make them difficult to hack. Unless the hacker really understands the details of the industrial process being controlled, they can at best conduct minor vandalism (closing random switches, etc.). Vendor protocols have historically been proprietary, relying on serial busses rather than well-understood networking links. The device communication language itself is poorly if at all documented. Modifying the control communications is very difficult given this, and requires time and patience on the part of the attacker.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12907541-113099534067741111?l=bloodsweatinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bloodsweatinfosec.blogspot.com/feeds/113099534067741111/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12907541&amp;postID=113099534067741111' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/113099534067741111'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/113099534067741111'/><link rel='alternate' type='text/html' href='http://bloodsweatinfosec.blogspot.com/2005/11/infraguard-session-on-scada-security.html' title='Infraguard session on SCADA security'/><author><name>V. LeVeque</name><uri>http://www.blogger.com/profile/13511228704319189784</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://www.ibiblio.org/eldritch/el/pix/teli1.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12907541.post-113001365717896136</id><published>2005-10-22T13:17:00.000-07:00</published><updated>2005-10-22T13:42:51.893-07:00</updated><title type='text'>Banks to require 2-factor authentication</title><content type='html'>By the end of 2006, the FFIEC will require banks to adopt 2-factor authentication for Internet customers. Quoting from the article:&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;BOSTON - Federal regulators will require banks to strengthen security for Internet customers through authentication that goes beyond mere user names and passwords, which have become too easy for criminals to exploit.&lt;br /&gt;&lt;br /&gt;Bank Web sites are expected to adopt some form of "two-factor" authentication by the end of 2006, regulators with the Federal Financial Institutions Examination Council said in a letter to banks last week.&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;See &lt;a href="http://news.yahoo.com/s/ap/20051017/ap_on_hi_te/internet_banking_security"&gt;this yahoo news story&lt;/a&gt;. Also the &lt;a href="http://www.fdic.gov/news/news/financial/2005/fil10305.html"&gt;FFIEC report&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Two factor authentication will make phishing attacks much harder - wheedling the password or pin out of a victim will not be enough, you'd also have to steal (or "borrow") their authenticator as well. A password stolen via a Trojan horse program (keyboard logger or screen-scraper) would at best grant the thief one chance to login as the user.&lt;br /&gt;&lt;br /&gt;The Letter is drafted broadly enough that some wiggle room is there to allow a bank to get away without using 2 factor authentication. The letter calls for a risk analysis, with high-risk transactions specifically called out as requiring better than current single factor authentication. Would "high risk" apply to a typical consumer online banking transaction?&lt;br /&gt;&lt;br /&gt;Lastly, this applies to online banking. Online retail purchases and other non-banking transactions would not be covered. Even with two factor authentication, there are still opportunities for theft. Man-in-the-middle attacks are still possible, and crooks could compromise the security tokens either by reverse engineering them or by fraudulently obtaining cards in the name of bank customers (through social engineering, etc.). Tokens designed according to good cryptographic practices should be resistant to reverse engineering, however the actual history of commercial cryptography suggests exploitable flaws are likely.&lt;br /&gt;&lt;br /&gt;Note that the UK bank Lloyds TSB is experimenting with token based authentication, per &lt;a href="http://www.computerworld.com/printthis/2005/0,4814,105430,00.html"&gt;this Computerworld article&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12907541-113001365717896136?l=bloodsweatinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bloodsweatinfosec.blogspot.com/feeds/113001365717896136/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12907541&amp;postID=113001365717896136' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/113001365717896136'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/113001365717896136'/><link rel='alternate' type='text/html' href='http://bloodsweatinfosec.blogspot.com/2005/10/banks-to-require-2-factor.html' title='Banks to require 2-factor authentication'/><author><name>V. LeVeque</name><uri>http://www.blogger.com/profile/13511228704319189784</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://www.ibiblio.org/eldritch/el/pix/teli1.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12907541.post-112475604166567865</id><published>2005-08-22T16:32:00.000-07:00</published><updated>2005-08-27T09:21:34.676-07:00</updated><title type='text'>Scanning tools help build a network inventory</title><content type='html'>I was able to use some hacker tools legitimately, for purposes of developing a device inventory in a large distributed network. The point of the exercise was to figure out which IP addresses were live, and then to identify these live devices.&lt;br /&gt;&lt;br /&gt;The utility nmap was used for the initial scan. Two consecutive scans were performed, the first a ping scan:&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;nmap -sP -iL ip-master-range -oG ip-alive-ping&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Then a so-called TCP ping scan:&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;nmap -sP -PA -iL ip-master-range -oG ip-alive-tcp&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;The TCP ping scan sends a SYN packet to an open port. If either a SYN-ACK or a RST are received, then the address is live. If nothing comes back, the device either is not there or TCP is filtered en route.&lt;br /&gt;&lt;br /&gt;The two lists were sorted and merged to remove duplicates.&lt;br /&gt;&lt;br /&gt;A nice little c program called onesixtyone was used for the snmp scan. This program accepts a file of ip addresses and a file of community strings. It goes through the entire list of addresses for each community string. The program returns the ip address, the working community string and the snmp system description. The description sometimes provides detailed information about the device. Sometime, the description is maddeningly brief.&lt;br /&gt;&lt;br /&gt;A more precise description of the device make and model is provided by the system object ID MIB variable. I wrote a script that took the results of onesixtyone, read this variable, and created a nice comma separated file of ip address, community string, system object id, and system description.&lt;br /&gt;&lt;br /&gt;I made some effort to grab telnet login banners en masse. The two available programs were amap and grabbb. I wrote off grabbb immediately. I was struggling with the command arguments (the README file was useless) and got these rude haxor error messages (“"illegal portlist supplied, check your eyes, lamer”). What little information was in the README said that it only captures the first line of output (not good enough) and it wasn’t really designed for telnet.&lt;br /&gt;&lt;br /&gt;The other program, amap, was more professionally packaged. It is positioned as a generic application identification tool. It can optionally send “stuff” to open ports and based on the response tries to guess what service is actually behind the port (useful if someone is hiding a Web server or something behind a non-standard port). This program has a very well written README as well. Oh, and it handles multiple lines of output very well. Often the output includes screen formatting codes. I used a perl script to scrub these and just generate a plain character string.&lt;br /&gt;&lt;br /&gt;It takes a while to perform a banner-grab. I estimated about 22 seconds per host.&lt;br /&gt;&lt;br /&gt;For specific devices I grabbed the arp table from the remote routers and looked at the first bytes of device mac address. I used the perl module Net::Telnet::Cisco for this. The module was very easy to use and provided reasonable performance. One obvious gotcha – don’t print anything to standard out while communicating with the router. Anything sent to standard out will be sent to the router console session, not to your terminal.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12907541-112475604166567865?l=bloodsweatinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bloodsweatinfosec.blogspot.com/feeds/112475604166567865/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12907541&amp;postID=112475604166567865' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/112475604166567865'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/112475604166567865'/><link rel='alternate' type='text/html' href='http://bloodsweatinfosec.blogspot.com/2005/08/scanning-tools-help-build-network.html' title='Scanning tools help build a network inventory'/><author><name>V. LeVeque</name><uri>http://www.blogger.com/profile/13511228704319189784</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://www.ibiblio.org/eldritch/el/pix/teli1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12907541.post-112395042660502231</id><published>2005-08-13T09:15:00.000-07:00</published><updated>2005-08-13T09:27:06.630-07:00</updated><title type='text'>Pen Testing Goes Mainstream</title><content type='html'>Found this article in today's BBC News:&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;"Industry experience suggests," the report said, "that penetration tests always lead to findings such as the discovery of old, unpatched software or dangerous services running on web servers that would permit a hacker to enter a system."&lt;br /&gt;&lt;br /&gt;With modern penetration techniques, it may only take one such loophole to give an unfriendly intruder access to sensitive information.&lt;br /&gt;&lt;br /&gt;Which is precisely why pen testing courses are springing up all over the country.&lt;br /&gt;As a result, more and more IT staff are becoming aware of the tools and techniques required to probe a network and then penetrate it.&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;See &lt;a href="http://news.bbc.co.uk/1/hi/business/4142628.stm"&gt;http://news.bbc.co.uk/1/hi/business/4142628.stm&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The point is that regular pen tests are part of routine assurance activities - in the same sense as ongoing audits.&lt;br /&gt;&lt;br /&gt;Pen testing is not longer seen by the mainstream press as some sort of hacker voodoo, but as a routine business activity that is part of normal operations. Security is like quality assurance, a process of gradual improvement.&lt;br /&gt;&lt;br /&gt;This is a very good sign. Of course folks offering pen test courses and certifications love it too.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12907541-112395042660502231?l=bloodsweatinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bloodsweatinfosec.blogspot.com/feeds/112395042660502231/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12907541&amp;postID=112395042660502231' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/112395042660502231'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/112395042660502231'/><link rel='alternate' type='text/html' href='http://bloodsweatinfosec.blogspot.com/2005/08/pen-testing-goes-mainstream.html' title='Pen Testing Goes Mainstream'/><author><name>V. LeVeque</name><uri>http://www.blogger.com/profile/13511228704319189784</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://www.ibiblio.org/eldritch/el/pix/teli1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12907541.post-112163512455592527</id><published>2005-07-17T14:14:00.000-07:00</published><updated>2005-07-20T21:42:16.463-07:00</updated><title type='text'>SNMP Security</title><content type='html'>&lt;p&gt;My client has decided that monitoring power and environmental sevices with snmp would be a good idea. They already use snmp for monitoring servers and other network devices, feeding this information into HP Openview and Cricket for fault and trend analysis. They need to monitor support devices and not just network elements.  For example, irregular power can affect network device reliability. A failure in an air conditioner may require planned shutdown of servers, if the data center temperature gets too high. These alert conditions require data center staff to take action, even though they do not manage the environmental devices themselves. Capacity trends are useful for data center planning as well. Knowing actual power use trends indicates whether a power upgrade would be required for anticipated new servers. The same holds true for air conditioning.   Will the extra servers that will arrive in three months end up overtaxing the current air conditioning?&lt;br /&gt;&lt;br /&gt;Environmental devices provide several options for this monitoring. The building management industry has evolved communication schemes for monitoring and management independent of mainstream network management practices. These include ModBus and BACnet. ModBus is based on an underlying multipoint master/slave serial protocol (see &lt;a href="http://www.modbus.org/default.htm"&gt;http://www.modbus.org/default.htm&lt;/a&gt; for more info). BACNet is often based on a variant of the old ARCNet LAN protocol (I never thought I’d see ARCNet again!). BACNet also supports “BACNet over IP” (see &lt;a href="http://www.bacnet.org/"&gt;http://www.bacnet.org/&lt;/a&gt; for more on BACNet). Typically, building management systems were managed and monitored on parallel networks. Their traffic was never carried over shared IT infrastructure. Attacks against environmental devices from the IT network would be near impossible.&lt;br /&gt;&lt;br /&gt;This all changes when snmp is used. Network managers want to monitor their data center environmental systems using the same tools used to monitor switches and routers. Equipment vendors accommodate these desires by supporting snmp via Ethernet. Liebert, for example, markets what they call the OpenComms NIC, a network interface card with a built-in SNMP agent. Other options include gateways between Modbus/BACnet and TCP/IP that include support for snmp.&lt;br /&gt;&lt;br /&gt;Using snmp opens up serious security holes. Most devices support snmp version 1. This version provides “authentication” via a cleartext community string. Bad enough, but in many installations, the vendor default community strings are never changed. There are some fairly basic tools for doing brute-force attacks against snmp. Unlike a console login, snmp will not “lock out” after a certain number of invalid access attempts. SANS has listed insecure snmp use as one of the top 20 security vulnerabilities (&lt;a href="http://www.sans.org/alerts/snmp.php"&gt;http://www.sans.org/alerts/snmp.php&lt;/a&gt;). Vendor snmp implementation have demonstrated vulnerabilities, which allow an intruder to “crash” the snmp agent and gain unauthorized access. CERT has published an advisory (&lt;a href="http://www.cert.org/advisories/CA-2002-03.html"&gt;http://www.cert.org/advisories/CA-2002-03.html&lt;/a&gt;) concerning this very issue.&lt;br /&gt;&lt;br /&gt;Devices may be managed as well as monitored by snmp. Electric power devices may be shut down with a simple snmp command. Imagine the havoc that can be created in the data center by a mass power shut down.&lt;br /&gt;&lt;br /&gt;The advice given by CERT is not to use snmp at all. Short of this, the following measures are recommended:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Use snmp version 3 instead of version 1, if supported by the vendor. Version 3 supports encrypted authentication, hampering community string sniffing.&lt;br /&gt;&lt;li&gt;Change the default community string to something not subject to dictionary attack. In no case use vendor defaults, or “public”/”private”.&lt;br /&gt;&lt;li&gt;Set up traffic filtering rule in your network to filter snmp traffic from outside the network, and to block snmp from unauthorized hosts.&lt;br /&gt;&lt;li&gt;Configure the snmp agent so that only specific management hosts have snmp access.&lt;br /&gt;&lt;li&gt;Disable snmp SET (if possible). &lt;/li&gt;&lt;/ul&gt;An snmp proxy would be a good solution. The ideal proxy would establish an encrypted channel with the management stations, and perform application level traffic filtering. Devices that only support snmp v1 would then only be vulnerable within their own subnet. Proxies for snmp have been proposed for managing devices in a firewalled DMZ. ExtraLan makes a proxy that translates between snmp v1 and the more secure snmp v3 (see &lt;a href="http://www.extralan.co.uk/products/Diagnostic-Tools/Adventnet/SNMPutils.htm"&gt;http://www.extralan.co.uk/products/Diagnostic-Tools/Adventnet/SNMPutils.htm&lt;/a&gt;).&lt;br /&gt;&lt;br /&gt;Some snmp agents allow authentication traps. The authentication trap reports that an attempt is made to access the agent using an invalid community string. This is useful evidence of an attempted brute-force attack against the agent.  The net-snmp trap agent allows logging trap conditions into the syslog files.&lt;br /&gt;&lt;br /&gt;Regarding tools for testing snmp security, ADMsmnp is a very simple tool for brute-force testing various community strings. It’s not included in WHoppix, but is part of the port tree in various BSD implementations. See &lt;a href="http://adm.freelsd.net/ADM/"&gt;http://adm.freelsd.net/ADM/&lt;/a&gt; to download the tarball.&lt;br /&gt;&lt;br /&gt;SolarWinds makes a similar tool for Windows. It costs, but a 30-day free eval is available. I have downloaded this tool, but haven’t (yet) tried it out.&lt;br /&gt;&lt;br /&gt;Lastly, the Protos test suite is available to test the robustness of various snmp agents when presented with non-compliant requests. Protos runs as a java application. It may be downloaded from &lt;a href="http://www.ee.oulu.fi/research/ouspg/protos/testing/c06/snmpv1/"&gt;http://www.ee.oulu.fi/research/ouspg/protos/testing/c06/snmpv1/&lt;/a&gt; . WARNING – these tests are designed to crash the snmp agent, and may result in the associated device halting or rebooting. You do not want to use this tool against a production system! &lt;p&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12907541-112163512455592527?l=bloodsweatinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bloodsweatinfosec.blogspot.com/feeds/112163512455592527/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12907541&amp;postID=112163512455592527' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/112163512455592527'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/112163512455592527'/><link rel='alternate' type='text/html' href='http://bloodsweatinfosec.blogspot.com/2005/07/snmp-security.html' title='SNMP Security'/><author><name>V. LeVeque</name><uri>http://www.blogger.com/profile/13511228704319189784</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://www.ibiblio.org/eldritch/el/pix/teli1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12907541.post-112077000090812408</id><published>2005-07-07T13:52:00.000-07:00</published><updated>2005-07-07T14:00:00.916-07:00</updated><title type='text'>I like Whoppix!</title><content type='html'>I just downloaded Whoppix.  It's a "boot from CD" version of linux, based on &lt;a href="http://www.knoppix.org/"&gt;Knoppix&lt;/a&gt;, that includes a good suite of security penetration test tools.  Most of the failiar tools are available from a menu.  It has the most user friendly version of &lt;a href="http://www.nessus.org/"&gt;Nessus &lt;/a&gt;I've seen.  I've just started to work with it, so I will post what I find.&lt;br /&gt;&lt;br /&gt;I noted that Whoppix is dead! Yes, it is being replaced with a new bootable CD-based security scanner called Whax.  See &lt;a href="http://iwhax.net/modules/news/"&gt;http://iwhax.net/modules/news/&lt;/a&gt;.  The new version is based on SLAX, a bootable Slackware distribution.  The Whax Web site has support forums and much useful documentation.&lt;br /&gt;&lt;br /&gt;I will have to download Whax and test it.  I'll still review Whoppix, and then compare the two products.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12907541-112077000090812408?l=bloodsweatinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bloodsweatinfosec.blogspot.com/feeds/112077000090812408/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12907541&amp;postID=112077000090812408' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/112077000090812408'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/112077000090812408'/><link rel='alternate' type='text/html' href='http://bloodsweatinfosec.blogspot.com/2005/07/i-like-whoppix.html' title='I like Whoppix!'/><author><name>V. LeVeque</name><uri>http://www.blogger.com/profile/13511228704319189784</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://www.ibiblio.org/eldritch/el/pix/teli1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12907541.post-111905080835095275</id><published>2005-06-17T16:24:00.000-07:00</published><updated>2005-06-17T16:26:48.356-07:00</updated><title type='text'>Microsoft Security Templates and Group Policies</title><content type='html'>Microsoft security templates are text files designed to apply specific policies to individual computer systems. Templates are great tools for hardening Microsoft servers to a specific standard. Templates may also be used to analyze the server’s configuration, providing an audit report of where the server’s configuration does not match the template. The tool for applying the text template (stored as an *.inf file) is the Microsoft Management Counsel snap-in called “Security Configuration and Analysis” (SCA). With SCA, you may import a template, then either apply it to the computer or perform an analysis.&lt;br /&gt;&lt;br /&gt;Unfortunately, the ability to export or print the results of the audit is very limited. While the graphical output of the security analysis lists the computer and template standards separately, the log file only lists the fact that a discrepancy exists. If the server is actually more secure than the template, it is still a discrepancy. If the names in a list are in different orders, it is shown as a discrepancy, even if for all practical purposes the result is identical.&lt;br /&gt;&lt;br /&gt;Superficially, security templates function a bit like Bastille for Linux. It’s a standard template for applying policies to a single system. It can also audit for compliance with those policies.&lt;br /&gt;&lt;br /&gt;In Windows, the options specified in the template end up being applied to the local security policy. You can see this by looking at the Local Computer Policy snap-in after applying the template. All the values in the template are now part of the local system policy.&lt;br /&gt;&lt;br /&gt;Now suppose the machine is part of a domain. The domain policy will overwrite the local system policy! The template that has just been applied to the server will vanish. If the domain policies are weaker than the template policies, the template policies will be rolled back. The same holds true if the server is part of an organizational unit – though an OU must be deliberately created, while every Active Directory implementation has a domain with a default domain security policy. The policies in the template must be consistent with those in the domain and the OU.&lt;br /&gt;&lt;br /&gt;Standard security templates are available from a variety of sources. I advocate using those provided by Microsoft. I make an assumption that these have been reasonably well tested and will likely not break applications. The templates are provided in the Windows Server 2003 Security Guide, found at :&lt;br /&gt;&lt;a href="http://www.microsoft.com/technet/security/prodtech/windowsserver2003/W2003HG/SGCH00.mspx"&gt;http://www.microsoft.com/technet/security/prodtech/windowsserver2003/W2003HG/SGCH00.mspx&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;The templates are actually not designed to be applied to individual servers. They are intended to be applied to the domain and to various OUs holding servers of different types. An OU is defined for IIS servers, another for file servers, and so forth. A server can have three templates applying security policies – a domain policy, a member server OU policy, then another OU for the type of server. If your environment does not have this domain and OU structure, you can still apply the templates by hand, one at a time, to individual servers.&lt;br /&gt;&lt;br /&gt;Security templates are not really the equivalent of the hardening scripts used in the Unix world. The cannot be applied to servers at once, one at a time, in isolation from other servers – at least not if the servers are members of a domain. Active Directory provides flexibility and power to enforcing policies. You will be assured that every server in the OU follows the same security policy. If the policy changes, it will automatically change for all applicable servers. The disadvantage is that it becomes harder to isolate changes to a subset of servers. You may not want to change the policy for all servers in a domain or OU – you may only want to change one server’s policy.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12907541-111905080835095275?l=bloodsweatinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bloodsweatinfosec.blogspot.com/feeds/111905080835095275/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12907541&amp;postID=111905080835095275' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/111905080835095275'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/111905080835095275'/><link rel='alternate' type='text/html' href='http://bloodsweatinfosec.blogspot.com/2005/06/microsoft-security-templates-and-group.html' title='Microsoft Security Templates and Group Policies'/><author><name>V. LeVeque</name><uri>http://www.blogger.com/profile/13511228704319189784</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://www.ibiblio.org/eldritch/el/pix/teli1.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12907541.post-111850815687058736</id><published>2005-06-11T09:28:00.000-07:00</published><updated>2005-06-11T09:42:36.876-07:00</updated><title type='text'>Gartner Over Hypes Insecure Technologies</title><content type='html'>The latest news is that the renowned pundits, the Gartner Group, believe that the security community has "over hyped" several security threats. The fear of security risks, in Gartner's opinion, is causing companies to avoid deploying technologies with clear business benefits.&lt;br /&gt;&lt;br /&gt;Quoting from the SC Magazine article (&lt;a href="http://www.scmagazine.com/news/index.cfm?fuseaction=newsDetails&amp;newsUID=549bd799-f520-4ee1-a411-bcb45b81620f&amp;amp;newsType=Latest%20News"&gt;http://www.scmagazine.com/news/index.cfm?fuseaction=newsDetails&amp;newsUID=549bd799-f520-4ee1-a411-bcb45b81620f&amp;amp;newsType=Latest%20News&lt;/a&gt;):&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;Unsafe Internet Protocol (IP) telephony, dangerous mobile malware, "Warhol worms", regulatory compliance and unsafe wireless hot spots were named by the company as the security threats that caused users most problems, because vendors exaggerate the dangers.&lt;br /&gt;&lt;br /&gt;In most cases, Gartner argued that the benefits of adopting new technologies, such as IP telephony, far outweighed the actual dangers.&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Gartner then goes on to say these technologies can be properly secured and, if so, businesses can realize the benefits without taking undue risks. Well, duh, properly secured of course these technologies are likely not to present any unusual risks. I remember a comic making a point about ads claiming certain dessert products were delicious with strawberries and cream. Replied the comic, "Even old mattress tacking would taste good with strawberries and cream".&lt;br /&gt;&lt;br /&gt;The problem is that companies implementing these technologies are not properly securing them, that efforts of information security professionals to enforce proper security are ignored, stonewalled, or overridden by management. By downplaying security concerns, Gartner is effectively encouraging company management to continue implementing these technologies with inadequate protection.&lt;br /&gt;&lt;br /&gt;I will look at the specific examples of wireless 802.11 LANs (“wireless fidelity” known as Wi-Fi) and of Voice Over IP (VoIP).&lt;br /&gt;&lt;br /&gt;Running Wi-Fi with IPSec has always been considered secure, as far as eavesdropping and traffic modification goes. Actually setting up and managing IPSec can be difficult, it and certainly requires some technical background in the subject. The reality of organizational Wi-Fi deployment suggests most installations are blindly ignoring security practices. Most new Wi-Fi deployments are maverick installations, where someone just goes to Best Buy, gets an access point, sets it up on their desktop computer, and hopes nobody from IT notices. No WEP, default SSID, etc. - perfect for war drivers. Even when deployed by IT, configuring IPSec (or other secure transports) can be difficult, and is often skipped in the interests of getting it running. Management wants their laptops to work in conference rooms without cumbersome wires, and they want it NOW!&lt;br /&gt;&lt;br /&gt;I am very concerned about Gartner's dismissal of wiretapping concerns with VoIP. Tools for re-assembling this traffic and creating audio files are out there (one with the appealing name of "VoMIT" is part of standard BSD port trees). Putting voice traffic in its own VLAN is an obstacle to eavesdropping but not a protection measure. VLANs can be compromised and their misconfiguration can expose VoIP traffic without an actual attack. VLANS were meant to separate traffic for collision management purposes. VLANs were never intended to be a primary security protection measure. FYI, a good paper from Cisco on VLAN security best practices may be found at &lt;a href="http://www.cisco.com/warp/public/cc/pd/si/casi/ca6000/prodlit/vlnwp_wp.pdf"&gt;http://www.cisco.com/warp/public/cc/pd/si/casi/ca6000/prodlit/vlnwp_wp.pdf&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;There are secondary concerns with VoIP that must be addressed in terms of the authenticity of calls, and the extent everyday business trusts certain types of phone communication. Thanks to VoIP, anyone with a DSL line and a bit of Linux expertise can set up a PBX, spoof caller ID information, and generally have a lot of fun with call routing functions. I suspect we are on the verge of a new phishing epidemic, where social engineering attacks are supported by sophisticated telecom technology. All the old 1970's phone phreaking tricks may suddenly become popular again. An article in New Scientist (March 5, 2005, &lt;a href="http://www.newscientist.com/channel/info-tech/electronic-threats/dn7136"&gt;http://www.newscientist.com/channel/info-tech/electronic-threats/dn7136&lt;/a&gt;) addresses these issues.&lt;br /&gt;&lt;br /&gt;Security problem with new technologies often do not manifest themselves until many years after the technology has been adopted. The prototype of the information gathering Trojan horse program was demonstrated by the German Chaos Computer Club in 1996 (see &lt;a href="http://www.iks-jena.de/mitarb/lutz/security/activex.pe.clari.html"&gt;http://www.iks-jena.de/mitarb/lutz/security/activex.pe.clari.html&lt;/a&gt;). Using a rogue ActiveX program, they were able to devise a Web site that would steal end user information from Quicken. The theoretical danger from this program was well demonstrated. It took a few years until these malicious programs became a serious concern. Any new technology requires a certain critical level of installed base before mass exploitation becomes feasible. Until then, it looks like security concerns are over hyped.&lt;br /&gt;&lt;br /&gt;New technologies are often the ones that organizations have the most difficulty in securing. There is an urgency to deploying new technologies that counters the thoughtful, deliberate approach necessary for good security. New "must have" technologies are often driven by non-technical business groups, who are motivated to downplay threats. Even where an IT group is implementing the technology, proper security requires "out of box" thinking that is rare to find. A voice telecom group familiar with traditional PBX technology likely is not familiar with the security threats in an IP-based VoIP product that uses shared media.&lt;br /&gt;&lt;br /&gt;By calling security concerns "hype", Gartner is doing a dis-service to legitimate security concerns.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12907541-111850815687058736?l=bloodsweatinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bloodsweatinfosec.blogspot.com/feeds/111850815687058736/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12907541&amp;postID=111850815687058736' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/111850815687058736'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/111850815687058736'/><link rel='alternate' type='text/html' href='http://bloodsweatinfosec.blogspot.com/2005/06/gartner-over-hypes-insecure.html' title='Gartner Over Hypes Insecure Technologies'/><author><name>V. LeVeque</name><uri>http://www.blogger.com/profile/13511228704319189784</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://www.ibiblio.org/eldritch/el/pix/teli1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12907541.post-111765662753626275</id><published>2005-06-01T13:09:00.000-07:00</published><updated>2005-06-01T13:10:27.543-07:00</updated><title type='text'>Server Hardening thoughts</title><content type='html'>I'm developing hardening procedures for various types of Windows and *nix servers - specifically Win 2000 server, Win 2003 server, AIX 5.3, and Red Hat AS 3.0.&lt;br /&gt;&lt;br /&gt;A hardening document is part procedures "cookbook" and part standards document.  The procedures consist of a core of technical procedures for reconfiguring the server.  Surrounding this core are the pre-hardening procedures for server inventory management and the post-hardening procedures for deployment, secure management, and periodic security assessment.  I consider the asset and inventory management to be just as important as the technical hardening.  If you don't know where it is, you don't know if it is secure or not.&lt;br /&gt;&lt;br /&gt;The technical hardening piece relies on published, reputable security standards.  Good sources for these include SANS, the NSA, NIST, and the Center for Internet Security.  As much as possible, I like to use standards provided by the server's vendor.  Vendor-provided standards have credibility with server administrators.  This helps in acceptance of the standards.  Vendors presumably know how hard to push hardening before commonly used applications "break".  I assume if Microsoft says to configure something in Windows 2003, then most Microsoft applications can live with this.  Finally, in large organizations, there is a support contract with the vendor.  If there is a problem with a vendor-recommended security setting, then a trouble ticket can be opened up to resolve the issue.&lt;br /&gt;&lt;br /&gt;As much as possible, I make sure the hardening recommendations reflect the most current operating system version.  I noted some significant differences between Red Hat Enterprise 3.0 and the version 4.0.  The hardening documents for these two reflect these differences.  For example, version 4.0 allows for enabling SELinux in the installation procedure, while 3.0 does not.&lt;br /&gt;&lt;br /&gt;I make each step in the hardening document as clear as possible.  If certain services are to be disabled, I list every single one of them, along with the relevant command.  I avoid vague generalities, such as "eliminate unnecessary services".  I want to eliminate wiggle room for the system administrator.  System administrators are under tremendous time pressure, and often are forced to make performance and flexibility their priorities rather than security.  Specificity is necessary to ensure the job gets done.&lt;br /&gt;&lt;br /&gt;Along with specificity must come an escape valve for cases where the standard hardening  configuration will not work with specific applications.  The reason for a variance must be documented and approved by the information security manager.  The exception process should discourage trivial variances, but should not be so onerous that there is a strong temptation to ignore or bypass the requirements.  Ultimately, the purpose of exception documentation is to maintain known security configuration documentation.  In the event a new vulnerability is found, the information security manager can establish which servers are vulnerable and how they must be corrected.&lt;br /&gt;&lt;br /&gt;I see the purpose of hardening standards as not so much providing the best security as providing consistent, documented security.  Servers do not need to be impenetrable, they need to be manageable.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12907541-111765662753626275?l=bloodsweatinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bloodsweatinfosec.blogspot.com/feeds/111765662753626275/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12907541&amp;postID=111765662753626275' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/111765662753626275'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/111765662753626275'/><link rel='alternate' type='text/html' href='http://bloodsweatinfosec.blogspot.com/2005/06/server-hardening-thoughts.html' title='Server Hardening thoughts'/><author><name>V. LeVeque</name><uri>http://www.blogger.com/profile/13511228704319189784</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://www.ibiblio.org/eldritch/el/pix/teli1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12907541.post-111613711294501755</id><published>2005-05-14T22:52:00.000-07:00</published><updated>2005-05-14T23:05:12.950-07:00</updated><title type='text'>Greetings, Blog World!</title><content type='html'>Hello,&lt;br /&gt;&lt;br /&gt;I'm Vincent LeVeque, an information security consultant. I'm currently on assignment with a large local government entity. I do general network management stuff in addition to security tasks.&lt;br /&gt;&lt;br /&gt;I'm currently developing some security hardening documents for several operating environments: IBM AIX, Red Hat Enterprise Linux, Apache (Unix and Windows versions), and Windows 2000/2003 Server.&lt;br /&gt;&lt;br /&gt;I've settled on the following criteria:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Refer to the vendor's recommendations as much as possible rather than third party standards. SANS (&lt;a href="http://www.sans.org"&gt;http://www.sans.org&lt;/a&gt;), NIST (&lt;a href="http://www.csrc.nist.gov"&gt;http://www.csrc.nist.gov&lt;/a&gt;) and the Center for Internet Security (&lt;a href="http://www.cisecurity.org/"&gt;http://www.cisecurity.org/&lt;/a&gt;) all have excellent recommendations. They lag the most current vendor releases, and most importantly, if I follow a vendor recommendation and it breaks something, there is a valid reason to open a trouble ticket with the vendor. If one of NIST's recommendations break a Windows 2003 server app, do you think Microsoft will do anything about it?&lt;/li&gt;&lt;li&gt;Tie into the client's emerging change management and inventory management practices. If the device isn't in the asset inventory system, then it can't be hardened. Good management practices come before good technical security.&lt;/li&gt;&lt;li&gt;Make the recommendations as specific as humanly possible. Don't allow wiggle room.&lt;/li&gt;&lt;li&gt;Where wiggle room is necessary, set up a documented exception process.&lt;/li&gt;&lt;li&gt;Ensure that it is possible to audit for compliance. Standards should be testable after the fact.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12907541-111613711294501755?l=bloodsweatinfosec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bloodsweatinfosec.blogspot.com/feeds/111613711294501755/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12907541&amp;postID=111613711294501755' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/111613711294501755'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12907541/posts/default/111613711294501755'/><link rel='alternate' type='text/html' href='http://bloodsweatinfosec.blogspot.com/2005/05/greetings-blog-world.html' title='Greetings, Blog World!'/><author><name>V. LeVeque</name><uri>http://www.blogger.com/profile/13511228704319189784</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://www.ibiblio.org/eldritch/el/pix/teli1.jpg'/></author><thr:total>0</thr:total></entry></feed>
