TMAegis베타
aix 관련 규칙 더 보기

IBM AIX

TMA-AIX-4.1.2.6

Ensure access on /var/adm/ras is configured

보통레벨 1자동aix

설명

The /var/adm/ras directory contains log files which contain sensitive information such as login times and IP addresses. The log files in the /var/adm/ras directory can contain sensitive information such as login times and IP addresses, which may be altered by an attacker when removing traces of system access. Audit: no file in /var/adm/ras may be world writable, and only SRCKeyID may be world readable.

점검 방법

감사 방식: 셸 명령

shell
command -v ls >/dev/null 2>&1 || exit 1; [ -d /var/adm/ras ] || exit 1; out=$( { ls -l /var/adm/ras | awk 'substr($1,1,1)=="-" && (substr($1,9,1)=="w" || (substr($1,8,1)=="r" && $NF!="SRCKeyID")) {print}' ; } 2>/dev/null ); [ -z "$out" ] && echo compliant || printf '%s\n' "$out" | head -n 20
예상 출력
compliant

조치 방법

조치 방식: 가이드 또는 인프라 패치

Remove world read and write access from all files in /var/adm/ras: # /usr/bin/chmod o-rw /var/adm/ras/*

속성

운영 체제
모두
태그
aixpermissions
참고 자료
CIS IBM AIX 7 Benchmark v1.2.0 - 4.1.2.6 Ensure access on /var/adm/ras is configured

이 호스트 점검하기

감사 권한이 있는 시스템에서 실행하세요. 스캔은 읽기 전용입니다.

shell
tmaegis scan --target aix