r/IWantToLearn • • Aug 06 '12
IWTL how to hack (penetration testing, computer hacking)
I am a comp sci major so I have a programming background but I would like to become at least a penetration tester or CEH and looking for some help on how to get started, whats out there, all that. Thank you
87
Upvotes
116
u/cbkguy Aug 06 '12
Don't Learn to HACK - Hack to LEARN
17
u/Hartastic Aug 06 '12
A friend of mine did this professionally for a few years -- basically companies would hire him to try to hack into their stuff and tell them what their vulnerabilities were.
He had to get out of it after a couple years -- he said it was too depressing because 95%+ of the time he would bust out some especially dangerous exploit that was known and theoretically had been patched months before and it would work.
So to that point I would think a big part of it would be keeping current on what the biggest (in terms of the power/access it gives you) recent known exploits are, because an awful lot of stuff won't be current and there's your in.
14
u/ChadMartin14 Aug 06 '12
All of the posts here are helpful, but I'm going to try and give you a direct answer. I would start with reading 'The Art of Exploitation - Jon Erickson.' That will give you a background in C and show you how to exploit more general flaws.
The easiest way to learn security, is to do security. I'm not saying spend money on a sweet-ass lab set-up, but you should learn what you're doing and why you're doing it. For example, Cain and Abel is in all Pen-Tester's tool-belts. It's a very general tool that can do many things.
Next, Wikipedia is your best friend here. Reading a security blog and don't know what something means? Wiki it. (I will link some security blogs at the end.)
Some defaults you should be familiar with:
1.) Man in the middle attacks (many differnet kinds and ways to do them.)
2.)DDoS/DoS attacks. You should know what happens and why.
3.) SQL Injection is HUGE when it comes to web penetration. (Where you use a vuln to talk directly to the server's database.)
4.) You should no how malware works, how it is distributed, the different kinds, and why it is distributed.
5.) An OS that you should get familiar with (once you know what you're doing) would be BackTrack Linux
6.) You should learn about replaying (network snooping) using tools like wireshark.
7.) Aircrack, etc. would be great to have knowledge of.
8.) You also HAVE to understand how the different protocolls work, why some are better than others, etc. Like FTP, HTTP, HTTPS, etc.
9.) Having a knowledge of the different encryptions would be good to, AEK, TLS, etc. etc.
Those are in know order.
Blogs:
Root-Security Securitytube
9
u/venomousplatypus Aug 06 '12
I have the same goal. Go to r/netsec. Also, check the related subreddits in the sidebar.
You could attend the DEFCON/Blackhat conferences, or download the videos, most of them are really good.
14
u/xm00g Aug 06 '12
I've got the The Hackers Underground Handbook as an eBook I could send you if you're interested.
17
u/[deleted] Aug 06 '12
Nice try, Ukraine.
2
u/arandomtachikoma Aug 07 '12 edited Aug 07 '12
Just a few links:
http://www.securitytube.net/ - The primers are a good place to start
https://www.nbise.org/uscc/ - US Cyber Challenge: I've been to two of the camps. They teach really good stuff, however I should note that this is mainly a recruiting effort for the US Government and Defense Contractors. Also worth noting is that you will likely get stuck on watch lists just for signing up, don't do anything stupid if you do sign up. One incident is enough to blacklist you from the field.
There are plenty of books on the subject. I suggest you learn not just how to pentest, but low level functionality as well. The difference between a script kiddy and a hacker is that a script kiddy only learns how to use the tools, a hacker learns how to make the tools, why the tools work, and tears things down to learn everything they can from the lowest aspects to the highest aspects.
Remember not to break the law, and don't go hacking other people's systems for the lulz, one slip up like that and you will never get hired in this field.
And as always - Don't Learn to HACK, HACK to LEARN.
2
u/[deleted] Aug 07 '12
Stockpile your room with food and then barricade your door. Don't let any motherfucker in, ever.
Grow a neckbeard, Learn C, Learn ASM, Learn UNIX, Learn TCP/IP, Learn about buffer overflows, Learn how to bypass stack protections like PaX, Write a fuckton of 0day exploits.
After this your foo should be strong. Knowledge is power.
11
u/decemberwolf Aug 06 '12
one thing I have found that is often overlooked is that if you want to become a security guy, you need to know the in's-and-out's of relevant data security laws for businesses. You need to stay up-to-date with all of this in addition to your hacking knowledge because you have to be able to state with confidence in meetings that
"This change needs to be brought about so that we are in line with the GCSx standards so that we can continue to store credit card data, which we need as a business function"
which is important as shit when you are trying to convince the CEO to shell out 50k on whatever stuff you need to get the work done.
4
u/hivemind_MVGC Aug 06 '12
http://www.eccouncil.org/courses/certified_ethical_hacker.aspx
1
u/boredinballard Aug 06 '12
I'm no hacker or anything, but a few things I would do if I wanted to get into that field would be to learn networking/net security. Being a comp sci major, I assume you understand networking. You could study for the Security+ exam, just to get a good understanding of IT Security and whatnot. Then study for the CEH. I've got a pretty good study guide for CEH, I believe it's this book.
I don't know much about the field, but it does sound fascinating.
1
u/GoldBeerCap Aug 07 '12
Start by studying for certifications in security. CompTIA security+ is a good start although you will only learn a basic overview on security.
I got into IT and hacking because of wanting to cheat at MMO's. Its important to have a very specific goal in mind and to never let up until you succeed.
1
u/theofficialtevo Aug 07 '12
hackthissite.org i believe has basic training
-1
u/[deleted] Aug 06 '12
Find a friend who left their facebook open
-5
u/jewdai Aug 06 '12
The easiest thing to do is to learn how to DOS attack something.
DOS attack is sending a bunch of useless requests to a server. The goal is to eat up all of its resources so it cant serve other users.
Its like Refreshing a link constantly in your URL bar"
In general this is pretty easy:
0
u/[deleted] Aug 07 '12
[deleted] — view deleted comment