Home
Calendar
Certifications
Columns
Features
Forum
Resources
Vitals
Latest Additions
April 2013 Free Giveaway Sponsor - eLearnSecurity
Human Intelligence to Navigate the Security Data Deluge
February 2013 Free Giveaway Winner of SANS CyberCon Training
Interview: Bugcrowd Founders on Herding Ninjas for Crowdsourced Bug Bounties
Network Forensics: The Tree in the Forest
March 2013 Free Giveaway Sponsor - Mile2
Book Review: Violent Python
February 2013 Free Giveaway Sponsor - SANS
Holiday 2012 Free Giveaway Winner of Metasploit Pro by Rapid7
Course Review: SANS FOR408 Computer Forensic Investigations – Windows In-Depth
The Security Consulting Sugar High
Tutorial: Fun with SMB on the Command Line
Interview: Ilia Kolochenko, CEO of High-Tech Bridge
October 2012 Free Giveaway Winner of LearningGate Training
The Broken: Assessing Corporate Security in 2012 to Make a Better 2013
EH-Net Login
Welcome Guest.
Username:
Password:
Remember me
Lost Password?
No account yet?
Register
Who's Online
We have 47 guests online
You are here:
Home
Ethical Hacking Discussions and Related Certifications
Web Applications
Learning Web Security
EH-Net
May 25, 2013, 03:03:40 PM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: Go back to The Ethical Hacker Network Online Magazine
Home Page
Home
Help
Calendar
Login
Register
EH-Net
>
Ethical Hacking Discussions and Related Certifications
>
Web Applications
(Moderator:
don
) >
Learning Web Security
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: Learning Web Security (Read 8999 times)
0 Members and 1 Guest are viewing this topic.
tor0
Newbie
Offline
Posts: 3
Learning Web Security
«
on:
July 29, 2011, 05:28:17 PM »
I'm beginning to learn web security such as how sites are vulnerable to xss, how it works, how to prevent xss, sql injection and how to prevent sql injection, etc.
I come from a systems administration background but I want to learn more about web security.
My initial thought was to start off learning Javascript. For that, I am reading from w3schools.
I'm also learning more about Linux with CentOS, permissions, file structure, etc.
Afterwards, I'd like to know PHP and Apache.
Is the above a good approach to learning some of the basics. Is w3schools a good resource for learning Javascript?
Logged
millwalll
Guest
Re: Learning Web Security
«
Reply #1 on:
July 30, 2011, 05:24:32 PM »
w3schools is great for the basic stuff like how to code Html,php,asp,sql so on a good book is the web application hackers handbook a new version is coming out soon.
There are also lots live CD that you can run in vm and try and attack like OWASP
I would start with basic stuff like HTML then move on to rather PHP or ASP then MYSQL
Logged
MaXe
Hero Member
Offline
Posts: 669
I've just upgraded myself to a cyborg muahahaa!!1
Re: Learning Web Security
«
Reply #2 on:
July 31, 2011, 10:10:47 AM »
Try to search a bit harder, as there's a billion tutorials on the Internet, and this question has been asked many times before. There's many sites like this with good information, such as but not limited to the links below.
The Beginners Guide to XSS:
http://www.xssed.com/article/31/The_Beginners_Guide_to_XSS/
Various tutorials:
http://forum.intern0t.net/web-hacking-war-games/
http://forum.intern0t.net/offensive-guides-information/
http://forum.intern0t.net/general-hacking-discussions/
Finding Vulnerabilities in PHP Scripts by SirGod:
http://forum.intern0t.net/offensive-guides-information/1382-finding-vulnerabilities-php-sirgod.html
Exploit-DB Blogs about Web Application Security:
http://www.exploit-db.com/category/maxe/
There's a lot of courses about how to learn Web Application Security, as this is what you want to learn. Check out OWASP's website as well.
First, learn: HTML, CSS, JavaScript (basics).
Then: PHP or ASP (or JSP or any other web language, I recommend PHP as it's easier to learn and a lot of web applications are written in this language, however most corporate ones are not written in PHP.)
When you feel comfortable with these languages: Download some random web apps, those that are not widely used as these are often more secure, then try to review the code for bugs like XSS. (Unsanitized input.)
You can also just fuzz any input field you find, within the web app you download.
In addition to the links above, there's also YouTube (w00t), SecurityTube, and various providers of infosec courses as well such as: eLearnSecurity, SANS, LearnSecurityOnline, and so forth.
If you want something to practice on, try WebGoat for starters. (There's other projects similar to this, and there's even a nice thread in one of these sections on this website, that was recently updated with pretty much almost all such projects.)
Enjoy!
Logged
I'm an InterN0T'er
tor0
Newbie
Offline
Posts: 3
Re: Learning Web Security
«
Reply #3 on:
July 31, 2011, 01:47:31 PM »
Thanks for that very thorough post MaXe. I looked into some XSS last night just to get a feel for how it's done and how to prevent it.
Currently, I'm learning some basic Javascript and will then move into PHP. Going to try out some LAMP and possibly just keep track of my progress with a blog.
You've provided some great links that should keep me busy for a while.
Thanks for the help everyone! I like how open people are on this forum.
Logged
tturner
Sr. Member
Offline
Posts: 432
Re: Learning Web Security
«
Reply #4 on:
July 31, 2011, 10:21:44 PM »
I'd also highly recommend learning at least rudimentary SQL (and how to fingerprint databases and understand the differences in strategy when you are attacking MySQL vs Oracle vs MSSQL. There's no xp_cmdshell in MySQL for example but you can create it more or less with INTO OUTFILE.) Also, remote code execution aside, databases are usually where the data lives and you need to know how to get at it or you will have a really hard time building SQL queries in your injection strings.
Logged
Certifications:
CISSP, CISA, GPEN, GWAPT, GAWN, GCIA, GCIH, GSEC, OPSE, CSWAE, CSTP, VCP
WIP: OSWP, GSSP-JAVA, GXPN
Udacity on hold, again. I suck.
http://sentinel24.com/blog
@tonylturner
http://bsidesorlando.org
impelse
Hero Member
Offline
Posts: 565
Re: Learning Web Security
«
Reply #5 on:
August 01, 2011, 09:45:32 AM »
Quote from: tturner on July 31, 2011, 10:21:44 PM
I'd also highly recommend learning at least rudimentary SQL (and how to fingerprint databases and understand the differences in strategy when you are attacking MySQL vs Oracle vs MSSQL. There's no xp_cmdshell in MySQL for example but you can create it more or less with INTO OUTFILE.) Also, remote code execution aside, databases are usually where the data lives and you need to know how to get at it or you will have a really hard time building SQL queries in your injection strings.
LOL....
Guys, please do not tell a lot of information, I remember when I was new in some area and some people begin to tell me all the things I need to leard, and bla and bla and bla... At the end, I asked myself: How will I learn all this?
Logged
CCNA, Security+, 70-290, 70-291
CCNA Security
Taking Hackingdojo training
Website:
http://blog.thehost1.com/
MaXe
Hero Member
Offline
Posts: 669
I've just upgraded myself to a cyborg muahahaa!!1
Re: Learning Web Security
«
Reply #6 on:
August 01, 2011, 11:46:12 AM »
tor0: After learning PHP, or during that, learn some basic SQL and then progress into a bit more advanced queries. Not before, there's no reason to. (In essence, SQL queries are not as hard as they may seem, see example below.)
SELECT piece FROM cake WHERE size < mouth;
It's pretty much as simple as that, and after seeing that phrase in a book, it made a lot more sense to me
Logged
I'm an InterN0T'er
millwalll
Guest
Re: Learning Web Security
«
Reply #7 on:
August 01, 2011, 12:29:00 PM »
This is another good site that should help you with lots of the basic stuff...
http://www.thenewboston.com/
Logged
tor0
Newbie
Offline
Posts: 3
Re: Learning Web Security
«
Reply #8 on:
August 02, 2011, 02:03:28 PM »
Lots of great advice here. I've gone over some Javascript but will take a deeper dive to really get to know it which I am then moving on to PHP which will lead me to the SQL area.
I think this is a good start for a foundation.
Logged
bigapple
Newbie
Offline
Posts: 8
Re: Learning Web Security
«
Reply #9 on:
August 18, 2011, 12:13:51 PM »
I personally don't think so, but thats just my opinion. I would recommend reading books on Javascript. But w3schools should get you a great start at the very least, so its a good place to begin.
Logged
MaXe
Hero Member
Offline
Posts: 669
I've just upgraded myself to a cyborg muahahaa!!1
Re: Learning Web Security
«
Reply #10 on:
August 18, 2011, 12:35:41 PM »
Quote from: bigapple on August 18, 2011, 12:13:51 PM
I personally don't think so, but thats just my opinion. I would recommend reading books on Javascript. But w3schools should get you a great start at the very least, so its a good place to begin.
You're right that a book from e.g. O'Reily is probably better than W3Schools when it comes to learning JavaScript, but knowing only this language and HTML is not Web Application Security, it's like the warm (and nice smelling) air on top of a pizza.
Logged
I'm an InterN0T'er
tturner
Sr. Member
Offline
Posts: 432
Re: Learning Web Security
«
Reply #11 on:
August 18, 2011, 12:59:08 PM »
Best way to learn web application security is to build some web apps and try to break them and then use that knowledge to improve the security. If you can't build the app or understand the logic behind it then you will probably fail at securing them.
Logged
Certifications:
CISSP, CISA, GPEN, GWAPT, GAWN, GCIA, GCIH, GSEC, OPSE, CSWAE, CSTP, VCP
WIP: OSWP, GSSP-JAVA, GXPN
Udacity on hold, again. I suck.
http://sentinel24.com/blog
@tonylturner
http://bsidesorlando.org
Pages: [
1
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
EH-Net
-----------------------------
=> Calendar Of Events
===> ChicagoCon 2007
===> ChicagoCon 2008s
===> ChicagoCon 2008f
===> ChicagoCon 2009s
=> Ethical Hacktivism
=> News Items and General Discussion About EH-Net
===> Greetings
=> Special Events
-----------------------------
Ethical Hacking Discussions and Related Certifications
-----------------------------
=> General Certification
===> Networking
===> OS
===> Security
=> Compliance, Regulations & Standards
=> Control Systems
=> Cyber Warfare
=> Forensics
===> CCE / MCCE - (Master) Certified Computer Examiner
===> CHFI - Computer Hacking Forensic Investigator
===> EnCE - EnCase® Certified Examiner
===> GCFA - GIAC Certified Forensics Analyst
=> Hardware
=> Incident Response
===> CSIH - Computer Security Incident Handler
===> GCIH - GIAC Certified Incident Handler
=> Malware
===> Advisories
=> Mobile
=> Network Pen Testing
===> CEH - Certified Ethical Hacker
===> CPTC - Certified Penetration Testing Consultant
===> CPTE - Certified Penetration Testing Engineer
===> CSTA - Certified Security Testing Associate
===> eCPPT - eLearnSecurity Certified Professional Penetration Tester
===> ECSA - EC-Council Certified Security Analyst
===> GPEN - GIAC Certified Penetration Tester
===> OSCP - Offensive Security Certified Professional
=> Physical Security
=> Programming
=> Social Engineering
=> Web Applications
=> Wireless
===> CWNP Certs
===> GAWN - GIAC Assessing Wireless Networks
===> OSWP - Offensive Security Wireless Professional
=> Other
-----------------------------
Columns
-----------------------------
=> Editor-In-Chief
=> Andress
=> Gates
=> Haddix
=> Hadnagy
=> Heffner
=> Hoffman
=> Linn
=> RichM
=> Murray
=> J. Peltier
=> Weidman
=> Wilson
-----------------------------
Features
-----------------------------
=> /root
=> Book Reviews
=> Opinions
=> Skillz
===> Examples
===> May 06 - Star Hacks, Episode V: The Empire Hacks Back
===> July 06 - Hack Bill!
===> Sept 06 - Netcat in the Hat
===> Nov 06 - Hitch-Hackers Guide to the Galaxy
===> Dec 06 - A Christmas (Hacking) Story
===> Feb 07 - Charlottes Web Site
===> April 07 - Microsoft Office Space
===> June 07 - Serenity Hack
===> Oct 07 - Worst. Ethical. Hacker. Challenge. Ever.
===> Dec 07 - Frosty the Snow Crash
===> March 2008 - It Happened One Friday
===> Oct 2008 - Scooby Doo and the Crypto Caper
===> Dec 08 - Santa Claus Is Hacking to Town
===> Feb 2009 - Brady Bunch Boondoggle
===> July 2009 - Prison Break
===> October 2009 - SSHliders
===> December 2009 - Miracle on Thirty-Hack Street
===> December 2010 - The Nightmare Before Charlie Browns Christmas
-----------------------------
Resources
-----------------------------
=> Career Central
===> Looking For Work
===> Looking To Hire
=> Links to cool sites.
=> Mass Media
=> News from the Outside World
=> Tools
=> Tutorials
===> Tutorial Requests
Loading...
Exclusive Deal
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:
Great!
Better.
About the same.
Little worse.
FUBAR!
Recent Forum Topics
News Items and General Discussion About EH-Net
: Fashion Advice To Assist You Boost Your Style
(0) by
exeldinooxilk
News Items and General Discussion About EH-Net
: Change is Coming to EH-Net!!
(30) by
don
Tools
: Symbolic Exploit Assistant project is looking for collaborators
(0) by
galapag0
Greetings
: Hi from the UK
(5) by
prats84
GCIH - GIAC Certified Incident Handler
: Passed my GCIH
(9) by
prats84
Network Pen Testing
: Want a challenge? Want a GXPN practice exam?
(0) by
ajohnson
GCIH - GIAC Certified Incident Handler
: GCIH Free Practice test attempt
(1) by
prats84
EH-Net News Feeds
Latest Additions
Privacy Notice
for TDCC & All Properties
© 2013 The Ethical Hacker Network
Joomla!
is Free Software released under the GNU/GPL License.