Sponsored By:


www.tenablesecurity.com


http://twitter.com/pauldotcom


http://www.facebook.com/group.php?gid=6678027341


www.youtube.com/pauldotcom




February 2009 Archives

PaulDotCom Security Weekly - Episode 142 - February 26, 2009

|

Paul, Larry and John talkin' security and memory dumping with special guest Marcus Carey!

  • Sponsored by Core Security, listen for the new customer discount code at the end of the show
  • Sponsored by Tenable Network Security, creators of Nessus and makers of the Tenable Security Center, software that extends the power of Nessus through sophisticated reporting, remediation workflow, IDS event correlation and much more.
  • Want to register for any SANS conference? Please visit http://www.pauldotcom.com/sans/ for our referral program
  • Be sure to check out "Maltego" from Paterva, try the community edition for free!
  • Don't forget to sign up for our Mailing List, Forums, and log into our IRC Channel!
  • Full Show Notes
  • Shlomo.JPG

Hosts: Larry "HaxorTheMatrix" Pesce, Paul "PaulDotCom" Asadoorian, John Strand

Email: psw@pauldotcom.com

Direct Audio Download

Audio Feeds:

The live stream should be active about 18:45 EST, Thursday, February 26th. We should begin recording the live show at about 19:00 EST. Please keep in mind that these times are all estimates, but we will try to do the best that we can.

This week we have a special guest, Marcus Carey from DojoSec!

Don't forget to join in on the IRC channel during the stream - we can take live comments and discussion from the channel! Find us on IRC at irc.freenode.net #pauldotcom.

When active, the live stream(s) can be found at:

Ustream: PaulDotCom UStream Channel

Icecast: PaulDotCom Radio

Please join us, and thanks for listening!

- Larry, Paul & John

marcus.jpg

PaulDotCom Security Weekly - Episode 141 - February 21, 2009

|

Paul, Larry and John talkin' security and WMIC with special guest Mick!

  • Sponsored by Core Security, listen for the new customer discount code at the end of the show
  • Sponsored by Tenable Network Security, creators of Nessus and makers of the Tenable Security Center, software that extends the power of Nessus through sophisticated reporting, remediation workflow, IDS event correlation and much more.
  • Want to register for any SANS conference? Please visit http://www.pauldotcom.com/sans/ for our referral program
  • Be sure to check out "Maltego" from Paterva, try the community edition for free!
  • Don't forget to sign up for our Mailing List, Forums, and log into our IRC Channel!
  • Full Show Notes
  • HackNakedPirate.JPG

Hosts: Larry "HaxorTheMatrix" Pesce, Paul "PaulDotCom" Asadoorian, John Strand

Email: psw@pauldotcom.com

Direct Audio Download

Audio Feeds:

Technorati Profile

Adobe 0-day and Captain Metadata

|

>We talked about the recent 0-day on episode 141 of the podcast. You can read the advisory from Adobe here.

Captain_Metadata.jpgThere are two things that I find interesting about this advisory: First off, it affects versions 7, 8 and 9. Secondly, it not only affects Adobe Reader, but it also affects all of the publishing products including Adobe Standard, Pro, and Pro Extended. Patches are not expected for a few weeks.

So, why do I find these two items interesting? If we wished to utilize this 0-day as an attack vector, we need to know what Adobe product is in use on the victim system. Without some other cues, such as already having access to the system, it becomes difficult to determine Adobe Reader version - aside from the install, we're not dealing with much (read as none) output to determine the version installed.

However with the publishing products, potential victims use these all of the time to deliver output. That's what the product is made for. As a result, we can analyze output outside of the potential victim system.

Yes, Captain Metadata is here again.

We can use Metagoofil to find and analyzed documents. We can determine usernames, dates (for "freshness"), and Adobe product version. Here's how we can do that:

python ./metagoofil.py -d  -f pdf -l <# of results> -o  -t 

So, in order to search whitehouse.gov for 100 PDFs, I'd use this:

python ./metagoofil.py -d whitehouse.gov -f pdf -l 100 -o whitehouse.gov-pdf.html -t whitehouse.gov-temp

Enjoy your auditing for the next few weeks. Use your 0-days responsibly. :-)

