Tuesday, 20 November 2012

6 WAYS TO HACK AND DEFACE A WEBSITE

HELLO DAVIDREX BACK
HERE ARE THE THINGS I WANT TO SHARE :


METHODS OF HACKING WEBSITE:
1. SQL INJECTION
2. CROSS SITE SCRIPTING
3. REMOTE FILE INCLUSION
4. LOCAL FILE INCLUSION
5. DDOS ATTACK
6. EXPLOITING VULNERABILITY.

1. SQL INJECTION
FIRST OF ALL WHAT IS SQL INJECTION? SQL INJECTION IS A TYPE OF SECURITY EXPLOIT OR LOOPHOLE IN WHICH A ATTACKER "INJECTS" SQL CODE THROUGH A WEB FORM OR MANIPULATE THE URL'S BASED ON SQL PARAMETERS. IT EXPLOITS WEB APPLICATIONS THAT USE CLIENT SUPPLIED SQL QUERIES.
THE PRIMARY FORM OF SQL INJECTION CONSISTS OF DIRECT INSERTION OF CODE INTO USER-INPUT VARIABLES THAT ARE CONCATENATED WITH SQL COMMANDS AND EXECUTED. A LESS DIRECT ATTACK INJECTS MALICIOUS CODE INTO STRINGS THAT ARE DESTINED FOR STORAGE IN A TABLE OR AS METADATA. WHEN THE STORED STRINGS ARE SUBSEQUENTLY CONCATENATED INTO A DYNAMIC SQL COMMAND, THE MALICIOUS CODE IS EXECUTED.


2. CROSS SITE SCRIPTING
CROSS SITE SCRIPTING (XSS) OCCURS WHEN A USER INPUTS MALICIOUS DATA INTO A WEBSITE, WHICH CAUSES THE APPLICATION TO DO SOMETHING IT WASN’T INTENDED TO DO. XSS ATTACKS ARE VERY POPULAR AND SOME OF THE BIGGEST WEBSITES HAVE BEEN AFFECTED BY THEM INCLUDING THE FBI, CNN, EBAY, APPLE, MICROSFT, AND AOL.
SOME WEBSITE FEATURES COMMONLY VULNERABLE TO XSS ATTACKS ARE:
• SEARCH ENGINES
• LOGIN FORMS
• COMMENT FIELDS

CROSS-SITE SCRIPTING HOLES ARE WEB APPLICATION VULNERABILITIES THAT ALLOW ATTACKERS TO BYPASS CLIENT-SIDE SECURITY MECHANISMS NORMALLY IMPOSED ON WEB CONTENT BY MODERN BROWSERS. BY FINDING WAYS OF INJECTING MALICIOUS SCRIPTS INTO WEB PAGES, AN ATTACKER CAN GAIN ELEVATED ACCESS PRIVILEGES TO SENSITIVE PAGE CONTENT, SESSION COOKIES, AND A VARIETY OF OTHER INFORMATION MAINTAINED BY THE BROWSER ON BEHALF OF THE USER. CROSS-SITE SCRIPTING ATTACKS ARE THEREFORE A SPECIAL CASE OF CODE INJECTION.

I WILL EXPLAIN THIS IN DETAIL IN LATER HACKING CLASSES. SO KEEP READING..


3. REMOTE FILE INCLUSION
REMOTE FILE INCLUSION IS THE MOST OFTEN FOUND VULNERABILITY ON THE WEBSITE.
REMOTE FILE INCLUSION (RFI) OCCURS WHEN A REMOTE FILE, USUALLY A SHELL (A GRAPHICAL INTERFACE FOR BROWSING REMOTE FILES AND RUNNING YOUR OWN CODE ON A SERVER), IS INCLUDED INTO A WEBSITE WHICH ALLOWS THE HACKER TO EXECUTE SERVER SIDE COMMANDS AS THE CURRENT LOGGED ON USER, AND HAVE ACCESS TO FILES ON THE SERVER. WITH THIS POWER THE HACKER CAN CONTINUE ON TO USE LOCAL
EXPLOITS TO ESCALATE HIS PRIVILEGES AND TAKE OVER THE WHOLE SYSTEM.
RFI CAN LEAD TO FOLLOWING SERIOUS THINGS ON WEBSITE :
SKIP DISCOVERS FUTURING FUTURES WEBSITE DESIGN
CODE EXECUTION ON THE WEB SERVER
CODE EXECUTION ON THE CLIENT-SIDE SUCH AS JAVASCRIPT WHICH CAN LEAD TO OTHER ATTACKS SUCH AS CROSS SITE SCRIPTING (XSS).
DENIAL OF SERVICE (DOS)
DATA THEFT/MANIPULATION


