Jumat, 11 November 2011

How to Crack a Wi-Fi Network’s WEP Password with BackTrack

You already know that if you want to lock down your Wi-Fi network, you should opt for WPA encryption because WEP is easy to crack. But did you know how easy? Take a look.
Our old guide to cracking Wi-Fi WEP passwords is a perennial Evil Week favorite. Alternatively, if you're not in a reading mood, check out the video version.
Today we're going to run down, step-by-step, how to crack a Wi-Fi network with WEP security turned on. But first, a word: Knowledge is power, but power doesn't mean you should be a jerk, or do anything illegal. Knowing how to pick a lock doesn't make you a thief. Consider this post educational, or a proof-of-concept intellectual exercise.
Dozens of tutorials on how to crack WEP are already all over the internet using this method. Seriously—Google it. This ain't what you'd call "news." But what is surprising is that someone like me, with minimal networking experience, can get this done with free software and a cheap Wi-Fi adapter. Here's how it goes.
What You'll Need
Unless you're a computer security and networking ninja, chances are you don't have all the tools on hand to get this job done. Here's what you'll need:
§  A compatible wireless adapter—This is the biggest requirement. You'll need a wireless adapter that's capable of packet injection, and chances are the one in your computer is not. After consulting with my friendly neighborhood security expert, I purchased an Alfa AWUS050NH USB adapter, pictured here, and it set me back about $50 on Amazon. Update: Don't do what I did. Get the Alfa AWUS036H, not the US050NH, instead. The guy in this videobelow is using a $12 model he bought on Ebay (and is even selling his router of choice). There are plenty of resources on getting aircrack-compatible adapters out there.
§  A BackTrack 3 Live CD. We already took you on a full screenshot tour of how to install and use BackTrack 3, the Linux Live CD that lets you do all sorts of security testing and tasks. Download yourself a copy of the CD and burn it, or load it up in VMware to get started. (I tried the BackTrack 4 pre-release, and it didn't work as well as BT3. Do yourself a favor and stick with BackTrack 3 for now.)
§  A nearby WEP-enabled Wi-Fi network. The signal should be strong and ideally people are using it, connecting and disconnecting their devices from it. The more use it gets while you collect the data you need to run your crack, the better your chances of success.
§  Patience with the command line. This is an ten-step process that requires typing in long, arcane commands and waiting around for your Wi-Fi card to collect data in order to crack the password. Like the doctor said to the short person, be a little patient.
Crack That WEP
To crack WEP, you'll need to launch Konsole, BackTrack's built-in command line. It's right there on the taskbar in the lower left corner, second button to the right. Now, the commands.
First run the following to get a list of your network interfaces:
airmon-ng
The only one I've got there is labeled ra0. Yours may be different; take note of the label and write it down. From here on in, substitute it in everywhere a command includes (interface).
Now, run the following four commands. See the output that I got for them in the screenshot below.

airmon-ng stop (interface)
ifconfig (interface) down
macchanger --mac 00:11:22:33:44:55 (interface)
airmon-ng start (interface)
If you don't get the same results from these commands as pictured here, most likely your network adapter won't work with this particular crack. If you do, you've successfully "faked" a new MAC address on your network interface, 00:11:22:33:44:55.
Now it's time to pick your network. Run:
airodump-ng (interface)
To see a list of wireless networks around you. When you see the one you want, hit Ctrl+C to stop the list. Highlight the row pertaining to the network of interest, and take note of two things: its BSSID and its channel (in the column labeled CH), as pictured below. Obviously the network you want to crack should have WEP encryption (in the ENC) column, not WPA or anything else.
Like I said, hit Ctrl+C to stop this listing. (I had to do this once or twice to find the network I was looking for.) Once you've got it, highlight the BSSID and copy it to your clipboard for reuse in the upcoming commands.
Now we're going to watch what's going on with that network you chose and capture that information to a file. Run:
airodump-ng -c (channel) -w (file name) --bssid (bssid) (interface)
Where (channel) is your network's channel, and (bssid) is the BSSID you just copied to clipboard. You can use the Shift+Insert key combination to paste it into the command. Enter anything descriptive for (file name). I chose "yoyo," which is the network's name I'm cracking.


You'll get output like what's in the window in the background pictured below. Leave that one be. Open a new Konsole window in the foreground, and enter this command:
aireplay-ng -1 0 -a (bssid) -h 00:11:22:33:44:55 -e (essid) (interface)
Here the ESSID is the access point's SSID name, which in my case is yoyo. What you want to get after this command is the reassuring "Association successful" message with that smiley face.

You're almost there. Now it's time for:
aireplay-ng -3 -b (bssid) -h 00:11:22:33:44:55 (interface)
Here we're creating router traffic to capture more throughput faster to speed up our crack. After a few minutes, that front window will start going crazy with read/write packets. (Also, I was unable to surf the web with the yoyo network on a separate computer while this was going on.) Here's the part where you might have to grab yourself a cup of coffee or take a walk. Basically you want to wait until enough data has been collected to run your crack. Watch the number in the "#Data" column—you want it to go above 10,000. (Pictured below it's only at 854.)
Depending on the power of your network (mine is inexplicably low at -32 in that screenshot, even though the yoyo AP was in the same room as my adapter), this process could take some time. Wait until that #Data goes over 10k, though—because the crack won't work if it doesn't. In fact, you may need more than 10k, though that seems to be a working threshold for many.




Once you've collected enough data, it's the moment of truth. Launch a third Konsole window and run the following to crack that data you've collected:
aircrack-ng -b (bssid) (file name-01.cap)
Here the filename should be whatever you entered above for (file name). You can browse to your Home directory to see it; it's the one with .cap as the extension.
If you didn't get enough data, aircrack will fail and tell you to try again with more. If it succeeds, it will look like this:


The WEP key appears next to "KEY FOUND." Drop the colons and enter it to log onto the network.


Rabu, 09 November 2011

IPV4

Mengenal IP Address versi 4 (IPv4)

01JUN
IP versi 4(IPv4) adalah sebuah jenis pengalamatan jaringan yang digunakan di dalam protokol jaringan TCP/IP dengan protokol IP versi 4. Panjang totalnya adalah 32-bit, dan secara teoritis dapat mengalamati hingga 4 miliar host komputer di seluruh dunia. Contoh alamat IP versi 4 adalah 192.168.0.3. Namun IPv4 ini sudah mulai habis pemakaiannya sehingga tercipta IP versi 6 namun belum begitu dipakai karena IPv4 sendiri belum habis di pakai.
IPv4 terdiri dari 5 kelas, yaitu :
1. Kelas A (1 bit pertama IP Address-nya “0”)
=> Alamat unicast untuk jaringan skala besar. Nomor urut bit tertinggi di dalam alamat IP kelas A selalu diset dengan nilai 0 (nol). Tujuh bit berikutnya—untuk melengkapi oktet pertama—akan membuat sebuah network identifier. 24 bit sisanya (atau tiga oktet terakhir) merepresentasikan host identifier. Ini mengizinkan kelas A memiliki hingga 126 jaringan, dan 16,777,214 host tiap jaringannya. Alamat dengan oktet awal 127 tidak diizinkan, karena digunakan untuk mekanisme Interprocess Communication (IPC) di dalam mesin yang bersangkutan.
2. Kelas B (2 bit pertama IP Address-nya “10”)
=> Alamat unicast untuk jaringan skala menengah hingga skala besar. Dua bit pertama di dalam oktet pertama alamat IP kelas B selalu diset ke bilangan biner 10. 14 bit berikutnya (untuk melengkapi dua oktet pertama), akan membuat sebuah network identifier. 16 bit sisanya (dua oktet terakhir) merepresentasikan host identifier. Kelas B dapat memiliki 16,384 network, dan 65,534 host untuk setiap network-nya.
3. Kelas C (3 bit pertama IP Address-nya “110”)
=> Alamat unicast untuk jaringan skala kecil. Tiga bit pertama di dalam oktet pertama alamat kelas C selalu diset ke nilai biner 110. 21 bit selanjutnya (untuk melengkapi tiga oktet pertama) akan membentuk sebuah network identifier. 8 bit sisanya (sebagai oktet terakhir) akan merepresentasikan host identifier. Ini memungkinkan pembuatan total 2,097,152 buah network, dan 254 host untuk setiap network-nya.
4. Kelas D (4 bit pertama IP Address-nya “1110”)
=> Alamat multicast (bukan alamat unicast). sehingga berbeda dengan tiga kelas di atas. Empat bit pertama di dalam IP kelas D selalu diset ke bilangan biner 1110. 28 bit sisanya digunakan sebagai alamat yang dapat digunakan untuk mengenali host. Untuk lebih jelas mengenal alamat ini, lihat pada bagian Alamat Multicast IPv4.
5. Kelas E (4 bit pertama IP Address-nya “1111”)
=> Umumnya digunakan sebagai alamat percobaan (eksperimen)dan dicadangkan untuk digunakan pada masa depan. Empat bit pertama selalu diset kepada bilangan biner 1111. 28 bit sisanya digunakan sebagai alamat yang dapat digunakan untuk mengenali host.
Aturan dasar dalam menentukan network ID dan host ID yang akan digunakan :
1. Network ID 127.0.0.1 tidak dapat digunakan karena ia secara default digunakan dalam keperluan ‘loop-back’.(‘Loopback’ adalah IP address yang digunakan komputer untuk menunjuk dirinya sendiri).
2. Host ID tidak boleh semua bitnya diset 1 (contoh klas A: 126.255.255.255), karena akan diartikan sebagai alamat broadcast. ID broadcast merupakan alamat yang mewakili seluruh anggota jaringan. Pengiriman paket ke alamat ini akan
menyebabkan paket ini didengarkan oleh seluruh anggota network tersebut.
3. Network ID dan host ID tidak boleh sama dengan 0 (seluruh bit diset 0 seperti 0.0.0.0), karena IP address dengan host ID 0 diartikan sebagai alamat network. Alamat network adalah alamat yang digunakan untuk menunjuk suatu jaringan, dan
tidak menunjukan suatu host.
4. Host ID harus unik dalam suatu network (dalam satu network, tidak boleh ada dua host dengan host ID yang sama).

Selasa, 08 November 2011

Cara Menguatkan atau Penguat Sinyal GPRS, 3G, GSM, CDMA, Modem, Wireless dan Internet

Cara Menguatkan atau Penguat Sinyal GPRS, 3G, GSM, CDMA, Modem, Wireless dan Internet


        Penguat Sinyal GPRS atau Sinyal 3G pada modem atau wireless LAN bagi para pengguna internet yang memakai layanan WireLess mungkin sudah tidak asing lagi. Karena tentunya ada sebagian yang mengalami penangkapan sinyal wireless LAN atau GSM Modem baik Sinyal GPRS atau Sinyal 3G yang kurang kuat. Saya menganggap penangkapan sinyal 1/5 s/d 2/5 bar pada sinyal strength adalah kurang kuat mengingat pengalaman membuktikan bahwa dengan strength 1/5 s/d 2/5 bar koneksi internet sering terputus-putus.
Kita bisa melihatnya pada indikator icon dekstop di pojok kanan bawah. Coba lihat ada gambar komputer kecil di dekat bar-meter yang kadang menyala saat kita browsing internet, download ataupun upload. Cobalah lakukan browsing atau download, amati indikator tersebut dan reaksi display download. Disitu Anda akan melihat bahwa proses browsing, download dan upload akan sangat tergantung pada kondisi indikator tersebut. Nah untuk mengatasi hal tersebut perlu dilakukan cara menguatkan sinyal wireless dan GSM modem baik Sinyal GPRS maupun Sinyal 3G.

Biasanya untuk penangkapan sinyal yang hanya 1/5 bar atau 2/5 bar akan mengakibatkan indikator sering mati dan pada saat itu proses browsing ataupun download akan berhenti. Pada saat itu yang terjadi adalah Modem/wireless melakukan tracking ulang Sinyal. Hal itu dikarenakan kurang kuatnya sinyal tangkapan dari BTS atau Hotspot. Nah… untuk itu berikut Tip aman untuk menguatkan sinyal GSM Modem baik itu Sinyal GPRS, Sinyal 3G ataupun Sinyal Wireless LAN

Ada 3 cara untuk Menguatkan Sinyal GSM Modem dan Wireless LAN yaitu :
Mau tahu berapa Kecepatan Internet Anda ? Gunakan Software Praktis Speedtest Internet. Dengan software ini Anda dapat melakukan Tes Kecepatan Koneksi Internet dengan Server manapun secara Akurat.
Software Speedtest Internet

http://oprekzoneimage.files.wordpress.com/2011/06/tool-download1.jpg
Menggunakan 
Antena Luar
dengan menggunakan sistem induksi dimana kabel dari antena yang menuju ke Device (Modem/Wireless-LAN) tidak terhubung secara langsung dengan Device, melainkan pada ujung kabel dipasang semacam plat atau kumparan induksi/lilitan kawat berdiameter 1mm dengan diameter kumparan menyesuaikan bentuk modem (biasanya terbuat dari kawat berisolasi). Selanjutnya Device dimasukkan kedalam kumparan tadi. Dengan demikian diharapkan ada induksi elektromagnetik dari sinyal yang diterima dari antena menuju Device dan sebaliknya. Cara ini cukup efektif dan aman untuk Menguatkan Sinyal GPRS atau Sinyal 3G atau wireless LAN meskipun dengan sistem induksi ini, energi sinyal dari modem atau sebaliknya dari antena-kabel-ke modem tidak semuanya tercover alias ada energi yang hilang/losses. Cara ini bisa menaikkan sinyal cukup signifikan. Saya pernah mencoba bisa naik dari 2 bar menjadi full bar (5 bar). Kekurangan dari sistem induksi ini pada beberapa kasus (modem) biasanya Device cepat panas disebabkan terjadi VSWR pada modem akibat adanya benda logam/kumparan yang menyelubungi antena internal Device tersebut. Namun kekurangan tersebut biasanya masih bisa ditolelir dan pada beberapa pemakaian dapat dikompensasi dengan pemasangan kipas pendingin modem.

dengan konektor terhubung pada internet modem/wireless. Cara ini seperti kita memasang antena TV dimana ada konektor dari kabel antena yang harus dihubungkan ke TV. Cara ini aman dan dapat Menguatkan Sinyal GPRS atau Sinyal 3G dengan sangat signifikan tetapi dengan syarat-syarat, Pertama, Antena harus sesuai dengan frekuensi kerja Device dan Impedansi Device. Karena apabila tidak ada kesesuaian maka sinyal bisa2 malah drop dan terjadi VSWR tinggi di dalam Device sehingga device cepat panas dan bisa berakibat kerusakan. Kedua, Device harus memiliki soket untuk antena luar. Masalahnya tidak semua Modem internet memiliki fasilitas tersebut apalagi USB Wireless Internet LAN. Ketiga, harga sebuah antena eksternal yang bagus sangatlah mahal. Bahkan mungkin lebih mahal dari Internet Modem/Wireless LANnya.

atau perpanjangan USB, Cara ini merupakan cara paling aman dan murah untuk Menguatkan Sinyal GPRS atau Sinyal 3G meskipun harus sedikit ribet. Pada cara ini Internet Modem/ Wereless LAN diletakkan pada tempat yang bebas atau sesedikit mungkin halangan antara modem internet dengan BTS atau Hotspot atau kalau bisa bebas hambatan/halangan artinya kalau modem dan BTS itu punya mata maka bisa saling melihat. Ini tentunya Device harus ditempatkan di ketinggian. Kita bisa Membuat Extender USB dengan kabel UTP yang biasa digunakan untuk jaringan internet di Warnet dan menempatkan modem/wireless kita di atas rumah kita atau cukup tepat dibawah genteng rumah.
Selain untuk Menguatkan Sinyal GPRS, Sinyal 3G dan Sinyal Wireless LAN, cara-cara tersebut juga dapat digunakan untuk menguatkan Sinyal CDMA.