An open API service indexing awesome lists of open source software.

https://github.com/sa7mon/startools

To use a RasPi to do an Evil Twin attack and capture 802.1x RADIUS creds
https://github.com/sa7mon/startools

Last synced: 10 months ago
JSON representation

To use a RasPi to do an Evil Twin attack and capture 802.1x RADIUS creds

Awesome Lists containing this project

README

          

## To setup on Kali (RasPi Image)

1. Copy capture.sh to /etc/init.d/
2. ```update-rc.d capture defaults```
3. ```sudo apt-get update && apt-get upgrade```
4. ```sudo apt-get install gcc make libssl-dev ```
5. Edit ``hostapd-2.2/hostapd/defconfig`` and uncomment line: ``CONFIG_LIBNL32=y``. Probably line 35
6.
```
cd hostapd-2.2
patch -p1 < ../hostapd-wpe/hostapd-wpe.patch
cd hostapd
make
cd ../../hostapd-wpe/certs
./bootstrap
```

12. Edit ``hostapd-2.2/hostapd/hostapd-wpe.conf_``to your liking (You also may need to chmod it). A sample config has been provided: ``hostapd-wpe.conf.sample``
13. Edit ``/etc/NetworkManager/NetworkManager.conf`` and add the MAC address of the wireless card:
```
[keyfile]
unmanaged-devices=mac:00:11:22:33:44:55
```

## Description
The script should now run on reboot automatically.

The script will put all the logs into /root/ with randomly generated names. It moves them each time the script is ran, so there may be empty log files.

### Stopping
To kill, run _stopcapture.sh_

### Log Parsing
To parse through all the logs, I've created a script called wpe-parse located here [https://github.com/sa7mon/wpe-parse](https://github.com/sa7mon/wpe-parse)

It will also convert them from John format to Hashcat format.