SKA : Simple Karma Attack

SKA allows you to implement a very simple and fast karma attack.

You can sniff probe requests to choice the fake AP name or, if you want, you could insert manually the name of AP (evil twin attack).

When target has connected to your WLAN you could active the HTTP redirection and perform a MITM attack.

Details

The script implements these steps:

  • selection of NICs for the attack (one for LAN and one for WAN)
  • capture of probe-requests to choice the fake AP name (tcpdump)
  • activation of fake AP (hostapd and dnsmasq)
    • the new AP has a DHCP server which provides a valide IP to the target and prevents possible alerts on the victim devices
  • activation of HTTP redirection (iptables)
    • only HTTP requests are redirect to fake site, while the HTTPS traffic continues to route normally
  • activation of Apache server for hosting the phising site
  • at the end of the attack the script cleans all changes and restores Apache configuration

Also Read – Dr_Robot : Tool Used To Enumerate The Subdomains Associated With A Company

Screenshots

Press CTRL-C to kill all processes and restore the configuration files.

In summary

Disable DNS line in your NetworkManager configuration file (look into /etc/NetworkManager/):

dns=dnsmasq

Insert the MAC of your wireless adapter between the unmanaged devices to allow hostapd works properly:

unmanaged-devices=mac:XX:XX:XX:XX:XX:XX

Disclaimer

Author assume no liability and are not responsible for any misuse or damage caused by this program.

SKA is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

See the GNU General Public License for more details.

R K

Recent Posts

Shadow-rs : Harnessing Rust’s Power For Kernel-Level Security Research

shadow-rs is a Windows kernel rootkit written in Rust, demonstrating advanced techniques for kernel manipulation…

1 week ago

ExecutePeFromPngViaLNK – Advanced Execution Of Embedded PE Files via PNG And LNK

Extract and execute a PE embedded within a PNG file using an LNK file. The…

2 weeks ago

Red Team Certification – A Comprehensive Guide To Advancing In Cybersecurity Operations

Embark on the journey of becoming a certified Red Team professional with our definitive guide.…

3 weeks ago

CVE-2024-5836 / CVE-2024-6778 : Chromium Sandbox Escape via Extension Exploits

This repository contains proof of concept exploits for CVE-2024-5836 and CVE-2024-6778, which are vulnerabilities within…

3 weeks ago

Rust BOFs – Unlocking New Potentials In Cobalt Strike

This took me like 4 days (+2 days for an update), but I got it…

3 weeks ago

MaLDAPtive – Pioneering LDAP SearchFilter Parsing And Security Framework

MaLDAPtive is a framework for LDAP SearchFilter parsing, obfuscation, deobfuscation and detection. Its foundation is…

3 weeks ago