A couple of notes: "No hacker ever assumes that he knows what service is running behind an arbitrary port." -- I'm sure that some do. You may also avoid script kiddies who don't know how to check other ports.
"hackers see all of your open ports" -- Changing a port number is a little less dramatic that choosing a direct modem link instead of the Internet. First, the call could cost money. Scanning phone numbers is much harder and more time consuming than scanning ports. As you point out, the important point in security is to 1) not assume anything, 2) conciously use everything you can to create layers of barriers. Using a firewall to block unused ports is better than not, even if the server is configured not to respond on those ports. Layers and more layers. --Dan On 22 Jul 2003 19:13:04 -0600, "Michael Torrie" <[EMAIL PROTECTED]> said: > On Tue, 2003-07-22 at 17:11, Steve Meyers wrote: > > On Tue, 2003-07-22 at 16:14, Andrew Jorgensen wrote: > > > I absolutely disagree. A false sense of security is worse than no > > > security at all. Relying on obscurity at all is always bad because it > > > tricks you into believing that you have some kind of security, which > > > invariably makes all but the most paranoid lazy. > > > > I absolutely disagree. :) His point was that as long as you're doing > > everything else, obscurity is just one more layer of security. For > > example, if your SSH server is the latest version, configured securely, > > doesn't permit root access, etc - is it more or less secure on a > > different port than 22? It is more secure, because it is harder for > > hackers (and especially script kiddies) to find it. > > Actually, any service running on a port is interesting. No hacker ever > assumes that he knows what service is running behind an arbitrary port. > In fact, moving ssh to another port will most likely increase it's > interest to hackers because it is unusual. Hackers see all of your open > ports, and the tools connect to each port to learn what it is. So you > can run ssh on port 21, httpd on port 22, and it makes no difference to > the hackers. Once a port is found open, the service is quickly > identified and exploits tried. You gain at most a few milliseconds of > added security by obscuring the port. > > You seem to be open to the false idea that a firewall will protect your > machine from getting hacked. Repeat after me, application security is. > Firewalls can only protect you from attacks to services you don't wish > to share with the outside world anyway. They do nothing to shield your > services that you are offering the world. This is why, with the proper > knowledge and understanding of what I'm running and how it works that I > can run a machine without any firewall at all and sleep well at night. > Now this isn't too practical most of the time, because I need to run > insecure protocols internally, so I need a firewall to protect me from > these bad protocols (ie netbios). If the protocols were actually secure > (well-designed and well-defined, or in other words opened), then a > firewall (which is a layer of obscurity in itself) would have no real > increase in my level of protection. For example, imagine if all our > services were kerberized and used TLS as a transport. If our apps are > secure, then you can know all you want about them and you still won't be > able to break in. > > Michael > > > > > I agree that security through obscurity CAN lead to a false sense of > > security, however it doesn't have to. > > > > Steve > > > > ____________________ BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________ List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
