OSX00465 M6 - Stealth Mode must be enabled on the firewall - 'stealthenabled = 1'

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

Enable Stealth Mode to prevent the computer from sending responses to uninvited traffic.

Solution

Open a terminal session and edit or create /Library/LaunchDaemons/org.freebsd.ipfw.plist and ensure it contains the following.

<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE plist PUBLIC '-//Apple//DTD PLIST 1.0//EN'
'http-//www.apple.com/DTDs/ PropertyList-1.0.dtd'> <plist version='1.0'>
<dict>
<key>Label</key>
<string>org.freebsd.ipfw</string>
<key>Program</key>
<string>/sbin/ipfw</string>
<key>ProgramArguments</key>
<array>
<string>/sbin/ipfw</string>
<string>/etc/ipfw.conf</string>
</array>
<key>RunAtLoad</key>
<true />
</dict>
</plist>

Edit or create /etc/ipfw.conf and ensure it contains the following line (the first number, a line number, may need to be changed if another line already begins with that number).

Add 20 deny icmp from any to me in icmptypes 8

See Also

http://iase.disa.mil/stigs/os/mac/u_mac_osx_10.6_v1r3_stig_20130426.zip

Item Details

Category: SYSTEM AND COMMUNICATIONS PROTECTION

References: 800-53|SC-7(16), CAT|II, Rule-ID|SV-37266r1_rule, STIG-ID|OSX00465-M6, Vuln-ID|V-25337

Plugin: Unix

Control ID: b76d90d3d925168604dce259942ddfd6c615cb5232fa7858d7496722b49d5a3a