Today's Page Hits: 426
This page validates as XHTML 1.0, and will look much better in a browser that supports web standards, but it is accessible to any browser or Internet device. It was created using techniques detailed at glish.com/css/.
Solaris Security Toolkit Customization
The Solaris Security Toolkit provides a flexible way to harden a Solaris system, making it more secure from malicious attack. This software may be installed during a unattended Solaris JumpStart install, or installed after Solaris is installed and booted. Solaris Security Toolkit supports Solaris 8, 9, and 10 on SPARC and x86 systems. Solaris 2.5.1, 2.6, and 7 can be used, but are not supported.
One size does not fit all. The degree of hardening depends on your site requirements. For that reason, pre-canned scripts provide various levels of hardening. The secure.driver closes all ports except for ssh. The server-secure.driver leaves frequently-used server services open. The following discusses customizing the server-secure.driver to your site-specific needs. Once customized, your systems can be hardened in an automated way using one or more configurations you established.
I won't go into all the details of use and customization of Solaris Security Toolkit, but I'll give enough details to get you started. I'm only covering interactive use in this example. For unattended JumpStart installs, see the Administration Guide.
# uncompress SUNWjass.pkg.Z # pkgadd -d SUNWjass.pkg |
# /opt/SUNWjass/bin/jass-execute -d server-secure.driver |
[SUMMARY] Results Summary for APPLY run of server-secure.driver [SUMMARY] The run completed with a total of 85 scripts run. [SUMMARY] There were Failures in 0 Scripts [SUMMARY] There were Errors in 0 Scripts [SUMMARY] There were Warnings in 2 Scripts [SUMMARY] There were Notes in 68 Scripts |
# /usr/sbin/reboot |
# /opt/SUNWjass/bin/jass-execute -a server-secure.driver |
[SUMMARY] Results Summary for AUDIT run of server-secure.driver
[SUMMARY] The run completed with a total of 85 scripts run.
[SUMMARY] There was a Failure in 1 Script
[SUMMARY] There were Errors in 0 Scripts
[SUMMARY] There was a Warning in 1 Script
[SUMMARY] There were Notes in 20 Scripts
[SUMMARY] Failure Scripts listed in:
/var/opt/SUNWjass/run/20050721092746/jass-script-failures.txt
|
[FAIL] Template /root/.profile does not match target on system. |
# svcs telnet STATE STIME FMRI online 9:06:31 svc:/network/telnet:default |
# cd /opt/SUNWjass/Drivers # cp user.init.SAMPLE user.init # cat >>user.init JASS_SVCS_DISABLE="svc:/network/telnet:default" export JASS_SVCS_DISABLE ^D |
# /opt/SUNWjass/bin/jass-execute -d server-secure.driver |
# /opt/SUNWjass/bin/jass-execute -u |
It's a good idea to periodically run jass-execute -a (Audit mode) to verify disabled services are still disabled. If a service becomes enabled (say, because of admin error, a patch, or installing other software), run jass-execute -d (Apply mode) again to lock down the service.
Sometimes you may want to apply the same customized changes you made with Solaris Security Toolkit to multiple systems, or you want to save the changes you made off the system. To do this, you create "customized" package JASScustm with the following command:
# /opt/SUNWjass/bin/make-jass-pkg |
This creates this package, which may be installed in lieu of SUNWjass. Customized changes such as user.init are included in the package at /opt/SUNWjass/JASScustm.pkg
Solaris Security Toolkit downloads and documentation is available at http://www.sun.com/software/security/jass/ These documents are available:
Technorati Tags: wiki security
Posted at 11:30AM Jul 29, 2005 by DanX in Security | Comments[5]
Posted by Michiel Smit on June 08, 2006 at 01:03 PM PDT #
Posted by Dan Anderson on October 31, 2006 at 10:40 AM PST #
Procedure to Disable Firewall in Solaris 10 SPARC
Posted by shruthi bk on February 02, 2009 at 03:41 AM PST #
Shruthi,
If by "Firewall" you mean ipfilter, you can disable it as follows:
# svcadm disable svc:/network/ipfilter:default
# svcs svc:/network/ipfilter:default
ipfilter is disabled by default.
Posted by Daniel Anderson on February 02, 2009 at 10:26 AM PST #
Can u tell me how to enable firewall??
Posted by shruthi on February 03, 2009 at 04:54 AM PST #