Skip to main content

Kali NetHunter ATWA-NG

ATWA-NH — ATWA-NG for NetHunter

PyPI Python License: MIT CI

A lightweight, CLI-only port of ATWA-NG for Kali NetHunter. It runs inside the ARM64 Kali chroot from NetHunter Terminal, uses a detected monitor-capable USB adapter, and leaves Android Wi-Fi (wlan0) and its vendor supplicant untouched.

No GUI. No password cracking. No vendored x86 binaries.

Quick start

1. Install inside the Kali chroot

python3 -m pip install atwa-nh

This installs scapy automatically and creates the atwa-nh command. To install from source instead:

git clone https://github.com/KiMiGuel/ATWA-NH.git
cd ATWA-NH
sh install.sh

The source installer copies atwa_nh into the chroot's site-packages. It needs scapy already installed and writes nothing to /system or /sdcard.

2. Check it works

atwa-nh --help

3. Run it

atwa-nh              # numbered menu (needs a terminal)
atwa-nh scan --iface wlan1

The menu lists the seven commands plus 0) Exit, prompts only for the values each command needs, and uses ATWA-NG's electric-blue palette. Set NO_COLOR or pipe the output to get plain text.

NetHunter Custom Command

In the NetHunter app, add a Custom Command with the absolute module path — the app does not inherit the chroot's PATH:

/usr/bin/python3 -m atwa_nh scan --iface wlan1

Replace wlan1 with the adapter reported by the capability probe. See docs/nethunter.md for the full steps.

Commands

Command What it does Main options
scan Discover access points --iface, --duration, --managed
wps-recon Filter APs advertising WPS --iface, --duration, --managed
eapol-hunt Collect EAPOL frames in monitor mode --iface, --duration
handshake Capture a 4-way handshake --iface, --duration
pmkid Capture PMKIDs --iface, --duration
deauth Inject deauthentication frames --iface, --bssid, --client, --count
verify-capture Check a capture for EAPOL traffic --iface, --file

Every on-air command accepts --iface and --allow-sta. Interface names vary between devices, so selection is based on the PHY's monitor capability, not a hardcoded name. The conventional STA name is protected by default; --allow-sta opts out deliberately. scan and wps-recon use iw dev <iface> scan automatically when the adapter is in managed mode, and --managed forces it.

Adapters

Adapter Status
AR9271 (ath9k_htc) Reference adapter — managed scan, monitor, frame TX status
MT7610U (mt76) Validated dual-band — managed scan, monitor, frame
RTL8814AU Experimental — capability-probed at runtime
RTL8811AU Retired — managed scan reboots the kernel

Injection is gated on the adapter's frame nl80211 command. Captures land in /sdcard/nh_files/atwa-ng when available, otherwise $HOME/.atwa-nh in the chroot.

Tests

PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 python3 -m pytest tests/ -q

The environment variable avoids a broken host-level logfire pytest plugin; it is not needed inside the clean chroot.

Provenance

ATWA-NH is a separate, reduced port of ATWA-NG — no GUI, no cracker, no desktop dependencies. scan_managed was adapted from ATWA-NG @ 31acd35b4269bdb08c3bf7e463a54c2be438a0f5; the beacon/EAPOL parsing here is a deliberately minimal local implementation, vendored as a pinned snapshot. No shared-library refactor with ATWA-NG is planned yet.

NetHunter is a Kali Linux project; the NetHunter logo is used to identify the platform. The ATWA-NG mark comes from the ATWA-NG project.

License

MIT — see LICENSE.

Metadata

Release files for atwa-nh 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for atwa-nh 0.1.2
File Size Uploaded Provenance Actions
atwa_nh-0.1.2.tar.gz 23.0 kB With provenance Details for atwa_nh-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for atwa-nh 0.1.2
File Interpreter ABI Platform Actions
atwa_nh-0.1.2-py3-none-any.whl Python 3 none any Details for atwa_nh-0.1.2-py3-none-any.whl

Total release size: 40.9 kB

Release files / atwa_nh-0.1.2.tar.gz

Download URL atwa_nh-0.1.2.tar.gz
Size 23.0 kB
Tags Source
SHA-256 checksum
How to use checksums
47bf8babbf4ec784d0ae0fe21eeac5e6993f67e9827a20824163dec28b714446
BLAKE2b-256 checksum
How to use checksums
fcd18cd10203cf8214ef725b44847bcef7233724b7a7b3e6025889dbc2afee51
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

Transparency log

Release files / atwa_nh-0.1.2-py3-none-any.whl

Download URL atwa_nh-0.1.2-py3-none-any.whl
Size 17.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ed6412df0de8faba6d1f3c6eb16404a41d69a04613fab9d572eb3f146981a256
BLAKE2b-256 checksum
How to use checksums
ee2db96c3dce27f795778ff253a1a896dd6cb23b3f92e8e095e8975b266cb538
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

Transparency log

Security for atwa-nh 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for atwa_nh-0.1.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page