针对 基于 algif_aead 的 Copy Fail 攻击路径 的 Linux 内核漏洞检查器。检测您的系统是否存在漏洞,并提供缓解步骤。
git clone https://github.com/ridhinva/copyfail-checker.git
cd copyfail-checker
python3 copyfail_checker.py # Standard check
python3 copyfail_checker.py --json # JSON output for automation
python3 copyfail_checker.py --fix # Apply mitigations (root)
$ python3 copyfail_checker.py
[*] Checking kernel version...
[*] Checking AF_ALG module...
[*] Checking protections...
==================================================
RESULTS:
[!!] kernel_version: Running kernel 6.5.0 - vulnerable range
[!!] AF_ALG: AF_ALG crypto module enabled
[OK] apparmor: AppArmor installed
==============================
Potential issues: 2
[!] RUNNING VULNERABLE KERNEL:
1. apt update && apt upgrade linux-image
2. echo 'blacklist algif_aead' > /etc/modprobe.d/algif.conf
3. reboot
@c_y_p_h3r