Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Re: Security Problem
  1997-04-21  4:00 Security Problem Floyd Davenport
  1997-04-21  4:00 ` Magnus Bergman
@ 1997-04-21  4:00 ` Will Sitch
  1997-04-21  4:00   ` Dean Roth
  1997-04-22  4:00   ` Thomas H. Ptacek
  1997-04-21  4:00 ` Don Nichols
                   ` (3 subsequent siblings)
  5 siblings, 2 replies; 20+ messages in thread
From: Will Sitch @ 1997-04-21  4:00 UTC (permalink / raw)



Floyd Davenport (davenportf@ces.aces.uiuc.edu) wrote:
: I'm running DEC Unix 4.0 and I have some friendly folks that have decided
: to make use of my system without permission.  They are using telnet and
: ftp to gain access to the system and drop off some files (IRC bot).
: They haven't been destructive (yet) and the accounts they have used had
: pretty simple passwords.

Eggdrop?  (The IRC Bot)  We encountered something like this a little while
ago, and have undergone several severe security upgrades.  We moved to a
restricted-host setup, where we limit ALL connections to authorized hosts. 
(Available though Linux quite nicely) 

: We are in the process of updating our password files, but I wanted to ask
: if there might be some other precautions that we might want to take.

You should definately move towards a passwd/shadow suite of tools, which
store the passwords in a more secure shadow file.  This would stop the IRC
bot from snarfing your passwd file (along with encrypted passwords) right
off.  The passwords are stored in a root-only file, which is accessed by a
number of tools.

You also may wish to take a look at some passwd-guessing tools, Crack
comes to mind.  SATAN may help you analyse your network problems, but its
use is as a tool - it won't solve all your problems.  COPS is also a good
password/security tool.

Local security should also be a concern, do you exist in a physical
environment which may lend itself to ipsniffing or ipspoofing?

What kind of architecture are you running?

-- 
William Sitch-     Technical Director, Carleton Student Engineering Society
EngSoc System Administrator/Board of Governors   2nd Electrical Enginerding
http://www.engsoc.carleton.ca/~wsitch  PGP:finger wsitch@engsoc.carleton.ca




^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Security Problem
  1997-04-21  4:00 Security Problem Floyd Davenport
  1997-04-21  4:00 ` Magnus Bergman
  1997-04-21  4:00 ` Will Sitch
@ 1997-04-21  4:00 ` Don Nichols
  1997-04-22  4:00 ` Justin B. Harvey
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 20+ messages in thread
From: Don Nichols @ 1997-04-21  4:00 UTC (permalink / raw)



In article <5jfui3$3ec@vixen.cso.uiuc.edu>,
Floyd Davenport <davenportf@ces.aces.uiuc.edu> wrote:
>I'm running DEC Unix 4.0 and I have some friendly folks that have decided
>to 
>make use of my system without permission.  They are using telnet and ftp to
>
>gain access to the system and drop off some files (IRC bot).  They haven't
>been
>destructive (yet) and the accounts they have used had pretty simple
>passwords
>.
>
>We are in the process of updating our password files, but I wanted to ask
>if
>there might be some other precautions that we might want to take.  For
>example, 
>is there a simple way to reject connections from specific host computers?

	There sure is -- get tcp-wrappers.  It lets you individually control
(and log) access on various ports.

	*However*, at this point, there is a non-negligable chance that your
system has some additional security holes introduced by your friends.  It
would be a good idea to do a comparison of MD5 checksums between any SUID
root programs on the system and their originals from the distribution media.

	I'm sure that a lot of others will dive in telling you the same
things.  (It's just that nobody else *has* yet -- at least based on our news
spool.)

	Good Luck,
		DoN.
-- 
DoN Nichols  work:nichols@nvl.army.mil (703)704-2280
Disclaimer: No statements herein are to be considered as necessarily
representing the opinions of the Department of the Army or Night Vision Labs.
    Black holes are where GOD is dividing by zero -- (author unknown)



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Security Problem
  1997-04-21  4:00 Security Problem Floyd Davenport
