Skip to Content
Unauthorised Access: Physical Penetration Testing For IT Security Teams
book

Unauthorised Access: Physical Penetration Testing For IT Security Teams

by Wil Allsopp
September 2009
Intermediate to advanced
307 pages
7h 46m
English
Wiley
Content preview from Unauthorised Access: Physical Penetration Testing For IT Security Teams

7.3. Cracking Encryption

Clearly, compromising wireless networks is a little trickier than simply moving into range and connecting, regardless of how powerful your antenna may be. There are a number of security mechanisms that can be deployed to keep intruders out. Some of them are more effective than others. In this section, I analyze those commonly deployed and discuss tactics for circumnavigating them.

7.3.1. Cracking WEP Shared Key Encryption

First of all you will need to boot your laptop into the BackTrack environment using the CD-ROM or USB drive you prepared earlier. If you're using the Alfa adapter, it requires no further configuration. However if you're using an Atheros-based card or the very popular Intel 3945 internal PCI chipset, you need to set them up.

7.3.1.1. Setting Up Atheros

To set up Atheros, execute the following commands from the terminal prompt:

# ifconfig ath0 down
# wlanconfig ath0 destroy
# wlanconfig ath0 create wlandev WiFi0 wlanmode monitor# ifconfig ath0 up

The Atheros card is now in monitor mode and ready to start cracking.

7.3.1.2. Setting Up Intel

The Intel card is a little different as we have to change to a driver capable of packet injection. Execute the following commands from the terminal prompt:

# ifconfig wlan0 down
# modprobe -r iwl3945
# modprobe ipwraw
# ifconfig WiFi0 up

The Intel card is now in monitor mode and ready to start cracking. Note that its identifier has changed from wlan0 to WiFi0. You can check which interfaces on your ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Penetration Testing and Network Defense

Penetration Testing and Network Defense

Andrew Whitaker, Daniel P. Newman

Publisher Resources

ISBN: 9780470747612Purchase book