UK WEB HOSTING FORUM FOR DISCUSSION ON WEB HOSTING SERVICE AND SUPPORT
LINUX HOSTING WINDOWS HOSTING PACKAGES SHOPPING CART OSCOMMERCE ZEN CART AGORA
ECOMMERCE HOSTING ASP MSSQL FRONTPAGE HOSTING PHP MYSQL HOSTING DISCUSSION FORUM
CPANEL RESELLER HOSTING DEDICATED SERVER VPS HOSTING PLESK VIRTUOZZO
Quick Search
Your forum announcement here!

  eUKhost's Official Web Hosting Forum > Technical Support > Tutorials / How to?

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 30-09-2008, 03:22
Rock's Avatar
Technical Support (eUKhost.com)
 
Join Date: Oct 2006
Location: localhost
Posts: 3,356
Send a message via MSN to Rock Send a message via Skype™ to Rock
Smile Prevent SQL Injections

"Microsoft jumps into filtering SQL Injection Attacks" -- That definitely sounds to be great news !!!

Nowadays, almost all the websites are under the threat of SQL injection attacks. SQL-injection attacks with various attack patterns have become a worldwide headache in the web hosting industry, commonly affecting Web sites built using Microsoft's popular ASP or ASP.NET code, or code enabling dynamic Web sites. To those who aren't aware of such an attack, here's a small desc, it's a direct attack made on SQL web hosting servers by means of malicious code in a query strings, which is passed to SQL Server through an internet app. If the right safeguards are not in place, the code can be executed by Microsoft SQL Server, causing havoc on the web site's back-end..

UrlScan 3.0 is an improved security filter recently released by Microsoft for the IIS web server (Internet Information Service) to help resist SQL Injection attacks. It's a free addon tool to IIS that provides verification of user requests & analyzes real-time verification of HTTP web server requests thus potentially blocking malicious code & harmful requests from being processed by web applications on the server & causing any sort of damage to the SQL database..

UrlScan helps users/developers to prevent the SQL injection attack from hackers, by guiding them into verifying their code & queries, which is meant to be executed by the web applications. The major & important improvement in UrlScan 3.0 is that it supports the query string scanning, where previous versions failed to do so. The old versions did not examine the query string in the web server request but blocked server requests based on aspects such as URL string length instead...which wasnt much useful..

UrlScan 3.0, which uses W3C-formatted logs for ease of analysis, not only scans the URL string but has an added ability to do filtering based on the query string passed through the scripts.

There are certainly more goodies bundled with the much improved security filter, such as ability to create more granular rules that can be targeted to specific types of requests. ie: you can write rules that only apply to ASP or PHP pages, which was never available in any previous versions, earlier they were one for all, which were a bit difficult to write/code. One more feature of specifying a safe list of URLs and query strings that can bypass UrlScan checks is an added advantage for programmers & web developers.

You can get UrlScan 3.0 from :
32-bit = http://www.microsoft.com/downloads/d...displaylang=en
64-bit = Download details: UrlScan v3.0 (x64)

What should the software developer do to build security efficient code ?

UrlScan can only be used in protecting the server its installed on & won't help much in serious Web security. Security needs to be enforced in the Web application itself.. The application running on the server is the only piece of code that actually knows what the SQL query is intended to do. So the fix for the root cause is for application developers to go in and do the validation and make sure that the SQL data that they're sending to the SQL Server is what they intend to.

Here are the 6 golden rules to which the developers should adhere to before developing applications using ASP/ASP.Net with MSSQL, as these are the concerning areas where loopholes are sure to occur if ignored..
Quote:
Coding Standard
Coding must be up to a standard and strict guideline to be observed & applied here. Poor quality coding can create loopholes which are more vulnerable to the system.

Validating Input

There must be a verification and validation of data input so the attacker cannot confuse the system in any way..

Common Errors

This is the area where simple mistakes can cause loopholes unknowingly.. Normally due to debugging process this can be controlled but still due concern in this area is needed.

Autonomy

Autonomous systems working together across networks need to be aware of each others' state of operation. If attackers can find loopholes to exploit differences in state, distributed applications can be compromised.

Integrity of Application programming interfaces
API or Application Programming Interfaces are ways to access software functions. If you access such features in unexpected ways, you can create security loopholes.

Encryption and Authentication
Encryption and Authentication are two areas where loopholes can occur and later will be damaging to the whole system..
Software development is a process in which each and every aspect is a concern. When it comes to security it becomes the priority of software management team because a single flaw can ruin the development process..causing wastage of man-power resources, money & time, which is most valuable..

Remember, "Prevention is better than cure", let the bug be cured before it affects.. I hope this helps the folks...
__________________

Rock _a.k.a._ Jack
Windows Hosting || Windows Reseller Hosting
Cloud Hosting 100% UPTIME! || Powerful Dedicated Servers
Follow eUKhost on Twitter || Join eUKhost Community on Facebook

For complaints, grievances or suggestions kindly email our FeedBack Dept.
Proper action will be taken accordingly & instantaneously!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 05-12-2008, 20:42
Rock's Avatar
Technical Support (eUKhost.com)
 
Join Date: Oct 2006
Location: localhost
Posts: 3,356
Send a message via MSN to Rock Send a message via Skype™ to Rock
Smile

Found out LogParser as a wonderful tool to parse the logs & generate a proper formatted output from the system access logs. This would help further..

Check this link for "How to install LogParser".
__________________

Rock _a.k.a._ Jack
Windows Hosting || Windows Reseller Hosting
Cloud Hosting 100% UPTIME! || Powerful Dedicated Servers
Follow eUKhost on Twitter || Join eUKhost Community on Facebook

For complaints, grievances or suggestions kindly email our FeedBack Dept.
Proper action will be taken accordingly & instantaneously!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 11-06-2009, 17:31
Member
 
Join Date: May 2009
Posts: 38
Send a message via MSN to XXxxImmortal
Default

LOL wow sql injection i remember doing that


but althought there are secret encrypted methods out that can usually work if the site is sql vulnerable


i dont get why people do research on scripts before they upload them

for example the worlds most godly messed up cms script ever created = joomla there are 10000000's of exploits out and 100000+ more coming in each day and yet ppl still use it

bahhhh
__________________
Anarchy-Hackers.net
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT. The time now is 05:37.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
UK Web Hosting by eUKHosting 3.1.0
UK Web Hosting by eUKHosting 3.1.0
Copyright © 2001-2012, eUKhost LTD. All rights reserved.

 


UK VPS Hosting
VPS Hosting plans

Dedicated Server Hosting
Dedicated Server plans

VoIP Dedicated Servers
Asterisk, Trixbox Dedicated Servers

Business Web Hosting
100% uptime Hosting

UK Cpanel Hosting
cPanel Shared Hosting

Domain Hosting
Cheap Domains & Hosting Plans

UK Reseller Hosting
Reseller Web Hosting

Windows Hosting
Windows Shared Hosting

Windows VPS

Windows VPS Hosting

Semi Dedicated Servers
Semi-Dedicated Hosting

Dedicated Server Mirroring
Dedicated Server Mirroring

Webhosting Knowledgebase
Frequently asked Questions

Web Hosting Blog
eUKhost Blog

Web Hosting Support
Support Helpdesk

UK Data Center
eUKhost Datacenter

Web Hosting Forum
eUKhost Forum

Support Tutorials
Online Flash Tutorials

Offsite Back-up Plans
Remote Backup Service

ColdFusion Hosting
ColdFusion Web Hosting
 
 

Android and Apple App


knowledgebase articles
eUKhost.com Services

Pre-Sales Questions
Pre-sales FAQ's

Domain Names
Domain registration FAQ's

cPanel Hosting
cPanel Hosting FAQ's

Windows Web Hosting
Plesk Control Panel

Reseller Hosting
Reseller Hosting FAQ's

VPS Hosting
Virtual Private Server

Semi-Dedicated Servers
Semi-Dedicated FAQ's

Dedicated Servers
Dedicated Server Hosting

Joomla Hosting
Joomla Web Hosting

Mambo Hosting
Mambo Web Hosting

Magento Hosting
Magento Web Hosting

Wordpress Hosting
Wordpress Web Hosting

 

Web Hosting Affiliate Program
 

popular blog categories

UK Web Hosting
UK Hosting articles

Dedicated Server Hosting
Dedicated Server guidelines

VPS Hosting
VPS hosting articles

cPanel Hosting
cPanel Hosting articles

Linux Operating System
Linux Operating techniques

Windows Web Hosting
Windows plesk articles