4. LOCAL FILE INCLUSION
LOCAL FILE INCLUSION (LFI) IS WHEN YOU HAVE THE ABILITY TO BROWSE THROUGH THE SERVER BY MEANS OF DIRECTORY TRANSVERSAL. ONE OF THE MOST COMMON USES OF LFI IS TO DISCOVER THE /ETC/PASSWD FILE. THIS FILE CONTAINS THE USER INFORMATION OF A LINUX SYSTEM. HACKERS FIND SITES VULNERABLE TO LFI THE SAME WAY I DISCUSSED FOR RFI’S.
LET’S SAY A HACKER FOUND A VULNERABLE SITE, WWW.TARGET-SITE.COM/INDEX.PHP?P=ABOUT, BY MEANS OF DIRECTORY TRANSVERSAL HE WOULD TRY TO BROWSE TO THE /ETC/PASSWD FILE:

WWW.TARGET-SITE.COM/INDEX.PHP?P= ../../../../../../../ETC/PASSWD


I WILL EXPLAIN IT IN DETAIL WITH PRACTICAL WEBSITES EXAMPLE IN LATTER SEQUENTIAL CLASSES ON WEBSITE HACKING.


5. DDOS ATTACK
SIMPLY CALLED DISTRIBUTED DENIAL OF SERVICE ATTACK. A DENIAL-OF-SERVICE ATTACK (DOS ATTACK) OR DISTRIBUTED DENIAL-OF-SERVICE ATTACK (DDOS ATTACK) IS AN ATTEMPT TO MAKE A COMPUTER RESOURCE UNAVAILABLE TO ITS INTENDED USERS. ALTHOUGH THE MEANS TO CARRY OUT, MOTIVES FOR, AND TARGETS OF A DOS ATTACK MAY VARY, IT GENERALLY CONSISTS OF THE CONCERTED EFFORTS OF A PERSON OR PEOPLE TO PREVENT AN INTERNET SITE OR SERVICE FROM FUNCTIONING EFFICIENTLY OR AT ALL, TEMPORARILY OR INDEFINITELY. IN DDOS ATTACK WE CONSUMES THE BANDWIDTH AND RESOURCES OF ANY WEBSITE AND MAKE IT UNAVAILABLE TO ITS LEGITIMATE USERS.

6.EXPLOTING VULNERABILITY
ITS NOT A NEW CATEGORY IT COMPRISES OF ABOVE FIVE CATEGORIES BUT I MENTIONED IT SEPARATELY BECAUSE THERE ARE SEVERAL EXPLOITS WHICH CANNOT BE COVERED IN THE ABOVE FIVE CATEGORIES. SO I WILL EXPLAIN THEM INDIVIDUALLY WITH EXAMPLES. THE BASIC IDEA BEHIND THIS IS THAT FIND THE VULNERABILITY IN THE WEBSITE AND EXPLOIT IT TO GET THE ADMIN OR MODERATOR PRIVILEGES SO THAT YOU CAN MANIPULATE THE THINGS EASILY.


BAI-BAI

8 comments :

  1. Is this trick really work..?? and thanks for this information very nice article.

    ReplyDelete
  2. thanks mate.i will be happy if u write a tutorial on xss.also visit my blog for similar content http://realhijackers.blogspot.com/

    ReplyDelete
    Replies
    1. it will coming soon....
      visit our blog daily for more tips/tricks
      pls share this blog :)

      Delete
  3. Bro with xss and ddos u can't deface site :p

    ReplyDelete
  4. bro with xss you can deface but with ddos very little chance to deface :D

    ReplyDelete
  5. Hi I am willing to pay for someone to deface a website for me... please contact me rob@crownmanagement.co.uul

    ReplyDelete
  6. So did you try this one? There are numbers of websites today that are being hacked.

    ReplyDelete

Related Posts Plugin for WordPress, Blogger...