“ The Only True Guide to Learning How to Hack ”
originally by R4di4tion (email), with a few updates by myself.
You stay up all night on the PC typing and typing. No, you’re not hacking. You’re begging someone on IRC to teach you how to hack! Let’s look at the facts:
- You’re a luser and you’re annoying. No one likes you if you ask others how to hack without taking the least amount of initiative.
- You’re not worthy of any title even resembling hacker, cracker, phreaker, etc., so don’t go around calling yourself that! The more you do, the less likely you are to find someone willing to teach you how to hack (which is an infinitesimal chance, any way).
- You’re wasting your time (if you couldn’t infer that in the first place). Many real hackers (not those shitty script kiddies) spend all their insomniac hours reading and, yes even, HACKING! (Hacking doesn’t necessarily (but usually does) mean breaking into another system. It could mean just working on your own system, BUT NOT WINDOWS ‘9x (unless you’re doing some really menacing registry shit, in which case, you’re kind of cool).)
You’re probably thinking, “Then what should I do. If no one’s going to help me, how can I learn to hack?” Have you ever tried READING (I assume this far that you are literate). Read anything and everything you can get your hands on! I recommend hitting a computer store and looking for discount books (books that are usually out of date, but so are a lot of the systems on the ‘net, so they’re still relevant!). You’ll be surprised what you can learn from a book even when you’re paying a dollar for every hundred pages. I recommend the following books to start off with:
- Maximum Security I or II: this is not a guide to hacking, despite what you might have heard, but you can get enough info to learn the basics of how hackers hack! (Isn’t that more fun than being lamed, email bombed, and kicked off IRC).
- Practical Unix and Internet Security (Sec. Edition): This is mostly a book about how to secure Unix (if you don’t know what Unix is, either shoot yourself now, or read O’Reilly’s Learning the Unix OS), but half of learning to hack is learning a system from the inside out. How can you expect to hack a site (w/o using a kiddie script, which i must restate, is NOT hacking) if you don’t know how to use the system?!
- Linux Unleashed/Red Hat Linux Unleashed: these books are kind of cool. First of all, they come with Red Hat Linux (*sigh*, just go to www.linux.org and read everything there) 5.1 and 5.2 respectively (if you get the newest versions of the book, which you should). Read everything you can from it.
- Sendmail in a nutshell: This is only after you read everything else. Sendmail, for those of you who still don’t know, is a program that sends mail. It sounds stupid, but this is a buggy program, and usually is the avenue of attack many hackers take because of it’s vulnerabilities.
- TCP/IP Blueprints: this will clear up a lot of things concerning TCP/IP.
- TCP/IP Administration: haven’t read it, but can’t wait to! (I’ve been bogged down by a lot of other REAL computer stuff).
Editor’s Note: OK, some of these books are out of date now, so I’ve striked the ones that are no longer relevent. “Hacking Exposed” is a good substitute for “Maximum Security”.
After you’ve read them all, re-read them! Trust me, you gain a ton of information the second time you read them just as you gain perspicacity the second time through a movie with a twisted plot.
Then, read a ton of RFCs. RFCs are Request for Comments by the people who practically shaped the Internet. Here is a good list of RFCs (the books above give about the same list):
Editor’s Note: Yeah, I really wouldn’t bother with the RFC’s, they can come later if you get really seriously into it.
That’s it for now. If anything else interests you about the Internet, try to look up an RFC for it. Read anything you can about Internet security in general (but not stuff like “How to Hack” (but keep reading this!)). Subscribe to mailing lists. Some of my favorites are bugtraq, happy hacker (interesting stuff), and MC2. By now, you should be advanced enough to breeze through Carolyn Meinel’s “Guide to (mostly) Harmless Hacking.” It’s got some interesting stuff, but not enough to be “3l1t3.” Okay, now for the big step: the step from lamer to hacker! If you have not already, install Linux. Now it’s okay for you to go online to usenet groups and ask for help installing Linux, ‘cuz quite frankly, it’s pretty fucking hard! NEVER, EVER, EVER expect to get it on the first try just right. The next thing to do is learn programming. I recommend learning C++ first because it will help you understand a lot about programming, it’s easy to use, and is a lot like the other programming languages you should also learn. Read these books:
- Teach Yourself C++ in 21 Days: the name says it all
- Learning Perl: an AMAZING book on learning Perl
- Programming Perl: the next step after Learning Perl
- Perl Cookbook: the next step after Programming Perl
- Core Java (Volume I & II): these books are by the makers of Java. Java is a really cool language to say the least, but you should at least learn C++ before so you can understand classes.
Now, you may be saying I may have been a bit hypocritical by saying not to ask how to hack but to ask about installing Linux. The thing is that Linux people are usually pretty nice, and the people who are Linux gurus want more than anything for Linux to prosper, and are willing to help you out. Oh, by the way, if you’ve installed Linux the way you want it (which does not include throwing you Linux box out the window and yelling, “I LIKE THIS JUST FINE!”), congratulations. You have now earned my respect.
Okay, I mentioned kiddie scripts earlier, and I’ll follow up on it now. Kiddie Scripts are auto hacking programs that will do all the work for you. You don’t want that. I do condone downloading them and learning from them, but don’t become a script kiddie. The only place they go in life is jail (not where you want to be).
Now, you should know a great deal about hacking. You have a compendium of information at your fingertips with a mental index. You want the best advice? Don’t hack. Odds are, you will get caught, and then it goes down on your criminal record, and unless you did something fan-fucking-tastic, like hacking the white house security cameras and get video of Slick Willie getting a BJ, you can pretty much kiss your computer future goodbye, cuz no one will hire a convicted hacker. If you do hack, be a white hat hacker. For example, upon breaking into a site, leave a note maybe including how to contact you (not through the phones, mail, real email address etc., do it through a hotmail account or something) or how to fix it. They may be nice enough to offer you a job! That’s right, there are some people who get paid to hack and do what they love.
In conclusion, you may have noticed that this was not a real guide to hacking. That’s because there is no one resource for hacking. This was a guide to LEARNING how to hack, which, if you want to be a real hacker, you will have to do. There is no one way to hack. (If so, it would be a lot easier for system administrators to keep you out!) It’s a variety of different tricks as well as the ability to keep up with current vulnerabilities in software and hardware. You should also learn how to program. Even though Kevin Mitnick was infamous among the hacker culture for being the most wanted cracker, he couldn’t even write his own exploits! That’s pretty sad. Please use whatever information you have wisely and responsibly, and distribute it only to people who are worthy of it.
(end of article – originally by R4di4tion (email).)
OK, so that’s the article that first got me into hacking, I guess around 15 years ago. If you’ve read this far I congratulate you, you have my respect. A short attention span is not something prized by hackers.
And if you look at the comments to this page, you can see the same questions being asked again and again “How do I find x”, “What is Y”, “Where can I find Z”. If you have to ask, you’re probably not the right kind of person to be a hacker. Hackers use their initiative. Like, a lot. If you’re hacking into a website and get stuck, you can’t just call up the admin and say “Hey, where’s the password file kept?” you have to figure it out on your own. In many ways, learning how to hack is also learning how to learn.
Now you’re probably thinking “hang on, you read this fifteen years ago?!?!”. Yes, it’s an old piece of text. No, you didn’t waste your time. This hacking tutorial teaches you the basics of how to hack, and those aren’t ever going to change. If you didn’t catch them the first time around, here they are again:
- learn to program
- learn how the internet works
- learn how unix/linux works
Go download wireshark, nmap, hping, and a C IDE and just play around with all of them. That’s what the essence of hacking is; messing around with technologies until you find something cool. Check out my Hacking Facebook post and you’ll see exactly what I mean; it’s not really “hacking” as such, all I did there was peek into facebook’s code using firebug, and I found some cool stuff. But the hacking skills are the same. Some of you will want to ask “how do I download wireshark” or “how do I use hping” – you must understand that answering the question for yourself is half the point.
I also very definitely agree with R4di4tion’s suggestion to subscribe to bugtraq but I’d suggest signing up a new email account solely for it; it’s very high volume. You may also want to sign up to the security-basics, vuln-dev, web-application-security and pen-test lists. Reading the conversations that take place on those lists is a gold-mine of hacking information.
Gary Robson’s How to become a hacker
elfQrin’s open letter to wannabe hackers
donk boy’s tutorial – if you follow this you will know everything you need to
Top security tools, as voted by nmap users
Your suggestions/experiences/advice/resources/tutorials welcome.
#1 by dane at April 17th, 2009
this is nice..
thank you.. ^^
#2 by codeherd at April 22nd, 2009
nice tut.. thanks! :)
#3 by skidmark at April 23rd, 2009
@ sami; stupid kid is stupid
#4 by user24 at April 24th, 2009
@sami; lol. Did you even read the article? The whole point is to learn how to do it yourself! What if you didn’t have that amazing VB code to hand?
It’s like saying “what’t the point in learning to fix my car, when here’s the number of a mechanic”
#5 by eraser at April 30th, 2009
what is an uploaded page
#6 by xstaticx at May 1st, 2009
Hi,im a truely beginner,what is the 1st step or basic 2 become a hacker
#7 by user24 at May 1st, 2009
Just follow the advice above :) Don’t be tempted down the easy path, you’ll learn nothing that way. Read, read, read!
#8 by bharath at May 4th, 2009
#9 by im gana read! at May 7th, 2009
yo man thanks… i realy dont no if ur syn the truth or nah… but yeah i will get all the books that u named abov….
and gues wat dont reaply bk 2 my msn coz its not my 1 ..thanks agin
take care ah
#10 by ellak dike at May 10th, 2009
heyo this is ridiculous anywys its of two sides good and bad .if you use it well its better than that of hacking into people’s account and all that so i hope that you guys will use well and not cause problems for people.
#11 by ellak dike at May 10th, 2009
anywyz i have a friend who can hack into computers whereby the users have forgoten their own passwords .i think thatz a positive hacker .this hacking issues should be taken seriously and we beginners can help combat negative hackers to help our societies.thankx
#12 by wat at May 13th, 2009
This thing was written in like… what, 1993?
#13 by user24 at May 14th, 2009
yeah somewhere around that time I think. Still very relevant, and still a hell of a lot better than 90% of the “hacking” tutorials out there. :P ;)
#14 by T at May 14th, 2009
I looked at the “Teach Yourself C++ In 21 Days” book but while I was reading all it was telling me was what C++ was and how it worked, it wouldn’t tell me how to do it or use it. Maybe I should read on but if there is a better alternative I would be grateful to anyone who can tell me.
#15 by T at May 14th, 2009
This is the website that I used, because I just found this page about 30 minutes ago
http://newdata.box.sk/bx/c/htm/ch01.htm
Is it enough or should I just find a better one?
#16 by user24 at May 15th, 2009
that’s the one, it’s worth working through it. The first “day” doesn’t cover very much at all, but if you stick with it it gets good from week 2 onwards. Week 1 is really just a general introduction to the C language; if you already know how to program then it won’t help you much. But if you’ve never programmed before then it’s well worth the effort reading, because A LOT of languages are based on C, so by learning C you’ll also learn most of PHP, JS, and other common languages.
I recommend devcpp as the IDE, it’s pretty good. Microsoft also give away the express versions of their IDEs, but they’re a little complicated.
#17 by raphael at May 24th, 2009
nice website man for beginners…..
but dont know whether relavent in todays time or nt
#18 by user24 at May 25th, 2009
That’s exactly the point – most other tutorials will become irrelevant over time, whereas this one is timeless. That’s why this one is one of the most useful you can possibly read.
#19 by LOW at May 15th, 2009
… XD
Ah yes, the kiddies that assume they can hack, simply XD
#20 by yusuf at May 15th, 2009
pls am a new leaner here, am a computer science student,year2.
i need help on any boo for available for me on net,pls help me to send it to my mail box,thanks
secretoflove75@yahoo.com
#21 by T at May 15th, 2009
I downloaded the Dev C++ Compiler, but I don’t really understand how to use it, maybe I am being a pain, but I would love some help.
For the “Hello World” program that you are supposed to do on day 1 of “Teach Yourself C++ In 21 Days”, do you write the script in notepad and then put it into the compiler, or just do it in the compiler and hit the compile button?
#22 by user24 at May 16th, 2009
Sorry, I haven’t actually used devcpp for ages.
You type (or paste) the program code into the main IDE window, and then click the Execute menu -> Compile
The screenshot http://www.bloodshed.net/images/devcpp5_scr.jpg should clear things up
You might have to go File->New->Project or something first. There are some tutorials here:
http://www.bloodshed.net/dev/doc/index.html
Part of the trainging to be a hacker is finding information on your own though. Most of the time when you’re attacking a system you won’t have anyone to ask about it and you’ll need these type of information discovery skills.
See, a lot of “hacking” tutorials will just tell you in a step-by-step way: download this software, click “Attack”, type in “blah di blah” tick the checkbox and press enter and that’s it you’ve hacked the site. If it doesn’t work then try another site.
That’s not going to teach you anything! Just how to use some programs that someone approaching a *real* hacker wrote. What if you want to hack into a specific site and that program doesn’t work against it?
To be a real hacker you need to learn how to learn ;)
#23 by s at May 28th, 2009
hey im trying to learn about hacking but me too have done stupid things like serching for how to hack and serching for hacking softwares and tools and also i downloaded those and done useless things ,but i learned acctually how to be a hacker from this , and thanks for publishing a thing like this…………….(”") to guide us to the right path.<<>>
#24 by Candii at May 28th, 2009
Thanks ^_^ reallllii helped. gunna hack my skool admins compuer account >.<
#25 by krizes at June 3rd, 2009
haha.. many words.. lazy to read.. x3 but, how will you know the codes??
#26 by krizes at June 3rd, 2009
haha! hack ur skool admin??! lol nice !! x3 haha
#27 by Raj at June 4th, 2009
will u send me tips so i can becam e a small hacker i m just a beginer
#28 by samsideen at June 4th, 2009
pls.i need a friend so that i can be put through
#29 by Vlad at June 7th, 2009
Try out python. It is by far the best laguage to start off with. Easy to learn, and VERY powerful. I’d say it is a much better way to learn classes.
#30 by user24 at June 8th, 2009
IMO any language is good to start with, but I’d personally recommend sticking to C-based-syntax because it’s so widely used. Once you’ve learned C then picking up PHP or javascript or even VB.NET or Java won’t be too hard because it looks very similar.
#31 by TechMann at June 23rd, 2009
Hello Friend, I just came across your site as am brousing to find information on how to become a professional hacker. I am going through the information above. I need your help cus am a newbie. How do I start. I hate to start and fail.
Hope to hear from you soon
Thanks
#32 by Grim at June 25th, 2009
Hello, i came upon this guide because im bored out of my mind anddecided to pick up a hobbie, etc. a bunch of bullshit you could care less about… but somthing you might care about is the learn c++ in 21 days book, i was gonna get it but i found this site http://newdata.box.sk/bx/c/ and its pretty much the buck online… anyone that wants use it
#33 by Taylor^-^ at June 29th, 2009
Wow. This really helps me. I wish there were a way to do this for people who have absolutely no money or access to a book store, but I’ll try to get all the books. ^-^
#34 by user24 at June 30th, 2009
There are web programming tutorials that you can use too. I find that buying a physical book provides good motivation, as well as the chance to get some offline time.
#35 by shaun at July 1st, 2009
hey i am just starting to learn and to walk on ur sayings
i know c language
but i zero in hacking types matter please tell me the idea to be hero
pls advice me as i m just learner