Jul 30

Port scanning is one of the most widely used methods to exploit a website and poses a serious threat to anyone running mission-critical functions or storing sensitive data on a web server.   This technique describes the process of locating vulnerabilities by sending data packets to the ports of a server to determine which are open and susceptible to exploit.  Once a potentially vulnerable point has been detected, the attacker is granted with a number of opportunities to successfully exploit the server.

Website Attacks Enabled by Port Scanning

Port scanning opens up a world of attacks for the savvy website hacker.  Some of the most popular exploits include the following:

Directory Browsing – Provides the attacker with the ability to retrieve the complete listings of the directories on a web server.  This exploit is usually enabled by a poorly configured server.

Reverse Proxying – Describes the process of gaining access to a back-end application server by proxying HTTP requests from an external network such as the internet to internal networks through front-end servers.  This is another exploit that is often made easier as the result of poor server configuration.

Source Code Theft – This describes an attacker’s ability to obtain the source code from application files or the application itself.  The goal here is typically to discover further vulnerabilities or sensitive information such as user names and passwords.  Once again, this is another exploit that can be linked back to poor server configuration or flaws in the application design.

Session Hijacking – Many web forms utilize hidden fields to store session data.  Once this data has been obtained by a hacker, user data can then be retrieved and used for malicious purposes.  Session hijacking is an exploit that occurs when little to no preventative measures such as server-side session ID tracking or encrypted session ID processes are employed.

As you can see, there are a number of attacks that can be successfully performed as a direct result of poorly configured web servers and applications.  These weaknesses are an absolute dream for hackers who use port scanning as their vulnerability detection tool of choice.  So what can you do to protect your website?  Are there any preventative measures that will actually work?  Even though no website is every 100% safe, there are a few things you can do to dramatically reduce the risks and your vulnerability to security threats.  Once ensuring that your applications are properly configured, keep the following security features in mind:

Preventative Measures

Authentication - A reliable authentication system will add an extra layer of security by requiring that users be authenticated before being authorized to your site.

Strict Policies – Establishing some routines will ensure that only legitimately authenticated users are able to access or modify sensitive information.

Encryption – Data encryption will allow you to securely store highly confidential information such as credit card numbers and personal details.

Encrypted Connections – With an encrypted connection provided a security protocol such as SSL or TLS, you can rest easy by knowing that the sensitive information transmitted by you and your customers is secure.

Monitoring Software – This type of application will give you or your system administrator real-time alerts regarding any suspicious behavior occurring on your website.

Related Blog Posts

  • September 4, 2009 -- The Potential Dangers of Web Services (0)
    Web services are vital components for connecting internet users with the back-end data of a website.  At the same time, they also create a number of entry poi...
  • August 19, 2009 -- The Need for Penetration Testing (0)
    By now, you have probably heard the saying that no website is ever 100% secure.  While this is certainly true, it doesn’t mean that you should not take every me...
  • June 15, 2010 -- The Basics of a Rootkit (0)
    One of the unfortunate problems with running or using an unmanaged dedicated server is fixing potential security threats. While spam blockers, anti-virus and sp...
  • February 15, 2010 -- Popular Programming Security Risks (2)
    Most of the security risks on the internet today are the result of faulty programming and exploitable code. Many developers do not place security high on their ...
  • November 11, 2009 -- SecureLive To Fend Off Attacks (0)
    Being hacked is one of the unfortunate facts of life for a web site.  Of the most heavily attacked, open source and commercial CMS (Content Management Systems) ...
  • September 14, 2009 -- Post Nuke vs. PHP Nuke: CMS Platforms Ready to “Nuke” it Out (0)
    The Post Nuke CMS is quite similar to the more mature PHP Nuke.  While it is indeed a fork of PHP Nuke, the core code has been replaced entirely with the aim of...

One Response to “Port Scanning Threats and Defense”

  1. Trish Fritz Says:

    Security is a MUST when we are hosting a website specially if it is intended for business. Files should be safe specifically, money and the products that are being sold. We should not risk it buy choosing free or cheap web hosting. We should make sure that the web hosting we chose are reliable and can give us the security that we need.

Leave a Reply

Anti-Spam Protection by WP-SpamFree