euglug.org

[Eug-lug] wireless and security

작성자

카테고리:



Senior GoatFri Jul 9 11:08:53 PDT 2004

Well, to make a short answer, your question is loaded.  Running SSH/SSL on a 
wireless network is about as safe as running SSH/SSL on a wired network 
where anyone can plug into your hub (not switch).  That means there is a 
whole slew of layer 2 through layer 7 attacks that are possible.  None of 
them are unique to wireless.  Being careful with host security and SSH/SSL 
you can be confident that your data gets where it's supposed to go without 
anyone else seeing it.


Good point on the security of the computer.  Your connection is no more 
secure than your computer. If someone has access to it, then all the 
encryption in the world makes no difference.  This is why it's important to 
know what services your machine is running and turn them off if you're not 
using them / limit them if you can.

Other computers can "use" your wireless network all they want.  It's up to 
you to make sure they can't get anywhere.  There are many things you can do 
to limit their access, but with the current state of wireless there's 
currently always a way around it.

WEP is trash.  It may be useful for a legal defense, though.  Ever heard of 
airsnort?  It's a program that can crack WEP keys on the fly.  It should 
take no longer than a few hours, but my network card doesn't support it 
(plus I get bad reception from the closes WEP network).  I think of it like 
a sign on the door that says, "this door is locked."  It _will_ keep some 
people out.  WEP stands for wired equivalency protocol, meaning that it 
tries to bring you to the safety of wires (which aren't all that safe) and 
doesn't live up to the name.  It lasts only until you become wired

As far as SSL/SSH, you have to be sure about certificates.  Certificates 
provide _server_ authentication, meaning that you can be sure the server is 
the one you're trying to speak with.

SSL has a cert server, which means that your browser can only be tricked by 
unofficially signed keys.  This will pop up a window in mozilla and probably 
just work or not work in IE.  If your bank ever pops one of these up, don't 
continue.

SSH does not have a key server.  It relies on you storing keys that you've 
already seen.  You do this the first time by trusting your connection.  
Notice that the first time you ssh somewhere it pops up a y/n question about 
a public key?  That's essentially asking if this key should be remembered, 
because there's no way to authenticate the key except to look at the server 
key directly.  Should someone be attacking you from the first time you 
connect somewhere, you may not ever know that they can see everything.  You 
would notice if they stopped the attack, though.  This is called a man in 
the middle attack.  There are tools out there that make this attack very 
easy (see dsniff).  You will be warned with a big annoying banner with 
asterisks if a known server key changes.  You should be wary of this case, 
though many are just annoyed.  Any shell provider that changes their ssh key 
will notify you by email and/or (hopefully and) on their website, so 
checking there is a good idea.  You can test this pretty easily.  In hosts, 
add "127.0.0.1 ssh.host" where ssh host is a server you've already connected 
to.  Now run ssh to that host (verbatim).  It will connect you to your local 
ssh server (assumed to be running) and that should have a different key.  
Probably won't let you connect.  Mine doesn't even prompt for anything, 
which is good.  Old versions of ssh just prompt y/n, so users who don't read 
banners won't notice.

>From: larry <laprice at efn.org>
>Reply-To: Eugene Unix and Gnu/Linux User Group <euglug at euglug.org>
>To: Eugene Unix and Gnu/Linux User Group <euglug at euglug.org>
>Subject: Re: [Eug-lug] wireless and security
>Date: Fri, 9 Jul 2004 09:46:37 -0700
>
>You are not wrong; however...
>
>1. are there any other services running on the laptop
>
>2. what is the firewall configuration and does it prevent someone
>from reaching into your laptop to a potentially vulnerable service
>
>3. can some third party attacker determine critical information
>(like say a complete or partial crib of your password from timing
>information) without needing to decrypt anything in transit.
>
>As near as I can tell from reading about it and playing with various
>APs
>
>WAP provides some useful network authentication and is useful in
>cases where you want to lock unauthorized users out of the network
>entirely or restrict them to some degree.
>
>WEP is equivalent to 40-bit SSL (remember that?)  in that it's
>relatively weak cryptographically and it was never intended to be
>anything other than a transport security
>in other words relatively useless.
>
>On Jul 9, 2004, at 7:40 AM, Rob Hudson wrote:
>
>>I'm making an assumption everyday on my laptop connected to the
>>internet
>>via a wireless access point (802.11b) and wanted to make sure that
>>my
>>assumption is correct.  Please tell me if I'm wrong.
>>
>>My assumption is that if I'm on my laptop and connect to another of
>>my
>>servers via SSH, that everything is secure and nothing is traveling
>>through the air unencrypted.
>>
>>The same assumption applies to using the web browser when the
>>"lock" is
>>on and SSL is being used.
>>
>>My WAP is set up with no WEP.
>>
>>Am I wrong?
>>
>>Thanks,
>>Rob
>>_______________________________________________
>>EUGLUG mailing list
>>euglug at euglug.org
>>http://www.euglug.org/mailman/listinfo/euglug
>
>_______________________________________________
>EUGLUG mailing list
>euglug at euglug.org
>http://www.euglug.org/mailman/listinfo/euglug

_________________________________________________________________
MSN Life Events gives you the tips and tools to handle the turning points in 
your life. http://lifeevents.msn.com