- Larry "haxorthematrix" Pesce
aka, Captain Metadata

Backtrack 4 To The Rescue!

|

Like a buxom blonde right out of the hit (?) TV series Baywatch, the sexy beast we call Backtrack 4 saved me this week, not once, but twice. Let me tell you, I enjoyed it equally as much each time, and consider muts, martin, max, and the entire Backtrack team my heros (however, I do not want to see them in bikinis, if they did have such a photo it should be burned immediately :)
bwimages.jpg
First, let me speak to the usefulness of penetration testing distributions. There are good and bad things about them. I've never been a big fan of using them because they don't have permanent storage (so I if I want to customize or make changes they will not persist through a reboot), they are not always using up-to-date software, and hardware support doesn't always exist for newer systems. They do have some advantages, such as if you need something to work right then and there and don't want to recompile a kernel or spend an hour or more setting up the right environment for your tools to work. So, having said that, I carry Backtrack with me on every test, just in case. This is one of those cases where I needed it.

So, now you are wondering just what can Backtrack 4 do to save you butt and conjure up sexy images of bikini clad female lifeguards? Well, one thing that Backtrack has succeeded at is being a tool for wireless penetration testing. It does this well by default with all sorts of hardware, and saves me from recompiling my kernel, patching my wireless drivers, and dealing with the headaches and hair pulling associated with those activities. Not to mention your customer will not be too happy if you are spending billable time trying to get things working. Now, granted, you should have all of this stuff ready beforehand, however its hard to know *exactly* what you will need to for each test. Sometimes things just crop up, and all of sudden you need to be able to crack a WEP key to get to the next level, or find vulnerabilities in an Oracle database. These things happen, and as well prepared as you think your laptop, OS, and hardware are for the task, sometimes you have to revert to plan B. My plan B is always Backtrack, in a pinch I know I can boot it really quick and get the specialized tools to work.

SRX.png

Let me first get a rant out of the way, what the heck happened to PCMCIA? [UPDATE: Robin Wood pointed me to the a Cardbus to PC Express converter that I will be ordering as well. Thanks Robin!] I've got all these wonderful wireless cards, and with newer laptops they are totally worthless. I think I am going to put them all on ebay and buy all new USB and PCI express cards. In face, I just ordered an Ubiquiti SRX and Alfa USB Wireless.

AWUS036H.png

So, this is where it all began, I've got two really nice Atheros chipset PCMCIA cards, but no laptop with PCMCIA (its akin to deer hunting, and I've got my trust arrows, but no bow to shoot them with). Luckily I did pack my Dlink DWL-G122 (H/W Ver B1, F/W Ver 2.02 Ralink Chipset?) wireless adapter. That should do and I proceed to boot BT3, figuring I'd aim for stability first. No such luck as it did not find my wireless adapter. So I tried BT4 and was able to complete my wireless assessment without a glitch, find cool stuff, and move on. The drivers in BT4 worked perfectly with this card, and were able to do channel hopping in monitor mode. I try not to think about how much it would have sucked to have to do that by hand.

The next thing I need to do was break into the VoIP network. This should be pretty easy, provided that you have a Linux system, with 802.1q support compiled into the kernel, voiphopper, ettercap, and tcpdump/wireshark. Don't have those? Wait, look, here comes BT4 running down the beach to save you! Now, for some reason, BT4 does not have voiphopper. I like this tool as it makes it dead easy to jump VLANs from the data network to the voice network. I used the CDP discovery method while plugged into the back of the phone and voila! I had an interface on that vlan:

root@bt:~/voiphopper-0.9.9# ./voiphopper -i eth0 -c0
VoIP Hopper Running in CDP Sniff Mode
Capturing CDP Packets on eth0
Captured IEEE 802.3, CDP Packet of 141 bytes
Discovered VoIP VLAN: 215

Added VLAN 215 to Interface eth0
Current MAC: 00:22:19:dc:a7:a9
Attempting dhcp request for new interface eth0.215
sh: dhcpcd: not found

The dhcp functionality is not working (no dhcpcd) when using this combination, so I ran dhclient manually to get an IP address:

dhclient eth0.215
Internet Systems Consortium DHCP Client V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth0.319/00:22:19:dc:a7:a9
Sending on LPF/eth0.319/00:22:19:dc:a7:a9
Sending on Socket/fallback
DHCPDISCOVER on eth0.319 to 255.255.255.255 port 67 interval 8
DHCPOFFER of 192.168.100.57 from 192.168.100.22
DHCPREQUEST of 192.168.100.57 on eth0.319 to 255.255.255.255 port 67
DHCPACK of 192.168.100.57 from 192.168.100.22
bound to 192.168.100.57 -- renewal in 267 seconds.

Once on the VLAN I was able to run ettercap and arp poison a phone, intercepting all of its connections:

ettercap -i eth0.319 -T -M arp // /192.168.102.181/

Once that was running I grabbed all of the packets with tcpdump:

tcpdump -i eth0.319 -w voip.pcap -nn -X -s0 'host 192.168.102.181'

Then I picked up the phone and made a call. If the VoIP traffic is not encrypted you can use Wireshark to grab all of the voice streams and play them back.

Paul Asadoorian
PaulDotCom

The live stream should be active about 21:15 EST, Saturday, February 21st. We should begin recording the live show at about 21:30 EST. Please keep in mind that these times are all estimates, but we will try to do the best that we can.

Don't forget to join in on the IRC channel during the stream - we can take live comments and discussion from the channel! Find us on IRC at irc.freenode.net #pauldotcom.

When active, the live stream(s) can be found at:

Ustream: PaulDotCom UStream Channel

Icecast: PaulDotCom Radio

Please join us, and thanks for listening!

- Larry, Paul & John

pauldotcom-has-a-possee.jpg

Paul, Larry and John rappin' security!

  • Sponsored by Core Security, listen for the new customer discount code at the end of the show
  • Sponsored by Tenable Network Security, creators of Nessus and makers of the Tenable Security Center, software that extends the power of Nessus through sophisticated reporting, remediation workflow, IDS event correlation and much more.
  • Want to register for any SANS conference? Please visit http://www.pauldotcom.com/sans/ for our referral program
  • Be sure to check out "Maltego" from Paterva, try the community edition for free!
  • Don't forget to sign up for our Mailing List, Forums, and log into our IRC Channel!
  • Full Show Notes
  • larrycannon2009.jpg

Hosts: Larry "HaxorTheMatrix" Pesce, Paul "PaulDotCom" Asadoorian, John Strand

Email: psw@pauldotcom.com

Direct Audio Download

Audio Feeds:

From time to time we find ourselves with the need to lock a laptop down to a piece of furniture so that it may be left unattended or unsupervised for a period of time. This may be a case of a device that you want to leave at your seat at a conference, of an institutional deployment that needs some security so the laptops don't walk away.

In reality, all these laptop security locks do is to keep honest people honest, and introduce a small barrier to entry for theft.

CODi.jpgRecently, I've had the pleasure to deal with a procurement group who began looking for a more cost effective and secure product for securing laptops to some mobile carts. They offered to send me over a sample of one of the final contenders, the CODi Titanium Series 4-Digit Combination Cable Lock. This lock features 4 rotating dials (numbered 0 through 9), delivering 10,000+ combinations.

It was delivered to me locked (as if placed in a laptop), with a custom 4 digit combination set. I was not informed of the combination or provided a manual and was asked to recover, it essentially defeating the lock.

I love a challenge.

So, I proceeded to evaluate the lock in a vacuum. No manual, no internet, no combination. Tools? Only what I could find in the office supply closet.

To start off, I will agree that the quality of the lock cable and housing seem to be relatively well made. I do think that there is one weak point where the cable meets the lock housing to provide cable movement and swivel. This would require some sort of heavy duty cutting tool however.

Lets recover the combination! The lock appears to operate by disengaging the mechanism by pulling on the plunger after the correct 4 digit code is entered. I employed the same methodology that one would use to compromise other 4 digit combination locks; provide tension against the shackle or release mechanism and manipulate the dials until you find some resistance.

CODi_elastic.jpgGrabbing a trusty rubber band from the supply closet, I wrapped it around the release plunger forcing it "open", and providing a significant amount of pressure against the internal mechanism. So, in effect, the "pin" inside that needs to slide through the grooves in each dial is being pushed against the dial forcefully. Variations in manufacturing in the internal parts cause the pin to bind against the dial under pressure.

