« Home | שינוי למשתמשי הכבלים , HOT מבטלת את החייגנים » | הגבלה במקום חסימה ,P2P ברשת הארגונית. » | מחשבות לגבי OpenID » | פתיחת הiPhone גרסה 1.1.2 לרשת Cellcom וגם 1.1.3 » | נשברתי ... iPhone. » | מהי התקפת Buffer Overflow ? » | נבואה ראשונה מתקיימת השנה - Facebook Attack » | לסרוק ולא לנקות - Online AV Scanners » | שנה טובה , ברוכה הבאה 2008 » | השינויים שבוצעו לקראת 2008 בבלוג - חלק א »

Wireless Under Linux : Monitor Mode

As some of you may already know , one of my biggest and oldest hobbies is linux.

As such , the first thing i will try with almost any computer \ laptop \ device i get - is to try a linux distro on it , and test it for playfulness . but most of the times , these computers are not mine , so its kind of helping guys out on the way.

This past week , ive been asked with a question by a collegue of mine , and that is actually a question that i get alot regarding wireless hacking with a linux box. the question is "how do i set my wifi card to Promiscuous Mode ?" which is something many new guys on a linux platform find hard to achive. and it is a very important knowledge for anyone in the Pentesting field , or if its a "hobbie".

The reason for that is preety simple... when you want to use your card for packet injection , and sniffing - you need to put it on a passive mode. this moe is called "Monitor-Mode" when refering to linux. after you do that - you can usually fire up any wireless hacking \ sniffing program that you want.

The problem is that on some cases , trying to set up the card to Monitor Mode by issuing the command : iwconfig ath0 mode Monitor , will result in an "Invalid Input" or a "Set Mode (8B06)" message on your screen. and any attempt to change that will not be succesful, even if you use patched drivers ( like MadWifi ) and such.

The solution to that is quite simple actually. use the wlanconfig tool.

In order to change the card's mode to the desired one , first of all - put it to sleep by issuing the command ifconfig ath0 down ( ath0 stands for the interface's name ). then use the wlanconfig tool by issuing the following commands :

wlanconfig ath0 destroy
wlanconfig ath0 create wlandev wifi0 wlanmode monitor
ifconfig ath0 up

Thats it. your card is now in Monitor Mode.

In order to put the card to the original state , repeat this sequence of commands, but instead of choosing the wlanmode monitor , choose wlanmode managed.

Hope this short guide was helpful.

Labels: , , ,

Syndication : Digg It  Add to Technorati Favorites  Stumble It  Worth Reading 

I was surfing the internet when I found your website. Your website is very good! I must read more on your web site as soon as I can get time.

Best wishes, David.

Can anyone recommend the top Remote Desktop software for a small IT service company like mine? Does anyone use Kaseya.com or GFI.com? How do they compare to these guys I found recently: N-able N-central inventory management
? What is your best take in cost vs performance among those three? I need a good advice please... Thanks in advance!

Post a Comment

אודות

    שמי בארי שטיימן, זהו הבלוג שלי שעוסק בתחום אבטחת מידע ועל טכנולוגיה ומדע בכלל.

תגיות וקטגוריות

רשימת דיוור וRSS

עדכון שוטף
Add to Technorati Favorites