break
Jul 29

Today I Was Just thinking to make an Tutorial ,Then I got in my Mind to make a Video Tutorial on

SpoonWEP this tool is in BackTrack 3 and It Cracks WEP key in Few Clicks ,then i thaught this will help for  Noobs ,who are unable to Crack WEP,

SpoonWEP for Noobs

This Video tutorial shows How to Decrypt WEP using SpoonWEP tool in BT3
Thanks to Shamanvirtuel who created This Tool .

Note: we will be doing client less Attack using Fragmentation Attack Technique

1)  Make sure that ur Wifi card is in Monitor Mode
if u dont how to do this see below

wlanconfig ath0 create wlandev wifi0 wlanmode monitor

2) airodump-ng ath0

3) Choose the AccessPoint(AP) u want to Decrypt WEP and Remember the Channel

4) Then copy the AP MAC address

5) Then Run SpoonWEP tool

6)In Victim MAC Paste the AP MAC Address.

7)Choose ur Network Card & my Interface is ATH0

8)Set the AP Channel Number

9) Set the Injection rate to maxium

10)Use  Fragmentation and Forge Attack

11)Use 128 Bits key Length

12)Click launch wait for few Minutes u have Decrypted 128 Bit WEP key

done WEP key found Enjoy

Below is the link for my video tutorial,

http://blip.tv/file/1125918

U can also download this tutorial

http://blip.tv/file/get/WirelessPunter-SpoonWEPForNoobs178.flv

Tutorial by
WirelessPunter
www.thewifihack.com

Jul 24

WEP Rundown
by intimidat0r
Part I: About WEP

WEP stands for Wired Equivalent Privacy. It is the standard for wireless encryption thus far. Many people dont even use WEP because they think security unnecessary, cant be bothered, or think WEP is pointless, since it can be cracked, though it typically takes a very long time to get enough data to pull a WEP key, especially a very large one.

WEP is comprised of a secret key and an encryption. The secret key, shared between the access point and everybody on the wireless network, consists of 5 or 13 characters. It is used by the encryption process to obfuscate the packets exchanged throughout the WLAN, or Wireless Local Area Network. The packets are all uniquely scrambled, so if someone cracks one packets key, they wont be able to view the others without cracking theirs as well.

This is done by using the secret key in conjunction with three more characters (the Initialization Vector, or IV) that are randomly chosen by the wireless hardware. For example, if your key were “hello”, it may create “abchello” for one packet, and “xyzhello” for another.

WEP also uses XOR, or Exclusive OR, for encryption. XOR compares two bits and, if theyre different, it returns a 1. Otherwise, it returns a 0. For example, 1 XOR 1 would be 0, and 1 XOR 0 would be 1.

Arrays are a word every programmer should have in their arsenal. Arrays are variables that can hold multiple values. For example, the array alphabet[26] would hold 26 values, labeled 0 through 25.

alphabet[0] = ‘A’;
alphabet[1] = ‘B’;

void swap(char &first, char &second)
{
char temp = first;
first = second;
second = temp;
}

swap(alphabet[0], alphabet[1]);

If the array values were swapped randomely many times, it would be impossible to tell which array element holds which value.

The actual algorithm used by WEP to encrypt the packets is RC4. RC4 consists of two steps: the Key Scheduling Algorithm and the Pseudo Random Generation Algorithm. The first part, the Key Scheduling Algorithm, or KSA, looks like this in C code, assuming k[] is an array of the secret keys:

int n = 256;
char s[n];
// initialization
for (int i = 0; i <= (n – 1); i++)
s[i] = i;
int j = 0;
// scrambling
for (int l = 0; l <= (n – 1); l++)
{
j += s[l] + k[l];
swap(s[l], s[j]);
}

Let’s go over this code, so we understand what it does:

