Skip to content
KitploitKITPLOIT
工具漏洞利用博客
Log in
提交
工具漏洞利用博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

订阅源联系隐私© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
工具/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

查看仓库
121673天前尚未审核
分享
内容在请求的语言中不可用。显示英文版本。

rtw89: monitor mode and raw frame injection fixes (PATCH v6)

CI 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

Current seriespatches/v6/, 5 patches ([PATCH rtw-next v6], +44/-4), base pkshih/rtw.git rtw-next badf4c3c7679 (Linux 7.4-rc1)
Mailing list[PATCH rtw-next v6 0/5] posted on linux-wireless (2026-11-17); supersedes v5 and v3.
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 v6 series

#PatchKind
1wifi: rtw89: avoid NULL vif dereference in rtw89_ops_tx()fix (vif_to_rtwvif_safe()), Fixes: + Cc: stable
2wifi: rtw89: handle negative rate index for injected framesfix (max_t(s8, ..., 0)), Fixes: + Cc: stable
3wifi: rtw89: restore channel when leaving idle on non-chanctx devicesfix (rtwdev->support_chanctx + CONF_CHANGE_CHANNEL)
4wifi: rtw89: avoid reading seq_ctrl on control framesfix (ieee80211_is_ctl())
5wifi: 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/v5/v5-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

# Or concurrent active monitor alongside managed wlan0
sudo iw dev wlan0 interface add mon0act type monitor flags active otherbss
sudo ip link set dev mon0act address 02:00:00:88:52:10
sudo ip link set mon0act up

Repository layout

patches/v5/            current 10-patch series + cover letter
patches/v2..v4/        earlier versions, kept for reference
src/rtw89_mon.{c,h}    helper code linked into rtw89_core by patch_rtw89.py
scripts/               patch_rtw89.py, build_module.sh, dkms_prepare.sh, dkms_pre_build.sh,
                       prepare_submission.sh, verify_hardware.py, verify_monitor_diag.py
dkms/dkms.conf.in      DKMS template used by dkms_prepare.sh
tests/                 unit tests for patch_rtw89.py and patch series hygiene
docs/                  architecture notes, hardware validation report, and evidence/

Legal and regulatory

下载工具

最受欢迎

查看全部 →

发现我们社区最常用的工具。

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 终极 OSINT 工具包:调查图谱、置信度评分、别名家族、地图、时间线和报告。49 个模块、400+ 个站点,无需 API 密钥。

    989
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock 一键执行应用(CVE-2026-43499)

    576
  • 3

    looking-glass

    anonghosty/looking-glass

    CSIRT 平台,可将 Shadowserver 报告导入 MongoDB,并将其重放为交互式地图、分析、发现、公告和高管仪表板。

    354
  • 4

    redforge

    cybersecurity91/redforge

    浏览器端红队工具包,包含 102 个离线工具,用于侦察、载荷生成、凭据攻击、加密、编码和交战报告。

    339
  • 5

    ARTEX

    baarai/artex

    基于LLM的多智能体自主渗透测试平台,具备规划器/执行器智能体、资产与探索图谱、MITM流量记录以及漏洞复测功能。

    323
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    AI原生网络安全的行动系统——在这里,意图转化为受治理的执行,证据沉淀为运营记忆,每一次操作都让下一次更出色。

    315

探索所有工具

浏览我们的工具集合

查看所有工具 →