TMAegisBeta
Thêm quy tắc cho aix

IBM AIX

TMA-AIX-4.4.1.1

Ensure NFS client mounts are disabled in /etc/filesystems

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

Mô tả

Disable automated mount of remote NFS shares. NFS is frequently exploited to gain unauthorized access to files and directories. Automated and/or pre-defined mounts should not exist. AIX does not allow the kernel service that enables NFS mounts to be disabled. Audit: no stanza in /etc/filesystems may use vfs = nfs.

Cách kiểm tra

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

shell
command -v grep >/dev/null 2>&1 || exit 1; [ -r /etc/filesystems ] || exit 1; out=$( { grep -E "^[[:blank:]]*vfs[[:blank:]]*=[[:blank:]]*nfs" /etc/filesystems ; } 2>/dev/null ); [ -z "$out" ] && echo compliant || printf '%s\n' "$out" | head -n 20
Đầu ra mong đợi
compliant

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

Ensure that there are no current NFS client mounts: mount |grep "nfs" cat /etc/filesystems |grep "nfs" The above commands should yield no output. Stop NFS services: stopsrc -g nfs

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.4.1.1 Ensure NFS client mounts are disabled in /etc/filesystems

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