@ 1997-04-21  4:00 ` Magnus Bergman
  1997-04-21  4:00 ` Will Sitch
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 20+ messages in thread
From: Magnus Bergman @ 1997-04-21  4:00 UTC (permalink / raw)



In article <5jfui3$3ec@vixen.cso.uiuc.edu>,
	"Floyd Davenport" <davenportf@ces.aces.uiuc.edu> writes:

> We are in the process of updating our password files, but I wanted to ask
> if
> there might be some other precautions that we might want to take.  For
> example, 
> is there a simple way to reject connections from specific host computers?

Either you can use access-lists in the router(s) that connects your
network to the Internet or a dedicated firewall that does the same thing.
Otherwise if this is only about one host you might be intrested in
tcp-wrappers by Wietse Venema. It is available at:

ftp://ftp.win.tue.nl/pub/security/tcp_wrappers_7.6.tar.gz

With that you can block access to defined daemons from different hosts and
also get some additional logging.

Regards //Tri



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Security Problem
@ 1997-04-21  4:00 Floyd Davenport
  1997-04-21  4:00 ` Magnus Bergman
                   ` (5 more replies)
  0 siblings, 6 replies; 20+ messages in thread
From: Floyd Davenport @ 1997-04-21  4:00 UTC (permalink / raw)



I'm running DEC Unix 4.0 and I have some friendly folks that have decided
to 
make use of my system without permission.  They are using telnet and ftp to

gain access to the system and drop off some files (IRC bot).  They haven't
been
destructive (yet) and the accounts they have used had pretty simple
passwords
.

We are in the process of updating our password files, but I wanted to ask
if
there might be some other precautions that we might want to take.  For
example, 
is there a simple way to reject connections from specific host computers?

Floyd Davenport
davenportf@idea.ag.uiuc.edu





^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Security Problem
  1997-04-21  4:00 ` Will Sitch
@ 1997-04-21  4:00   ` Dean Roth
  1997-04-22  4:00   ` Thomas H. Ptacek
  1 sibling, 0 replies; 20+ messages in thread
From: Dean Roth @ 1997-04-21  4:00 UTC (permalink / raw)



Will Sitch wrote:
> 
> Floyd Davenport (davenportf@ces.aces.uiuc.edu) wrote:
> : I'm running DEC Unix 4.0 and I have some friendly folks that have decided
> : to make use of my system without permission.  They are using telnet and
> : ftp to gain access to the system and drop off some files (IRC bot).

> 
> : We are in the process of updating our password files, but I wanted to ask
> : if there might be some other precautions that we might want to take.
> 
> You should definately move towards a passwd/shadow suite of tools, which

S/Key (single use passwords) would be a much better idea.

-- 
dre @ myp . com

Edit the return address as indicated in the address
so that it will work.



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Security Problem
  1997-04-21  4:00 ` Will Sitch
  1997-04-21  4:00   ` Dean Roth
@ 1997-04-22  4:00   ` Thomas H. Ptacek
  1 sibling, 0 replies; 20+ messages in thread
From: Thomas H. Ptacek @ 1997-04-22  4:00 UTC (permalink / raw)




21 Apr 1997 17:44:17 GMT wsitch@engsoc.carleton.ca:
>restricted-host setup, where we limit ALL connections to authorized hosts. 
>(Available though Linux quite nicely) 

>You should definately move towards a passwd/shadow suite of tools, which
>store the passwords in a more secure shadow file.  This would stop the IRC

>Local security should also be a concern, do you exist in a physical
>environment which may lend itself to ipsniffing or ipspoofing?

