Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Einreichen
ToolsExploitsBlog
Einreichen

Hacking-, PenTest- und Cybersicherheits-Tools für Ihr Sicherheitsarsenal!

Kitploit ist ein Verzeichnis von Hacking-, Cybersicherheits- und Pentesting-Tools. Entdecken Sie die neuesten Projekt-Updates, um Schwachstellen zu finden, Systeme zu analysieren, Tests zu automatisieren und Ihre Sicherheit zu stärken.

FeedsKontaktDatenschutz© 2026 Kitploit

Tool-Verzeichnis

Kategorien

Alle Kategorien anzeigen
Loading categories
Tools/GitHubGitHub/ph4ntom-rev/rtw89-monitor-injection
Packet Sniffing & AnalysisWi-Fi AuditingReverse EngineeringNetwork SecurityWireless SecurityPenetration TestingHardware Security
GitHubph4ntom-rev/rtw89-monitor-injection

rtw89-monitor-injection

Realtek RTL8852AE / rtw89 Monitor Mode and Packet Injection (Raw TX) patch for Linux / Kali Linux

Repository anzeigen
12167vor 1 TagNoch nicht geprüft
Teilen
Inhalt in der angeforderten Sprache nicht verfügbar. Englische Version wird angezeigt.

rtw89: monitor mode and raw frame injection fixes (Merged in rtw-next)

CI Upstream: Merged in rtw-next License: GPL-2.0 OR BSD-3-Clause

English | Русский | Architecture | Validation & Evidence

Patches for the mainline Linux rtw89 driver (Realtek RTL8851B/8852A/8852B/8852C/8922A) that fix monitor mode reception across scan/ROC/MAC restores, enable raw 802.11 frame injection (aireplay-ng, radiotap TX, DATA_RETRIES, NO_ACK) on standalone and MONITOR_FLAG_ACTIVE monitor interfaces, and restore the operating channel when leaving idle across monitor restarts. Firmware is not modified.

Status

Upstream statusMerged into pkshih/rtw.git rtw-next (2026-11-22, applied notice): commits 0202cb50fe9f..92608bb5f14f (+42/-4).
Mailing list[PATCH rtw-next v8 0/5] (5/5 Acked-by: Ping-Ke Shih, 3/5 Reviewed-by: Zong-Zhe Yang); local patches in patches/v8/ against base 0bdc579dbfc2.
Build & static checksEach patch builds on its own; W=1 and sparse (C=1) with CONFIG_PROVE_LOCKING=y show 0 new warnings; checkpatch.pl --strict reports 0 errors/warnings/checks; patch_rtw89.py verified across v6.1, v6.6, v6.12 (Gen 1), v6.15, v6.18 (Gen 2), and v7.4-rc1 with Kbuild make W=1 C=1 modules on LTS v6.6, v6.12, v6.18, and v7.4-rc1 in CI.
Runtime & FW verificationRTL8852AE (10ec:8852, firmware rtw89/rtw8852a_fw-1.bin 0.13.36.2, Linux 7.1.5+kali-amd64) — verified in IDA Pro 9.5 and live-tested via tracefs/kprobes + verify_hardware.py (PASS), see validation & screenshots.
Not runtime-testedRTL8852B/C/BT, RTL8851B, RTL8922A/D (Wi-Fi 7), USB devices, DBCC.

The v8 series

#Upstream Commit (rtw-next)PatchKind
10202cb50fe9fwifi: rtw89: avoid NULL vif dereference in rtw89_ops_tx()fix (vif_to_rtwvif_safe()), Fixes: + Cc: stable
2260247bfbc5bwifi: rtw89: handle negative rate index for injected framesfix (max_t(s8, ..., 0)), Fixes: + Cc: stable
3e07c9af7bbc8wifi: rtw89: restore channel when leaving idle on non-chanctx devicesfix (rtwdev->support_chanctx + CONF_CHANGE_CHANNEL)
44175fc84dbe9wifi: rtw89: avoid reading seq_ctrl on control framesfix (ieee80211_is_ctl())
592608bb5f14fwifi: rtw89: honor ASSIGN_SEQ, retries, and NO_ACK for injected framesinjection (!ASSIGN_SEQ, NO_ACK, max_rate_tries = 63)

Details of every patch and the rtw89_mon out-of-tree layer are in docs/ARCHITECTURE.md, the cover letter, and docs/PREFLIGHT_VALIDATION.md.

End-to-End Hardware Validation Summary

[!NOTE] Passive vs Active Monitor TX: A passive monitor interface (iw ... type monitor without flags active) transmits only when it is the sole open interface on the card; if a station or AP interface is up, passive monitor TX is dropped cleanly. To inject frames concurrently while a station or AP interface remains open (preserving hardware Auto-ACK), create an active monitor interface (NL80211_FEATURE_ACTIVE_MONITOR): sudo iw dev wlan0 interface add mon0act type monitor flags active otherbss.

Usage

A. Mainline / wireless-next kernel tree

cd linux
git am /path/to/rtw89-monitor-injection/patches/v8/v8-00*-wifi-*.patch

To run local read-only submission preflight checks (checkpatch.pl --strict, trailer checks, and dry-run command generation without sending mail):

bash scripts/prepare_submission.sh --kernel-dir /path/to/linux

B. Distribution kernel, one-off build

scripts/patch_rtw89.py applies the v5 changes to the rtw89 sources of a distribution kernel (Linux 6.1 - 7.x) and fails fast if any mandatory hook anchor does not match.

sudo apt install linux-headers-$(uname -r) linux-source build-essential python3
mkdir -p ~/rtw89_src
tar -xf /usr/src/linux-source-*.tar.xz --strip-components=6 -C ~/rtw89_src \
    --wildcards '*/drivers/net/wireless/realtek/rtw89/*'

bash scripts/build_module.sh --rtw89-dir ~/rtw89_src --install

build_module.sh asks before unloading the running driver (Wi-Fi drops briefly); use --yes to skip the prompt. All rtw89 modules are installed together into /lib/modules/$(uname -r)/updates/rtw89, so core, bus, and chip modules always come from the same source tree. Undo with bash scripts/build_module.sh --uninstall.

Secure Boot: unsigned modules are rejected by the kernel. The script detects Secure Boot via mokutil and stops before unloading anything. Sign with an enrolled MOK:

bash scripts/build_module.sh --rtw89-dir ~/rtw89_src --install \
    --sign-key /var/lib/shim-signed/mok/MOK.priv --sign-cert /var/lib/shim-signed/mok/MOK.der

C. Distribution kernel with DKMS

bash scripts/dkms_prepare.sh --source /usr/src/linux-source-7.1.tar.xz
sudo dkms install rtw89-monitor-injection/5.0

dkms_prepare.sh scopes BUILD_EXCLUSIVE_KERNEL to the source kernel's MAJOR.MINOR series (supporting both stable and -rc kernel strings). After upgrading to a new kernel series, re-run dkms_prepare.sh with the matching linux-source archive. Remove with bash scripts/dkms_prepare.sh --remove.

Monitor mode and injection

# Standalone monitor interface
sudo ip link set wlan0 down
sudo iw dev wlan0 set type monitor
sudo ip link set wlan0 up
sudo iw dev wlan0 set freq 2412
sudo tcpdump -i wlan0 -e -c 30
Tool herunterladen

Beliebteste

Alle anzeigen →

Entdecken Sie die meistgenutzten Tools unserer Community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 Das ultimative OSINT-Toolkit: Untersuchungsgraph, Konfidenzbewertung, Alias-Familien, Karte, Zeitleiste und Berichte. 49 Module, 400+ Websites, keine API-Schlüssel erforderlich.

    885
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    796
  • 3

    wifit3

    derv82/wifit3

    Wifite, aber nur USB & plattformübergreifend.

    629
  • 4

    looking-glass

    anonghosty/looking-glass

    CSIRT-Plattform, die Shadowserver-Berichte in MongoDB einliest und sie als interaktive Karten, Analysen, Findings, Advisories und Executive-Dashboards wiedergibt.

    458
  • 5

    jumpserver

    jumpserver/jumpserver

    JumpServer ist eine Open-Source-Plattform für Privileged Access Management (PAM), die DevOps- und IT-Teams bedarfsgesteuerten und sicheren Zugriff auf SSH-, RDP-, Kubernetes-, Datenbank- und RemoteApp-Endpunkte über einen Webbrowser bietet.

    433
  • 6

    SafeLine

    chaitin/safeline

    Selbst gehosteter WAF und Reverse Proxy, der bösartigen HTTP-Verkehr filtert, SQL-Injection, XSS und Bot-Angriffe blockiert, mit Ratenbegrenzung und dynamischer HTML/JS-Verschlüsselung.

    385

Alle Tools erkunden

Durchsuchen Sie unsere Tool-Sammlung

Alle Tools anzeigen →