Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

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

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

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
F31 — 用于在网络上隐藏 Kali Linux 的工具 | Kitploit
工具/GitHubGitHub/gmh5225/f31
防御工具IDS/IPS规避脚本与自动化网络安全渗透测试隐私保护红队反机器人指纹欺骗
GitHubgmh5225/f31

F31

用于在网络上隐藏 Kali Linux 的工具

查看仓库
33712年前尚未审核

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

F31:隐藏 Kali Linux

F31 是一个 bash 脚本,用于加固你的 Kali Linux 并帮助你在网络中最小化噪声。对于渗透测试人员或红队操作员来说非常有用,因为在基础设施中保持最小影响以避免网络性能问题至关重要。

该工具并不能保证你完全规避 SOC,因为网络基础设施各不相同,每个安全分析案例都是独一无二的。F31 的主要目标是最小化网络中的噪声。

免责声明

本文和工具属于入门性质,旨在供在合同下进行测试的安全专业人员使用。传播恶意软件、破坏系统以及侵犯通信保密将受到法律追究。作者对本工具造成的任何损害不承担责任。

工作机制

该脚本执行以下操作:

  1. 安装必要的工具。iptables 用于防火墙配置,iproute2 包中的 tc 用于流量整形,macchanger 用于 MAC 地址更改
  2. 更改主机名。是的,在 Kali 上更改主机名可能看起来是件平常的事,但默认的 Kali 主机名是最大的触发因素之一。你应该始终将默认主机名更改为其他主机名
  3. 在“Wired Connection”Network Manager 配置中禁用通过 DHCP 传输主机名。注意 F31 引用的是文件 /etc/NetworkManager/system-connections/Wired\ connection\ 1
  4. TTL 增加和 TTL 偏移 +1,以在 MITM 攻击期间绕过数据包追踪
  5. 禁用 NTP 客户端
  6. 防火墙配置。允许已建立和链式连接,阻止无效连接,限制 ICMP 流量,阻止意外的 TCP MSS 值
  7. 禁用 ICMP Redirect。IDS/IPS 安全系统可能会对 ICMP Redirect 消息触发告警,这可能会暴露攻击者。
  8. MAC 地址随机化。经典操作。
  9. 流量整形。最小化噪声以便扫描器谨慎运行,避免过载网络设备。限制为 30Kbit/s,800 毫秒延迟

使用方法

非常简单,克隆仓库,给 bash 脚本赋予执行权限。

root@kitploit:~
caster@kali:~$ git clone https://github.com/wearecaster/F31
caster@kali:~$ cd F31/
caster@kali:~/F31$ chmod +x F31.sh reset.sh

F31 需要 root 权限才能运行

root@kitploit:~
caster@kali:~$ sudo bash F31.sh
███████ ██████   ██ 
██           ██ ███ 
█████    █████   ██ 
██           ██  ██ 
██      ██████   ██ 
                    
F31: Tool for hiding Kali Linux on the network
Author: Caster, @wearecaster, <[email protected]>
Version: 1.0.0
For instructions and an example of how to use it, visit: https://github.com/wearecaster/F31
Usage: F31.sh --interface <interface> --new-hostname <hostname> [--noise-reduction]

Options:
  --interface       Specify the network interface to hide
  --new-hostname    Specify the new hostname for the system
  --noise-reduction Enable traffic shaping for noise reduction (optional)

该工具每次输入需要两个参数。分别是系统接口和 Kali 用户想要的新主机名。

负责激活流量整形的参数是可选的。攻击者可能并不总是需要它。而且流量整形会影响后续下载文件的速度等。请明智地使用噪声削减功能。

root@kitploit:~
caster@kali:~/F31$ sudo bash F31.sh --interface eth0 --new-hostname ubuntu --noise-reduction
███████ ██████   ██ 
██           ██ ███ 
█████    █████   ██ 
██           ██  ██ 
██      ██████   ██ 
                    
F31: Tool for hiding Kali Linux on the network
Author: Caster, @wearecaster, <[email protected]>
Version: 1.0.0
For instructions and an example of how to use it, visit: https://github.com/wearecaster/F31
[+] Tools are already installed.

[+] Changing hostname
[*] Hostname changed to ubuntu successfully.

[+] Enabling hostname transfer via DHCP
[*] Hostname through DHCP disabled successfully.

[+] Disabling NTP client
[*] NTP client shut down successfully.

[+] Increasing and shifting TTL (TTL=80)
[*] TTL values adjusted successfully.

[+] Configuring firewall
[*] Allowing established and chained connections, blocking invalid connections, restricting ICMP traffic, blocking unexpected TCP MSS values
[*] Firewall configuration successfully.

[+] Disabling ICMP Redirect
[*] ICMP Redirects disabled successfully.

[+] Changing MAC
[*] Randomize MAC configured successfully.

[+] Limit data rate to 30 kbit/s and latency 600ms to minimize noise in L2/L3 scanning.
[+] WARNING: This change will severely affect the speed of file downloads. Use this shaping exactly before scanning
[+] If necessary, adjust this value yourself
[*] Traffic shaping configured successfully.
[*] Script executed successfully.

还原更改

我准备了一个特殊的脚本来回滚所有已做的设置。

root@kitploit:~
caster@kali:~/F31$ sudo bash reset.sh --interface eth0 --old-hostname kali
███████ ██████   ██ 
██           ██ ███ 
█████    █████   ██ 
██           ██  ██ 
██      ██████   ██ 
                    
F31: Tool for hiding Kali Linux on the network (Reset script)
Author: Caster, @wearecaster, <[email protected]>
Version: 1.0.0
For instructions and an example of how to use it, visit: https://github.com/wearecaster/F31

[+] Restoring MAC

[+] Enabling ICMP Redirect

[+] Disabling NTP client
[*] NTP client disabled successfully.

[+] Restoring firewall configuration

[+] Enabling hostname transfer via DHCP

[+] Resetting TTL (TTL=64)

[+] Restoring hostname

[+] Removing traffic shaping (noise reduction)
[+] Traffic shaping removed
[*] Reset script executed successfully

结语

这个工具并非万能药,你必须了解你在基础设施中正在做什么,并尽可能避免风险。

下载工具