TMAegis
Thêm quy tắc cho aix

IBM AIX

TMA-AIX-4.5.15

Ensure nonlocsrcroute is disabled

Trung bìnhCấp 1Tự độngaix

Mô tả

The nonlocsrcroute parameter determines whether the system allows source routed packets to be addressed to hosts outside of the LAN. The nonlocsrcroute parameter will be set to 0. This means that the system will not allow source routed packets to be addressed to hosts outside of the LAN. By default, when this is enabled the system is susceptible to source routing attacks. Audit: `no -o nonlocsrcroute` must report 0.

Cách kiểm tra

Phương pháp kiểm tra: Lệnh shell

shell
command -v no >/dev/null 2>&1 || exit 1; out=$(no -o nonlocsrcroute 2>/dev/null) || exit 1; printf '%s\n' "$out" | sed 's/[[:blank:]]*=[[:blank:]]*/=/'
Đầu ra mong đợi
nonlocsrcroute=0

Cách khắc phục

Phương pháp khắc phục: Hướng dẫn hoặc bản vá hạ tầng

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

Thuộc tính

Hệ điều hành
Bất kỳ
Thẻ
aixnetwork
Tham chiếu
CIS IBM AIX 7 Benchmark v1.2.0 - 4.5.15 Ensure nonlocsrcroute is disabled

Kiểm tra máy này

Chạy lệnh này trên máy bạn được phép kiểm tra. Lần quét chỉ ở chế độ đọc.

shell
tmaegis scan --target aix