BSD tty security, part 3: How to Fix It
John F Haugh II
jfh at rpp386.cactus.org
Fri May 17 22:43:53 AEST 1991
In article <3136 at cirrusl.UUCP>, dhesi%cirrusl at oliveb.ATC.olivetti.com (Rahul Dhesi) writes:
> In <19281 at rpp386.cactus.org> jfh at rpp386.cactus.org (John F Haugh II) writes:
>
> >Can I change my baud rate while waiting for the SAK sequence? Of
> >course there's a need to turn off the SAK key - how long is a UUCP
> >packet this week?
>
> A secure attention key sequence, to be secure, must use an out-of-band
> channel. As an analogous example, the DTR line to a modem is
> out-of-band and cannot be defeated no matter what you send on the data
> lines.
Yes. Not everything has an out of band channel to send a SAK sequence
along on. For example, what would you use as the SAK sequence on a 3
wire dumb ASCII terminal that is hardwired to a port switch that is
used by any number of other terminals with various baud rates and
keyboards? There are no spare lines to dork with. Send a break? Do
all dumb ASCII keyboards include a BREAK key? It can't be defeated,
but no every keyboard has one. Waving "SAK" in front of the problem
does not make the issue of authenticating the login process to you any
more secure. The issue I keep trying to raise is that it is nice if
both the computer and the user clean the line. Dan assures us that
for a properly started login process (which he can't guarantee the
user is going to press SAK to start) we get a clean line. I say,
remove the dependency on the user pressing SAK to start with - let
the system clean the line off itself. If the user wants to clean the
line, let her nail the SAK key and kill any trojans lurking in the
wings. If a system application (for example, passwd) wants to make
certain it is talking directly to the authenticated user, let it
execute some revoke() process which kills off all untrusted (non-TCB)
applications using that port (or some other grotesque action).
--
John F. Haugh II | Distribution to | UUCP: ...!cs.utexas.edu!rpp386!jfh
Ma Bell: (512) 255-8251 | GEnie PROHIBITED :-) | Domain: jfh at rpp386.cactus.org
"If liberals interpreted the 2nd Amendment the same way they interpret the
rest of the Constitution, gun ownership would be mandatory."
More information about the Comp.unix.internals
mailing list