<?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-6034918612419541942</id><updated>2012-01-26T10:19:19.826-08:00</updated><category term='apache'/><category term='GSSP-C'/><category term='facebook'/><category term='false positives'/><category term='sguil'/><category term='router'/><category term='modsecurity'/><category term='data security'/><category term='web'/><category term='usb'/><category term='security'/><category term='open relay'/><category term='SANS'/><category term='IDs'/><category term='matchbox twenty'/><category term='postfix'/><category term='Apple'/><category term='application'/><category term='classful'/><category term='forensics'/><category term='virtualbox tun/tap bridge backtrack'/><category term='cidr'/><category term='cisco'/><category term='exfiltration'/><category term='certification'/><category term='IOS'/><category term='subnet'/><category term='spam'/><category term='entertainment'/><category term='netmask'/><category term='concert'/><category term='sheep'/><category term='ubuntu'/><category term='firewall'/><category term='mod_security'/><category term='wristband'/><title type='text'>PaulDotCom Community Blog</title><subtitle type='html'>A blog for the security community, by the security community</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://pauldotcommunity.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6034918612419541942/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://pauldotcommunity.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>PaulDotCom</name><uri>http://www.blogger.com/profile/05361577336068292461</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='26' src='http://4.bp.blogspot.com/_RMcDn0JHHhU/SaV2wOlQaqI/AAAAAAAAAB8/qJW0c1cKct8/S220/paulabout.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>15</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6034918612419541942.post-696192133087323667</id><published>2010-05-06T12:36:00.000-07:00</published><updated>2010-05-06T14:04:27.436-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='facebook'/><category scheme='http://www.blogger.com/atom/ns#' term='sheep'/><category scheme='http://www.blogger.com/atom/ns#' term='usb'/><title type='text'>Flash drive with fake Facebook login...</title><content type='html'>I find myself thinking "does anyone fall for this stuff?"&amp;nbsp; Well, obviously the answer to that is "YES!!"&amp;nbsp; Uh, yeah, don't just use something because someone tells you.&amp;nbsp; People, wake up, this stuff isn't real!!! :-)&lt;br /&gt;&lt;br /&gt;&lt;a href="http://sunbeltblog.blogspot.com/2010/05/facebook-remote-login-flash-drive.html"&gt;Sunbelt Blog: Facebook Remote Login + Flash drive = stolen credentials&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;a href="http://www.sunbeltsoftware.com/alex/gblog/facebkflashdrve2_thumb.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="161" src="http://www.sunbeltsoftware.com/alex/gblog/facebkflashdrve2_thumb.jpg" width="320" /&gt;&lt;/a&gt;&lt;a href="http://www.sunbeltsoftware.com/alex/gblog/facebkflashdrvesite_thumb.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="154" src="http://www.sunbeltsoftware.com/alex/gblog/facebkflashdrvesite_thumb.jpg" width="320" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Chris&amp;nbsp;Shameless plug: LABrat.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6034918612419541942-696192133087323667?l=pauldotcommunity.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauldotcommunity.blogspot.com/feeds/696192133087323667/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6034918612419541942&amp;postID=696192133087323667' title='13 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6034918612419541942/posts/default/696192133087323667'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6034918612419541942/posts/default/696192133087323667'/><link rel='alternate' type='text/html' href='http://pauldotcommunity.blogspot.com/2010/05/flash-drive-with-fake-facebook-login.html' title='Flash drive with fake Facebook login...'/><author><name>Chris</name><uri>http://www.blogger.com/profile/05257222772910088784</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_e1RGn618Fv0/S84Cf9Ub53I/AAAAAAAAAAM/s6BspPW35jc/S220/1a2e5aa.jpg'/></author><thr:total>13</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6034918612419541942.post-5950822719727018465</id><published>2010-02-22T17:45:00.000-08:00</published><updated>2010-02-22T17:45:38.925-08:00</updated><title type='text'>Writing Snort Rules is harder than it looks</title><content type='html'>Rather than reposting the entire article here, I'd prefer to just link to it:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://blog.joelesler.net/2010/02/writing-snort-rules-is-harder-than-it-looks.html"&gt;http://blog.joelesler.net/2010/02/writing-snort-rules-is-harder-than-it-looks.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This post took me a couple hours to write, and I try and illustrate how to take a Snort rule and really take your time when writing it in order to get it right. Understanding the Snort syntax is a huge undertaking, but well worth your time once you get it right.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6034918612419541942-5950822719727018465?l=pauldotcommunity.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauldotcommunity.blogspot.com/feeds/5950822719727018465/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6034918612419541942&amp;postID=5950822719727018465' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6034918612419541942/posts/default/5950822719727018465'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6034918612419541942/posts/default/5950822719727018465'/><link rel='alternate' type='text/html' href='http://pauldotcommunity.blogspot.com/2010/02/writing-snort-rules-is-harder-than-it.html' title='Writing Snort Rules is harder than it looks'/><author><name>Joel Esler</name><uri>http://www.blogger.com/profile/05018134738510159518</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_BpBcl5urwoc/SGEd_P7nmEI/AAAAAAAAAKA/EJkaqvwmX0o/S220/Headshot.png'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6034918612419541942.post-2553178140208058451</id><published>2008-12-13T05:24:00.000-08:00</published><updated>2008-12-13T07:14:52.501-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='entertainment'/><category scheme='http://www.blogger.com/atom/ns#' term='IDs'/><category scheme='http://www.blogger.com/atom/ns#' term='false positives'/><title type='text'>Identifying Garbage Men</title><content type='html'>Tis the season for tipping &lt;a href="http://en.wikipedia.org/wiki/Garbage_man"&gt;garbage men&lt;/a&gt;. Here in Brussels, at the end of the year, garbage men would ring your doorbell during their round, presenting you their best wishes for the new year.&lt;br /&gt;&lt;br /&gt;This tradition came to an end several years ago. Nowadays, they present you their best wishes when they're off-duty. And in came a new ID problem...&lt;br /&gt;&lt;br /&gt;Identifying garbage men at work is quite easy and rather fool-proof. The work-clothing they wear and their activity (filling the garbage truck with your garbage) is a good give-away. Would-be impostors face a rather high cost (obtaining a garbage truck, even stealing one comes with a cost) to impersonate garbage men at work.&lt;br /&gt;&lt;br /&gt;Reliably identifying off-duty garbage men is a bigger problem. As you've only their (work-) clothes and verbal claims as evidence to help you in distinguishing real garbage men from impostors, your rate of false positives increases. As the cost of obtaining work-clothes to fool you will probably be outweighed by the amount of collected tips, impostors stand a chance to make a profit, and hence the probability of fake garbage men ringing your doorbell increases.&lt;br /&gt;&lt;br /&gt;But is this really your problem? From an economics point of view: no!&lt;br /&gt;Let's assume you tipped an impostor, and a few days later, a real garbage man rings your doorbell. Will you tip him too? I know here in Brussels, a substantial group of people won't. Because you're still facing the same identification problem (is this a real garbage men?), but this time, you're more suspicious. So your rate of false negatives increases.&lt;br /&gt;And your risk of receiving bad service for not tipping the genuine garbage men is rather low. The real garbage men might be disgruntled, but then again, most realize that it's not that you don't want to tip garbage men in general, it's just that they were impersonated.&lt;br /&gt;&lt;br /&gt;To summarize: genuine garbage man face an economic loss from the activity of impostors, you don't. Hence the ID problem is really the garbage men's problem, not yours.&lt;br /&gt;&lt;br /&gt;The solution the garbage men in Brussels adopted is to deposit some form of photo ID for garbage men in your mailbox, weeks before the tipping occurs. This document will assist you in distinguishing the real from the fake.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://didierstevens.wordpress.com/files/2008/12/garbagemen-r.png" alt="" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;I invite you to post comments with ways to improve or break their system.&lt;br /&gt;&lt;br /&gt;Somewhere I'm tempted to alter this "photo ID" (i.e. replacing the pictures), and challenge the first garbage man ringing my doorbell. I picture me saying: "Ja mo kadeike, a foto stoet e ni op!" (as Google translate doesn't support Brussels dialect yet, let me translate loosely: "Hey kid, your picture doesn't match!"). But then again, it's the season to be merry, and I'm a satisfied customer, so I won't be a jerk.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6034918612419541942-2553178140208058451?l=pauldotcommunity.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauldotcommunity.blogspot.com/feeds/2553178140208058451/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6034918612419541942&amp;postID=2553178140208058451' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6034918612419541942/posts/default/2553178140208058451'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6034918612419541942/posts/default/2553178140208058451'/><link rel='alternate' type='text/html' href='http://pauldotcommunity.blogspot.com/2008/12/identifying-garbage-men.html' title='Identifying Garbage Men'/><author><name>Didier Stevens</name><uri>http://www.blogger.com/profile/17537511475658709281</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6034918612419541942.post-2170677366993670867</id><published>2008-10-03T16:24:00.001-07:00</published><updated>2008-10-03T20:30:17.827-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='IOS'/><category scheme='http://www.blogger.com/atom/ns#' term='cisco'/><category scheme='http://www.blogger.com/atom/ns#' term='router'/><category scheme='http://www.blogger.com/atom/ns#' term='security'/><title type='text'>Securing Cisco Routers the Easy Way</title><content type='html'>&lt;span style="font-family:Trebuchet MS;font-size:85%;"&gt;After hearing about Fyodor's scanning the Internet project, I started thinking about what he found...My reaction was much the same as Paul's...Telnet??? Really? Then I started thinking about the work I did back in the day when I was dangerously unqualified to do my job and had no idea what I was doing, and how many Cisco routers I left telnet open on the WAN interface simply for convenience. Over the years, I've found most consulting companies do this without telling the customer, and if you're using an outside vendor to manage your Cisco gear, I would check! Having had to do quite a bit of router securing lately, I thought this would be a good time to cover some really simple ways to secure your routers for the non-Cisco guys out there, other than the obvious firmware updates and such. All of these methods should work on the more recent versions of the IOS. This post will cover some very basic router security methods.&lt;/span&gt;  &lt;span style="font-family:trebuchet ms;font-size:85%;"&gt;There is a real science to securing Cisco IOS devices, and it's certainly possible to make your router security scheme very complex, but hopefully this gives you a good starting point if you're not already doing these things.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Trebuchet MS;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family:Trebuchet MS;font-size:85%;"&gt;Adding Local Users&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-family:Trebuchet MS;font-size:85%;"&gt;One of the simplest ways to lock down your Cisco gear is by adding a local authentication database to your router. This is something that Cisco simply doesn't stress enough. Even if you go through their CCNA training, they teach you there's a password to log in (telnet, console, etc.) and the enable password, both of which are subject to brute forcing...But think about how much more secure your gear is if an attacker has to guess both a username and a password. It would certainly render brute forcing impossible. Here's a simple example:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Trebuchet MS;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;Larry(config)#aaa new-model &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;Larry(config)#username Larry privilege 15 password beer &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;Larry(config)#aaa authentication login default local&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Trebuchet MS;"&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Looking at what we did, we first enabled authentication, authorization, and accounting services on our router. We then created a user named Larry with a password of beer that has a privilege level of 15. We then set the default login method for all management on the router to use the local database (i.e. usernames and passwords we create on the router itself). Now when telnetting in, connecting via a console cable, SSH, whatever, the user must present two sets of credentials. Of course if you make the username admin, cisco, etc. then this isn't a whole lot better, but using an uncommon username and password helps. You can do a lot more with creating limited privilege user accounts, custom views, authenticating and authorizing command execution via TACACS+ and RADIUS, and password policies but that's beyond the scope of this post.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size:85%;"&gt;Enabling SSH&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Solving the problem of telnet's plain text transmission is actually quite simple. Before starting make sure you are on IOS version 12.1(19)E because that's the first revision that supports SSHv2. Enabling SSH on a router requires two lines:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;Larry(config)#ip domain-name pauldotcom.com&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;Larry(config)#crypto key generate rsa modulus 1024 general-keys&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;The name for the keys will be: Larry.pauldotcom.com&lt;br /&gt;% The key modulus size is 1024 bits% Generating 1024 bit RSA keys, keys will be non-exportable...[OK]&lt;br /&gt;Larry(config)#*Mar 1 00:19:52.391: %SSH-5-ENABLED: SSH 1.99 has been enabled&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;First we have to specify a domain name using the ip domain-name command so our router has an FQDN, then generate our keys. You can specify whatever key size you want (I used 1024 in the above example). After that SSH is automatically turned on for you. To get rid of telnet management completely, we have to do one more thing:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;Larry(config)#line vty 0 4&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;Larry(config-line)#transport input ssh&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;Router Auto Secure&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Cisco routers have lots of services running on them, most of them totally useless. Cisco has now provided an easy way to disable these services and enhance the security of your router in a number of ways with one command. Also if you use Cisco Secure Device Manager (SDM) for router management, it features a security audit tool and a one click lockdown tool for disabling these services. I'm still a console guy though, so I like this method. Look at how much useless stuff is turned off just after the first step, and how much you get by running one simple command:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Trebuchet MS;"&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;Larry#auto secure&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;Is this router connected to internet? [no]:&lt;br /&gt;Securing Management plane services...&lt;br /&gt;Disabling service finger&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;Disabling service pad&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;Disabling udp &amp;amp; tcp small servers&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;Enabling service password encryption&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;Enabling service tcp-keepalives-in&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;Enabling service tcp-keepalives-out&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;Disabling the cdp protocol&lt;br /&gt;Disabling the bootp server&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;Disabling the http server&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;Disabling the finger service&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;Disabling source routing&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;Disabling gratuitous arp&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;font-size:85%;"&gt;Finger? Come on. There wizard does a lot more, allowing you to set your login banner (and providing a pretty scary default one), configure an enable secret, set up blocking periods when login attacks are detected, and enabling the CBAC firewall. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Trebuchet MS;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Trebuchet MS;font-size:85%;"&gt;So there you have it. I hope this was interesting, and be sure to find me lurking around #pauldotcom if you have any questions or comments.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6034918612419541942-2170677366993670867?l=pauldotcommunity.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauldotcommunity.blogspot.com/feeds/2170677366993670867/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6034918612419541942&amp;postID=2170677366993670867' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6034918612419541942/posts/default/2170677366993670867'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6034918612419541942/posts/default/2170677366993670867'/><link rel='alternate' type='text/html' href='http://pauldotcommunity.blogspot.com/2008/10/securing-cisco-routers-easy-way.html' title='Securing Cisco Routers the Easy Way'/><author><name>tcstool</name><uri>http://www.blogger.com/profile/00116595382719439424</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6034918612419541942.post-1355602500233460827</id><published>2008-09-30T21:37:00.000-07:00</published><updated>2009-04-12T19:07:26.075-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='application'/><category scheme='http://www.blogger.com/atom/ns#' term='firewall'/><category scheme='http://www.blogger.com/atom/ns#' term='mod_security'/><category scheme='http://www.blogger.com/atom/ns#' term='apache'/><category scheme='http://www.blogger.com/atom/ns#' term='web'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><category scheme='http://www.blogger.com/atom/ns#' term='modsecurity'/><title type='text'>Installing The mod_security Module for Apache on Ubuntu</title><content type='html'>&lt;span style="font-size:130%;"&gt;What is mod_security?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Mod_security is a filter for requests and responses sent to and from an Apache web server.  It is the "snort" of web applications.&lt;br /&gt;&lt;br /&gt;As an example, lets say "super haxor," starts up their kiddie "Auto Haxs 4000" script and begins to pummel your web server with every known vulnerability for every known web application - perhaps even vulnerabilities that are not known the public.  As mod_security parses each request to your web server, it matches super haxor's requests to patterns that indicate attempts to exploit SQL injections, command injections, XSS attacks, etc. and it displays a generic error message.  The attack attempts from super haxor never touch your web application.&lt;br /&gt;&lt;br /&gt;In another scenario, Paul and Larry are doing a penetration test on your web server.  They find a page that produces a 404 error, hoping to get the details of the operating system and web server in order to gather information about the box.  As the response is returned to Paul and Larry, mod_security matches the server information in the response and changes it to a generic, administrator defined message.&lt;br /&gt;&lt;br /&gt;Obviously mod_security adds another layer of protection to your web server and the applications it hosts in keeping with pauldotcom.com's "defense in depth" mantra.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;How do I install mod_security?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This guide covers installing mod_security on Ubuntu 7.10 for Apache 2.  Since there is no package for mod_security in Ubuntu due to licensing issues, and we have to install it from source. &lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;Use the Source, Luke&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Download the latest mod security tars from the mod_security site.  http://www.modsecurity.org/download/direct.html .  You will only need the current modsecurity-apache  archive.&lt;br /&gt;&lt;br /&gt;Now get the necessary packages for compiling mod_security on Ubuntu with this command:&lt;br /&gt;&lt;tt&gt;&lt;br /&gt;sudo apt-get install automake g++ apache2-threaded-dev \&lt;br /&gt;    dpkg-dev libxml2 libxml2-dev&lt;br /&gt;&lt;/tt&gt;&lt;br /&gt;Now compile and install mod_security with the following commands:&lt;br /&gt;&lt;tt&gt;&lt;br /&gt;cd &amp;lt;modsecurity download directory&amp;gt;/apache2&lt;br /&gt;./configure&lt;br /&gt;make&lt;br /&gt;sudo make install&lt;br /&gt;&lt;/tt&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;Apache Conf Files&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now that the mod_security binary is installed in your Apache 2 modules folder, we have to make a few configuration files so that Apache knows to use the module. &lt;br /&gt;&lt;br /&gt;Create a file called /etc/apache2/mods-available/security2.load with the following contents:&lt;br /&gt;&lt;tt&gt;&lt;br /&gt;LoadFile /usr/lib/libxml2.so&lt;br /&gt;LoadModule security2_module /usr/lib/apache2/modules/mod_security2.so&lt;br /&gt;&lt;br /&gt;&amp;lt;IfModule !mod_security2.c&amp;gt;&lt;br /&gt;   error_mod_security2_is_not_loaded&lt;br /&gt;&amp;lt;/IfModule&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;IfModule mod_security2.c&amp;gt;&lt;br /&gt;   Include /etc/apache2/modsecurity_crs/*.conf&lt;br /&gt;&amp;lt;/IfModule&amp;gt;&lt;br /&gt;&lt;/tt&gt;&lt;br /&gt;Next create a /etc/apache2/modsecurity_crs directory and move all of the Core Rules into it.&lt;br /&gt;&lt;tt&gt;&lt;br /&gt;sudo mkdir /etc/apache2/modsecurity_crs&lt;br /&gt;sudo cp -R &amp;lt;mod_security download directory&amp;gt; \&lt;br /&gt;    /rules/*.conf /etc/apache2/modsecurity_crs/&lt;br /&gt;&lt;/tt&gt;&lt;br /&gt;You should now take a look at the rule files to make sure the settings are as you like them.  For the most part I only modified lines in the modsecurity_crs_10_config.conf file.  This file will allow you to enable different portions of the engine.  I enabled  the directives to scan all XML content.  In particular you will want to look at the paths that mod_security stores its log files.  I changed all of the log directories to the following:&lt;br /&gt;&lt;tt&gt;&lt;br /&gt;SecUploadDir  /var/log/modsecurity/SecUploadDir&lt;br /&gt;SecAuditLog   /var/log/modsecurity/SecAuditLog/modsec_audit.log&lt;br /&gt;SecAuditLogStorageDir    /var/log/modsecurity/SecAuditLogStorageDir&lt;br /&gt;SecDebugLog             /var/log/modsecurity/SecDebugLog/modsec_debug.log&lt;br /&gt;SecDataDir   /var/log/modsecurity/SecDataDir&lt;br /&gt;SecTmpDir   /var/log/modsecurity/SecTmpDir&lt;br /&gt;&lt;/tt&gt;&lt;br /&gt;After the settings were made I created the directories and set proper permissions with the following commands:&lt;br /&gt;&lt;tt&gt;&lt;br /&gt;sudo mkdir /var/log/modsecurity&lt;br /&gt;sudo mkdir /var/log/modsecurity/SecDataDir&lt;br /&gt;sudo mkdir /var/log/modsecurity/SecTmpDir&lt;br /&gt;sudo mkdir /var/log/modsecurity/SecUploadDir&lt;br /&gt;sudo mkdir /var/log/modsecurity/SecAuditLog&lt;br /&gt;sudo mkdir /var/log/modsecurity/SecAuditLogStorageDir&lt;br /&gt;sudo mkdir /var/log/modsecurity/SecDebugLog&lt;br /&gt;sudo chown -R www-data:www-data /var/log/modsecurity&lt;br /&gt;sudo chmod -R a-rwx /var/log/modsecurity/&lt;br /&gt;sudo chmod -R u+rwx /var/log/modsecurity/&lt;br /&gt;&lt;/tt&gt;&lt;br /&gt;I also had some trouble using mod_security with my Drupal installation.  Mod_security was rejecting the application/xml request type, so I added "application/xml" to the regular expression in modsecurity_crs_30_http_policy.conf on line 72.  It now looks like this:&lt;br /&gt;&lt;tt&gt;&lt;br /&gt;:SecRule REQUEST_HEADERS:Content-Type "!(?:^(?:application\/x-www-form-urlencoded(?:;(?:\s?charset\s?=\s?[\w\d\-]{1,18})?)??$|multipart/form-data;)|text/xml|application/xml)"&lt;br /&gt;&lt;/tt&gt;&lt;br /&gt;There are also some other rule sets in the modsecurity-apache_2.1.5/rules/optional_rules/ directory.  You may want to take a look at them and place them into your /etc/apache2/modsecurity_crs/ if desired.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;Enable and Test&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;You should now have everything in place to run Apache 2 with mod_security.  It is time to enable the module and restart apache.&lt;br /&gt;&lt;tt&gt;&lt;br /&gt;sudo a2enmod security2&lt;br /&gt;sudo /etc/init.d/apache2 reload&lt;br /&gt;&lt;/tt&gt;&lt;br /&gt;Hopefully Apache 2 restarts fine with no errors.  Once Apache 2 has restarted, go ahead and test your web application with mod_security enabled.  If you find that your web application is now working improperly, you can debug the mod_security rule that is blocking it by taking a look at the audit log and using the fabulous  web application debugging tool &lt;a href='https://addons.mozilla.org/en-US/firefox/addon/1843'&gt;Firebug&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;Conclusion&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;If you are deploying an Apache 2 server that is going to be running any sort of web application, I highly recommend that you take a look at mod_security.  The hour you spend installing it could save you from a lawsuit or embarrassing explanations to your customers.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6034918612419541942-1355602500233460827?l=pauldotcommunity.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauldotcommunity.blogspot.com/feeds/1355602500233460827/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6034918612419541942&amp;postID=1355602500233460827' title='18 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6034918612419541942/posts/default/1355602500233460827'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6034918612419541942/posts/default/1355602500233460827'/><link rel='alternate' type='text/html' href='http://pauldotcommunity.blogspot.com/2008/09/installing-modsecurity-module-for.html' title='Installing The mod_security Module for Apache on Ubuntu'/><author><name>dehaul</name><uri>http://www.blogger.com/profile/08310444280684989372</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://3.bp.blogspot.com/_ZzednK_6oYQ/TI6qA9sr8MI/AAAAAAAAAAM/zFkrT8yrGCM/S220/dogman.jpg'/></author><thr:total>18</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6034918612419541942.post-6196435236097212330</id><published>2008-07-02T07:46:00.000-07:00</published><updated>2008-07-02T07:52:22.811-07:00</updated><title type='text'>(Blog wakeup call) Tip of the Moment: Zip Traversal</title><content type='html'>Well I didn't think this was worth a post before, but its been ages since the last post, so its about time something got stuck up here. So I bring you my handy tip of the moment: Zip traversal.&lt;br /&gt;&lt;br /&gt;Sometimes you come across a system that allows upload in zip format to save bandwidth. The zip file is then decompressed by the system after upload. Anywhere there's file upload should get your arbitrary file upload senses tingling, but unfortunately it (hopefully) does the same to developers. The upload destination folder may not allow execution, have any mappings to run web scripts or may be outside of the webroot if a website is being targeted.&lt;br /&gt;&lt;br /&gt;But depending how the unzip routine used by the application works, there may yet be a way to upload files to arbitrary locations. By editing a zip file to give certain files in the archive names that start with a series of "../" you can traverse back up to the root of the file system and then specify whatever path you feel like. This can be done, for example, by zipping a file with a long file name and editing the zip file in a hex editor, changing the extra letters of the file name to ../ as needed.&lt;br /&gt;&lt;br /&gt;This of course depends on the local file permissions and the user the unzipping process runs under. It also depends if the unzip algorithm detects the dangerous behaviour or allows it, as some background unzipping processes do.&lt;br /&gt;&lt;br /&gt;So there it is, my tip of the moment. Nothing impressive, but kind of nifty. And maybe we will wake up some other bloggers :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6034918612419541942-6196435236097212330?l=pauldotcommunity.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauldotcommunity.blogspot.com/feeds/6196435236097212330/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6034918612419541942&amp;postID=6196435236097212330' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6034918612419541942/posts/default/6196435236097212330'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6034918612419541942/posts/default/6196435236097212330'/><link rel='alternate' type='text/html' href='http://pauldotcommunity.blogspot.com/2008/07/blog-wakeup-call-tip-of-moment-zip.html' title='(Blog wakeup call) Tip of the Moment: Zip Traversal'/><author><name>cyber_eagle</name><uri>http://www.blogger.com/profile/14871515833295269631</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://bp3.blogger.com/_DoxQChaTr8Y/R9mpFJoEq3I/AAAAAAAAAAM/JyXhQgb7JU0/S220/matt-aboutme.jpg'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6034918612419541942.post-521914633546334788</id><published>2008-04-19T02:38:00.000-07:00</published><updated>2008-04-19T04:24:43.782-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SANS'/><category scheme='http://www.blogger.com/atom/ns#' term='GSSP-C'/><category scheme='http://www.blogger.com/atom/ns#' term='certification'/><title type='text'>Taking the GSSP-C Exam</title><content type='html'>On a sunny day in March, I strolled through the &lt;a href="http://en.wikipedia.org/wiki/Begijnhof"&gt;Begijnhof&lt;/a&gt; in Leuven, Belgium (pictures &lt;a href="http://www.cs.kuleuven.be/%7Emaarten/pics/begijnhofleuven/index.html"&gt;here&lt;/a&gt;). My destination was a nice medieval house where I would take the &lt;a href="http://www.giac.org/certifications/software/gssp-c.php"&gt;GSSP-C&lt;/a&gt; exam (GIAC Secure Software Programmer - C).&lt;br /&gt;&lt;br /&gt;This exam is not your usual SANS exam, it's a proctored paper exam, containing 100 multiple-choice questions and has a six hour time limit. Unlike other GIAC certifications, this exam is not offered online and is not open book. The GSSP certification exam is only offered at specific locations given on a number of dates through the year. This time, SANS teamed up  with &lt;a href="http://secappdev.org/"&gt;secappdev &lt;/a&gt;to organize this exam in Belgium (I believe it was the first time this exam was organized in Europe). Proctor was Pieter Danhieux (&lt;a href="http://www.giac.org/certifications/gse.php"&gt;GSE&lt;/a&gt;).&lt;br /&gt;&lt;br /&gt;You have to be fluent in &lt;a href="http://en.wikipedia.org/wiki/C_%28programming_language%29"&gt;C&lt;/a&gt; to attempt this exam (I believe I wrote my first C program in 1984), because a lot of the questions will be code listings where you have to identify errors. The  SANS &lt;a href="http://www.sans.org/gssp07/C_Handbook.pdf"&gt;C-handbook&lt;/a&gt; has sample questions that give a good idea what to expect. And if you just learned to program in C, you might be able to answer many questions, but I highly doubt you'll manage to provide enough correct answers in the allotted time limit.&lt;br /&gt;&lt;br /&gt;Brush up your knowledge of the basic C I/O functions: what is their signature, how do they behave? Trust me, you'll need this during the exam (remember, this exam is not open book).&lt;br /&gt;&lt;br /&gt;Read a couple of the recommended books, like &lt;a href="http://www.amazon.com/Exploiting-Software-Break-Addison-Wesley-Security/dp/0201786958"&gt;Exploiting Software: How to Break Code&lt;/a&gt; and &lt;a href="http://www.microsoft.com/mspress/books/5957.aspx"&gt;Writing Secure Code, Second Edition&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Be prepared for some really hard puzzles, I remember one question where I would have overlooked the error in the C program. It's only because I new the program was faulty, that I persevered and found the f*ing bug!&lt;br /&gt;&lt;br /&gt;Another hurdle is the exam format. Tackling 100 questions in 6 hours and transcribing 100 answers correctly with a number 2 pencil on a form is not so trivial. I followed the same strategy I successfully applied during my &lt;a href="http://blog.didierstevens.com/2007/04/16/about-the-strategy-i-followed-during-my-cissp-exam/"&gt;CISSP&lt;/a&gt; exam. Here is my recipe:&lt;br /&gt;&lt;br /&gt;I read the first question. If I don’t understand the question, or if I don’t like the question, or if I even don’t feel like answering the question right now, I just move on to the next question. However, even if I skip a question but I’m certain that one or more of the answers are not correct, I cross them out (every time I tell I write something down or make a mark, I do it on the question booklet, unless stated otherwise).&lt;br /&gt;&lt;p&gt; If I try to answer the question but I’m not sure of the right answer, I will cross out the incorrect answers and move on to the next question.&lt;br /&gt;If I answer a question I’m sure about, I put a circle around the number of the question and another one around the letter of the correct answer.&lt;/p&gt; &lt;p&gt;After tackling the last question, I just start the process again from the beginning, skipping the questions I already answered (remember, there’s a circle around the number of an answered question). I repeat this process several times, each cycle gives me more answers. After a couple of hours, I’ve answered about 80% of the questions and I decide to transcribe my answers to the form (I have to be careful to skip the unanswered questions on the form). I review each answered question and transcribe the correct answer to the form. At the same time, I compile a list of all unanswered questions.&lt;br /&gt;I decided to transcribe the answers after completing about 80% because:&lt;br /&gt;1) I want to take the time to correctly transcribe the answers, I don’t want to make mistakes by rushing the job at the end of the 6 hour period allowed for the exam&lt;br /&gt;2) I don’t want to start second-guessing my answers&lt;/p&gt; &lt;p&gt;After 30 minutes, I’ve transcribed all answered questions.&lt;/p&gt; &lt;p&gt;Now I focus on the list of remaining questions. I try to answer each question by eliminating all incorrect answers: what remains must be the correct answer. If more than one answer remains, I select one at random. I start guessing because I don’t want to stay until the end of the exam trying to find the correct answers, I feel confident because of all the other questions I answered. Since a wrong answer does not negatively impact your score, you’re better of answering all questions than leaving some unanswered. The main reason why I tackle the remaining questions like this, is that I don't want to start second-guessing my answers to the questions I felt confident about. Trust me, if you spend too much time toiling over a question where you're clueless, you'll start to doubt everything.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Finally, I transcribe the remaining answers to the form. The list of remaining questions I compiled helps me to identify which answers remain to be transcribed.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;It's the first certification exam I really enjoyed, I had fun reviewing all that C code, it's a bit like discovering vulnerabilities.&lt;/p&gt;&lt;p&gt;Six weeks later, I got my detailed score report from SANS. Did I pass? I'll leave you too in suspense, for a couple of seconds...&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.giac.org/certified_professionals/listing/gssp-c.php"&gt;http://www.giac.org/certified_professionals/listing/gssp-c.php&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6034918612419541942-521914633546334788?l=pauldotcommunity.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauldotcommunity.blogspot.com/feeds/521914633546334788/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6034918612419541942&amp;postID=521914633546334788' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6034918612419541942/posts/default/521914633546334788'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6034918612419541942/posts/default/521914633546334788'/><link rel='alternate' type='text/html' href='http://pauldotcommunity.blogspot.com/2008/04/taking-gssp-c-exam.html' title='Taking the GSSP-C Exam'/><author><name>Didier Stevens</name><uri>http://www.blogger.com/profile/17537511475658709281</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6034918612419541942.post-2211415481472702870</id><published>2008-04-11T02:11:00.000-07:00</published><updated>2008-04-11T02:55:58.660-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='virtualbox tun/tap bridge backtrack'/><title type='text'>Running Backtrack in VirtualBox</title><content type='html'>Seeing as I've just spent the morning trying to get all this up and running I thought I'd create an entry about how to get Backtrack running in VirtualBox.&lt;br /&gt;&lt;br /&gt;For those who haven't heard of it, &lt;a href="http://virtualbox.org/"&gt;VirtualBox&lt;/a&gt; is an open source equivalent to  vmware workstation. It does full snapshoting (unlike vmware server) and seems to have a very active support community.&lt;br /&gt;&lt;br /&gt;The setup I wanted was for the virtual machine to have its own IP address and full network access. The default setup for VirtualBox is to have NAT based networking so I had to do a bit of work to get full "Host Interface" mode. Unlike vmware, VirtualBox doesn't do all the networking itself you have to do the initial setup yourself. This is done by using tun/tap and bridging. The instructions here work on &lt;a href="http://www.archlinux.org/"&gt;Arch&lt;/a&gt; but should be generic enough for any distro. The install guide has detailed instructions for debian/ubuntu, redhat and suse.&lt;br /&gt;&lt;br /&gt;First you need to install uml_utilities and bridge-utils, in Arch:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;pacman -S uml_utilities bridge-utils&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;You then create a bridge and add your main interface to it:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;brctl addbr br0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ifconfig eth0 0.0.0.0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;brctl addif br0 eth0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ifconfig br0 up&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The IP address normally assigned to eth0 now needs to be assigned to br0, so either bring up your dhcp client or hardcode the IP using ifconfig. If you are using ifconfig remember to setup your default route. Also remember to kill any dhcp clients working for eth0.&lt;br /&gt;&lt;br /&gt;Next is creating the tun/tap interface. First check if you have the tun module loaded:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;lsmod|grep tun&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;and if not load it:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;modprobe tun&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The virtual machine is going to get its own interface, this can be named whatever you want, I call mine vbox0. To create it:&lt;br /&gt;&lt;br /&gt;tunctl -t vbox0 -u robin&lt;br /&gt;&lt;br /&gt;this then needs adding to the bridge:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;brctl addif br0 vbox0&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;and, the bit I missed for a while, brining up:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;ifconfig vbox0 up&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;You also need to check that the device (&lt;span style="font-family: courier new;"&gt;/dev/net/tun&lt;/span&gt;)  is accessible by the user who is going to use it. I did this by creating a new vboxusers group, adding myself to it then making sure that the group could read and write from the device:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;groupadd vboxuser&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;usermod -a -G vboxuser robin&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;chgrp vboxusers /dev/net/tun&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;chmod g+rw /dev/net/tun&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;You should now have a working virtual interface.&lt;br /&gt;&lt;br /&gt;VirtualBox has a fairly simple GUI for creating new machines so I won't talk through that in detail. Basically, click the  create a new machine button, set the memory size and if you want to have a drive for the machine, set that up here as well.&lt;br /&gt;&lt;br /&gt;Once you've setup the machine it will appear in the left hand list of available machines. Right click on it and chose settings. Chose Network and change the "Attached to" option to "Host Interface". In the "Interface Name" section at the bottom enter vbox0 (or whatever you called it above).&lt;br /&gt;&lt;br /&gt;Next go to the "cd/dvd-rom" section and chose "mount cd/dvd drive" and specify where your backtrack CD id, either ISO or physical location. Click OK and you're done.&lt;br /&gt;&lt;br /&gt;Start the machine, it should boot as normal and once up and running should try to get an IP address through dhcp, if you haven't got dhcp you will need to setup the IP manually.&lt;br /&gt;&lt;br /&gt;All of this information is available in the VirtualBox manual but I found that some of the scripts it referred to didn't exist or didn't work quite as expected. I also prefer to set this kind of thing up by hand, at least the first few times so that I really know what is going on, once I'm happy then I'll look at scripting it.&lt;br /&gt;&lt;br /&gt;Any problems, questions or corrections, let me know.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6034918612419541942-2211415481472702870?l=pauldotcommunity.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauldotcommunity.blogspot.com/feeds/2211415481472702870/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6034918612419541942&amp;postID=2211415481472702870' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6034918612419541942/posts/default/2211415481472702870'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6034918612419541942/posts/default/2211415481472702870'/><link rel='alternate' type='text/html' href='http://pauldotcommunity.blogspot.com/2008/04/running-backtrack-in-virtualbox.html' title='Running Backtrack in VirtualBox'/><author><name>Robin</name><uri>http://www.blogger.com/profile/12253688056868731954</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://bp0.blogger.com/_BvVXklVnDYA/R_82ie--a3I/AAAAAAAAAAM/HgqufWPq8Tg/S220/ninja.png'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6034918612419541942.post-3390310812465252598</id><published>2008-04-01T06:27:00.000-07:00</published><updated>2008-04-01T06:35:51.220-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cisco'/><category scheme='http://www.blogger.com/atom/ns#' term='sguil'/><title type='text'>Cisco Acquires Sguil!!</title><content type='html'>In many of my past writings I have mentioned using &lt;a href="http://sguil.sf.net/"&gt;Sguil&lt;/a&gt; on my personal blog and have been an avid user of the solution. On that front, I would like to extend my congratulations to the core members of the team for their great success! It will be exciting to see it running on IOS!&lt;i&gt;&lt;b&gt;&lt;br /&gt;&lt;br /&gt;Cisco Announces Agreement to Acquire Sguil™ Open Source Security Monitoring Project&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Acquisition Furthers Cisco’s Vision for Integrated Security Products&lt;br /&gt;&lt;br /&gt;SAN JOSE, Calif., and LONGMONT, Color., April 1st, 2008 – Cisco and the Sguil™ project today announced an agreement for Cisco to acquire the Sguil™ project, a leading Open Source network security solution. With hundreds of installations world-wide, Sguil™ is the de facto reference implementation for the Network Security Monitoring (NSM) model. Sguil™-based NSM will enable Cisco’s customer base to more efficiently collect and analyze security-related information as it traverses their enterprise networks. This acquisition will help Cisco to cement its reputation as a leader in the Open Source movement while at the same time furthering its long-held vision of integrating security into the network infrastructure.&lt;br /&gt;&lt;br /&gt;Under terms of the transaction, Cisco has acquired the Sguil™ project and related trademarks, as well as the copyrights held by the five principal members of the Sguil™ team, including project founder Robert "Bamm" Visscher. Cisco will assume control of the open source Sguil™ project including the Sguil.net domain, web site and web site content and the Sguil™ Sourceforge project page. In addition, the Sguil™ team will remain dedicated to the project as Cisco employees, continuing their management of the project on a day-to-day basis.&lt;br /&gt;&lt;br /&gt;To date, Sguil™ has been developed primarily in the Tcl scripting language, support for which is already present inside many of Cisco’s routers and switches. The new product, to be known as “Cisco Embedded Monitoring Solution (CEMS)”, will be made available first in Cisco’s carrier-grade products in 3Q08, with support being phased into the rest of the Cisco product line by 4Q09. Linksys-branded device will follow thereafter, though the exact deployment schedule has yet to be announced.&lt;br /&gt;&lt;br /&gt;“We’re extremely pleased to announce this deal,” said Cisco’s Chief Security Product Manager Cletus F. Simmons. “For some time, our customers have told us that our existing security monitoring products did not extend far enough into their network infrastructure layer. Not only was it sometimes difficult to intercept and monitor the traffic, but there were often political problems at the customer site with deploying our Intrusion Detection Systems, as management had heard several years ago that they ere ‘dead’. Now, with Sguil™ integrated into all their network devices, they’ll have no choice!”&lt;br /&gt;&lt;br /&gt;Although the financial details of the agreement have not been announced, Sguil™ developer Robert Visscher will become the new VP of Cisco Rapid Analysis Products for Security. “This deal means a lot to the Sguil™ project and to me personally,” Visscher explains. “Previously, we had to be content with simply being the best technical solution to enable intrusion analysts to collect and analyze large amounts of data in an extraordinarily efficient manner. But now, we’ll have the additional advantage of the world’s largest manufacturer of networking gear shoving it down their customers’ throats! We will no longer have to concern ourselves with mere technical excellence. Instead, I can worry more about which tropical island to visit next, and which flavor daiquiri to order. You know, the important things.”&lt;br /&gt;&lt;br /&gt;About Cisco Systems&lt;br /&gt;&lt;br /&gt;Cisco, (NASDAQ: CSCO), is the worldwide leader in networking that transforms how people connect, communicate and collaborate. Information about Cisco can be found at http://www.cisco.com. For ongoing news, please go to http://newsroom.cisco.com.&lt;br /&gt;&lt;br /&gt;About Sguil™&lt;br /&gt;&lt;br /&gt;Sguil™ is the leading Network Security Monitoring (NSM) framework. It is built for network security analysts by network security analysts. Sguil’s main component is an intuitive GUI that provides access to a wide variety of security related information, including real-time IDS alerts, network session database and full packet captures. Sguil™ was written by Robert “Bamm” Visscher, who was apparently too cheap to buy a book on Java or C.&lt;br /&gt;&lt;br /&gt;&lt;/i&gt;Again, congrats to the team... if you get a chance, please stop in at #snort-gui on freenode and say hi / congratulate the team.&lt;br /&gt;&lt;br /&gt;Cheers,&lt;br /&gt;&lt;a href="http://global-security.blogspot.com"&gt;enhanced&lt;/a&gt;&lt;i&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6034918612419541942-3390310812465252598?l=pauldotcommunity.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauldotcommunity.blogspot.com/feeds/3390310812465252598/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6034918612419541942&amp;postID=3390310812465252598' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6034918612419541942/posts/default/3390310812465252598'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6034918612419541942/posts/default/3390310812465252598'/><link rel='alternate' type='text/html' href='http://pauldotcommunity.blogspot.com/2008/04/cisco-acquires-sguil.html' title='Cisco Acquires Sguil!!'/><author><name>JJC</name><uri>http://www.blogger.com/profile/08102466843919236000</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='18' height='32' src='http://www.redsphereglobal.com/Images/tall_london_bulkhead_brickwall.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6034918612419541942.post-8028744312879396963</id><published>2008-03-31T07:07:00.000-07:00</published><updated>2008-03-31T08:08:14.183-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='forensics'/><title type='text'>&lt;!-- Hiding Inside Wikipedia --&gt;</title><content type='html'>It seems that each time I attend &lt;a href="http://www.blackhat.com/"&gt;Black Hat&lt;/a&gt;, I get some &lt;a href="http://blog.didierstevens.com/2007/04/30/hiding-inside-a-rainbow/"&gt;new steganography idea&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;It's easy to hide data inside the Wikipedia pages. But before I explain how, understand that the general principle of what I will explain applies to most sites where users can edit content. They can all be used as a &lt;a href="http://en.wikipedia.org/wiki/Covert_channel"&gt;covert channel&lt;/a&gt;, but Wikipedia has become so common that it would have passed under my radar when performing a forensic investigation. But not anymore.&lt;br /&gt;&lt;br /&gt;You can use the &lt;a href="http://en.wikipedia.org/wiki/Wikipedia:Sandbox"&gt;Wikipedia Sandbox&lt;/a&gt; to experiment while avoiding the wrath of the Wiki gods.&lt;br /&gt;&lt;br /&gt;Select the &lt;b&gt;edit this page&lt;/b&gt; tab to start editing the article:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img alt="wikipedia-0004.png" src="http://didierstevens.wordpress.com/files/2008/03/wikipedia-0004.png" /&gt;&lt;br /&gt;&lt;br /&gt;Prepare the data you want to store on Wikipedia by converting it to a &lt;a href="http://en.wikipedia.org/wiki/Base64"&gt;base64&lt;/a&gt; representation (you can ZIP and/or encrypt it before converting it to base64). Insert the base64 data as a hidden comment inside the page:&lt;br /&gt;&lt;br /&gt;&lt;img alt="wikipedia-0005.png" src="http://didierstevens.wordpress.com/files/2008/03/wikipedia-0005.png" /&gt;&lt;br /&gt;&lt;br /&gt;Save your changes first, and then undo your changes via the&lt;b&gt; history&lt;/b&gt; tab:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img alt="wikipedia-0006b.png" src="http://didierstevens.wordpress.com/files/2008/03/wikipedia-0006b.png" /&gt;&lt;br /&gt;&lt;br /&gt;That's it! From now on, you can retrieve your data by comparing versions:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img alt="wikipedia-0008.png" src="http://didierstevens.wordpress.com/files/2008/03/wikipedia-0008.png" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img alt="wikipedia-0009.png" src="http://didierstevens.wordpress.com/files/2008/03/wikipedia-0009.png" /&gt;&lt;br /&gt;&lt;br /&gt;So how can you detect and prevent this? Disclosure: my analysis is based on observations of the HTTP traffic generated by a browser connecting to Wikipedia, and not by analyzing the &lt;a href="http://en.wikipedia.org/wiki/MediaWiki"&gt;MediaWiki&lt;/a&gt; software.&lt;br /&gt;&lt;br /&gt;Normal Wikipedia requests (browsing the articles) are GET http requests to the wikipedia.org server. Editing a page is done with a POST http request:&lt;br /&gt;&lt;br /&gt;&lt;img alt="wikipedia-0010.png" src="http://didierstevens.wordpress.com/files/2008/03/wikipedia-0010.png" /&gt;&lt;br /&gt;&lt;br /&gt;So to detect a user updating a Wikipedia page, look for POST requests to Wikipedia. But there are exceptions to this rule. First, previews also use a POST request:&lt;br /&gt;&lt;br /&gt;&lt;img alt="wikipedia-0011.png" src="http://didierstevens.wordpress.com/files/2008/03/wikipedia-0011.png" /&gt;&lt;br /&gt;&lt;br /&gt;You'll have to look inside the posted form data to differentiate a save from a preview:&lt;br /&gt;&lt;br /&gt;&lt;img alt="wikipedia-0012.png" src="http://didierstevens.wordpress.com/files/2008/03/wikipedia-0012.png" /&gt;&lt;br /&gt;&lt;br /&gt;Another exception is a user login:&lt;br /&gt;&lt;br /&gt;&lt;img alt="wikipedia-0013.png" src="http://didierstevens.wordpress.com/files/2008/03/wikipedia-0013.png" /&gt;&lt;br /&gt;&lt;br /&gt;To differentiate these, use the action parameter. It's &lt;em&gt;submit&lt;/em&gt; for article updates and &lt;em&gt;submitlogin&lt;/em&gt; for a user login.&lt;br /&gt;&lt;br /&gt;You can use these criteria (POST request, form data, action parameter) to block edits to the Wikipedia site via a filtering proxy. Of course, this detects and blocks all updates, not only updates to exfiltrate data.&lt;br /&gt;&lt;br /&gt;Didier Stevens&lt;br /&gt;&lt;a href="https://didierstevens.com/"&gt;https://DidierStevens.com&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6034918612419541942-8028744312879396963?l=pauldotcommunity.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauldotcommunity.blogspot.com/feeds/8028744312879396963/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6034918612419541942&amp;postID=8028744312879396963' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6034918612419541942/posts/default/8028744312879396963'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6034918612419541942/posts/default/8028744312879396963'/><link rel='alternate' type='text/html' href='http://pauldotcommunity.blogspot.com/2008/03/hiding-inside-wikipedia.html' title='&amp;lt;!-- Hiding Inside Wikipedia --&amp;gt;'/><author><name>Didier Stevens</name><uri>http://www.blogger.com/profile/17537511475658709281</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6034918612419541942.post-9135027237287778286</id><published>2008-03-26T07:49:00.000-07:00</published><updated>2008-03-26T08:05:31.606-07:00</updated><title type='text'>How To: winlockpwn</title><content type='html'>&lt;span&gt;winlockpwn&lt;/span&gt; is a memory analysis tool released by Adam Boileau of storm.net.nz. This utility exploits firewire's direct memory access. The operating system allows firewire devices to directly read/write memory without having to go through the processor. Sounds handy right? I installed &lt;span&gt;winlockpwn&lt;/span&gt; on Ubuntu 7.10 and a fully patched Windows XP SP2 box.  The first step is to download the required libraries:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;span&gt;sudo aptitude install libdc1394-13 libraw1394-dev swig python&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;Now we need to download and install Python 2.3 because I tried to run it using Python 2.5 with no success:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;span&gt;wget http://www.python.org/ftp/python/2.3.6/Python-2.3.6.tgz&lt;br /&gt;tar -zxvf Python-2.3.6.tgz&lt;br /&gt;cd Python-2.3.6&lt;br /&gt;./configure&lt;br /&gt;make&lt;br /&gt;sudo make install&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;The next step is to modify libraw1394:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;span&gt;sudo vim /usr/include/libraw1394/raw1394.h&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;At this point go ahead and search for “&lt;span&gt;__attribute__((deprecated));&lt;/span&gt;” in the file raw1394.h and comment out every line that contains it. Hint: don't forget to end the line above it with a semi-colon. Once you comment all of them out, save and close the file.  The next step is to get the pythonraw1394 library. It contains the python bindings for &lt;span&gt;libraw1394&lt;/span&gt;, &lt;span&gt;romtool&lt;/span&gt;, and &lt;span&gt;businfo&lt;/span&gt; from Adam’s site.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;span&gt;wget http://www.storm.net.nz/static/files/pythonraw1394-1.0.tar.gz&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;And of course, we need to untar it&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;span&gt;tar -zxvf pythonraw1394-1.0.tar.gz&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;Now we need to go into the untared directory and download the actual &lt;span&gt;winlockpwn&lt;/span&gt; script:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;span&gt;cd pythonraw1394&lt;br /&gt;wget http://www.storm.net.nz/static/files/winlockpwn&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;The winlockpwn script needs to be in the pythonraw1394 directory or it wont work without modifying the code. Also, we need to make it executable:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;span&gt;chmod +x winlockpwn&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;Now we also need to edit the Makefile for pythonraw1394 to point it to python 2.3's include directory:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;span&gt;sudo vim Makefile&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;Now change /usr/include/python2.3 to /usr/local/include/python2.3 on lines 5 and 6. Again, save and quit and compile it with the following command:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;span&gt;sudo make&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;The raw1394 module also needs to also be loaded and the permissions changed on the raw1394 devices:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;span&gt;sudo modprobe raw1394&lt;br /&gt;sudo chmod 666 /dev/raw1394&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;Now we need to plug into the windows machine and then edit the &lt;span&gt;romtool&lt;/span&gt; to reflect the location of python:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;span&gt;sudo vim romtool&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;Change &lt;span&gt;#!/usr/bin/python&lt;/span&gt; to &lt;span&gt;#!/usr/local/bin/python&lt;/span&gt; on the first line one of the file.&lt;br /&gt;Repeat the same step for the &lt;span&gt;winlockpwn&lt;/span&gt; script as well.&lt;br /&gt;And then load the ipod image onto the firewire port.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;span&gt;./romtool -s 0 ipod.csr&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;Loading the ipod image onto the firewire port basically fools windows into thinking your linux box is an ipod.&lt;br /&gt;Now we can run &lt;span&gt;businfo&lt;/span&gt; to make sure the ipod image is loaded and on what port number it is on as well as making sure you can see your computer on the other end. Mine showed the ipod image loaded onto port number 0 and my windows box on node number 1.&lt;br /&gt;Now, the fun part! Run &lt;span&gt;winlockpwn&lt;/span&gt;&lt;br /&gt;as follows:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;span&gt;winlockpwn port node target&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;Mine looked like this:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;span&gt;./winlockpwn 0 1 1&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;Once you run &lt;span&gt;winlockpwn&lt;/span&gt;, the windows box will accept any password you choose to give it (even a blank password) and unlock the system for you.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;There are many security issues that arise from &lt;span&gt;winlockpwn&lt;/span&gt;. What is to stop one of the janitorial staff from getting into the CEO's office after hours and immediately getting access to his box because all he did was lock it before he went home? It just goes to show that once someone gains physical access, game over.&lt;br /&gt;&lt;br /&gt;---&lt;br /&gt;Danny Howerton&lt;br /&gt;http://metacortexsecurity.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6034918612419541942-9135027237287778286?l=pauldotcommunity.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauldotcommunity.blogspot.com/feeds/9135027237287778286/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6034918612419541942&amp;postID=9135027237287778286' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6034918612419541942/posts/default/9135027237287778286'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6034918612419541942/posts/default/9135027237287778286'/><link rel='alternate' type='text/html' href='http://pauldotcommunity.blogspot.com/2008/03/how-to-winlockpwn.html' title='How To: winlockpwn'/><author><name>Danny Howerton</name><uri>http://www.blogger.com/profile/03925809716601141733</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6034918612419541942.post-1960154503263569748</id><published>2008-03-25T19:54:00.000-07:00</published><updated>2008-03-25T21:26:06.434-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='subnet'/><category scheme='http://www.blogger.com/atom/ns#' term='open relay'/><category scheme='http://www.blogger.com/atom/ns#' term='netmask'/><category scheme='http://www.blogger.com/atom/ns#' term='cidr'/><category scheme='http://www.blogger.com/atom/ns#' term='spam'/><category scheme='http://www.blogger.com/atom/ns#' term='classful'/><category scheme='http://www.blogger.com/atom/ns#' term='postfix'/><title type='text'>FAIL: When software tries to be smrt, and sysadmins trust it.</title><content type='html'>I run servers for a living... lots of severs, for all sorts of people and customers and workloads. Nothing homogeneous or even enterprisey about most of it.&lt;br /&gt;&lt;br /&gt;Probably a year ago, I noticed one of my client's webserver VPS instances was spewing mail like an open relay. Some quick checking indicated this wasn't the case, and it &lt;a href="http://www.mxtoolbox.com/blacklists.aspx"&gt;wasn't listed on any RBLs&lt;/a&gt; either, so I assumed that some random PHP script was easily pwn3d. Since the client didn't care about email at all (sigh, why'd you have me turn it on?!), I just shutdown postfix, saw all the SMTP traffic stop and left it to the client to figure out, since they didn't see fit to have me dig deeper into it, nor could I justify doing it in the absence of financing.&lt;br /&gt;&lt;br /&gt;Fast-forward to last week, when said client needed mail turned on. I hesitated and explained why I was reluctant to do this. They assured me that everything had been updated and most of the PHP stuff is gone, aside from a bleeding-edge instance of Wordpress. Okay, that's legit.&lt;br /&gt;&lt;br /&gt;I review the config, trash the mail-queue just in case, and fire up postfix.&lt;br /&gt;&lt;br /&gt;Nothing (bad) happens instantly, I make note to check it in the morning.&lt;br /&gt;&lt;br /&gt;Everything's okay for the rest of the week, 10msg/day, normal email traffic flow for this client&lt;br /&gt;&lt;br /&gt;Yesterday morning though, I notice 7412msg/hr being queued. Eeep.&lt;br /&gt;&lt;br /&gt;Killing apache seems to have no effect on the flow.&lt;br /&gt;&lt;br /&gt;Reviewing mailq shows it's all spam or backscatter. Sigh.&lt;br /&gt;I fix the backscatter problem (shame on me), postfix reload, and then just to be sure, do 'postconf -n' - and everything looks okay there too.&lt;br /&gt;I continue auditing things running on the machine and don't see anything out of the ordinary, and yet postfix continues happily to queue spam.&lt;br /&gt;More rummaging turns up nothing other than postfix being the problem.&lt;br /&gt;&lt;br /&gt;And then I found it.&lt;br /&gt;&lt;blockquote&gt;&lt;div style="font-family: monospace;"&gt;[root@bukkit ~]# postconf | grep mynet&lt;br /&gt;&lt;a href="http://www.postfix.org/postconf.5.html#mynetworks"&gt;mynetworks&lt;/a&gt; = 66/8&lt;br /&gt;mynetworks_style = subnet&lt;br /&gt;...&lt;br /&gt;[root@bukkit ~]#&lt;/div&gt;&lt;/blockquote&gt;Postfix made a mistake. An ugly one. So ugly, it allowed 1/256th of the IPv4 Internet relay mail via this server, with impunity.&lt;br /&gt;&lt;br /&gt;But it was a minor error, one all sysadmins have made in their careers...&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;It got the subnet mask wrong.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now, I'm not 100% certain of &lt;span style="font-weight: bold;"&gt;why&lt;/span&gt; this happens, but thanks to the &lt;a href="http://en.wikipedia.org/wiki/Subnetwork#IPv4_classes"&gt;default subnet mask for Class-A networks&lt;/a&gt; of which my allocation is part of, it had a flashback to the 1980s and defaulted to a /8.&lt;br /&gt;&lt;br /&gt;And since this parameter defaults to being derived at start-time, it doesn't show up in 'postconf -n', which only shows non-defaulted configuration parameters.&lt;br /&gt;&lt;br /&gt;Lesson: Don't trust your software to auto-configure properly every time, and when you're auditing configurations - check &lt;span style="font-style: italic;"&gt;everything&lt;/span&gt;, not just non-default settings.&lt;br /&gt;&lt;br /&gt;I've checked all the other machines I'm responsible for, and haven't seen this happening, so I'll be updating this postfix to a later version soon, but at least I've hardcoded mynetworks for now.&lt;br /&gt;&lt;br /&gt;With apologies to the unintended victims, and the rest of the Internet, for making &lt;a href="http://spamcop.net/spamgraph.shtml?spamyear"&gt;the spam problem&lt;/a&gt; worse - not better.&lt;br /&gt;&lt;br /&gt;Mea Cupla.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6034918612419541942-1960154503263569748?l=pauldotcommunity.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauldotcommunity.blogspot.com/feeds/1960154503263569748/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6034918612419541942&amp;postID=1960154503263569748' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6034918612419541942/posts/default/1960154503263569748'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6034918612419541942/posts/default/1960154503263569748'/><link rel='alternate' type='text/html' href='http://pauldotcommunity.blogspot.com/2008/03/fail-when-software-tries-to-be-smrt-and.html' title='FAIL: When software tries to be smrt, and sysadmins trust it.'/><author><name>Myke</name><uri>http://www.blogger.com/profile/07897475987183720994</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp3.blogger.com/_xPwdE5P_lz8/R-m5YTbrA8I/AAAAAAAAAAM/XGDTY18Z3rw/S220/DSC00012.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6034918612419541942.post-6959353828666982277</id><published>2008-03-18T18:41:00.000-07:00</published><updated>2008-03-18T18:42:37.746-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='security'/><category scheme='http://www.blogger.com/atom/ns#' term='Apple'/><title type='text'>Apple posts update 2008-0002</title><content type='html'>Apple just posted &lt;a href="http://docs.info.apple.com/article.html?artnum=307562"&gt;Apple Security Update 2008-0002&lt;/a&gt;.  Here's the news, updates for both Leopard and Tiger:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Security Update 2008-002&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-weight: bold;"&gt;AFP Client&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;CVE-ID: CVE-2008-0044&lt;br /&gt;&lt;br /&gt;Available for: Mac OS X v10.4.11, Mac OS X Server v10.4.11, Mac OS X v10.5.2, Mac OS X Server v10.5.2&lt;br /&gt;&lt;br /&gt;Impact: Accessing a maliciously crafted afp:// URL may lead to an application termination or arbitrary code execution&lt;br /&gt;&lt;br /&gt;Description: Multiple stack buffer overflow issues exist in AFP Client's handling of afp:// URLs. By enticing a user to connect to a malicious AFP Server, an attacker may cause an unexpected application termination or arbitrary code execution. This update addresses the issues through improved bounds checking.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;AFP Server&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;CVE-ID: CVE-2008-0045&lt;br /&gt;&lt;br /&gt;Available for: Mac OS X v10.4.11, Mac OS X Server v10.4.11&lt;br /&gt;&lt;br /&gt;Impact: Cross-realm authentication with AFP Server may be bypassed&lt;br /&gt;&lt;br /&gt;Description: An implementation issue exists in AFP Server's check of Kerberos principal realm names. This may allow unauthorized connections to the server, when cross-realm authentication with AFP Server is used. This update addresses the issue by through improved checks of Kerberos principal realm names. This issue does not affect systems running Mac OS X v10.5 or later. Credit to Ragnar Sundblad of KTH - Royal Institute of Technology, Stockholm, Sweden for reporting this issue.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Apache&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;CVE-ID: CVE-2005-3352, CVE-2006-3747, CVE-2007-3847, CVE-2007-5000, CVE-2007-6388&lt;br /&gt;&lt;br /&gt;Available for: Mac OS X v10.4.11, Mac OS X Server v10.4.11, Mac OS X Server v10.5.2&lt;br /&gt;&lt;br /&gt;Impact: Multiple vulnerabilities in Apache 1.3.33 and 1.3.39&lt;br /&gt;&lt;br /&gt;Description: Apache is updated to version 1.3.41 to address several vulnerabilities, the most serious of which may lead to arbitrary code execution. Further information is available via the Apache web site at http://httpd.apache.org For Mac OS X v10.5, Apache version 1.3.x is only shipped on Server configurations. mod_ssl is also updated from version 2.8.24 to 2.8.31 to match the upgraded Apache; no security fixes are included in the update.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Apache&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;CVE-ID: CVE-2007-5000, CVE-2007-6203, CVE-2007-6388, CVE-2007-6421, CVE-2008-0005&lt;br /&gt;&lt;br /&gt;Available for: Mac OS X v10.5.2, Mac OS X Server v10.5.2&lt;br /&gt;&lt;br /&gt;Impact: Multiple vulnerabilities in Apache 2.2.6&lt;br /&gt;&lt;br /&gt;Description: Apache is updated to version 2.2.8 to address several vulnerabilities, the most serious of which may lead to cross-site scripting. Further information is available via the Apache web site at http://httpd.apache.org&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;AppKit&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;CVE-ID: CVE-2008-0048&lt;br /&gt;&lt;br /&gt;Available for: Mac OS X v10.4.11, Mac OS X Server v10.4.11&lt;br /&gt;&lt;br /&gt;Impact: Usage of the NSDocument API to may lead to arbitrary code execution&lt;br /&gt;&lt;br /&gt;Description: A stack buffer overflow exists in the NSDocument API's handling of file names. On most file systems, this issue is not exploitable. This update addresses the issue through improved bounds checking. This issue does not affect systems running Mac OS X v10.5 or later.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;AppKit&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;CVE-ID: CVE-2008-0049&lt;br /&gt;&lt;br /&gt;Available for: Mac OS X v10.4.11, Mac OS X Server v10.4.11&lt;br /&gt;&lt;br /&gt;Impact: A local user may be able to execute arbitrary code with system privileges&lt;br /&gt;&lt;br /&gt;Description: A mach port in NSApplication intended for inter-thread synchronization is unintentionally available for inter-process communication. By sending maliciously crafted messages to privileged applications in the same bootstrap namespace, a local user may cause arbitrary code execution with the privileges of the target application. This update addresses the issue by removing the mach port in question and using another method to synchronize. This issue does not affect systems running Mac OS X v10.5 or later.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;AppKit&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;CVE-ID: CVE-2008-0057&lt;br /&gt;&lt;br /&gt;Available for: Mac OS X v10.4.11, Mac OS X Server v10.4.11&lt;br /&gt;&lt;br /&gt;Impact: Visiting a maliciously crafted website may lead to arbitrary code execution&lt;br /&gt;&lt;br /&gt;Description: Multiple integer overflow vulnerabilities exist in the parser for a legacy serialization format. By causing a maliciously formatted serialized property list to be parsed, an attacker could trigger a heap-based buffer overflow which may lead to arbitrary code execution. This update addresses the issue by performing additional validation of serialized input. This issue does not affect systems running Mac OS X v10.5 or later.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;AppKit&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;CVE-ID: CVE-2008-0997&lt;br /&gt;&lt;br /&gt;Available for: Mac OS X v10.4.11, Mac OS X Server v10.4.11&lt;br /&gt;&lt;br /&gt;Impact: Querying a network printer may cause an unexpected application termination or arbitrary code execution&lt;br /&gt;&lt;br /&gt;Description: A stack based buffer overflow exists in AppKit's handling of PPD files. By enticing a user to query a network printer, an attacker may cause an unexpected application termination or arbitrary code execution. This update addresses the issue through improved handling of PPD files. This issue does not affect systems running Mac OS X v10.5 or later.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Application Firewall&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;CVE-ID: CVE-2008-0046&lt;br /&gt;&lt;br /&gt;Available for: Mac OS X v10.5.2, Mac OS X Server v10.5.2&lt;br /&gt;&lt;br /&gt;Impact: The German translation of the Application Firewall preference pane was misleading&lt;br /&gt;&lt;br /&gt;Description: The "Set access for specific services and applications" radio button of the Application Firewall preference pane was translated into German as "Zugriff auf bestimmte Dienste und Programme festlegen", which is "Set access to specific services and applications". This might lead a user to believe that the listed services were the only ones that would be permitted to accept incoming connections. This update addresses the issue by changing the German text to semantically match the English text. This issue does not affect systems prior to Mac OS X v10.5.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CFNetwork&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;CVE-ID: CVE-2008-0050&lt;br /&gt;&lt;br /&gt;Available for: Mac OS X v10.4.11, Mac OS X Server v10.4.11&lt;br /&gt;&lt;br /&gt;Impact: A malicious proxy server may spoof secure websites&lt;br /&gt;&lt;br /&gt;Description: A malicious HTTPS proxy server may return arbitrary data to CFNetwork in a 502 Bad Gateway error. A malicious proxy server could use this to spoof secure websites. This update addresses the issue by returning an error on any proxy error, instead of returning the proxy-supplied data. This issue is already addressed in systems running Mac OS X v10.5.2.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;ClamAV&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;CVE-ID: CVE-2007-3725, CVE-2007-4510, CVE-2007-4560, CVE-2007-5759, CVE-2007-6335, CVE-2007-6336, CVE-2007-6337, CVE-2008-0318, CVE-2008-0728&lt;br /&gt;&lt;br /&gt;Available for: Mac OS X Server v10.5.2&lt;br /&gt;&lt;br /&gt;Impact: Multiple vulnerabilities in ClamAV 0.90.3&lt;br /&gt;&lt;br /&gt;Description: Multiple vulnerabilities exist in ClamAV 0.90.3 provided with Mac OS X Server v10.5 systems, the most serious of which may lead to arbitrary code execution. This update addresses the issue by updating to ClamAV 0.92.1. Further information is available via the ClamAV website at www.clamav.net&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;ClamAV&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;CVE-ID: CVE-2006-6481, CVE-2007-1745, CVE-2007-1997, CVE-2007-3725, CVE-2007-4510, CVE-2007-4560, CVE-2007-0897, CVE-2007-0898, CVE-2008-0318, CVE-2008-0728&lt;br /&gt;&lt;br /&gt;Available for: Mac OS X Server v10.4.11&lt;br /&gt;&lt;br /&gt;Impact: Multiple vulnerabilities in ClamAV 0.88.5&lt;br /&gt;&lt;br /&gt;Description: Multiple vulnerabilities exist in ClamAV 0.88.5 provided with Mac OS X Server v10.4.11, the most serious of which may lead to arbitrary code execution. This update addresses the issue by updating to ClamAV 0.92.1. Further information is available via the ClamAV website at www.clamav.net&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CoreFoundation&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;CVE-ID: CVE-2008-0051&lt;br /&gt;&lt;br /&gt;Available for: Mac OS X v10.4.11, Mac OS X Server v10.4.11&lt;br /&gt;&lt;br /&gt;Impact: A local user may be able to execute arbitrary code with system privileges&lt;br /&gt;&lt;br /&gt;Description: An integer overflow exists in CoreFoundation's handling of time zone data. This may allow a local user to cause arbitrary code execution with system privileges. This update addresses the issue through improved bounds checking on time zone data files. This issue does not affect systems running Mac OS X v10.5 or later.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CoreServices&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;CVE-ID: CVE-2008-0052&lt;br /&gt;&lt;br /&gt;Available for: Mac OS X v10.4.11, Mac OS X Server v10.4.11&lt;br /&gt;&lt;br /&gt;Impact: Visiting a website could cause files to be opened in AppleWorks&lt;br /&gt;&lt;br /&gt;Description: Files with names ending in ".ief" can be automatically opened in AppleWorks if Safari's "Open 'Safe' files" preference is enabled. This is not the intended behavior and could lead to security policy violations. This update addresses the issue by removing ".ief" from the list of safe file types. This issue only affects systems prior to Mac OS X v10.5 with AppleWorks installed.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CUPS&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;CVE-ID: CVE-2008-0596&lt;br /&gt;&lt;br /&gt;Available for: Mac OS X v10.4.11, Mac OS X Server v10.4.11&lt;br /&gt;&lt;br /&gt;Impact: A remote attacker may be able to cause an unexpected application termination if printer sharing is enabled&lt;br /&gt;&lt;br /&gt;Description: A memory leak exists in CUPS. By sending a large number of requests to add and remove shared printers, an attacker may be able to cause a denial of service. This issue can not result in arbitrary code execution. This update addresses the issue through improved memory management. This issue does not affect systems prior to Mac OS X v10.5.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CUPS&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;CVE-ID: CVE-2008-0047&lt;br /&gt;&lt;br /&gt;Available for: Mac OS X v10.5.2, Mac OS X Server v10.5.2&lt;br /&gt;&lt;br /&gt;Impact: A remote attacker may be able to cause an unexpected application termination or arbitrary code execution if printer sharing is enabled&lt;br /&gt;&lt;br /&gt;Description: A heap buffer overflow exists in the CUPS interface's processing of search expressions. If printer sharing is enabled, a remote attacker may be able to cause an unexpected application termination or arbitrary code execution with system privileges. If printer sharing is not enabled, a local user may be able to gain system privileges. This update addresses the issue by performing additional bounds checking. This issue does not affect systems prior to Mac OS X v10.5. Credit to regenrecht working with the VeriSign iDefense VCP for reporting this issue.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CUPS&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;CVE-ID: CVE-2008-0053, CVE-2008-0882&lt;br /&gt;&lt;br /&gt;Available for: Mac OS X v10.5.2, Mac OS X Server v10.5.2&lt;br /&gt;&lt;br /&gt;Impact: Multiple vulnerabilities in CUPS may lead to an unexpected application termination or arbitrary code execution with system privileges&lt;br /&gt;&lt;br /&gt;Description: Multiple input validation issues exist in CUPS, the most serious of which may lead to arbitrary code execution with system privileges. This update addresses the issues by updating to CUPS 1.3.6. These issues do not affect systems prior to Mac OS X v10.5.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;curl&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;CVE-ID: CVE-2005-4077&lt;br /&gt;&lt;br /&gt;Available for: Mac OS X v10.4.11, Mac OS X Server v10.4.11&lt;br /&gt;&lt;br /&gt;Impact: Running curl with a maliciously crafted URL may lead to an unexpected application termination or arbitrary code execution&lt;br /&gt;&lt;br /&gt;Description: A one byte buffer overflow exists in curl 7.13.1. By enticing a user to run curl with a maliciously crafted URL, an attacker may cause an unexpected application termination or arbitrary code execution. This update addresses the issue by updating curl to version 7.16.3. Crash Reporter was updated to match the curl changes. This issue does not affect systems running Mac OS X v10.5 or later.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Emacs&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;CVE-ID: CVE-2007-6109&lt;br /&gt;&lt;br /&gt;Available for: Mac OS X v10.4.11, Mac OS X Server v10.4.11, Mac OS X v10.5.2, Mac OS X Server v10.5.2&lt;br /&gt;&lt;br /&gt;Impact: Format string vulnerability in Emacs Lisp may lead to an unexpected application termination or possibly arbitrary code execution&lt;br /&gt;&lt;br /&gt;Description: A stack buffer overflow exists in Emacs' format function. By exploiting vulnerable Emacs Lisp which allows an attacker to provide a format string containing a large precision value, an attacker may cause an unexpected application termination or possibly arbitrary code execution. Further information on the patch applied is available via the Savannah Emacs website &lt;a href="http://cvs.savannah.gnu.org/viewvc/emacs/emacs/src/editfns.c?r1=1.439.2.3&amp;amp;r2=1.439.2.9&amp;amp;view=patch"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Emacs&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;CVE-ID: CVE-2007-5795&lt;br /&gt;&lt;br /&gt;Available for: Mac OS X v10.5.2, Mac OS X Server v10.5.2&lt;br /&gt;&lt;br /&gt;Impact: Safe mode checks in Emacs may be bypassed&lt;br /&gt;&lt;br /&gt;Description: A logic error in Emacs' hack-local-variable function allows any local variable to be set, even if `enable-local-variables' is set to :safe. By enticing a user to load a file containing a maliciously crafted local variables declaration, a local user may cause an unauthorized modification of Emacs Lisp variables leading to arbitrary code execution. This issue has been fixed through improved :safe mode checks. The patch applied is available via the Savannah Emacs website &lt;a href="http://cvs.savannah.gnu.org/viewvc/emacs/lisp/files.el?r1=1.937&amp;amp;r2=1.938&amp;amp;sortby=date&amp;amp;root=emacs&amp;amp;view=patch"&gt;here&lt;/a&gt;.&lt;br /&gt;This issue does not affect systems prior to Mac OS X v10.5.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;file&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;CVE-ID: CVE-2007-2799&lt;br /&gt;&lt;br /&gt;Available for: Mac OS X v10.4.11, Mac OS X Server v10.4.11&lt;br /&gt;&lt;br /&gt;Impact: Running the file command on a maliciously crafted file may lead to an unexpected application termination or arbitrary code execution&lt;br /&gt;&lt;br /&gt;Description: An integer overflow vulnerability exists in the file command line tool, which may lead to an unexpected application termination or arbitrary code execution. This update addresses the issue through improved bounds checking. This issue does not affect systems running Mac OS X v10.5 or later. Credit to Colin Percival of the FreeBSD security team for reporting this issue.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Foundation&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;CVE-ID: CVE-2008-0054&lt;br /&gt;&lt;br /&gt;Available for: Mac OS X v10.4.11, Mac OS X Server v10.4.11&lt;br /&gt;&lt;br /&gt;Impact: Usage of the NSSelectorFromString API may result in an unexpected method being called&lt;br /&gt;&lt;br /&gt;Description: An input validation issue exists in the NSSelectorFromString API. Passing it a malformed selector name may result in the return of an unexpected selector, which could lead to an unexpected application termination or arbitrary code execution. This update addresses the issue by performing additional validation on the selector name. This issue does not affect systems running Mac OS X v10.5 or later.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Foundation&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;CVE-ID: CVE-2008-0055&lt;br /&gt;&lt;br /&gt;Available for: Mac OS X v10.4.11, Mac OS X Server v10.4.11&lt;br /&gt;&lt;br /&gt;Impact: A local user can interfere in other users' file operations and may be able to obtain elevated privileges&lt;br /&gt;&lt;br /&gt;Description: When performing a recursive file copying operation, NSFileManager creates directories as world-writable, and only later restricts the permissions. This creates a race condition during which a local user can manipulate the directory and interfere in subsequent operations. This may lead to a privilege escalation to that of the application using t he API. This update addresses the issue by creating directories with restrictive permissions. This issue does not affect systems running Mac OS X v10.5 or later.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Foundation&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;CVE-ID: CVE-2008-0056&lt;br /&gt;&lt;br /&gt;Available for: Mac OS X v10.4.11, Mac OS X Server v10.4.11&lt;br /&gt;&lt;br /&gt;Impact: Programs using the NSFileManager API could be manipulated to execute arbitrary code&lt;br /&gt;&lt;br /&gt;Description: A long pathname with an unexpected structure can expose a stack buffer overflow vulnerability in NSFileManager. Presenting a specially crafted path to a program using NSFileManager could lead to the execution of arbitrary code. This update addresses the issue by ensuring a properly sized destination buffer. This issue does not affect systems running Mac OS X v10.5 or later.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Foundation&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;CVE-ID: CVE-2008-0058&lt;br /&gt;&lt;br /&gt;Available for: Mac OS X v10.4.11, Mac OS X Server v10.4.11&lt;br /&gt;&lt;br /&gt;Impact: Visiting a maliciously crafted website may lead to a denial of service or arbitrary code execution&lt;br /&gt;&lt;br /&gt;Description: A thread race condition exists in NSURLConnection's cache management, which can cause a deallocated object to receive messages. Triggering this issue may lead to a denial of service, or arbitrary code execution with the privileges of Safari or another program using NSURLConnection. This update addresses the issue by removing an unsynchronized caching operation. This issue does not affect systems running Mac OS X v10.5 or later. Credit to Daniel Jalkut of Red Sweater Software for reporting this issue.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Foundation&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;CVE-ID: CVE-2008-0059&lt;br /&gt;&lt;br /&gt;Available for: Mac OS X v10.4.11, Mac OS X Server v10.4.11&lt;br /&gt;&lt;br /&gt;Impact: Processing an XML document may lead to an unexpected application termination or arbitrary code execution&lt;br /&gt;&lt;br /&gt;Description: A race condition exists in NSXML. By enticing a user to process an XML file in an application which uses NSXML, an attacker may cause an unexpected application termination or arbitrary code execution. This update addresses the issue through improvements to the error handling logic of NSXML. This issue does not affect systems running Mac OS X v10.5 or later.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Help Viewer&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;CVE-ID: CVE-2008-0060&lt;br /&gt;&lt;br /&gt;Available for: Mac OS X v10.4.11, Mac OS X Server v10.4.11, Mac OS X v10.5.2, Mac OS X Server v10.5.2&lt;br /&gt;&lt;br /&gt;Impact: Accessing a maliciously crafted help: URL may lead to arbitrary Applescript execution&lt;br /&gt;&lt;br /&gt;Description: A malicious help:topic_list URL may insert arbitrary HTML or JavaScript into the generated topic list page, which may redirect to a Help Viewer help:runscript link that runs Applescript. This update addresses the issue by performing HTML escaping on the URL data used in help topic lists before building the generated page. Credit to Brian Mastenbrook for reporting this issue.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Image Raw&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;CVE-ID: CVE-2008-0987&lt;br /&gt;&lt;br /&gt;Available for: Mac OS X v10.5.2, Mac OS X Server v10.5.2&lt;br /&gt;&lt;br /&gt;Impact: Viewing a maliciously crafted image may lead to an unexpected application termination or arbitrary code execution&lt;br /&gt;&lt;br /&gt;Description: A stack based buffer overflow exists in the handling of Adobe Digital Negative (DNG) image files. By enticing a user to open a maliciously crafted image file, an attacker may cause an unexpected application termination or arbitrary code execution. This update addresses the issue through improved validation of DNG image files. This issue does not affect systems prior to Mac OS X v10.5. Credit to Clint Ruoho of Laconic Security for reporting this issue.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Kerberos&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;CVE-ID: CVE-2007-5901, CVE-2007-5971, CVE-2008-0062, CVE-2008-0063&lt;br /&gt;&lt;br /&gt;Available for: Mac OS X v10.4.11, Mac OS X Server v10.4.11, Mac OS X v10.5.2, Mac OS X Server v10.5.2&lt;br /&gt;&lt;br /&gt;Impact: Multiple vulnerabilities in MIT Kerberos 5 may lead to an unexpected application termination or arbitrary code execution with system privileges&lt;br /&gt;&lt;br /&gt;Description: Multiple memory corruption issues exist in MIT Kerberos 5, which may lead to an unexpected application termination or arbitrary code execution with system privileges. Further information on the issues and the patches applied is available via the MIT Kerberos website at http://web.mit.edu/Kerberos/ CVE-2008-0062 and CVE-2008-0063 do not affect systems running Mac OS X v10.5 or later. CVE-2007-5901 does not affect systems prior to Mac OS X v10.4.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;libc&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;CVE-ID: CVE-2008-0988&lt;br /&gt;&lt;br /&gt;Available for: Mac OS X v10.4.11, Mac OS X Server v10.4.11&lt;br /&gt;&lt;br /&gt;Impact: Applications that use the strnstr API could be vulnerable to a denial of service&lt;br /&gt;&lt;br /&gt;Description: An off by one issue exists in Libsystem's strnstr(3) implementation. Applications that use the strnstr API can read one byte beyond the limit specified by the user, which may lead to an unexpected application termination. This update addresses the issue through improved bounds checking. This issue does not affect systems running Mac OS X v10.5 or later. Credit to Mike Ash of Rogue Amoeba Software for reporting this issue.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;mDNSResponder&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;CVE-ID: CVE-2008-0989&lt;br /&gt;&lt;br /&gt;Available for: Mac OS X v10.5.2, Mac OS X Server v10.5.2&lt;br /&gt;&lt;br /&gt;Impact: A local user may be able to execute arbitrary code with system privileges&lt;br /&gt;&lt;br /&gt;Description: A format string issue exists in mDNSResponderHelper. By setting the local hostname to a maliciously crafted string, a local user could cause a denial of service or arbitrary code execution with the privileges of mDNSResponderHelper. This update addresses the issue by using a static format string. This issue does not affect systems prior to Mac OS X v10.5.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;notifyd&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;CVE-ID: CVE-2008-0990&lt;br /&gt;&lt;br /&gt;Available for: Mac OS X v10.4.11, Mac OS X Server v10.4.11&lt;br /&gt;&lt;br /&gt;Impact: A local user may be able to deny access to notifications&lt;br /&gt;&lt;br /&gt;Description: notifyd accepts Mach port death notifications without verifying that they come from the kernel. If a local user sends fake Mach port death notifications to notifyd, applications that use the notify(3) API to register for notifications may never receive the notifications. This update addresses the issue by only accepting Mach port death notifications from the kernel. This issue does not affect systems running Mac OS X v10.5 or later.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;OpenSSH&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;CVE-ID: CVE-2007-4752&lt;br /&gt;&lt;br /&gt;Available for: Mac OS X v10.4.11, Mac OS X Server v10.4.11, Mac OS X v10.5.2, Mac OS X Server v10.5.2&lt;br /&gt;&lt;br /&gt;Impact: A remote attacker may be able to execute arbitrary code with elevated privileges&lt;br /&gt;&lt;br /&gt;Description: OpenSSH forwards a trusted X11 cookie when it cannot create an untrusted one. This may allow a remote attacker to gain elevated privileges. This update addresses the issue by updating OpenSSH to version 4.7. Further information is available via the OpenSSH website &lt;a href="http://www.openssh.org/txt/release-4.7"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;pax archive utility&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;CVE-ID: CVE-2008-0992&lt;br /&gt;&lt;br /&gt;Available for: Mac OS X v10.5.2, Mac OS X Server v10.5.2&lt;br /&gt;&lt;br /&gt;Impact: Running the pax command on a maliciously crafted archive may lead to arbitrary code execution&lt;br /&gt;&lt;br /&gt;Description: The pax command line tool does not check a length in its input before using it as an array index, which may lead to an unexpected application termination or arbitrary code execution. This update addresses the issue by checking the index. This issue does not affect systems prior to Mac OS X v10.5.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;PHP&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;CVE-ID: CVE-2007-1659, CVE-2007-1660, CVE-2007-1661, CVE-2007-1662, CVE-2007-4766, CVE-2007-4767, CVE-2007-4768, CVE-2007-4887&lt;br /&gt;&lt;br /&gt;Available for: Mac OS X v10.5.2, Mac OS X Server v10.5.2&lt;br /&gt;&lt;br /&gt;Impact: Multiple vulnerabilities in PHP 5.2.4&lt;br /&gt;&lt;br /&gt;Description: PHP is updated to version 5.2.5 to address multiple vulnerabilities, the most serious of which may lead to arbitrary code execution. Further information is available via the PHP website at &lt;a href="http://www.php.net/"&gt;http://www.php.net/&lt;/a&gt; PHP version 5.2.x is only provided with Mac OS X v10.5 systems.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;PHP&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;CVE-ID: CVE-2007-3378, CVE-2007-3799&lt;br /&gt;&lt;br /&gt;Available for: Mac OS X v10.4.11, Mac OS X Server v10.4.11, Mac OS X Server v10.5.2&lt;br /&gt;&lt;br /&gt;Impact: Multiple vulnerabilities in PHP 4.4.7&lt;br /&gt;&lt;br /&gt;Description: PHP is updated to version 4.4.8 to address multiple vulnerabilities, the most serious of which may lead to arbitrary code execution. Further information is available via the PHP website at &lt;a href="http://www.php.net/"&gt;http://www.php.net/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Podcast Producer&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;CVE-ID: CVE-2008-0993&lt;br /&gt;&lt;br /&gt;Available for: Mac OS X v10.5.2, Mac OS X Server v10.5.2&lt;br /&gt;&lt;br /&gt;Impact: Podcast Capture exposes passwords to other local users&lt;br /&gt;&lt;br /&gt;Description: The Podcast Capture application provides passwords to a subtask through the arguments, potentially exposing the passwords to other local users. This update corrects the issue by providing passwords to the subtask through a pipe. This issue does not affect systems prior to Mac OS X v10.5. Credit to Maximilian Reiss of Chair for Applied Software Engineering, TUM for reporting this issue.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Preview&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;CVE-ID: CVE-2008-0994&lt;br /&gt;&lt;br /&gt;Available for: Mac OS X v10.5.2, Mac OS X Server v10.5.2&lt;br /&gt;&lt;br /&gt;Impact: Saving to encrypted PDF in Preview produces files that may be read without the password&lt;br /&gt;&lt;br /&gt;Description: When Preview saves a PDF file with encryption, it uses 40-bit RC4. This encryption algorithm may be broken with significant but readily available computing power. A person with access to the file may apply a brute-force technique to view it. This update enhances the encryption to 128-bit RC4.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Printing&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;CVE-ID: CVE-2008-0995&lt;br /&gt;&lt;br /&gt;Available for: Mac OS X v10.5.2, Mac OS X Server v10.5.2&lt;br /&gt;&lt;br /&gt;Impact: Printing to encrypted PDF produces files that may be read without the `open' password&lt;br /&gt;&lt;br /&gt;Description: Printing to a PDF file and setting an 'open' password uses 40-bit RC4. This encryption algorithm may be broken with significant but readily available computing power. A person with access to the file may apply a brute-force technique to view it. This update enhances the encryption to 128-bit RC4. This issue does not affect systems prior to Mac OS X v10.5.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Printing&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;CVE-ID: CVE-2008-0996&lt;br /&gt;&lt;br /&gt;Available for: Mac OS X v10.5.2, Mac OS X Server v10.5.2&lt;br /&gt;&lt;br /&gt;Impact: Printing to an authenticated print queue may disclose login credentials&lt;br /&gt;&lt;br /&gt;Description: An information disclosure issue exists in the handling of authenticated print queues. When starting a job on an authenticated print queue, the credentials used for authentication may be saved to disk. This update addresses the issue by removing user credentials from printing presets before saving them to disk. This issue does not affect systems prior to Mac OS X v10.5.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;System Configuration&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;CVE-ID: CVE-2008-0998&lt;br /&gt;&lt;br /&gt;Available for: Mac OS X v10.4.11, Mac OS X Server v10.4.11, Mac OS X v10.5.2, Mac OS X Server v10.5.2&lt;br /&gt;&lt;br /&gt;Impact: A local user may be able to execute arbitrary code with system privileges&lt;br /&gt;&lt;br /&gt;Description: The privileged tool NetCfgTool uses distributed objects to communicate with untrusted client programs on the local machine. By sending a maliciously crafted message, a local user can bypass the authorization step and may cause arbitrary code execution with the privileges of the privileged program. This update addresses the issue by performing additional validation of distributed objects.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;UDF&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;CVE-ID: CVE-2008-0999&lt;br /&gt;&lt;br /&gt;Available for: Mac OS X v10.5.2, Mac OS X Server v10.5.2&lt;br /&gt;&lt;br /&gt;Impact: Opening a maliciously crafted disk image may lead to an unexpected system shutdown&lt;br /&gt;&lt;br /&gt;Description: A null pointer dereference issue exists in the handling of Universal Disc Format (UDF) file systems. By enticing a user to open a maliciously crafted disk image, an attacker may cause an unexpected system shutdown. This update addresses the issue through improved validation of UDF file systems. This issue does not affect systems prior to Mac OS X v10.5. Credit to Paul Wagland of Redwood Software, and Wayne Linder of Iomega for reporting this issue.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Wiki Server&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;CVE-ID: CVE-2008-1000&lt;br /&gt;&lt;br /&gt;Available for: Mac OS X v10.5.2, Mac OS X Server v10.5.2&lt;br /&gt;&lt;br /&gt;Impact: A user with access to edit wiki content may be able to execute arbitrary commands as the wiki server&lt;br /&gt;&lt;br /&gt;Description: A path traversal issue exists in the Mac OS X v10.5 Server Wiki Server. Attackers with access to edit wiki content may upload files that leverage this issue to place content wherever the wiki server can write, which may lead to arbitrary code execution with the privileges of the wiki server. This update addresses the issue through improved file name handling. This issue does not affect systems prior to Mac OS X v10.5. Credit to Rodrigo Carvalho, from the Core Security Consulting Services (CSC) team of CORE Security Technologies.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;X11&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;CVE-ID: CVE-2007-4568, CVE-2007-4990&lt;br /&gt;&lt;br /&gt;Available for: Mac OS X v10.4.11, Mac OS X Server v10.4.11&lt;br /&gt;&lt;br /&gt;Impact: Multiple Vulnerabilities in X11 X Font Server (XFS) 1.0.4&lt;br /&gt;&lt;br /&gt;Description: Multiple vulnerabilities exist in X11 X Font Server (XFS) 1.0.4, the most serious of which may lead to arbitrary code execution. This update addresses the issue by updating to version 1.0.5. Further information is available via the X.Org website at &lt;a href="http://www.x.org/wiki/Development/Security"&gt;http://www.x.org/wiki/Development/Security&lt;/a&gt; These issues are already addressed in systems running Mac OS X v10.5.2.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;X11&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;CVE-ID: CVE-2006-3334, CVE-2006-5793, CVE-2007-2445, CVE-2007-5266, CVE-2007-5267, CVE-2007-5268, CVE-2007-5269&lt;br /&gt;&lt;br /&gt;Available for: Mac OS X v10.5.2, Mac OS X Server v10.5.2&lt;br /&gt;&lt;br /&gt;Impact: Multiple vulnerabilities in X11's libpng 1.2.8&lt;br /&gt;&lt;br /&gt;Description: The PNG reference library (libpng) is updated to version 1.2.24 to address several vulnerabilities, the most serious of which may lead to a remote denial of service or arbitrary code execution. Further information is available via the libpng website at &lt;a href="http://www.libpng.org/pub/png/libpng.html"&gt;http://www.libpng.org/pub/png/libpng.html&lt;/a&gt; This issue affects libpng within X11. It does not affect systems prior to Mac OS X v10.5.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;X11&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;CVE-ID: CVE-2007-5958, CVE-2008-0006, CVE-2007-6427, CVE-2007-6428, CVE-2007-6429&lt;br /&gt;&lt;br /&gt;Available for: Mac OS X v10.4.11, Mac OS X Server v10.4.11, Mac OS X v10.5.2, Mac OS X Server v10.5.2&lt;br /&gt;&lt;br /&gt;Impact: Multiple vulnerabilities in the X11 server&lt;br /&gt;&lt;br /&gt;Description: Numerous vulnerabilities in the X11 server allow execution of arbitrary code with the privileges of the user running the X11 server if the attacker can authenticate to the X11 server. This is a security vulnerability only if the X11 server is configured to not require authentication, which Apple does not recommend. This update fixes the issue by applying the updated X.Org patches. Further information is available via the X.Org website at &lt;a href="http://www.x.org/wiki/Development/Security"&gt;http://www.x.org/wiki/Development/Security&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Go update!&lt;br /&gt;&lt;br /&gt;Joel Esler&lt;br /&gt;&lt;a href="http://www.joelesler.net"&gt;http://www.joelesler.net&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6034918612419541942-6959353828666982277?l=pauldotcommunity.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauldotcommunity.blogspot.com/feeds/6959353828666982277/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6034918612419541942&amp;postID=6959353828666982277' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6034918612419541942/posts/default/6959353828666982277'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6034918612419541942/posts/default/6959353828666982277'/><link rel='alternate' type='text/html' href='http://pauldotcommunity.blogspot.com/2008/03/apple-posts-update-2008-0002.html' title='Apple posts update 2008-0002'/><author><name>Joel Esler</name><uri>http://www.blogger.com/profile/05018134738510159518</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_BpBcl5urwoc/SGEd_P7nmEI/AAAAAAAAAKA/EJkaqvwmX0o/S220/Headshot.png'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6034918612419541942.post-9148472805665891376</id><published>2008-03-13T16:20:00.000-07:00</published><updated>2008-03-14T00:01:39.095-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='wristband'/><category scheme='http://www.blogger.com/atom/ns#' term='exfiltration'/><category scheme='http://www.blogger.com/atom/ns#' term='matchbox twenty'/><category scheme='http://www.blogger.com/atom/ns#' term='data security'/><category scheme='http://www.blogger.com/atom/ns#' term='usb'/><category scheme='http://www.blogger.com/atom/ns#' term='concert'/><title type='text'>Matchbox Twenty Wristband Turned Pentesting Tool</title><content type='html'>Before I start my new job I've been on vacation in Canada. Maybe it's because I came here straight from Shmoocon, or maybe I'm just a big security geek, but even on holiday I managed to make a fun find.&lt;br /&gt;&lt;br /&gt;My girlfriend is a huge fan of &lt;a href="http://www.matchboxtwenty.com/"&gt;Matchbox Twenty&lt;/a&gt; and as they were playing in Vancouver we went to see them. The barcode scanners weren't working so they ripped the barcode off our ticket to scan it later. If it didn't validate I don't know what they planned to do, but if the ticket tout outside knew this little detail he could have sold a lot more tickets I'm sure. After security failed to search us because we used the small side door they opened temporarily, in we walked, past an exposed ethernet and phone jack I would have loved to played with. Everywhere I go i notice fun little things like this, J0hnny Long would be proud.&lt;br /&gt;&lt;br /&gt;Anyway back to my point. As we had the "silver package", after the concert they gave us a special wristband. Not just any wristband, a USB wristband containing live recordings of the concert we just walked out of.&lt;br /&gt;&lt;br /&gt;Turns out its a completely reusable 247mb usb drive (Chipsbnk USB 2.0 rev_5.00), all hidden in a rubber wristband.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_DoxQChaTr8Y/R9m8rJoEq_I/AAAAAAAAABI/ARBCmApsKxE/s1600-h/wristband1.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://4.bp.blogspot.com/_DoxQChaTr8Y/R9m8rJoEq_I/AAAAAAAAABI/ARBCmApsKxE/s320/wristband1.jpg" alt="" id="BLOGGER_PHOTO_ID_5177376696143490034" border="0" /&gt;&lt;/a&gt;The usb connector doubles as the clip, so when you are wearing it you see nothing but the rubber wristband.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_DoxQChaTr8Y/R9m9BpoErAI/AAAAAAAAABQ/pjs-XMzbUUk/s1600-h/closed-clip.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://2.bp.blogspot.com/_DoxQChaTr8Y/R9m9BpoErAI/AAAAAAAAABQ/pjs-XMzbUUk/s320/closed-clip.jpg" alt="" id="BLOGGER_PHOTO_ID_5177377082690546690" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Hopefully you are seeing where I'm going with this. In you walk to a secure site wearing an innocent wristband. Even if they x-ray or metal detect you, that metal is just the clip for your wristband right? And out you walk with sensitive data around your wrist.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_DoxQChaTr8Y/R9m9aJoErBI/AAAAAAAAABY/hy1B_kWW_48/s1600-h/closed.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://4.bp.blogspot.com/_DoxQChaTr8Y/R9m9aJoErBI/AAAAAAAAABY/hy1B_kWW_48/s320/closed.jpg" alt="" id="BLOGGER_PHOTO_ID_5177377503597341714" border="0" /&gt;&lt;/a&gt;&lt;span style="text-decoration: underline;"&gt;&lt;br /&gt;&lt;/span&gt;Granted its only a small drive, but I'm sure it could be modified. Imagine for example, if the drive was U3 (if you don't know what mischief U3 can cause check out &lt;a href="http://wiki.hak5.org/wiki/USB_Hacksaw"&gt;http://wiki.hak5.org/wiki/USB_Hacksaw&lt;/a&gt; and &lt;a href="http://wiki.hak5.org/wiki/USB_Switchblade"&gt;http://wiki.hak5.org/wiki/USB_Switchblade&lt;/a&gt;).&lt;br /&gt;&lt;br /&gt;With so many portable and wireless devices, and ever smaller and higher capacity storage devices, you have to be extremely alert to catch how data could be exfiltrated.&lt;br /&gt;&lt;br /&gt;If you want your very own wristband exfiltration device, erm, I mean Matchbox Twenty concert wristband, you can buy them &lt;a href="http://stores.allaccesstoday.com/p-842-usb-wristband-exile-on-mainstream.aspx"&gt;here&lt;/a&gt;. A little pricey as you are buying the music content as well. Who would have thought I would find my new favourite pentesting tool at a concert!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6034918612419541942-9148472805665891376?l=pauldotcommunity.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauldotcommunity.blogspot.com/feeds/9148472805665891376/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6034918612419541942&amp;postID=9148472805665891376' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6034918612419541942/posts/default/9148472805665891376'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6034918612419541942/posts/default/9148472805665891376'/><link rel='alternate' type='text/html' href='http://pauldotcommunity.blogspot.com/2008/03/matchbox-twenty-wristband-turned.html' title='Matchbox Twenty Wristband Turned Pentesting Tool'/><author><name>cyber_eagle</name><uri>http://www.blogger.com/profile/14871515833295269631</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://bp3.blogger.com/_DoxQChaTr8Y/R9mpFJoEq3I/AAAAAAAAAAM/JyXhQgb7JU0/S220/matt-aboutme.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_DoxQChaTr8Y/R9m8rJoEq_I/AAAAAAAAABI/ARBCmApsKxE/s72-c/wristband1.jpg' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6034918612419541942.post-589464393929104414</id><published>2008-03-11T13:58:00.001-07:00</published><updated>2008-03-12T08:36:05.477-07:00</updated><title type='text'>Welcome To PaulDotCommunity</title><content type='html'>We are very excited to present this blog to the security community.  There are so many talented people that listen to the show, manage our wiki, participate on our mailing list, and hang out in our IRC channel.  Their voices should be heard, so we created this blog to give them a voice and place to post content.  Just about anyone in our community can post to this blog, all you have to do is send us an email and we will grant you access (we should at least be able to recognize your name, your previous work, have someone vouch for you, etc...).  We would like to so postings with the following content:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;Show People How&lt;/span&gt; - We strive to show people how to do things, and believe this blog should too.&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;Interesting&lt;/span&gt; - We try not to cover the average, everyday, run-of-the-mill security stories, research, hacking techniques, etc...  This blog should live by the same standards&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;Relevant and Helpful&lt;/span&gt; - Anything that proves to be useful to others in the community should be posted here, we will most likely discuss all of the posts to this blog on the show!&lt;/li&gt;&lt;/ul&gt;So, we hope to hear from many of you, and happy blogging!&lt;br /&gt;&lt;br /&gt;Cheers,&lt;br /&gt;&lt;br /&gt;PaulDotCom&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6034918612419541942-589464393929104414?l=pauldotcommunity.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauldotcommunity.blogspot.com/feeds/589464393929104414/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6034918612419541942&amp;postID=589464393929104414' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6034918612419541942/posts/default/589464393929104414'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6034918612419541942/posts/default/589464393929104414'/><link rel='alternate' type='text/html' href='http://pauldotcommunity.blogspot.com/2008/03/first-post.html' title='Welcome To PaulDotCommunity'/><author><name>PaulDotCom</name><uri>http://www.blogger.com/profile/05361577336068292461</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='26' src='http://4.bp.blogspot.com/_RMcDn0JHHhU/SaV2wOlQaqI/AAAAAAAAAB8/qJW0c1cKct8/S220/paulabout.jpg'/></author><thr:total>0</thr:total></entry></feed>
