GEN004980 - The FTP daemon must be configured for logging or verbose mode.

Information

The -l option allows basic logging of connections. The verbose (on HP) and the debug (on Solaris) allow logging of what files the ftp session transferred. This extra logging makes it possible to easily track which files are being transferred onto or from a system. If they are not configured, the only option for tracking is the audit files. The audit files are much harder to read. If auditing is not properly configured, then there would be no record at all of the file transfer transactions.

NOTE: Nessus has not performed this check. Please review the benchmark to ensure target compliance.

Solution

Enable logging by changing ftpd startup or config files.

Procedure:
The procedure depends on the implementation of ftpd used by the system.

For vsftpd:

Ensure the server settings in '/etc/vsftpd.conf' (or other configuration file specified by the vaftpd xinetd.d startup file) contains:

xferlog_enable = yes

For gssftp:
If the 'disable' server setting is missing or set to 'no' in '/etc/xinetd.d/gssftp' then
ensure the server settings in '/etc/xinetd.d/gssftp' contains:

server_args = -l

The -l option may be added up to three times. Each -l will provide increasing verbosity on the log. Refer to the main page for ftpd for more information.

For both if started using xinetd:
If the 'disable' server setting is missing or set to 'no' in the /etc/xinetd.d startup file then
ensure the server settings contains:

log_on_success += DURATION USERID
This will log the startup and shutdown of the daemon.

log_on_failure += HOST USERID

See Also

http://iasecontent.disa.mil/stigs/zip/U_RedHat_5_V1R18_STIG.zip

Item Details

Category: AUDIT AND ACCOUNTABILITY

References: 800-53|AU-3, CAT|III, CCI|CCI-000130, Group-ID|V-845, Rule-ID|SV-37547r1_rule, STIG-ID|GEN004980, Vuln-ID|V-845

Plugin: Unix

Control ID: 0e805af97bb790f61a6781be50850d3d432907c6f63ae7ea9592d7b9a0ba9121