Skip to content

Schnitzels-tue/AttacKit

Repository files navigation

AttacKit

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.

Features

  • 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

Installation

Prerequisites

Building attackit requires the following dependencies:

  • Libpcap/Npcap
  • LibSSL
  • boost AttacKit:

Linux

  • 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

Windows

  • 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

macOS (Homebrew) Currently doesn't work

brew install libpcap
brew install openssl
brew install boost

Usage

attackit [OPTIONS] COMMAND [COMMAND OPTIONS]

Modes of Operation

  • --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.

Modes and Functions

AttacKit commands operate differently depending on the mode (--quiet or --all-out) and attack type.

ARP Spoofing

  • 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

DNS Spoofing

  • 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)

SSL Stripping

  • 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

Examples

Targeted (quiet mode) DNS spoofing:

attackit --quiet --dns eth0 192.168.1.10 192.168.1.15 \
  example.com,google.com

Exit Codes

  • 0 – Success
  • 1 – An error or exception occurred

License

This project is licensed under the MIT License.
See the LICENSE file for full terms.

Author & Support

  • Developed by the AttacKit Team
  • Submit bugs and feature requests via
    GitHub Issues

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5