Apache HTTP Server
TMA-APACHE-12.1
Ensure the AppArmor Framework Is Enabled
낮음레벨 2자동apache
설명
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.
점검 방법
감사 방식: 셸 명령
shell
command -v aa-status >/dev/null || exit 1; aa-status --enabled 2>/dev/null && echo compliant || echo noncompliant- 예상 출력
compliant
조치 방법
조치 방식: 가이드 또는 인프라 패치
Install and enable AppArmor (apt install apparmor apparmor-utils; systemctl enable --now apparmor).
속성
- 운영 체제
- 모두
- 태그
- apacheapparmor
- 참고 자료
- CIS Apache HTTP Server 2.4 Benchmark v2.4.0 - 12.1 Ensure the AppArmor Framework Is Enabled
이 호스트 점검하기
감사 권한이 있는 시스템에서 실행하세요. 스캔은 읽기 전용입니다.
shell
tmaegis scan --target apache --level 2