TMAegisBeta
更多 aix 規則

IBM AIX

TMA-AIX-2.5

Ensure Allowlist violations are enabled

中等級 2自動化aix

說明

This takes allowlist aka whitelisting to the next level - where all software, libraries and scripts that are not in the trusted signature database (TSD) in /etc/security/tsd/tsd.dat are blocked. Trusted Execution (TE) provides an additional layer of access controls to processes on top of the base Discretionary Access Controls. Monitoring how processes access system resources can improve awareness of system integrity. Audit: automated read-only check derived from the CIS audit procedure; it prints "compliant" when the control is met.

檢查方式

稽核方法: Shell 指令

shell
command -v trustchk >/dev/null 2>&1 || exit 1; out=$(trustchk -p stop_untrustd stop_on_chkfail te 2>/dev/null) || exit 1; r=compliant; for p in '^STOP_UNTRUSTD=(ON|TROJAN)$' '^STOP_ON_CHKFAIL=ON$' '^TE=ON$'; do printf '%s\n' "$out" | grep -Eq -- "$p" || r="missing: $p"; done; echo "$r"
預期輸出
compliant

修補方式

修補方法: 操作指南或基礎設施修補檔

Execute one of the following commands: trustchk -p stop_untrustd=on stop_on_chkfail=on te=on or trustchk -p stop_untrustd=trojan stop_on_chkfail=on te=on

屬性

作業系統
不限
標籤
aixhardening
參考資料
CIS IBM AIX 7 Benchmark v1.2.0 - 2.5 Ensure Allowlist violations are enabled

檢查此主機

請在您有權稽核的機器上執行此指令。掃描為唯讀操作。

shell
tmaegis scan --target aix --level 2