AttacKit is a command-line utility for executing network attacks such as ARP spoofing, DNS spoofing, and SSL stripping. It is intended for educational use by penetration testers and network security professionals to simulate and analyze insecure environments.
⚠️ Warning: Use this tool ethically and legally. Unauthorized use on networks without permission is illegal and unethical.
- ARP spoofing (targeted or broadcast)
- DNS spoofing
- SSL stripping via ARP or DNS
- Quiet mode for stealthy, precision attacks
- All-out mode for broad, aggressive disruption
Building attackit requires the following dependencies:
- Libpcap/Npcap
- LibSSL
- boost AttacKit:
-
Debian/Ubuntu:
sudo apt-get install libpcap-dev sudo apt-get install libssl-dev sudo apt-get install libboost-all-dev
-
Fedora:
sudo dnf install libpcap-devel sudo dnf install openssl-devel sudo dnf install boost-devel
-
Arch Linux:
sudo pacman -S libpcap sudo pacman -S openssl sudo pacman -S boost
-
Alpine Linux:
sudo apk add libpcap-dev sudo apk add openssl-dev sudo apk add boost-dev
- Install Npcap (Enable "Install Npcap in WinPcap API-compatible Mode" if prompted)
- Download the npcap-sdk, rename it to
npcap-sdk
and put it into the thirdparty folder - Install OpenSSL
- Download the boost-sdk, rename it to
boost-sdk
and put it into the thirdpary folder
brew install libpcap
brew install openssl
brew install boost
attackit [OPTIONS] COMMAND [COMMAND OPTIONS]
--quiet
– Enables silent, targeted attacks. Requires victim and spoof IPs.--all-out
– Enables aggressive, broadcast-based attacks across the network.
⚠️ --quiet
and--all-out
cannot be used together.
AttacKit commands operate differently depending on the mode (--quiet
or
--all-out
) and attack type.
-
Quiet Mode (
--quiet --arp
):
Targets specific victim IP(s) and spoofed IP(s) for precise ARP poisoning.attackit --quiet --arp ifaceIpOrName [attackerMac] victimIp ipToSpoof
-
All-Out Mode (
--all-out --arp
):
Performs a broad ARP spoofing attack across the entire network.attackit --arp ifaceIpOrName --all-out
-
Quiet Mode (
--quiet --dns
):
Spoofs DNS queries for specific victims and domains.attackit --quiet --dns ifaceIpOrName attackerIp victimIps domainsToSpoof
-
All-Out Mode (Not typically supported for DNS spoofing in this tool)
-
DNS-Based SSL Stripping (
--ssldns
):
Strips SSL via DNS spoofing for specified victims and domains.attackit --ssldns ifaceIpOrName attackerIp victimIps domainsToStrip
-
ARP-Based SSL Stripping (
--sslarp
):
Strips SSL via ARP spoofing for specified victims and domains.attackit --sslarp ifaceIpOrName victimIps domainsToStrip
Arp ssl stripping does not have an all out mode
Targeted (quiet mode) DNS spoofing:
attackit --quiet --dns eth0 192.168.1.10 192.168.1.15 \
example.com,google.com
0
– Success1
– An error or exception occurred
This project is licensed under the MIT License.
See the LICENSE file for full terms.
- Developed by the AttacKit Team
- Submit bugs and feature requests via
GitHub Issues