” into the data field. \nIf a pop-up appears that reads “myString” than you can further exploit the website. \nFurther exploitation will be covered in the next presentation. Step Three
\nslide8. Basic Codes\n \u000b \u000b \u000b\"> \u000b \u000b \u000b\nWhen inside Script tag:\u000b\u000b\u000b‘; alert(1);\u000b')alert(1);// XSS Cheat Sheet
\nslide9. The easiest and best way to defend against an XSS attack is to sanitize all input. Few hackers will bother trying to un-sanitize input on your site when they can instead attack another website that does not have sanitized input.\n A lot of fields must be sanitized including but not limited too:\nThe document.write() function\u000bThe document.writeln() function\u000bThe eval() function, which executes JavaScript code from a string\u000bThe execScript() function, which works similarly to eval()\u000bThe setInterval(), setTimeout(), and navigate() functions\u000bThe .innerHTML property of a DOM element\u000bCertain CSS properties which allow URLs such as .style, .backgroundImage, .listStyleImage, etc.\u000bThe event handler properties like .onClick, which take JavaScript code as their values Defending against XSS
\nslide10. FIN
" }

By Collin Donaldson Hack Attack Series: Basic XSS

By Collin Donaldson Hack Attack Series: Basic XSS
1 / 1
By Collin Donaldson Hack Attack Series: Basic XSS - slide 1 of 10 By Collin Donaldson Hack Attack Series: Basic XSS - slide 2 of 10 By Collin Donaldson Hack Attack Series: Basic XSS - slide 3 of 10 By Collin Donaldson Hack Attack Series: Basic XSS - slide 4 of 10 By Collin Donaldson Hack Attack Series: Basic XSS - slide 5 of 10 By Collin Donaldson Hack Attack Series: Basic XSS - slide 6 of 10 By Collin Donaldson Hack Attack Series: Basic XSS - slide 7 of 10 By Collin Donaldson Hack Attack Series: Basic XSS - slide 8 of 10 By Collin Donaldson Hack Attack Series: Basic XSS - slide 9 of 10 By Collin Donaldson Hack Attack Series: Basic XSS - slide 10 of 10
By Collin Donaldson Hack Attack Series: Basic XSS Attack Hacking is only legal under the following circumstances: You hack (penetration test) a devicenetwork you own. You gain explicit, documented permission from an individual, assumedly a

Related Topics

Download this presentation From Below

"By Collin Donaldson Hack Attack Series: Basic XSS" is the property of its rightful owner. Permission is granted to download and print the materials on this website for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.

Presentation Transcript

01
By Collin Donaldson Hack Attack Series: Basic XSS Attack<br>
02
Hacking is only legal under the following circumstances:
You hack (penetration test) a device/network you own.
You gain explicit, documented permission from an individual, assumedly a friend.
You acquire an Ethical Hacker Certification and perform penetration tests for a public or private sector organization with explicit permission to do so. This is the safest of the three methods.
Hacking is illegal in all other circumstances. Hackers can be charged with fines, misdemeanors, and/or felonies depending on severity and accounts of hacks. For these reasons I will not be demonstrating any live hacking attempts in the wild.
For more information
http://definitions.uslegal.com/c/computer-hacking/ DISCLAIMER<br>
03
Cross-Site Scripting (XSS) is type of computer security vulnerability typically found in Web applications. XSS enables attackers to inject client-side script into Web pages viewed by other users.
A cross-site scripting vulnerability may be used by attackers to bypass access controls such as the same origin policy.
According to Symantec (2007) 84% of computer security vulnerabilities were linked to XSS.
XSS attacks can be used for a variety of purposes: stealing cookies/accounts/PII, defacing websites, injecting worms, malware attacks, DOS attacks, bypassing restriction, session hijacking, phishing attacks, etc. Definition<br>