🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.security.misc
4 messages
4 total messages Started by daniel Wed, 02 Sep 1992 05:09
Summary: Re: Disabling telnetd and ftpd etc
#328
Author: daniel
Date: Wed, 02 Sep 1992 05:09
91 lines
3928 bytes
 
 
 
In comp.security.misc I wrote:
 
>I thought that the best way to make the Iris secure and still allow network
>access would be to disable telnetd and ftpd, leaving inetd and smtpd working
>for mail to be available.  This would allow telnet and ftp *from* our Iris,
>but not *to*.
 
 
Many thanks to all who replied to my posting.  Your help is very much
appreciated.  I have compiled a summary of the replies.
 
Most people reminded me that there are many daemons to disable: telnetd,
ftpd, tftpd, rshd, rexecd, rlogind, rexd.  The 'r' programs are the
ones which are especially vulnerable to attack.
 
Three especially interesting points were made:
 
rob@wzv.win.tue.nl (Rob J. Nauta) writes:
 
    Besides, real hackers don't telnet in like beginners. They steal your
    password file via NIS (YP), mount your disks remotely via NFS, all
    things you can't control.
 
Brian Cartmell <brc@halcyon.halcyon.com> writes:
 
    If you are looking to secure your machine I would do all the security
    from the CISCO or whatever you are using as a router to do your FIRE
    WALLING!
 
and  I.Sparry@sunlab1.bath.ac.uk writes:
 
  Yes. If you are forced to have PC's on your network, then you can not
consider
  the network to be secure at all, so you are wasting your time worrying about
  security. With a PC anyone there could turn a PC into an ethernet monitor
  and so can grab the passwords as they flow past.
 
  This ignores any risk of someone running a program like 'pc-anywhere' etc
 
  If you are serious about security, you want to buy several routers, so you
  can implement policy in them, rather than on the separate machine.
 
 
scott@prism.gatech.edu mentioned that there is no protection against
IP spoofing (a machine pretending to have another's address.)  No-one
else mentioned this.  How serious a threat is it?  Are routers told
which machines are on the 'inside' and which are on the 'outside' of
a subnet?
 
 
I was also directed to read decuac.dec.com:pub/docs/firewall/*.ps, the
alt.security.FAQ and the unix.security document.  I have read the last
two.
 
It was pointed out that PC's are probably the biggest security hole.  That's
OK, as no sensitive material will be on them, and they won't be running
NFS.  As for PC's being used as ethernet monitors to catch passwords,
by refusing telnet, rlogin, ftp etc access to the Iris, there would be
no passwords of importance to catch, as the passwords would never appear
on the ethernet.  That is, not until we get another Iris!
 
So the upshot is: -
 
* Don't run PC-NFS
* Don't run YP or NFS
* disable telnetd, ftpd, tftpd and r*d daemons and any others not needed
* get the router set up to disallow any packets for the Iris from outside
  the subnet to reach it.
 
and the system will be as secure as the lock on the door of its room.
 
 
Many people also suggested the installation of tcp-wrappers to monitor
login attempts etc.  This will most certainly be necessary if and when
a new Iris is added to further boost our massive computer power.
We would then want telnetd and NFS available.
 
A step-by-step walk through the check-list in the "How to
Improve the security of your Unix System" document would help.
Combined with proper setting up of the router and tcp-wrapping just to
make sure the router is doing its job, and the only apparent hole is
the ethernet packet monitoring PC, which would have to be located
within our subnet.
 
 
Have I missed anything?
 
Danny
Re: Summary: Re: Disabling telnetd and ftpd etc
#337
Author: Rob J. Nauta
Date: Wed, 02 Sep 1992 20:51
27 lines
1427 bytes
daniel@vcp1.vcp.monash.edu.au writes:

>So the upshot is: -
 
>* Don't run PC-NFS
>* Don't run YP or NFS
>* disable telnetd, ftpd, tftpd and r*d daemons and any others not needed
>* get the router set up to disallow any packets for the Iris from outside
>  the subnet to reach it.
 
>and the system will be as secure as the lock on the door of its room.
 
Yes, but also not as useable. For instance, if you block all traffic to
your network, why bother connecting ? Just cancel your Internet
subscription. If you deny everything, you won't receive any mail nor
news, is that what you want ?

Furthermore, it's ok to run NIS and NFS (although with one machine it's not
needed), if you set up your router to block access to ports 111
and 2049/UDP (last one for NFS).

Rob
-- 
/-----------------------------------------------\	Never		   ,==.
| Rob J. Nauta, UNIX computer security expert.	| 	 Apologize,	  /@  |
| rob@wzv.win.tue.nl, Phone: +31-40-837549	| 	  Never		 /_  <
| Feel free to email me for free advice		|	   Explain.	=" `g'
Re: Summary: Re: Disabling telnetd and ftpd etc
#339
Author: Barry Margolin
Date: Thu, 03 Sep 1992 04:48
15 lines
1120 bytes
In article <1992Sep2.150939.1@vcp1.vcp.monash.edu.au> daniel@vcp1.vcp.monash.edu.au writes:
>scott@prism.gatech.edu mentioned that there is no protection against
>IP spoofing (a machine pretending to have another's address.)  No-one
>else mentioned this.  How serious a threat is it?  Are routers told
>which machines are on the 'inside' and which are on the 'outside' of
>a subnet?

We have the packet filter on the router that connects us to NEARnet set up
to do this.  It won't forward any packet whose source address is on our
network.
-- 
Barry Margolin
System Manager, Thinking Machines Corp.

barmar@think.com          {uunet,harvard}!think!barmar
Re: Summary: Re: Disabling telnetd and ftpd etc
#342
Author: Brian Fitzgerald
Date: Thu, 03 Sep 1992 05:06
13 lines
931 bytes
Rob J. Nauta writes:
>daniel@vcp1.vcp.monash.edu.au writes:
>>* Don't run YP or NFS

>Furthermore, it's ok to run NIS and NFS (although with one machine it's not
>needed), if you set up your router to block access to ports 111

Blocking access to port 111 may not completely protect YP.

You need the Iris equivalent of sun-patch 100482 (ftp.uu.net:
/systems/sun/sun-dist)  (/var/yp/securenets, and all that.)

Brian
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads