- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Security issues , Help !!!
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
07-20-2003 12:27 PM
07-20-2003 12:27 PM
Security issues , Help !!!
i have 5 unix servers and i have to improve their security level :
1 . How can i secure the telnet session ? where i can find OpenSSH ?
2. How can i secure the Sendmail ?
3. Please give me some ideas to improve the security level .
Bye ,
Eran.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2003 12:40 PM
07-20-2003 12:40 PM
Re: Security issues , Help !!!
The patch check tool is usefull for permission tests and searching for recalled patches.
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProducts.pl?group_type=category&group_name=ISS
Also try the porting archive for precompiled tools:
http://hpux.cs.utah.edu/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2003 01:01 PM
07-20-2003 01:01 PM
Re: Security issues , Help !!!
Convert to a trusted system (menu option under SAM).
Install all the latest security patches; www.itrc.hp.com -> Individual patches -> Security patches.
subscribe to latest security patches bulletin to continually receive news on new security patches.
Comment unused services out of inetd.conf
use inetd.sec for used services
get away from telnet/ftp and use ssh
lock down sendmail (edit sendmail.cf and use something about 8.8.6)
use securetty to control root logins
use ftpusers if ftp is required
log, log, log. Use the -l options in the /etc/rc.config.d/netdaemons file
Go to docs.hp.com and search with the keyword "trusted" for a wealth of documents. You can start here, for one:
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90701/B2355-90701_top.html&con=/hpux/onlinedocs/B2355-90701/00/00/65-con.html&toc=/hpux/onlinedocs/B2355-90701/00/00/65-toc.html&searchterms=Trusted&queryid=20010626-072559
In the Managing Systems and Workgroups: A Guide for HP-UX System Administrators ( http://docs.hp.com/hpux/onlinedocs/B2355-90701/B2355-90701.html ) they talk about some features available to enhance security on your system.
Here's an excerpt from the manual(to get to this go to the above link, then scroll down to 'Administering a system: Managing System Security' click on the + sign and then scroll down to 'Optional Security Packages'):
Optional Security Packages
The following sections describe a number of optional packages available to enhance security on your standard or trusted HP-UX system. The sections are:
Using Pluggable Authentication Modules (PAM)
Using Network Information Service Plus (NIS+)
Secure Internet Services (SIS)
Intrusion Detection System (IDS/9000)
Common Data Security Architecture (CDSA)
http://forums.itrc.hp.com/cm/components/FileAttachment/0,,0x1d933f9a15add711abdc0090277a778c,00.pdf
Bastille Security hardening
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=B6849AA
Perl which the above needs.
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=PERL
Security Patch Check
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=B6834AA
TCP Wrappers
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=TCPWRAP
IDS/9000 (Intrusion Detection Sytstem)
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=J5083AA
Get all these products working you'll be quite secure.
Secure shell
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=T1471AA
This is the best way to secure a hp server:
http://www.kbeta.com/SecurityTips/Checklists/HPUX_11_Bastion_Guide.htm
Get a copy of the brand new book:
"HP-UX 11i Security" by Chris Wong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2003 02:47 PM
07-20-2003 02:47 PM
Re: Security issues , Help !!!
1) Work toward getting away from any protocol that transfers passwords back and forth in clear text.
ftp (replacec by sftp in Secure Shell(openssh)
telnet(replaced by ssh in Secure Shell)
Avoid the r protocols rsh remesh et al. They are open doors to trouble.
If you are not behind a firewall then consider IPFilter. Its simple and basic but gets the job done.
Take a look at basic permissions.
umask
If your umask is 022 then when a user creates a file only that user has read/write access and the group has read access. Other groups can't do anything with the file unless the user explicitly changes permissions.
This makes openning up file access a conscisous act, not an automatic one.
You have to consider your environoment and take appropriate action.
I work at a Jewish Charity. In most respects we act as if our two firewalls aren't there. We assume the hacker has access and make our systems as tough as they need to be if they were on the public Internet.
We have to do that, due to the world we live in and the actions of a few Israeli(and American) teenage hackers who have made it their business to mess with computer systems of governments such as Syria, news outlets like Al Jazzira.
With regards to sendmail, its tough to make it secure becasue bugs and vulnerability keeps coming up. All I can recommend is keeping up with patches and joining the CERT security newsletter.
Also, subscribe to itrc's security notices on the front page if itrc. Its critical with sendamil and other issues to simply read and take the time to keep your systems up to date.
A caution: Sometimes a security patch has unintended negative consequences. They can break things. You need a system you test on and you need to make an Ignite make_tape_recovery backup prior to installing these patches. Security Patches are pushed out the door and are not all three star patches.
All of the stuff below is easily available at software.hp.com
Bastille requires a perl install among other issues.
Thats in the statement below.
Bastille Security hardening
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=B6849AA
Perl which the above needs.
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=PERL
Security Patch Check
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=B6834AA
TCP Wrappers
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=TCPWRAP
IDS/9000 (Intrusion Detection Sytstem)
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=J5083AA
Get all these products working you'll be quite secure.
Secure shell
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=T1471AA
Regards, and forgive the duplciation of earlier posts. A lot of the bottom section is a cut and paste.
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
07-20-2003 03:25 PM
07-20-2003 03:25 PM
Re: Security issues , Help !!!
In additon to what the others have mentioned, I'd also look at the Centre for Internet Security (CIS) document on HP-UX Security.
Its an easy guide to follow to tighten your security & gives reasonable explanations of why things are being done.
I have attached the document, although later versions are probably available at:
http://www.cisecurity.org/
Cheers
Con
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2003 10:56 AM
07-22-2003 10:56 AM
Re: Security issues , Help !!!
Berlene
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2003 11:42 AM
07-22-2003 11:42 AM
Re: Security issues , Help !!!
1. The ssh find on www.openssh.org
2. You can use the qmail
3. Use firewall, stop using not nesasery services.
Order "Hacking Unix Exposed" book, it's will
give you the way and the tools for the security
Caesar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2003 11:47 AM
07-22-2003 11:47 AM
Re: Security issues , Help !!!
You can also change a setting in /etc/mail/sendmail.cf to:
O PrivacyOptions=goaway
to not answer queries for information.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2003 12:25 PM
07-22-2003 12:25 PM
Re: Security issues , Help !!!
man inetd.sec
This will give you the ability to control the connections made by inet.
Now, onto the rest.
System security is not something that someone can simply tell you how to get done, as every site is different in needs.
You can look at Bastille for HP-UX, but if you need any of the services that Bastille locks out, your no good reading any further unless you know how to open services up again in a secure way..
Lets talk about sendmail for a moment:
Sendmail is sendmail. Knowledge of how to secure it in HP-UX is identical to knowledge of how to secure it in Solaris, AIX, Linux, SCO, Irix, Xenix, etc...
If you dont know enough about sendmail to secure it, plan on doing tons and tons of reading and experimenting and taking a long time to get this done. Sendmail 3rd edition I'll mention below has some cook book features, as well as alot of info on security. But, once you can secure sendmail, you can do it on any Unix platform with minimal adaptations.
This is true for almost all major services in Unix. Apache security is Apache security, whether on HP-UX or SunOS.
Other people pointed you to openssh download sites, but remember that running openssh does not shut down telnet, rsh, rexec, etc...
System security and site security is quite an extensive knowledge base, that noone can give you in a simple reply. This literally takes years of doing to fully understand, as well as training (whether professional or self teaching). And even then, if you miss 1 thing all your work can be down the crapper with 1 hacker.
I'd suggest you look at Bastille for HP-UX first. It's alot to digest, but this is a true hardened system. I'd also suggest you start on a nice library. All of the following are published by O'Reilly and Associates.
DNS and Bind cookbook and/or 4th edition
Practical Unix and Internet security
Internet core protocols (definitive guide)
Sendmail 3rd edition
NFS and NIS in a Nutshell
Apache
SSH, The Secure Shell (definitive guide)
Lets not forget the most critical piece of security in this mess either. Monitoring!
It's hard from looking your post to guess how much security you need, and how much knowledge of Unix you have. The biggest concern is the Unix knowledge, and knowledge of internet services for Unix. If your unsure about any of them, you may want to talk to a consultant.
Sincerely,
Shannon Petry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2003 12:35 PM
07-22-2003 12:35 PM
Re: Security issues , Help !!!
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
07-24-2003 10:20 AM
07-24-2003 10:20 AM
Re: Security issues , Help !!!
In addition to what has been mentioned, after hardening and securing your system, you will want to audit your system for weaknesses.
For password audits, you may want to run John the Ripper against your system.
For host-based audits, you may want to run the CIS benchmark mentioned against your system, or use Tiger or equivalent.
For network-based audits, in particular to test your ipfilter or tcpwrapper, you can make use of nessus at http://www.nessus.org which is among the best opensource network-based audit tools around.
Hope this helps. Regards.
Steven Sim Kok Leong