Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How should I monitor potential threats to my site?

Tags:

alert

monitor

By looking at our DB's error log, we found that there was a constant stream of almost successful SQL injection attacks. Some quick coding avoided that, but how could I have setup a monitor for both the DB and Web server (including POST requests) to check for this? By this I mean if there are off the shelf tools for script-kiddies, are there off the shelf tools that will alert you to their sudden random interest in your site?

like image 1000
dlamblin Avatar asked Aug 12 '08 05:08

dlamblin


People also ask

What could be the potential threats to your customers when they access your website?

Common Ecommerce Security Threats & Issues. There are quite a few threats you need to protect your online store from. Common examples of security threats include hacking, misuse of personal data, monetary theft, phishing attacks, unprotected provision of services, and credit card frauds.

How can we Minimise the effects of threats?

Avoid the Threat Another strategy is to avoid or eliminate threats and its impact on the project by changing the project plan, reduce or change the project scope or change the project schedule in such a way that the anticipated risk may not occur at its first place.


2 Answers

Funnily enough, Scott Hanselman had a post on UrlScan today which is one thing you could do to help monitor and minimize potential threats. It's a pretty interesting read.

like image 160
lomaxx Avatar answered Sep 23 '22 06:09

lomaxx


UrlScan does seem like a nice option for iis6 and 7; I also found: dotDefender for pay which also covers Apache or IIS 5-7, and I had found an SQL Injection sanitation ISAPI

It is also worth noting in light of a recent wide spread SQL Injection attempt that dissallowing your webapp's db user account from querying the system tables (in MS SQL Server it's sysobjects and syscolumns) is a good idea.

I think this thread warrants more free solutions for Apache and other web servers.

Unfortunately intrusion detection was not what I had in mind, so sgfree isn't exactly a web site attack monitor, unless I'm not understanding how it works.

like image 25
dlamblin Avatar answered Sep 23 '22 06:09

dlamblin