I began rotating the dial at the bottom of the lock and found that it became very difficult (or impossible) to turn at a certain number. I rotated the dial in the opposite direction, and it also became difficult to turn, however this time at a different number. The numbers were separated by one digit. In this case, it became difficult to turn at 5 and 7. I suspected that the actual combination for this dial was 6, as I figured the pin was binding up on the dial where there had been some manufacturing irregularities next to the groove that allows the pin to pass through and unlock the lock.

I tried this for the remaining dials, and this was what I found for sticking points on this custom combination

Dial one stuck at 0 and 2

Dial two stuck at 7 and 9

Dial three stuck at 6 and 8

Dial four stuck at 5 and 7

I released the tension off the the plunger by removing the elastic band, and set the combination to the numbers in the middle of the sticking points, so in this case "1876". A pull of the plunger unlocked the lock.

Only 15 minutes to from receipt of lock to combination recovery. I wanted a challenge!

After all is said and done, the lock will provide a deterrent to most folks looking to steal something secured with this, or similar locks. It is actually quite difficult to manufacture a lock that is resistant to compromise based on manufacturing defects or tolerances, and keep them in a price point that is affordable for the majority of users. With that, realize that you get what you pay for and don't be fooled into a false sense of security with any lock.

combination-padlock.jpgPracticing defense in depth for physical security certainly makes sense in these situations were you are looking to secure mobile equipment. consider the lock, in combination with a software alarm (such as iAlertU on the Mac) as well as some post exploitation recovery methods, such as something along the lines of a Lojack for Laptops type product.

I'm up for suggestions on other cable locks to better secure laptops. Send them on over to psw [at] pauldotcom.com

- Larry

The live stream should be active about 18:45 EST, Friday, February 12th. We should begin recording the live show at about 19:00 EST. Please keep in mind that these times are all estimates, but we will try to do the best that we can.

This week we have a special in studio guest all the way from Israel, Shlomo Dubrown to give us a lesson on SELinux.

Don't forget to join in on the IRC channel during the stream - we can take live comments and discussion from the channel! Find us on IRC at irc.freenode.net #pauldotcom.

When active, the live stream(s) can be found at:

Ustream: PaulDotCom UStream Channel

Icecast: PaulDotCom Radio

Please join us, and thanks for listening!

- Larry, Paul & John

shlomo.jpg

Paul and Larry talk coming at you live from Shmoocon 2009! Special guests include Marcus Carey, Johnny Long, Listener Karl, Mubix, and Matthew Carpenter!

  • Sponsored by Core Security, listen for the new customer discount code at the end of the show
  • Sponsored by Tenable Network Security, creators of Nessus and makers of the Tenable Security Center, software that extends the power of Nessus through sophisticated reporting, remediation workflow, IDS event correlation and much more.
  • Want to register for any SANS conference? Please visit http://www.pauldotcom.com/sans/ for our referral program
  • Be sure to check out "Maltego" from Paterva, try the community edition for free!
  • Don't forget to sign up for our Mailing List, Forums, and log into our IRC Channel!
  • Full Show Notes
  • PaulLarryShmoo09.jpg

Hosts: Larry "HaxorTheMatrix" Pesce, Paul "PaulDotCom" Asadoorian, John Strand

Email: psw@pauldotcom.com

Direct Audio Download

Audio Feeds:

What I learned at Shmoocon 2009

|

I really look forward to making this post each time I attend a conference. Some of you may remember my post from Shmoocon 2007. First, I want to say that Shmoocon is a fantastic conference, very well organized, and attended by some of the nicest and coolest people around. We had a booth at this year's conference and it was great to meet everyone and interact with the community! I wanted to thank Larry and Byte_Bucket for all of their hard work and hours put in at the booth, you guys rock.

So, here's a list of what I learned this year:

* Kiosk security is really poor in the hotels, and I will never use them to print my boarding pass ever again

* i-hacked.com guys are awesome and must attend every conference that we attend. hevnsnt and surbo, you guys rule (With your big fancy suite and free breakfasts)

