TMAegisBeta
更多 aix 规则

IBM AIX

TMA-AIX-4.5.3

Ensure clean_partial_conns is enabled

中级别 1自动化aix

说明

The clean_partial_conns parameter determines whether or not the system is open to SYN attacks. This parameter, when enabled, clears down connections in the SYN RECEIVED state after a set period of time. This attempts to stop DoS attacks when a hacker may flood a system with SYN flag set packets. The clean_partial_conns parameter will be set to 1, to clear down pending SYN received connections after a set period of time. Audit: `no -o clean_partial_conns` must report 1.

检查方式

审计方法: Shell 命令

shell
command -v no >/dev/null 2>&1 || exit 1; out=$(no -o clean_partial_conns 2>/dev/null) || exit 1; printf '%s\n' "$out" | sed 's/[[:blank:]]*=[[:blank:]]*/=/'
预期输出
clean_partial_conns=1

修复方式

修复方法: 操作指南或基础设施补丁

no -p -o clean_partial_conns=1 (sets the running value and makes it persistent in /etc/tunables/nextboot)

属性

操作系统
任意
标签
aixhardening
参考
CIS IBM AIX 7 Benchmark v1.2.0 - 4.5.3 Ensure clean_partial_conns is enabled

检查本机

请在您有权审计的机器上运行此命令。扫描为只读操作。

shell
tmaegis scan --target aix