Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Pen-Test
[Top] [All Lists]

Re: Question: FTP via alternate port

Subject: Re: Question: FTP via alternate port
Date: Sat, 28 Jan 2006 10:35:58 -0600
Niels Taylor wrote:

Hello list, I hope this question is not too "newbie," and I am sure if it is
I will find out quickly. I am interested in ways an attacker could
circumvent outbound FTP restrictions on a FW. I have researched this a bit
but the information I am seeing is ambiguous, so I thought I'd take it
straight to the experts.


While the stock ftp.exe that is on my Win2K box does not provide for changing the port used, that doesn't prevent other applications from doing so. Since it is a common security practice to run such things as sshd on non-standard ports, there's every reason for a trojan, worm, or virus to use the same technique to avoid the usual roadblocks or detection techniques based on port.

And, don't think for a moment that malware would be restricted to ftp for transfer of files. Any good programmer could choose among the many suitable protocols for communicating, or even invent one. Then, it would be a simple matter for the infected host to just keep trying outbound ports until it finds an opening. For example, how many firewall configurations block a connection from a high port on the originating host to port 80 on a distant server? Very few, right?

Over and above all the information security hardware, sometimes detection simply boils down to a technique that beat cops have used since the beginnings of professional security, and that is "suspicious behavior".

And, regarding your SQL server on the internal net; you might consider blocking ALL traffic from it to the outside world. Vulnerable, high-value systems should be tightly insulated, firewalled, and proxied well away from any threat.

I hope this answers your question.

Good luck.

Mark Stingley

--
Excellence in InfoSec and Linux
http://www.altsec.info


------------------------------------------------------------------------------
Audit your website security with Acunetix Web Vulnerability Scanner:


Hackers are concentrating their efforts on attacking applications on your website. Up to 75% of cyber attacks are launched on shopping carts, forms, login pages, dynamic content etc. Firewalls, SSL and locked-down servers are futile against web application hacking. Check your website for vulnerabilities to SQL injection, Cross site scripting and other web attacks before hackers do! Download Trial at:

http://www.securityfocus.com/sponsor/pen-test_050831
-------------------------------------------------------------------------------

<Prev in Thread] Current Thread [Next in Thread>