If security is of major concern, and your application is specific, check
out OpenBSD (http://www.openbsd.org), which runs on a variety of
architectures (including i386, Alpha, and SPARC) and is extensively
audited for security. OpenBSD supports all the above mentioned
facilities ("shadowed", secure passwords, and host-level access control).

-- 
----------------
Thomas Ptacek at EnterAct, L.L.C., Chicago, IL [tqbf@enteract.com]
----------------
exit(main(kfp->kargc, argv, environ));




^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Security Problem
  1997-04-21  4:00 Security Problem Floyd Davenport
                   ` (3 preceding siblings ...)
  1997-04-22  4:00 ` Justin B. Harvey
@ 1997-04-22  4:00 ` Shaun Lowry
  1997-04-28  4:00 ` George Berg
  5 siblings, 0 replies; 20+ messages in thread
From: Shaun Lowry @ 1997-04-22  4:00 UTC (permalink / raw)



In article <5jfui3$3ec@vixen.cso.uiuc.edu>,
Floyd Davenport <davenportf@ces.aces.uiuc.edu> wrote:
>I'm running DEC Unix 4.0 and I have some friendly folks that have decided
>to make use of my system without permission.  They are using telnet and ftp
>to gain access to the system and drop off some files (IRC bot).  They haven't
>been destructive (yet) and the accounts they have used had pretty simple
>passwords.
>
>We are in the process of updating our password files, but I wanted to ask if
>there might be some other precautions that we might want to take.  

First off, it's probably a good idea to enable the Enhanced Security
option that comes with Digital UNIX 4.0, as this comes free AFAIK.
This gives you shadowed passwords, more fine-grained control over
user/login/password attributes, 16 significant characters in passwords,
auditing and a whole host of other security features.  There's also a C2
option available, but this might be chargeable.

**_NOTE_**:  Read the documentation carefully before turning this option
on; it's something that needs quite careful configuration to leave you
with a "useable" system, and it's a good idea to know ahead of time what
you want this to provide you with, and how to go about achieving this.  Be
prepared for this option to immediately expire all the administration
passwords, and not allow you to change them back to what they were!

Over and above this, you might like to install a security auditing system
on your machines to check and maintain your security setup.  Examples
are COPS, Digital's own POLYCENTER Security Compliance Manager, or if
you want something more flexible or powerful, our own Security Manager
software.  See the URL in my sig for more details.

>For example, is there a simple way to reject connections from specific
>host computers?

You might like to install something like TCP wrappers locally, or more
generally this sort of function can be better performed by a firewall
system.  Remember, firewalls aren't just for connecting to the internet;
they can be used to compartmentalise internal networks too.

	Shaun.

-- 
Shaun Lowry           | March Information Systems Ltd., http://www.march.co.uk/
PGP Key available     | 14 Brewery Court, High St.,
from key servers or   | Theale, UK. RG7 5AJ
via e-mail on request | +44 118 930 4224



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Security Problem
  1997-04-22  4:00 ` Justin B. Harvey
@ 1997-04-22  4:00   ` Thomas H. Ptacek
  1997-04-23  4:00     ` Justin B. Harvey
  0 siblings, 1 reply; 20+ messages in thread
From: Thomas H. Ptacek @ 1997-04-22  4:00 UTC (permalink / raw)




22 Apr 1997 16:05:59 GMT jbharvey@FIX.TIN.DOMAIN:
>* Possibly run Secure Shell or S/Key

Be aware that neither of these two packages are a panacea. S/Key has
published conceptual vulnerabilities (the primary one being that
authentication alone doesn't resolve the problem of session hijacking),
and SSH is a large, complex piece of software that people are just
starting to dig into. 

-- 
----------------
Thomas Ptacek at EnterAct, L.L.C., Chicago, IL [tqbf@enteract.com]
----------------
exit(main(kfp->kargc, argv, environ));




^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Security Problem
  1997-04-21  4:00 Security Problem Floyd Davenport
                   ` (2 preceding siblings ...)
  1997-04-21  4:00 ` Don Nichols
@ 1997-04-22  4:00 ` Justin B. Harvey
  1997-04-22  4:00   ` Thomas H. Ptacek
  1997-04-22  4:00 ` Shaun Lowry
  1997-04-28  4:00 ` George Berg
  5 siblings, 1 reply; 20+ messages in thread
From: Justin B. Harvey @ 1997-04-22  4:00 UTC (permalink / raw)



Like they said:

* TCP Wrappers and block out their networks
* Apply the latest patches to your OS from DEC
* Install a firewall or talk to your network gurus and block their
networks
* Run satan on yourself to see how you were hacked, could give you some
clues.
* Install shadow passwords
* Run crack on yourself, take out vulnerable accounts
* Possibly run Secure Shell or S/Key

Floyd Davenport (davenportf@ces.aces.uiuc.edu) wrote:

: I'm running DEC Unix 4.0 and I have some friendly folks that have decided
: to 
: make use of my system without permission.  They are using telnet and ftp to

: gain access to the system and drop off some files (IRC bot).  They haven't
: been
: destructive (yet) and the accounts they have used had pretty simple
: passwords
: .

: We are in the process of updating our password files, but I wanted to ask
: if
: there might be some other precautions that we might want to take.  For
: example, 
: is there a simple way to reject connections from specific host computers?

: Floyd Davenport
: davenportf@idea.ag.uiuc.edu



--
Justin B. Harvey
jbharvey@gte.net




^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Security Problem
  1997-04-22  4:00   ` Thomas H. Ptacek
@ 1997-04-23  4:00     ` Justin B. Harvey
  1997-04-23  4:00       ` Thomas H. Ptacek
  1997-04-23  4:00       ` Kevin Oberman
  0 siblings, 2 replies; 20+ messages in thread
From: Justin B. Harvey @ 1997-04-23  4:00 UTC (permalink / raw)



In comp.security.unix Thomas H. Ptacek <tqbf@char-star.rdist.org> wrote:

> 22 Apr 1997 16:05:59 GMT jbharvey@FIX.TIN.DOMAIN:
> >* Possibly run Secure Shell or S/Key

> Be aware that neither of these two packages are a panacea. S/Key has
> published conceptual vulnerabilities (the primary one being that
> authentication alone doesn't resolve the problem of session hijacking),
> and SSH is a large, complex piece of software that people are just
> starting to dig into. 

I'm not up on S/key, but SSH is neither large nor complex.  For his
purpose I think it'd do well.  If you're talking about security
vulnerabilities in it, it would at the least make it so that he wouldn't
be sending his or the root password in clear text across the wire.  I'm
interested in hearing more detailed thoughts on the two Thomas.

j

> -- 
> ----------------
> Thomas Ptacek at EnterAct, L.L.C., Chicago, IL [tqbf@enteract.com]
> ----------------
> exit(main(kfp->kargc, argv, environ));


-- 
Justin B. Harvey
jbharvey@gte.net
http://home1.gte.net/jbharvey



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Security Problem
  1997-04-23  4:00     ` Justin B. Harvey
  1997-04-23  4:00       ` Thomas H. Ptacek
@ 1997-04-23  4:00       ` Kevin Oberman
  1997-04-23  4:00         ` Thomas H. Ptacek
  1 sibling, 1 reply; 20+ messages in thread
From: Kevin Oberman @ 1997-04-23  4:00 UTC (permalink / raw)



Justin B. Harvey <jbharvey@gte.net> writes:

> In comp.security.unix Thomas H. Ptacek <tqbf@char-star.rdist.org> wrote:
> 
> > 22 Apr 1997 16:05:59 GMT jbharvey@FIX.TIN.DOMAIN:
> > >* Possibly run Secure Shell or S/Key
> 
> > Be aware that neither of these two packages are a panacea. S/Key has
> > published conceptual vulnerabilities (the primary one being that
> > authentication alone doesn't resolve the problem of session hijacking),
> > and SSH is a large, complex piece of software that people are just
> > starting to dig into. 
> 
> I'm not up on S/key, but SSH is neither large nor complex.  For his
> purpose I think it'd do well.  If you're talking about security
> vulnerabilities in it, it would at the least make it so that he wouldn't
> be sending his or the root password in clear text across the wire.  I'm
> interested in hearing more detailed thoughts on the two Thomas.

While S/Key has limitations, it is much better than clear
passwords. But ssh is vastly superior to either S/Key or clear
passwords.

Since ssh encrypts the entire session, security is quite good. It
supports most popular encryption algorithms including IDEA,
triple-DES, and Diffie-Hellman. 

Authentication can use RSA public key technology although I understand
that someone has it working with Kerberos. It can also pass encrypted
passwords.

It's fairly easy to install and get running and available for most
Unix platforms as well as Windoze although the Windoze support is from
a commercial provider while the Unix version is free.

In addition to encrypting the terminal session, it also will set up
Xauthorization and a proxy so that X windows data will also be
encrypted. While it's not entirely "mature", it is very functional and
easy to set up and use.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman@es.net                  Phone: +1 510 486-8634



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Security Problem
  1997-04-23  4:00     ` Justin B. Harvey
@ 1997-04-23  4:00       ` Thomas H. Ptacek
  1997-04-23  4:00         ` Theo de Raadt
  1997-04-23  4:00       ` Kevin Oberman
  1 sibling, 1 reply; 20+ messages in thread
From: Thomas H. Ptacek @ 1997-04-23  4:00 UTC (permalink / raw)



23 Apr 1997 15:19:34 GMT jbharvey@gte.net:
>I'm not up on S/key, but SSH is neither large nor complex.  For his

SSH, by itself (sans libraries) is over twenty-six thousand lines of code.

It performs more services than any other Unix login client. Very few
people have actually read the code (there are some issues that would have
been dealt with by now if everyone was reading it). The SSH daemon runs
with privilege, and it's VM space contains sensitive information - yet SSH
happily forks off a copy of itself during user-login and reduces
privilege.

You don't see a potential for problems here?

Contrast SSH with CERT-IT Secure Telnet (and have a look at the code,
while you're at it). Compare it with the (cryptographically inferior)
deslogin system. Have a look at SSLeay/SSL-Telnet. 

Compared to the alternatives, SSH is massive.

-- 
----------------
Thomas Ptacek at EnterAct, L.L.C., Chicago, IL [tqbf@enteract.com]
----------------
exit(main(kfp->kargc, argv, environ));




^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Security Problem
  1997-04-23  4:00       ` Kevin Oberman
@ 1997-04-23  4:00         ` Thomas H. Ptacek
  0 siblings, 0 replies; 20+ messages in thread
From: Thomas H. Ptacek @ 1997-04-23  4:00 UTC (permalink / raw)



23 Apr 1997 10:13:15 -0700 oberman@es.net:
>While S/Key has limitations, it is much better than clear
>passwords. But ssh is vastly superior to either S/Key or clear
>passwords.

SSH sounds superior to authentication-only systems like S/Key. The
concept of full session encryption is definitely more secure than the
concept of cryptographic authentication and plaintext sessions.

Whether the SSH implementation is more secure than the (relatively simple)
S/Key system remains to be seen. 

[ SSH blurb elided ]

>encrypted. While it's not entirely "mature", it is very functional and
>easy to set up and use.

This is a problem. The SSH package compiles into a pair of binaries that
do a ton of stuff. The more jobs a program has, the more likely it is that
it will screw one of them up. A screw-up in privileged code is a security
hole. 

I would have preferred the SSH system to have split up tasks into multiple
daemons and clients. I'd also like to see a smaller, stripped down client
available somewhere that only handles the "rsh" aspect of SSH, and a
daemon that does likewise.

-- 
----------------
Thomas Ptacek at EnterAct, L.L.C., Chicago, IL [tqbf@enteract.com]
----------------
exit(main(kfp->kargc, argv, environ));




^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Security Problem
  1997-04-23  4:00       ` Thomas H. Ptacek
@ 1997-04-23  4:00         ` Theo de Raadt
  1997-04-24  4:00           ` D. J. Bernstein
  0 siblings, 1 reply; 20+ messages in thread
From: Theo de Raadt @ 1997-04-23  4:00 UTC (permalink / raw)



In article <slrn5lt1mn.ela.tqbf@char-star.rdist.org> tqbf@char-star.rdist.org (Thomas H. Ptacek) writes:

   SSH, by itself (sans libraries) is over twenty-six thousand lines of code.

That's an interesting figure -- around the same size as kerberosIV,
and that had lots of holes in it too.  I mean, OpenBSD people found a
bunch of new holes very recently.  (Is KerberosV better? :-)

   You don't see a potential for problems here?

I'm terrified by anything that large.  Every now and then sshd goes
and gets itself quite solidly confused.  Certainly it has bugs.

   Contrast SSH with CERT-IT Secure Telnet (and have a look at the code,
   while you're at it). Compare it with the (cryptographically inferior)
   deslogin system. Have a look at SSLeay/SSL-Telnet. 

   Compared to the alternatives, SSH is massive.

I wish something much smaller existed.  So that more people would be able
to audit it.  Maybe I'll get some time...

--
This space not left unintentionally unblank.		deraadt@openbsd.org
www.OpenBSD.org -- We're fixing security problems so you can sleep at night.
(If it wasn't so fascinating I might get some sleep myself...)



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Security Problem
  1997-04-23  4:00         ` Theo de Raadt
@ 1997-04-24  4:00           ` D. J. Bernstein
  0 siblings, 0 replies; 20+ messages in thread
From: D. J. Bernstein @ 1997-04-24  4:00 UTC (permalink / raw)



Theo de Raadt <deraadt@theos.com> wrote:
> I wish something much smaller existed.

Something does. But, unfortunately, it was written in the U.S. by a
law-abiding citizen. [sigh]

---Dan
Let your users manage their own mailing lists. http://pobox.com/~djb/qmail.html



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Security Problem
  1997-04-21  4:00 Security Problem Floyd Davenport
                   ` (4 preceding siblings ...)
  1997-04-22  4:00 ` Shaun Lowry
@ 1997-04-28  4:00 ` George Berg
  1997-04-29  4:00   ` Don Nichols
  1997-05-01  4:00   ` Ryan A. Chapman
  5 siblings, 2 replies; 20+ messages in thread
From: George Berg @ 1997-04-28  4:00 UTC (permalink / raw)



On Mon, 21 Apr 1997 09:47:09 -0500, "Floyd Davenport"
<davenportf@ces.aces.uiuc.edu> wrote:

>I'm running DEC Unix 4.0 and I have some friendly folks that have decided
>to 
>make use of my system without permission.  They are using telnet and ftp to
>
>gain access to the system and drop off some files (IRC bot).  They haven't
>been
>destructive (yet) and the accounts they have used had pretty simple
>passwords
>.
>
>We are in the process of updating our password files, but I wanted to ask
>if
>there might be some other precautions that we might want to take.  For
>example, 
>is there a simple way to reject connections from specific host computers?
>
>Floyd Davenport
>davenportf@idea.ag.uiuc.edu
>
>
There are 2 files in /etc directory called hosts.allow , hosts.deny U
have to setup those files if U want to reject connections from
specific hosts , domains . The syntax is simple :

hosts.allow
==========

ALL: LOCAL, my.domain.com
ALL: LOCAL, 124.10.69.
# End of hosts.allow.


hosts.deny
==========

ALL: .netcom.com, .net.il, .actcom.co.il
ALL: 192.114.47., 147.235.1., 192.116.102., 192.116.206.
# End of hosts.deny.


I hope it'll help U .
Bye.

George Berg 	<george@gilad.co.il>
		<http://gberg.gilad.co.il>



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Security Problem
@ 1997-04-28  4:00 bgz
  0 siblings, 0 replies; 20+ messages in thread
From: bgz @ 1997-04-28  4:00 UTC (permalink / raw)



"Floyd Davenport" <davenportf@ces.aces.uiuc.edu> writes: > I'm running DEC Unix 4.0 and I have some friendly folks that have decided
> to 
> make use of my system without permission.  They are using telnet and ftp to
> 
> gain access to the system and drop off some files (IRC bot).  They haven't
> been
> destructive (yet) and the accounts they have used had pretty simple
> passwords
> .
> 
> We are in the process of updating our password files, but I wanted to ask
> if
> there might be some other precautions that we might want to take.  For
> example, 
> is there a simple way to reject connections from specific host computers?
> 
> Floyd Davenport
> davenportf@idea.ag.uiuc.edu



> 
> 
 To reject connections from a specific host you should use a tcp wrapper.
"tcpd" is the standard program for unix systems - in this case you should
fill the IP addr of that host in the "/etc/hosts.deny" file.
 In the other hand, it is not enough only to change the passwords file in 
your system. You should check for trojan horses; hosts.equiv .rhosts and
maybe some other files; suid programs and so on..
 



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Security Problem
  1997-04-28  4:00 ` George Berg
@ 1997-04-29  4:00   ` Don Nichols
  1997-05-01  4:00   ` Ryan A. Chapman
  1 sibling, 0 replies; 20+ messages in thread
From: Don Nichols @ 1997-04-29  4:00 UTC (permalink / raw)



In article <336516c8.87525299@news.netvision.net.il>,
George Berg <george@gilad.co.il> wrote:
>On Mon, 21 Apr 1997 09:47:09 -0500, "Floyd Davenport"
><davenportf@ces.aces.uiuc.edu> wrote:
>
>>I'm running DEC Unix 4.0 and I have some friendly folks that have decided
>>to 
>>make use of my system without permission.  They are using telnet and ftp to

	[ ... ]

>There are 2 files in /etc directory called hosts.allow , hosts.deny U
>have to setup those files if U want to reject connections from
>specific hosts , domains . The syntax is simple :

	Does tcp-wrappers come standard with DEC's version of unix?  Those
files are part of the installation of tcp-wrappers.  You also need to edit
/etc/inetd.conf properly so the connection requests are passed to tcpd
instead of the usual programs.  "tcpd" then decides whether to allow the
connection, in which case it passes the connection on to the program
specified in /etc/inetd.conf.

	As an example, on my system (a Sun running Solaris 2.x), I have:

telnet stream tcp nowait root /usr/sbin/tcpd		/usr/sbin/in.telnetd

	While a unwrapped system (or one which hadn't bothered wrapping
telnet), would have something like:

telnet stream tcp nowait root /usr/sbin/in.telnetd 	in.telnetd

	Only once this is done can the entries in /etc/hosts.deny and
/etc/hosts.allow do anything.

	You'll probably also want to treat various services differently, so
instead of using "ALL", you would have an entry for in.telnetd, one for
in.ftpd, and for each other service which had specific requirements.  Then,
you might use an ALL entry to catch anything else which slipped through the
cracks.

	Be sure to run tcpdchk, to get it to pass an opinion on how well
configured the files are.

	Good Luck,
		DoN.
-- 
DoN Nichols  work:nichols@nvl.army.mil (703)704-2280
Disclaimer: No statements herein are to be considered as necessarily
representing the opinions of the Department of the Army or Night Vision Labs.
    Black holes are where GOD is dividing by zero -- (author unknown)



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Security Problem
  1997-04-28  4:00 ` George Berg
  1997-04-29  4:00   ` Don Nichols
@ 1997-05-01  4:00   ` Ryan A. Chapman
  1997-05-06  4:00     ` Lee Mann
  1 sibling, 1 reply; 20+ messages in thread
From: Ryan A. Chapman @ 1997-05-01  4:00 UTC (permalink / raw)




> On Mon, 21 Apr 1997 09:47:09 -0500, "Floyd Davenport"
> <davenportf@ces.aces.uiuc.edu> wrote:
> 
> >I'm running DEC Unix 4.0 and I have some friendly folks that have decided
> >to
> >make use of my system without permission.  They are using telnet and ftp to
> >
> >gain access to the system and drop off some files (IRC bot).  They haven't
> >been
> >destructive (yet) and the accounts they have used had pretty simple
> >passwords
> >.
> >
> >We are in the process of updating our password files, but I wanted to ask
> >if
> >there might be some other precautions that we might want to take.  For
> >example,
> >is there a simple way to reject connections from specific host computers?
> >
> >Floyd Davenport
> >davenportf@idea.ag.uiuc.edu
> >
> >


Read the man page on login(1) for info on the /etc/usertty file.

It will let you set who can login from wherever on whatever tty.

-- 

-Ryan Chapman                   hex@moses.datasys.net



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Security Problem
  1997-05-01  4:00   ` Ryan A. Chapman
@ 1997-05-06  4:00     ` Lee Mann
  0 siblings, 0 replies; 20+ messages in thread
From: Lee Mann @ 1997-05-06  4:00 UTC (permalink / raw)



Ryan A. Chapman wrote:
> 
> > On Mon, 21 Apr 1997 09:47:09 -0500, "Floyd Davenport"
> > <davenportf@ces.aces.uiuc.edu> wrote:
> >
> > >I'm running DEC Unix 4.0 and I have some friendly folks that have decided
> > >to
> > >make use of my system without permission.  They are using telnet and ftp to
> > >
> > >gain access to the system and drop off some files (IRC bot).  They haven't
> > >been
> > >destructive (yet) and the accounts they have used had pretty simple
> > >passwords
> > >.
> > >
> > >We are in the process of updating our password files, but I wanted to ask
> > >if
> > >there might be some other precautions that we might want to take.  For
> > >example,
> > >is there a simple way to reject connections from specific host computers?
> > >
> > >Floyd Davenport
> > >davenportf@idea.ag.uiuc.edu
> > >
> > >
> 
> Read the man page on login(1) for info on the /etc/usertty file.
> 
> It will let you set who can login from wherever on whatever tty.
> 
> --
> 
> -Ryan Chapman                   hex@moses.datasys.net

Take a look at tcpwrappers.
-- 
Lee
---
Lashley H. Mann II | UUcom, Inc.
Email: lmann@uucom.com | Voice: 703.461.1350 | Fax: 703.461.1360



^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~1997-05-06  4:00 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-04-21  4:00 Security Problem Floyd Davenport
1997-04-21  4:00 ` Magnus Bergman
1997-04-21  4:00 ` Will Sitch
1997-04-21  4:00   ` Dean Roth
1997-04-22  4:00   ` Thomas H. Ptacek
1997-04-21  4:00 ` Don Nichols
1997-04-22  4:00 ` Justin B. Harvey
1997-04-22  4:00   ` Thomas H. Ptacek
1997-04-23  4:00     ` Justin B. Harvey
1997-04-23  4:00       ` Thomas H. Ptacek
1997-04-23  4:00         ` Theo de Raadt
1997-04-24  4:00           ` D. J. Bernstein
1997-04-23  4:00       ` Kevin Oberman
1997-04-23  4:00         ` Thomas H. Ptacek
1997-04-22  4:00 ` Shaun Lowry
1997-04-28  4:00 ` George Berg
1997-04-29  4:00   ` Don Nichols
1997-05-01  4:00   ` Ryan A. Chapman
1997-05-06  4:00     ` Lee Mann
  -- strict thread matches above, loose matches on Subject: below --
1997-04-28  4:00 bgz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox