TMAegisBeta
Više pravila za aix

IBM AIX

TMA-AIX-4.1.2.6

Ensure access on /var/adm/ras is configured

SrednjaNivo 1Automatskaaix

Opis

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.

Kako se proverava

Metod provere: Komanda ljuske

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
Očekivani izlaz
compliant

Kako se ispravlja

Metod ispravke: Smernica ili zakrpa infrastrukture

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

Svojstva

Operativni sistemi
Bilo koji
Oznake
aixpermissions
Referenca
CIS IBM AIX 7 Benchmark v1.2.0 - 4.1.2.6 Ensure access on /var/adm/ras is configured

Proverite ovaj računar

Pokrenite ovo na računaru za koji imate dozvolu za proveru. Skeniranje radi u režimu samo za čitanje.

shell
tmaegis scan --target aix