- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Validate HPUX Security items
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2006 06:49 AM
02-01-2006 06:49 AM
1. /etc/rc.config.d/SnmpHpunix
Set SNMP_HPUNIX_START to 0: SNMP_HPUNIX_START=0
2. /etc/rc.config.d/SnmpMaster
Set SNMP_MASTER_START to 0: SNMP_MASTER_START=0
3. /etc/rc.config.d/SnmpMib2
Set SNMP_MIB2_START to 0: SNMP_MIB2_START=0
4. /etc/rc.config.d/SnmpTrpDst
Set SNMP_TRAPDEST_START to 0: SNMP_TRAPDEST_START=0
2) NFS - all shares need to be restricted to trusted hosts only and
preferably read only -> Trusted Hosts : listed in .rhosts file, check for permissions as read only for all shares listed in /etc/exports
3) Disable HTTP trace on port 8080 -> I think that we need to change/add to an "httpd.conf" file. :
RewriteEngine On
RewriteCond %{REQUEST_METHID} ^(TRACE|TRACK)
RewriteRule .* - [F]
4) Disable the following services (I noticed all but bootpc, are in /etc/inetd.conf):
echo -> Comment out both of them in inetd.conf?
discard -> Comment out both of them in inetd.conf?
chargen -> Comment out both of them in inetd.conf?
daytime -> Comment out both of them in inetd.conf?
bootps -> Comment out in inetd.conf?
bootpc -> /etc/services
tftp -> Comment out in inetd.conf?
ident -> Comment out in inetd.conf?
5) Patch PHP running on port 8080 ->
Get the patch from HP.
6) Disable sendmail if not needed.
a) edit/remove the -bd flag from the "sendmail" command line in the /sbin/init.d/sendmail file or
b) Just comment out that line.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2006 07:11 AM
02-01-2006 07:11 AM
Solution2. .rhosts has nothing to do with NFS. You restrict access to NFS mounts via the access= option in /etc/exports. See exports(4)
3. Not sure about that one.
4. Looks good. Be careful of commenting identd, however. If you run Serviceguard, it may require it unless the -i option is used on cmclconfd in /etc/inetd.conf.
5. Sounds reasonable.
6. Modifying the /sbin/init.d scripts supplied by HP is never a good idea. They can be overwritten at any time you patch the system. Set SENDMAIL_SERVER=0 in /etc/rc.config.d/mailservs instead.
Jeff Traigle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2006 05:01 AM
02-03-2006 05:01 AM
Re: Validate HPUX Security items
You could also go significantly farther and use rewrite options to limit the extended characters that Apache allows. Example:
RewriteRule [^a-zA-Z0-9|\.|/|_|-] - [F]
This will only allow a-z, A-Z, 0-90, ., /, _, -.
You should test this thoroughly though.
Trusted Apache security links of note:
www.sans.org/top20/index.php
www.cissecurity.org - look for the Apache Benchmark for UNIX
www.securityfocus.com/infocus/1694
www.securityfocus.com/infocus/1706
httpd.apache.org/docs/2.0/misc/security_tips.html
Don
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2006 04:27 AM
02-08-2006 04:27 AM
Re: Validate HPUX Security items
4) All the other ones are also in /etc/services. Why do I not comment those out in /etc/services instead of /etc/inetd.conf?
5) Unable to get patch. Receive message page from HP that there is an "issue." Where else can I get it?
6)O.K. I can do that. Do I need to reboot or what afterwards?
Thanks Again
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2006 04:35 AM
02-08-2006 04:35 AM
Re: Validate HPUX Security items
Some people will say to comment them in /etc/services also. I typically only comment them in /etc/inetd.conf. Someone will probably berate me for that. :)
5) Unable to get patch. Receive message page from HP that there is an "issue." Where else can I get it?
The HP site is the only place I know to get patches, other than from your friendly neighborhood HP rep if you have a support contract.
6)O.K. I can do that. Do I need to reboot or what afterwards?
Nope. Once you run the init.d script to stop it, sendmail is down.
Jeff Traigle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2006 04:49 AM
02-08-2006 04:49 AM
Re: Validate HPUX Security items
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2006 05:09 AM
02-08-2006 05:09 AM
Re: Validate HPUX Security items
Hope it helps
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2006 05:20 AM
02-08-2006 05:20 AM
Re: Validate HPUX Security items
I view /etc/services as a reservation file.
If inetd.com and other daemons are condfigured correctly, they will use the /etc/services designation and fucntion as the file says.
Its kind of like an airline reservation system, because it can be bumped. Oracle and other third party products use ports without needing an entry in the file and can cause conflict with services defined in /etc/services.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2006 06:03 AM
02-08-2006 06:03 AM
Re: Validate HPUX Security items
one for write, one for r/o hosts
4)
bootpc -> /etc/services
rbootd in /etc/inetd.conf
changing /etc/services is useless.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2006 02:11 AM
02-09-2006 02:11 AM