1. The integer ‘n’ determines how strong the encryption is. WEP uses 256.
2. The array of characters ‘k’ is the secret key combined with the three pseudo characters. It is not changed at all in our program.
3. The initialization stage begins where the ‘// initialization’ comment is, obviously. It just seeds the array ’s’ with values 0-255, corresponding to the element they’re inserted into.
4. The integer ‘j’ is used to hold the value during scrambling. It is initialized to 0 because it must always start on 0.
5. Next, (where the ‘// scrambling’ comment is) the scrambling process begins. It basically creates the “random” ’s’ array from the previously boring ’s’ array.
6. Inside the loop, the first part merges their key (k) with the random array (s) to create a finalized character. Then, the call to swap() puts it into the array of finalized characters.

Now it’s time for the second part of the RC4 algorithm, the Pseudo Random Generation Algorithm (PRGA). This part outputs a streaming key based on the KSA’s pseudo-random array. This streaming key will then be merged with the cleartext data to create the encrypted data.

int i = 0;
int j = 0;
int z;
while (there_is_data_to_be_encrypted)
{
i++;
j += s[i];
swap(s[i], s[j]);
z = s[s[i] + s[j]];
// z is outputted here
// and then XOR’d with cleartext
}

1. The integers ‘i’ and ‘j’ are declared and initialized to 0.
2. There is a loop that runs until the end of the packet of data is reached.
3. ‘i’ is incremented in every iteration of the loop to keep it running.
4. ‘j’ holds the pseudo-random number.
5. Another call to swap() switches the characters in s[i] and s[j].
6. ‘z’ is calculated by adding s[i] and s[j] and taking the value in the element corresponding to their sum. The reason for this will be explained why later on.
7. ‘z’ is XOR’d in with the cleartext to create the new encrypted text.

CRC stands for Cyclic Redundancy Checksum. When packets are sent across the network, there has to be a way for the receiving host to know the packet has not been damaged in any way. This is the CRC’s purpose. Before the data is sent, CRC calculates a value, or checksum, for the packet, which is sent with the packet. When it is received, the target host calculates a new checksum from it using CRC. If the CRCs match, the packet’s credibility has been confirmed.

So let’s summarize. The Access Point creates the pseudo-random characters. They are merged with the prechosen shared key to create the secret key. The KSA then uses this key to create the pseudo-random array, which is used by the PRGA to create a streaming key. This key is then XOR’d with the cleartext to create the encrypted data, and the CRC jumps in and creates a checksum for it.

Then, the receiving host decrypts it. The characters appended on by the AP are removed and merged with the shared key to recreate the secret key. The secret key goes through the whole RC4 process, and is XOR’d with the encrypted text, creating the cleartext and checksum. The checksum is removed and another is created. They are then compared to see if the data survived, and the user is authentic.
Part II: Cracking WEP

Before we get into cracking WEP, let’s cover a few more flaws in the encryption process:

* There is a 5% chance that the values in s[0]-s[3] will not be changed after the first three iterations by the KSA.
* The first value in the encrypted data is the SNAP, which is 0xAA, or 170 base 10. Sniffing the first byte of encrypted text and XOR-ing it with 170 will give the first output byte of the PRGA.
* A certain format of the bytes given by the AP will indicate that it is weak and subject to cracking. The format is (B + 3, 255, X), where B is the first byte of the secret key. X can be any value.

We’re going to talk about the KSA now. Let’s define some variables for a “testing environment”:

* The captured character code from the AP is 3,255,7. We sniffed it out of the air. We will be using it because testing has shown it is a very weak code.
* The shared password is 22222. We are just telling you this so you will understand the process. In practice, you would not know this.
* N is 256, of course.
* If there is a value above 256, a modulo operation will be performed on it. The resulting value will be used.
* The array ’s’ has already been seeded, with values 0-255.

Open up the program Kismet. Kismet is a free wireless scanner for Linux. When you open it, you will see a list of WLANs that are in range. Choose one and make a note of these four details (note that the target computer can be any host on the WLAN):

* AP MAC address
* Target computer’s MAC address
* WEP Key used
* Wi-Fi channel used

Open up Aircrack and it will start capturing packets. You’ll also notice that it’s capturing IVs. But this takes a long time. It could even take several hours or days to capture a sufficient number of IVs to crack the WEP key.

Luckily, we can speed things up. For example, if the WLAN were very busy, there would be more traffic, resulting in more IVs being captured. If we were to continuously ping the network, it would result in more traffic, and speed things up nicely:

ping -t -l 50000 ip_address

So what to do now? We have a bit of data, but we have to get a WEP key here. It’s time to break out void11. void11 forces the AP to deauthenticate all of the hosts attached to it, virtually cutting off all of the hosts. The first thing they will automaticall do is try to reconnect to the AP. This generates an extreme amount of traffic, though it’s not very subtle.

Yet another technique is called a replay attack. This captures a packet from a host on the WLAN, and then spoofs the host and continues to replay the packet over and over again. This generates a very large amount of traffic. A good program for this is airreplay. This is what void11 was for. If you run airreplay right after stopping void11, airreplay will pickup the necessary packets caused by the deauth attack from void11.

Open up airodump. Now, thanks to the replay attack, the IV count has risen to about 200 per second. Wow! You’ll probably get all the necessary packets within 10 minutes. All of these IVs are being written out into a capture file. Open up aircrack. It will read in all the IVs from the capture file, and perform a statistical analysis on them. Then, it will attempt to brute force its way in. Once it has found the key, it will tell you.
Part III: Protect Your WLAN

The first thing you should do is change your default SSID and password. This is obvious, but it’s surprising how many people neglect to do it.

You’re also going to want to upgrade the AP’s firmware as often as possible. If you want good security, switch from WEP to WPA or WPA2. These are uncrackable…so far. Disable SSID broadcast. This will stop a NetStumbler scan, and some other lowly programs, though Kismet and AirMagnet don’t rely on SSID broadcast.

Another good option is MAC address filtering. This allows you to setup a filter, only allowing computers with certain MAC addresses in, or denying certain MAC addresses.

Jul 16

The name of this hacker is Abdul-Rahman Mahaini, he is 26 years old and he lives in Damascus, Syria. According to him, he has so far cracked software programs worth millions of dollars and he will continue to do so, no matter how difficult it is to crack a certain program. He says that he does not do this for the hacking thrill, but because of the software sales restrictions imposed on Syria by the US. It all boils down to the fact that, since you cannot buy it, you can always hack it.

Abdul-Rahman Mahaini is not easily deterred by the complexity of a program or the measures employed to make cracking it more difficult. As long as you can get hold of him, he will be more than happy to hack into any software program you’ll give him. The thing is that Abdul follows a strict ethical guide and he will not go against it; so you might as well forget about asking him to break into someone’s e-mail or bank account. But if you want him to crack GTA IV, he will do it for as little as $2.

Hackers such as Abdul are seen as the modern version of Robin Hood in Syria, because it is practically impossible for US software developers to sell their products there. The only viable means of getting hold of much needed software is through the aid of hackers. “If you try to deprive me, I will take it from you,” says Abdul as cited by the LA Times.

According to Abdul, there is a key difference between a hacker and a cracker: “Crackers destroy. Hackers create. When you’re a professional hacker, you are a distinguished type of person. There’s something sacred in the world of hackers.”

Of course, there are some who approach the current situation in Syria from a political point of view. Samir Hamade, information science teacher with the Kuwait University comments: “This is the way they’re fighting back against American aggression. They say a lot of companies are giving money to Israel, so it’s even better to use pirated software than licensed software since you’re taking money

from Israel.”

syrian hacker“>

Jul 10

I’ve seen a couple of articles like this on common Chinese hacker tools and finally decided to post one. The author points out that these are not the most sophisticated hacking tools in the world but when used correctly, can still be quite effective:

(Warning: I am not very good at tech xlations but will do my best. When possible, I will link to English articles explaining the tools. Hopefully, Jumper will fix, correct, delete if I’m too far off.)

1. Glacier – A [Remote Access] Trojan that opens up a backdoor program that, once installed on a system, permits unauthorized users to remotely perform a variety of operations, such as changing the registry, executing commands, starting services, listing files, and uploading or downloading files. Glacier typically runs from the server files.

2. WnukeUses a loophole in the Windows operating system to transmit information over TCP/IP causing an OOB error and collapse of the system. Win-nuke or wnuke is a denial of service program that used to work on Windows 95-2000 systems.

3. Shed - Software that uses the NetBIOS protocols to attack Windows.

4. SuperscanSuperScan is a powerful TCP port scanner, that includes a variety of additional networking tools like ping, traceroute, HTTP HEAD, WHOIS and more. It uses multi-threaded and asynchronous techniques resulting in extremely fast and versatile scanning. You can perform ping scans and port scans using any IP range or specify a text file to extract addresses from. Other features include TCP SYN scanning, UDP scanning, HTML reports, built-in port description database, Windows host enumeration, banner grabbing and more. [update - changed link to the authors' site, foundstone.com]

5. ExeBindHacktool.Exebind is a tool that is used by hackers to bind several executable files into one distributable package. This tool could be used by hackers to create Trojan horses. Binders are programs that pack a malicious program of any sort in with a legitimate one.  For example, you could take a backdoor like Glacier and bind it with minesweeper or something.  When the victim launches the program, minesweeper starts along with the backdoor.

6. Mailbox TerminatorE-mail bomb that does not allow user to receive or send e-mail. This program creates a denial of service condition by flooding the victim’s mailbox with garbage messages.  These programs (email bombs) aren’t widely used anymore because they are easily countered.

7. Liuguang – Software written by Little Rong (famous Chinese hacker) that allows neophyte hacker to scan POP3、FTP、HTTP、PROXY、FORM、SQL、SMTP、IPC$Content$nbsp for loopholes vulnerabilities. It is also capable of retrieving user passwords through these loopholes. [update]:  Online, remote password guessing programs are widely used by Chinese hackers, especially website defacers.  I’m pretty sure that Liuguang only attempts to guess passwords and does not exploit vulnerabilities.

8. Suxue - Another program written by Little Rong that uses exploits ASP, CGI on free mailboxes, forums, chat rooms to scan for user passwords. It relies on user’s birthdays and easy English passwords, it has a success rate of between 60-70 percent.

WirelessPunter

Jul 6
Here is a Python program to do WiFi channel hopping with an AirPcap adapter.

The program (apc-channel.py) takes 3 options:

–interval sec to set the interval between hops (default is 0.5 sec)
–step increment to specify the size of the channel hop (default is 5)
–quit to prevent the program from displaying each channel hop
The program also serves as an example on how to use the AirPcap dll from a Python program.

I’ve a couple of other AirPcap programs written in Python (like one to monitor probe requests). If there’s enough interest, I’ll clean up the code and publish it. Be aware that you need an AirPcap adapter for all these programs.

link: hxxp://didierstevens.com/files/software/apc-channel_v0_1.zip

H4×0r

Jul 3

Information Orginally from BugTraq

This email came across Full Disclosure and Bugtraq the other day and I marked it to throw up a quick post on the subject just to make people aware of it.

I attempted to test it on my Ubuntu install and came across a few issues (I was missing commands (such as usleep) that prevented it from running), however the Author does note in the email that it is Linux only and may not work on all distros.

Here’s the email:

I’d like to announce the availability of a free security reconnaissance /
firewall bypassing tool called 0trace. This tool enables the user to
perform hop enumeration (”traceroute”) within an established TCP
connection, such as a HTTP or SMTP session. This is opposed to sending
stray packets, as traceroute-type tools usually do.

The important benefit of using an established connection and matching TCP
packets to send a TTL-based probe is that such traffic is happily allowed
through by many stateful firewalls and other defenses without further
inspection (since it is related to an entry in the connection table).

I’m not aware of any public implementations of this technique, even though
the concept itself is making rounds since 2000 or so; because of this, I
thought it might be a good idea to give it a try.

[ Of course, I might be wrong, but Google seems to agree with my
assessment. A related use of this idea is 'firewalk' by Schiffman and
Goldsmith, a tool to probe firewall ACLs; another utility called
'tcptraceroute' by Michael C. Toren implements TCP SYN probes, but since
the tool does not ride an existing connection, it is less likely to
succeed (sometimes a handshake must be completed with the NAT device
before any traffic is forwarded). ]

A good example of the difference is www.ebay.com (66.135.192.124) – a
regular UDP/ICMP traceroute and tcptraceroute both end like this:

14 as-0-0.bbr1.SanJose1.Level3.net (64.159.1.133) …
15 ae-12-53.car2.SanJose1.Level3.net (4.68.123.80) …
16 * * *
17 * * *
18 * * *

Let’s do the same using 0trace: we first manually telnet to 66.135.192.124
to port 80, then execute: ‘./0trace.sh eth0 66.135.192.124′, and finally
enter ‘GET / HTTP/1.0′ (followed by a single, not two newlines) to solicit
some client-server traffic but keep the session alive for the couple of
seconds 0trace needs to complete the probe.

The output is as follows:

10 80.91.249.14
11 213.248.65.210
12 213.248.83.66
13 4.68.110.81
14 4.68.97.33
15 64.159.1.130
16 4.68.123.48
17 166.90.140.134 < —
18 10.6.1.166 < — new data
19 10.6.1.70 < —
Target reached.

The last three lines reveal firewalled infrastructure, including private
addresses used on the inside of the company. This is obviously an
important piece of information as far as penetration testing is concerned.

Of course, 0trace won’t work everywhere and all the time. The tool will
not produce interesting results in the following situations:

- Target’s firewall drops all outgoing ICMP messages,

- Target’s firewall does TTL or full-packet rewriting,

- There’s an application layer proxy / load balancer in the way
(Akamai, in-house LBs, etc),

- There’s no notable layer 3 infrastructure behind the firewall.

The tool also has a fairly distinctive TCP signature, and as such, it can
be detected by IDS/IPS systems.

Enough chatter – the tool is available here (Linux version):

http://lcamtuf.coredump.cx/soft/0trace.tgz

Note: this is a 30-minute hack that involves C code coupled with a cheesy
shellscript. It may not work on non-Linux systems, and may fail on some
Linuxes, too. It could be improved in a number of ways – so if you like
it, rewrite it.

Cheers,