Operating System - HP-UX
1836605 Members
1611 Online
110102 Solutions
New Discussion

Re: What are all the ways an HPUX system can be accessed?

 
SOLVED
Go to solution
Angie_1
Regular Advisor

What are all the ways an HPUX system can be accessed?

I am trying to come up with a list of ALL the different ways an HPUX 11.X system can be accessed via the network. I then have to write a document on how we are controlling them.

I have the following:

ftp
telnet
remsh
rexec

Am I missing anything?

Thanks - Angie
17 REPLIES 17
Rodney Hills
Honored Contributor

Re: What are all the ways an HPUX system can be accessed?

Check out the file /etc/services for some others.

finger
http

are also pretty common

HTH

-- Rod Hills
There be dragons...
Nick Wickens
Respected Contributor
Solution

Re: What are all the ways an HPUX system can be accessed?

Take a look at /etc/services - They are all potential access ports.

You may also have odbc access enabled through database engines or Web Browser access to applications AND hardware (eg the console).
Hats ? We don't need no stinkin' hats !!
Angie_1
Regular Advisor

Re: What are all the ways an HPUX system can be accessed?

Good idea. Will look at that file. I am having to do this because of Sarbanes!

Angie
Zinky
Honored Contributor

Re: What are all the ways an HPUX system can be accessed?

Others to add to your list:

Webmin
VNC
SAMBA

And the various Enterprise Monitoring Suites like BMC Patrol, ITO and CA Unicenter.
Hakuna Matata

Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler
Denver Osborn
Honored Contributor

Re: What are all the ways an HPUX system can be accessed?

keep in mind that there could be a process listens for requests and may not be listed in /etc/services or inetd.conf... ie/ sshd and mysqld.... etc.

you could use lsof and netstat to see what process is listening on what port.

# netstat -an |grep LISTEN

tcp 0 0 *.22 *.* LISTEN

# lsof -i:22
would show sshd on port 22


hope this helps
-denver
Angie_1
Regular Advisor

Re: What are all the ways an HPUX system can be accessed?

Ok thanks... now I will figure out how to control/block all these.

Then document. YUCK!

Angie
Fred Ruffet
Honored Contributor

Re: What are all the ways an HPUX system can be accessed?

You'll only have to report on open ports. Use netstat to see on wich port your server is listening. Your server is hoppefuly not listening for all protocols defined in /etc/services :)
If you have a firewall, don't deal with blocked ports.

Regards,

Fred
--

"Reality is just a point of view." (P. K. D.)
Angie_1
Regular Advisor

Re: What are all the ways an HPUX system can be accessed?

Ok I will use netstat to see what all ports are open. I think I am more interested in looking at not the open ports or services on those open ports, but a way to stop a user from logging in directly. Know what I mean?

Wouldn't it then be just the telnet, rexec, ftp, remsh...and?

Angie
Fred Ruffet
Honored Contributor

Re: What are all the ways an HPUX system can be accessed?

Knowing listening ports (with netstat), you will have a look in /etc/services to know what program is using this port. That will tell you what program can be used to connect.

lsof is even the better way, because it will tell you program/ports binding regardless of /etc/services. So it wil not fail for programs not using default ports.

Regards,

Fred
--

"Reality is just a point of view." (P. K. D.)
A. Clay Stephenson
Acclaimed Contributor

Re: What are all the ways an HPUX system can be accessed?

One missing from your list is rlogin but you really do have to netstat and/or lsof to look for listeners. After all just because someone didn't name their daemon telnetd and just because the client isn't connecting on port 23 doesn't mean that someone hasn't created a server process that listens on another port which behaves like telnetd.

Even the well-known services might be vulnerable to buffer-overflow attacks or denial-of-service attacks.
If it ain't broke, I can fix that.
Steven E. Protter
Exalted Contributor

Re: What are all the ways an HPUX system can be accessed?

ssh
sftp
scp

The replacement for the r-protocols.

Safe, secure, no clear text transmission of passwords.

http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=T1471AA

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Angie_1
Regular Advisor

Re: What are all the ways an HPUX system can be accessed?

Where is lsof as I can't find it on my HPUX 11.X box.

Thanks!
Angie
A. Clay Stephenson
Acclaimed Contributor

Re: What are all the ways an HPUX system can be accessed?

Lsof (list open files) doesn't come as a standard HP-UX utility. It's available on any of the HP-UX Porting Centre's and it a tool no UNIX box should be without.

http://gatekeep.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.73/
If it ain't broke, I can fix that.
Mark Greene_1
Honored Contributor

Re: What are all the ways an HPUX system can be accessed?

lsof can be downloaded from here:

http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.73/


also access methods like UUCP, tftp, and Kermit, though not widely used, are still available.


mark
the future will be a lot like now, only later
Angie_1
Regular Advisor

Re: What are all the ways an HPUX system can be accessed?

Thanks for that link for lsof. Will try that out today!

THANK YOU!!!!!!
Angie
Robert-Jan Goossens_1
Honored Contributor

Re: What are all the ways an HPUX system can be accessed?

Hi Angie,

Not the most obvious one, but access to the console is one of the most risky one.

Hope it helps,
Robert-Jan
Angie_1
Regular Advisor

Re: What are all the ways an HPUX system can be accessed?

Thank you all!!

Angie