Image
 
linkedin_logo.png rss_logo.jpg
twitter_logo.png youtube_logo.jpg
Latest Additions
 
EH-Net Login
Welcome Guest.






Lost Password?
No account yet? Register
Who's Online
We have 50 guests and 1 member online
 
Advertisement

You are here: Home arrow Featuresarrow Skillzarrow Examplesarrow Example 1: Runner-Up Entry #1 - Mike Poor
EH-Net
May 23, 2013, 11:48:57 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Go back to The Ethical Hacker Network Online Magazine Home Page
 
   Home   Help Calendar Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Example 1: Runner-Up Entry #1 - Mike Poor  (Read 6466 times)
0 Members and 1 Guest are viewing this topic.
don
Editor-In-Chief
Administrator
Hero Member
*****
Offline Offline

Posts: 4167


Editor-In-Chief


View Profile WWW
« on: April 13, 2006, 11:29:43 AM »

Sequel Injection... sorry the pun was uncalled for.

Trinity is in Amsterdam, listening to a new Bhangra album by DJ Jazzy B. Its late, very late, and Trinity grows restless. Too much time has passed since the last good hack against the Matrix.

She jacks in. Electrons pulse to the beat, as she navigates the web looking for a likely candidate to help the revolution. Where shall the search begin.

The New World has plenty of talented hackers, especially one that has risen through the ranks that goes by the hacker handle Neo. Thomas Anderson is his real name. Now, where to find him....

There are only three things sure in this world, death, taxes, and Trinity's ability to hack databases.

Let the games begin.

She types at her console:

irsfile.asp?username='test';+exec+master..xp_cmdshell+'ping+209.171.43.28';-
-

Back at IRS Headquarters, the lead agent begins his analysis:

This first user input is the attacker, abusing SQL injection to use a stored procedure call to execute the command ping 209.171.43.28.

This gives us a first clue as to where the attacker is hiding out. The IP address belongs to an ISP in the Netherlands, an infamous hangout for members of the underground.

Trinity now knows that she can manipulate the database at will. She types:

irsfile.asp?username='test'+UNION+SELECT+name,1,'1',1,'1'+FROM+irs_dbase..sysobjects+WHERE+xtype+=+'U';--

This second line of user input, shows the hacker accessing the IRS D-base's User table.

The third and final command,

irsfile.asp?username='Trinity'+UNION+SELECT+phone_number+FROM+irs_dbase..account+WHERE+taxpayer_lastname+=+'Anderson';--

brings her the results she was looking for, the phone number for all the taxpayers whose last name is Anderson. Now its only a matter of time before Trinity finds the crucial member of the resistance.
Logged

CISSP, MCSE, CSTA, Security+ SME
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.074 seconds with 24 queries.
 
Exclusive Deal

sansfire13_245x90_cw90.jpg
SANSFIRE 2013
June 15 - 22

5% Off w/ Code: EHN_5

SANS Deals 4 EH-Netters
5% OFF Any SANS Course in Any Format!
Coupon Code: EHN_5 Including SANS Rocky Mountain 2013 & SANS Boston 2013
Polls
Compared to this year, 2013 will be:
 
Recent Forum Topics
EH-Net News Feeds
Latest Additions
 
         
Free Business and Tech Magazines and eBooks

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