Apache HTTP Server
TMA-APACHE-12.1
Ensure the AppArmor Framework Is Enabled
ThấpCấp 2Tự độngapache
Mô tả
AppArmor is a Linux kernel security module that provides a named based mandatory access control with security policies. AppArmor can enforce rules on programs for file access and network connections and restrict actions based on defined policies. aa-status --enabled must succeed (run as root). Not applicable without /etc/apparmor.d.
Cách kiểm tra
Phương pháp kiểm tra: Lệnh shell
shell
command -v aa-status >/dev/null || exit 1; aa-status --enabled 2>/dev/null && echo compliant || echo noncompliant- Đầu ra mong đợi
compliant
Cách khắc phục
Phương pháp khắc phục: Hướng dẫn hoặc bản vá hạ tầng
Install and enable AppArmor (apt install apparmor apparmor-utils; systemctl enable --now apparmor).
Thuộc tính
- Hệ điều hành
- Bất kỳ
- Thẻ
- apacheapparmor
- Tham chiếu
- CIS Apache HTTP Server 2.4 Benchmark v2.4.0 - 12.1 Ensure the AppArmor Framework Is Enabled
Kiểm tra máy này
Chạy lệnh này trên máy bạn được phép kiểm tra. Lần quét chỉ ở chế độ đọc.
shell
tmaegis scan --target apache --level 2