Image
 
Latest Additions
 
EH-Net Login
Welcome Guest.






Lost Password?
No account yet? Register
Who's Online
We have 61 guests and 2 members online
EH-Net Donations

Enter Amount:
$

Google Ads
EH-Net News Feeds
Latest Additions
Book Recommendations





 
Advertisement

You are here: Home arrow Forum arrow Ethical Hacking Discussions and Related Certificationsarrow Network Pen Testingarrow CEH - Certified Ethical Hackerarrow CEH - Official Course Modules v4arrow CEH Study Group -- Module 14: SQL Injection
Ethical Hacker Community Forums
December 01, 2008, 03:48:00 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: ChicagoCon 2-Day Ethical Hacking Conference with MS Blue Hats Oct 31 - Nov 1. Tickets Only $100! www.chicagocon.com/content/view/103/51/
 
   Home   Help Calendar Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: CEH Study Group -- Module 14: SQL Injection  (Read 2764 times)
0 Members and 1 Guest are viewing this topic.
Oyle
Moderator
Sr. Member
*****
Offline Offline

Posts: 264


"Man. Nature. Technology".


View Profile WWW
« on: April 05, 2006, 04:14:54 PM »

Module Objectives:

*What is SQL Injection?
*Exploiting the weakness of Server Side Scripting
*Using SQL Injection Techniques to gai access to a system
*SQL Injection Scripts
*Attacking Microsoft SQL Servers
*MSSQL Password Crackers
*Prevention and Countermeasures

Note:I expect this module may present difficulty in a Web-based forum environment. In the class I attended, this module was accompanied by a hands-on lab set up by the instructor. Obviously, that may not be possible, here.

Logged

MCP, MCP+I, MCSA, MCSE(NT4/W2K), CCNA, CCA, NWCCC, VH-PIRTS, CEH
--------------------
"hackers are like jedi, crackers are like the sith: do not fall prey to the dark side".

From 1337 h4x0r h4ndb00k: "the ten laws of geek", law x
                  -Tapeworm
Oyle
Moderator
Sr. Member
*****
Offline Offline

Posts: 264


"Man. Nature. Technology".


View Profile WWW
« Reply #1 on: June 05, 2006, 04:04:47 PM »

SQL Injection is an attack methodology that targets data residing in a database through the firewall that shields it. It attempts to modify the parameters of a Web-based app in in order to alter the SQL statements that are queried to retrieve data from the database.

This is probably the simplest definition of SQL injection. Th first step in this attack is to discover the applications that are vulnerable to attack, natcherly. This attack takes advantage of poor coding and website administration.

In SQL injection, user controlled data is placed into a SQL query without being validated for correct format or embedded control strings. It has been known to affect mostly applications which use a database backend and do not filter types of variables. It's been estimated that at least 50% of large e-commerce websites and abouit 75% of the medium to small websites are vulnerable to the attack. The main cause is the improper validation of CFML, ASP, JSP, and PHP codes.

How does an attacker uncover the weak web applications?  This discovery phase includes activities such  as looking at web pages resembling an ID number, category, or name. The attacker may sort through all forms of variables as well as cookies. Frequently, session cookies are stored in a database and the cookies are passed into SQL queries with little or no format checks. He may try inserting various strings into form fields and in query variables. However, someone looking for SQL weaknesses will start  off with single and double quotes, then try parenthesis, and the rest of the punctuation characters. The response expected is anything indicating an error.

How do you know if you have been attacked with SQL Injection? If you run an e-commerce website, you usually will sell things online. If you have a SQL Injection weakness, an attacker can gain access to your catalog database that contians the products you sell. An attacker using SQL Injection can change the prices in your catalog!!! For instance, say you sell T-Shirts. You have a t-shirt in your database that sells for $19.99. You may walk in one day to check your sales, and that one T-shirt now sells for $9.99. Bam, you just lost $10.00, AND you have something to worry about.

That's what SQL Injection can do.   
« Last Edit: June 05, 2006, 04:30:49 PM by Oyle » Logged

MCP, MCP+I, MCSA, MCSE(NT4/W2K), CCNA, CCA, NWCCC, VH-PIRTS, CEH
--------------------
"hackers are like jedi, crackers are like the sith: do not fall prey to the dark side".

From 1337 h4x0r h4ndb00k: "the ten laws of geek", law x
                  -Tapeworm
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.05 seconds with 25 queries.
 
Sponsors

cwnp_moto__120x90.gif

Polls
During the most recent election, I:
 
Support EH-Net


Support EH-Net by
Buying all of your
Amazon items using
the search bar above.

cbtnuggets_logo_125.jpg
Try CBT Nuggets Free!
Recent Forum Topics
Vote For EH-Net

progenic.com
Click here to Vote!

Sadikhov.com
Top IT Cert Sites

binarica.com
Binarica Logo

Add to Technorati Favorites
technorati fave

 
         
Advertisement

© 2008 The Ethical Hacker Network
Joomla! is Free Software released under the GNU/GPL License.