* More Hack Naked T-Shirts will need to be printed and made available. We will need to bring way more to conferences as well, they were a huge hit! (And print more sizes, like XL and XXL, and more colors like red and purple)

cactus.jpg

* Always tell Paul who you are introducing him to, because he will FAIL, and miss the chance to meet my hero Brad "RBCP" Carter of PLA Radio! Missing my chance to meet Brad was the biggest disappointment on the con for me, keep up the great work! CACTUS 4EVA!

* Hack Naked stickers will also need to be printed in more quantities, as they are now ALL GONE!

* Being "passionate" about making feature requests for vendor products is okay, as long as you buy some of the drinks and laugh about it the next day.

* Playing poker with hackers is fun, and so is going "all in" when there is only $10 at stake.

* The Shmooball cannon is a huge success, and you should always bring spare parts and extra air tanks. Inspiration from the other designs means bigger and better things in the future. The 2009 cannon has already appeared on Hack-A-Day (Thanks Eliot!)

shmoocannon.jpg

* Running out of air when you are supposed to give a demo of the Shmooball cannon during your talk really sucks, but having awesome support staff to get one in a hurry rules.

* A 24 port mixer works better for the podcaster meet up than sharing microphones

* Recording audio at conferences is so easy with the new Marantz recorder, I really love this device

* BT4 beta was released at the conference, and it was great to meet muts in person (who worked his butt off gett copies of BT4 beta to conference attendees, go BT4 team, go!

* You can install BT4 beta onto a hard drive just as you would BT3, use the same instructions. Also, there is BT4 blog

* Jay "MF" Beale is not only a dancing maniac, but moves fast and can be tough to pelt with a Shmooball

* It felt good to hit Jay with a Shmooball for not releasing the milddler for quite some time

* MITM tools need to make a comeback and be extended, happy that Jay released "The Middler" on USB tokens during his talk ( I caught one too!)

* They actually make Brawndo - The Thirst Mutilator (Idiocracy), it tastes, well, pretty bad, makes you pretty wired, you end up more thirsty than before, and it comes out the exact same color as it goes in which is just weird

* Meeting a bunch of cool security people at a con makes you want to go to all the other cons that they are putting on, such as Notacon, and Dojosec.

* Everyone should "hack charities"

shmoobus.jpg

* Driving to Shmoo on the Jack Daniel Shmoo bus was an experience according to passengers, thanks to the Shmoobus for bringing a bunch of our friends from Boston and providing gear transportation

Podcast and exclusive interviews to follow, so stay tuned!

Paul Asadoorian & Larry Pesce

We won't be recording at our usual time this week. We'll be in transit to Shmoocon! This means we'll be brining it to you live from the conference.

The live stream should be active about 7:45 EST, Saturday, February 7th. We should begin recording the live show at about 8:00 EST. Please keep in mind that these times are all estimates, but we will try to do the best that we can. Unfortunately this weeks stream all depends on the availability of reliable, secure internet access. We'll make every reasonable attempt to get you the usual live content.

Don't forget to join in on the IRC channel during the stream - we can take live comments and discussion from the channel! Find us on IRC at irc.freenode.net #pauldotcom.

When active, the live stream(s) can be found at:

Ustream: PaulDotCom UStream Channel

Icecast: PaulDotCom Radio

Please join us, and thanks for listening!

- Larry, Paul & John

shmoocode.jpg

PaulDotCom Security Weekly - Episode 138 - January 30, 2009

|

Paul and Larry talk security!

  • Sponsored by Core Security, listen for the new customer discount code at the end of the show
  • Sponsored by Tenable Network Security, creators of Nessus and makers of the Tenable Security Center, software that extends the power of Nessus through sophisticated reporting, remediation workflow, IDS event correlation and much more.
  • Want to register for any SANS conference? Please visit http://www.pauldotcom.com/sans/ for our referral program
  • Be sure to check out "Maltego" from Paterva, try the community edition for free!
  • Don't forget to sign up for our Mailing List, Forums, and log into our IRC Channel!
  • Full Show Notes
  • pauldotcom-evil2.png

Hosts: Larry "HaxorTheMatrix" Pesce, Paul "PaulDotCom" Asadoorian, John Strand

Email: psw@pauldotcom.com

Direct Audio Download

Audio Feeds: