Sponsored By:

www.coresecurity.com


www.tenablesecurity.com


www.cenzic.com


http://twitter.com/pauldotcom


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


www.youtube.com/pauldotcom




July 2, 2009

Podcast hijinks at 7 - SecuraBit, DECT, and Kon-bots, oh my!

The insanity stream should begin around 18:45 EDT (6:45 PM Eastern), Thursday, July 2nd. We should begin recording the live show around 19:00 EDT. Please keep in mind that these times are estimates.

Our guests this Episode are the SecuraBit folks, who will discuss current security events alongside the PDC crew, with Technical Segments by Larry "sniff" Pesce on "Sniffing DECT for fun and Penetration Testing" and Mick "Hella" Douglas on "Kon-Boot".

konhappy.gif

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, enjoy the show live, and thanks for listening!

- Larry, Mick, John, & Carlos.

June 30, 2009

Backtrack 4 Pre-Release with persistence on an SD card

How to create a persistent install for BackTrack 4 Pre-release (via the Informer) on an SD card (or USB thumb drive)

I was excited to be able to use the new pre-release version of Backtrack 4, as I love to use it on my Asus EEE 1000HA. When it was released I was eager to make it work, booting off of an SD card in the EEE so that I would not have to mess with additional USB thumb drives (they stick out of the laptop, and the SD card is internal). During the process, I was happy to discover that both the internal wireless and bluetooth adapters are now supported. The wireless card even appears to support injection!

backtrack-4-beta.png

I'll be tailoring this to use on an SD card, but the steps are exactly the same as a USB thumb drive.

Thank you to the Offensive Security folks who put together LINK this video, as this guide is based on it exactly. I wanted to put it down in text as it isn't always that easy to print out video, or view when you don't have internet access (such as on a plane...), where I initially wanted to accomplish this.

Additionally, this is a signifiant departure from the previous methods for creating a persistent install. This will not work for the BT4 beta versions.

Let's get started.

Two things that you will need:

4GB_SD_CARD.jpg

  • The Backtrack 4 Pre-release ISO, booted on a machine with an SD card reader
  • An SD Card 4 gigs or larger (or USB thumb drive 4 gigs or larger) that we can completely wipe. This is a destructive method, as we need to create a few partitions.

After Booting in to BT4, and insert your SD card. Issue the command "dmesg". At the very bottom of the output, we should be able to identify the plug in of our SD card, and the device to which it was assigned. Mine happened to be /dev/sdc, so that's how the rest of the instructions will progress. Replace /dev/sdc with your assignment from the output of dmesg.

Now, as root (the default user for BT4), we need to fdisk our SD Card. BE CAREFUL, as selecting the wrong drive here can potentially hose your system. That's why I like doing this from within a VM. Start fdisk with the appropriate drive:

# fdisk /dev/sdc

Within the fdisk utility, print the existing partition table with "p". If there are existing partitions, delete them with "d", and select the appropriate partition, and repeat until they are all gone. You can reverify by reprinting the partition table with "p".

We now need to create two new partitions with in fdisk. For the first partition enter "n" for a new partition, "p" for primary partiton, "1" for first. Use a size of "+1500M" for 1.5 Gig. For the second partition, "n" for a new partition, "p" for primary partition, 2 for second. You can accept the default for size, or at a minimum of 1.5 Gig with "+1500M"

Activate (set as bootable) the first partition with "a", and select partition 1. Assign a type to partition 1 by issuing "t", select partition 1, and use the code of "b" to identify it as W95 FAT32

Verify the new partition table by issuing a "p" with in fdisk. If all looks OK, write it to disk (and exit) with "w"

Ok, you can breathe again. The dangerous part is done.

In order to use our new partitions, we need to format them. The first partition (/dev/sdc1) will be vfat, and the second (/dev/sdc2) will be ext3. We can format them with the following commands:

# mkfs.vfat -F 32 -n BT4 /dev/sdb1
# mkfs.ext3 -b 4096 -L casper-rw /dev/sdb2

The mkfs.ext3 command will take some time, so be patient.

Before we can begin copying over the files, we need to mount the forst partition after creating a directory to mount it to. We accomplish that with:

# mkdir /mnt/sdc1
# mount /dev/sdc1 /mnt/sdc1

Copy away! We're going to copy the contents of our current, booted BT4 enviroment to the new partition on the SD card:

# rsync -avh /media/cdrom/ /mnt/sdc1

Again, this one will take some time, so be patient. Also, note that the extra "/" at the end of /media/cdrom/ is important. If you use tab completion to add that directory to the command, it will not be included and the rsync copy will fail.

Let's install the grub bootloader so that the thumbdrive will actually boot, and know where to fund all of the appropriate files:

# grub-install --no-floppy --root-directory=/mnt/sdc1 /dev/sdc

Editing the startup items will make our experience that much better. You can use your favorite text editor here (vi for example), but nano is included on the BT 4 install, so feel free to use that:

# nano /mnt/sdc1/boot/grub/menu.lst 

At the top of the file, change the default boot option to 5 to automatically use the persistent install at boot time if no user interaction is provided. the line should now read as:

default 5

Also, edit the block towards the end of the file with the title of "Start Persistent Live CD". You'll want the kernel line to be updated, and at the at the end add 0x315. This sets the default video mode for boot, and was the highest resolution available on my EEE. For normal installations (such as on non-netbooks), use 0x317. The updated line should be as follows:
the_force.gif

/boot/vmlinuz BOOT=casper boot=casper persistent rw quiet vga=0x315 

Exit nano and save the file to the default location (with ctrl x).

We are almost done! Just unmount the SD card ad reboot:

# umount /mnt/sdc1
# init 6

Enjoy your persistent Backtrack 4 installation on an SD card!

- Larry "haxorthematrix" Pesce

June 28, 2009

PaulDotCom Security Weekly - Episode 157 - June 25 2009

Special guest Valsmith comes to talk to us about Phishing, post exploitation, recon and al sorts of other evil goodies!

DontPanic_1024.jpg

Full Show Notes

Direct Audio Download

Hosts: Larry "HaxorTheMatrix" Pesce, Paul "PaulDotCom" Asadoorian, John Strand, Mick Douglas, Carlos "Dark0perator" Perez

Audio Feeds:

PaulDotCom Security Weekly - Special Edition - PCI Round Table - June 24, 2009

An all out, no holds barred PCI Round Table Featuring all types of industry luminaries, including Anton Chauvakin, Jericho and others. The gloves come off and the debate gets bloody!

ninjamobile.jpg

Direct Audio Download

Hosts: Paul "PaulDotCom" Asadoorian, Carlos "Dark0perator" Perez

Audio Feeds:

June 25, 2009

I See Your Dirty Laundry And Its Okay

Some people get really worried if a complete stranger sees their dirty laundry. In order to hide their "secrets" they will air their dirty laundy in a dark basement. The problem is the laundry is still dirty, kids are sleeping in dirty sheets, all because you are ashamed.

laundry.jpg

An excuse some will use not to have a penetration test is, "Our data is too sensitive for you to ever have access to, so you just need to do an audit". Even better, "Our systems cannot go down, so just do a portscan". Wow, this is just an amazing security fail! If you don't trust an outsider, and lets face it, some organizations just can't, then develop an internal pen test team and program. This is not an excuse not to have a penetration test, its a reason to create your own team! In addition to your own team, consider expanding the scope for external testers. This is something that you've heard so many professional penetration testers saying, and its time to start listening and sleeping in clean sheets.

Paul Asadoorian
PaulDotCom Enterprises

June 24, 2009

Podcast tonight at 7:00 PM EDT - Episode 157 - Spearphishing & BackTrack on SD

The stream should be active around 18:45 EDT (6:45 PM Eastern), Thursday, June 25th. We should begin recording the live show around 19:00 EDT. Please keep in mind that these times are estimates.

Our Technical Segment this episode is by Larry 'roll your p0wn' Pesce. Larry will discuss BackTrack3/4 on an SD Card.

Our guest this Episode is Val Smith, who will discuss SpearPhishing Automation and MetaSploit Phishing Frameworks.

spear_monkey.jpeg

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, enjoy the show live, and thanks for listening!

- Larry, Paul, Mick, John, & Carlos

PaulDotCom Security Weekly - Web Application Interviews - June 2009

We are very excited to release two interviews with some of the leaders in the field when it comes to web application testing and vulnerabilities.

w3af.jpg

The first interview is with Andres Riancho, lead developer of w3af, one of the most comprehensive open-source web application testing frameworks. We talk with Andres about breaking up with girlfriends, the differences between w3af and commercial web
application testing packages and much more!

wafw00f.png

The second interview is with Sandro Gauci, founder of Enable Security and the co-author of WafW00f, a suite of tools to test web application firewalls. There is some serious security FAIL going on here, and we get all of the details.

Direct Audio Download

Hosts: Larry "HaxorTheMatrix" Pesce, Paul "PaulDotCom" Asadoorian, Carlos "dark0perator" Perez

Audio Feeds:

June 23, 2009

PaulDotCom Maintenance Notification

Tonight there may be brief outages of the PaulDotCom web site (and the items hosted on it -- the blogs, the wiki, the forums, etc) while we do some housekeeping. These outages and other noticeable things will happen around 10 PM Eastern and should be over by 11 PM Eastern. So if you have some strange error or a timeout -- no worries, it's all according to plan.

Thanks for understanding!

The PDC web goon squad
- Mick & Byte_Bucket

Webcast tomorrow June 24 at 14:00 EDT for LBCAV!

EMAIL.jpg

The June Late-Breaking Computer Attack Vectors webcast this month will be held on:

Wednesday, June 24, 2009 2:00 pm EDT (GMT -04:00, New York)

Register Here For This Webcast

This month Dark0perator will discuss some of the latest attacks, including:

  • Mobile Device Threats
  • Client Side Attacks and Defense
  • Major Virtualization Gotchas
  • P2P Data Leakage

This webcast will run about one hour.

- Carlos "Dak0perator" Perez and The PaulDotCom Crew

June 21, 2009

PaulDotCom Security Weekly - Episode 156 - June 18, 2009

Special guest speaker Rob talking about MiTM and virtualization, live from SANSFIRE!

larryhappycannon.png

Full Show Notes

Direct Audio Download

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

Audio Feeds: