Hacking into WiFi using OS X!
Solution 1
have a stickybeak at a program called Kismac
Works well for WEP encryption, and can support packet injection depending on your wireless chipset.
Solution 2
You can use the Aircrack suite on mac through darwinports. (or indeed, as mentioned, backtrack has it installed)
WEP, even without packet injection, is cracked trivially in a matter of minutes to hours on a busy network.
WPA is more difficult. What you have to do is capture a four-way handshake, and then mount an offline attack against the key. If you're lucky, you'll not even need packet injection (just wait till someone connects) A simple PSK system is pretty insecure if the key is simple (for example dictionary words, etc...) but mounts in difficulty with the length and complexity of the key. You can use John The Ripper for some serious dictionary attack on the key. If the key is something like AFK121AJSU2832
the only way you'll find is is an exhaustive key search. ie: out of luck.
If you're using some sort of authentication scheme besides PSK, I have no idea! :-)
I might be talking through my rear end, though. Have a look at the Aircrack wiki for more from people who actually know what they're talking about.
Solution 3
If you have OS X Lion or Mountain Lion then Kismac will have an error because Apple deprecated half of their CoreWLAN framework. I developed an OS X GUI for Aircrack-NG to hack Wi-Fi networks, it works well with WEP. It's OS X 10.7+ since Kismac works fine in Snow Leopard.
Solution 4
There is a special linux distribution dedicated to WIFI hacking :
http://en.wikipedia.org/wiki/BackTrack
It can be found in form of a live CD, so you can run it on you Mac without install anything !
Solution 5
The Airport cards don't support packet injection, so it doesn't work well without a USB wireless dongle.
Related videos on Youtube
Siddharth Gaur
Updated on September 17, 2022Comments
-
Siddharth Gaur over 1 year
I want to do the following -
#starting code sleep(1000); #remaining code
The starting code would run and get stuck at 'sleep'. After some time (<<1000), some other process would wake up this process by breaking this sleep(probably by sending a signal) and the rest of the program would run.
I have to use perl 5.6.1 on Windows, and it doesn't support alarm. I tried some signals like SIGINT, SIGFPE etc. but failed. Please suggest some alternative.
-
Admin about 12 yearsTwo things: 1. Upgrade your version of Perl. 2. Use threads.
-
Siddharth Gaur about 12 years@JackManey I would surely have done that but there are some constraints.
-
Admin about 12 years
-
pilcrow about 12 yearsWhat do you mean that you tried SIGINT, SIGFPE "but failed." Failed how?
-
Siddharth Gaur about 12 years@jackmaney,@pilcrow: I think you still haven't read the question completely .......I HAVE to use v5.6.1..... and my comment ....constraints..... from which anyone can deduce that there is something I am using which is dependent on v5.6.1. I said - the use of signals failed and I want some alternative - means that I expect you to answer only if you know some way other than SIGNALS. Perhaps you should spend more time thinking of a solution than commenting or downvoting some post.
-
Dave Cross about 12 yearsNo-one has to use Perl 5.6.1. If you're working somewhere that insists on using a version of Perl that is over ten years old then get a new job.
-
Admin about 12 yearsNo, you don't have to use Perl 5.6.1. Click on the links in my previous comment. And I'll comment and downvote whenever I wish.
-
-
alexus over 14 yearsyeah, I remember that software long time ago, do you know if it works with mac? i.e. existing hardware of my mac?
-
Kami over 14 yearsSo far I can remember it works with apple hardware but you need to record a huge amount of traffic in order to crack the wireless key. There are better wireless chipsets than the ones from apple computer that can use packet injection to generate traffic so it will take less time to collect the data.
-
JT.WK over 14 yearsThis all depends on the key, and the amount of network traffic. I have managed to crack heaps of wep networks within 5 minutes without injection (airport extreme).
-
TSG over 14 yearsIt depends on the encryption used.... for example... WEP can be cracked very quickly.
-
Kami over 14 yearsYes but you have to collect packets to do that. And if there are not a lot of traffic on the attacked wifi it will take some time ..
-
Siddharth Gaur about 12 yearsI tried exactly the same thing a couple of days ago, it worked fine in v5.14 but not in v5.6. Anyway thanks.
-
Admin about 12 years@SiddharthGaur - "Didn't work" is not a built-in error message in any version of Perl.
-
ikegami about 12 years@Siddharth Gaur, You are mistaken about the exactness of your effort.
time
, addition and subtraction worked equally well in 5.6 as in 5.14. -
ikegami about 12 years@Siddharth Gaur, I didn't use
alarm
. I specifically showed you how not to usealarm
.