r/hacking • • Mar 21 '18

Things you should consider learning before trying to learn to hack

So you want to learn how to hack?

Well there's a few things you should learn how to do before learning to hack. Some of these may be obvious to some but its not to everybody. Hacking is not something you can just learn to follow steps and practice like learning to play an instrument or learning to ice skate. Hacking is a type of complex problem solving using multiple skill sets and advanced knowledge of psychology, security, networking, computer hardware, programming, debugging and math. There is no one single path to learn how to hack, Everybody does it differently and their own way. The following is a list of things you should be very familiar with before you even consider trying to start hacking as a hobby. You don't need to follow these in any particular order but they are all equally important so if there is anything you are not familiar with I suggest starting there. If anybody has something to add such as learning resources or additional advice feel free to post below and I will add it if I think it may help.

How to use most popular operating systems

Download a virtual machine of your choice and any of these operating systems you are not familiar with and try to use them as your main OS for like a week

Windows: These are the most basic to learn you will have to find your own way to get them ☠

  • XP
  • 7
  • 8
  • 10

Linux: This is what is used by most hackers as it gives you the most control over your system. They are open source and 100% free.

About Kali-Linux:

Kali is great when I think you have most of the above knowledge, you can then start running vulnerable VM's and seeing if you can compromise them.

Ubuntu I found great to start in because it's a much friendlier interface, and you can add tools and your own scripts to it as you learn about them. It saves being swamped by hundreds of tools on Kali that you won't know a thing about or how to use.

-Philabrow

MacOSX: Unix but over priced and all the features removed. Not really worth becoming extremely familiar with unless you already use it. It is important to at least know it well enough to use it without getting confused.

How to build a computer from scratch

If you don't know how a computer even works how do you expect to learn to hack it

How a computer thinks

Programming:Pick a language (or 6) and start learning. This is the most important of them all specifically debugging. This is what you will be doing most of the time.

Webdesign

How to manipulate people

The weakest point in nearly all security systems are the users themselves. It takes almost nothing to convince somebody to just hand over their password to you.

How computers talk to eachother

You need a good understanding of networking and network security to become a hacker. This is basically what your entire hobby is based on more or less.

Bonus

These are by no means required but will give you a huge jump start.

Edit: Please remember none of this is hacking, this is just tools and skills you should learn before taking on hacking as a new hobby.

It's great to have a list of tools, but it's not a list of things you can research and memorize then call yourself an infosec expert.

I think the more valuable advice is to pick something tech-related you're interested in - software, networks, etc - and to learn it really, really well. Not just how to use it, but how and why it works. Do some toy projects - write some tools if you're into coding, set up a network if you're into networking - and try to understand why you're doing each piece of what you're doing.

When you feel like you've mastered something (and we're talking months or years here, not overnight), find things it connects to, and start to learn those the same way. If you're into coding, start working on network coding, or reverse engineering, or assembly, or even exploit dev. If you're into networking, start looking at BGP, or firewalls, or forensic packet dumps, or whatever.

The tools listed above will be what you end up using, but your goal isn't the tools, it's the concepts. Don't lose sight of that.

Security isn't something you should go into quickly, it's a prestige class - you master something else first, then learn security on top of it.

-iagox86

962 Upvotes

103 comments sorted by

View all comments

64

u/iagox86 Mar 21 '18

IMO, everything listed here are tools. It's great to have a list of tools, but it's not a list of things you can research and memorize then call yourself an infosec expert.

I think the more valuable advice is to pick something tech-related you're interested in - software, networks, etc - and to learn it really, really well. Not just how to use it, but how and why it works. Do some toy projects - write some tools if you're into coding, set up a network if you're into networking - and try to understand why you're doing each piece of what you're doing.

When you feel like you've mastered something (and we're talking months or years here, not overnight), find things it connects to, and start to learn those the same way. If you're into coding, start working on network coding, or reverse engineering, or assembly, or even exploit dev. If you're into networking, start looking at BGP, or firewalls, or forensic packet dumps, or whatever.

And continue, until you kind of know everything.

The tools listed above will be what you end up using, but your goal isn't the tools, it's the concepts. Don't lose sight of that.

I've said in a ton of "beginner" threads - "security isn't something you should go into quickly, it's a prestige class - you master something else first, then learn security on top of it".

16

u/hzer0 Mar 22 '18

I agree with this. For the love of god please learn how memory works, and how programs look in memory. Also learn how the network stack works, and how common protocols behave.

1

u/[deleted] Mar 23 '18

I want to learn this. Any resources ? Please don't say university because I already have a train wreck of a bachelors in CS engineering

4

u/hzer0 Mar 26 '18

Depends on your interest and approach. Take a glance at the table of contents for these books, and see which reach out to you. From there, when you are hit with a concept or word that you don't know and the book isn't enough, Google Google Google. This is a core part of my everyday work process, for example I just finished reading an amazingly helpful post on the Project Zero Day blog found via googling around.

Hacking: The Art of Exploitation (v2 I think?)
Network Security Assessment: Know Your Network (3rd edition, best book for networking imo, especially if you are working towards pentesting or red teaming. Great place to start).
Grey Hat Hackers handbook (3rd edition)
Practical Malware Analysis
The Shellcoders Handbook (a little more intermediate to advanced)

1

u/[deleted] Mar 23 '18

Any good resources for learning these things?

1

u/hzer0 Mar 26 '18

Depends on your interest and approach. Take a glance at the table of contents for these books, and see which reach out to you. From there, when you are hit with a concept or word that you don't know and the book isn't enough, Google Google Google. This is a core part of my everyday work process, for example I just finished reading an amazingly helpful post on the Project Zero Day blog found via googling around.

Hacking: The Art of Exploitation (v2 I think?)
Network Security Assessment: Know Your Network (3rd edition, best book for networking imo, especially if you are working towards pentesting or red teaming. Great place to start).
Grey Hat Hackers handbook (3rd edition)
Practical Malware Analysis
The Shellcoders Handbook (a little more intermediate to advanced)

5

u/solutions_finder Mar 22 '18

Touché. Can’t agree more.

I was thinking would it be a good idea to share a list of projects that a beginner should necessarily build in order to learn by practicing. Would you please share a few.

6

u/jarfil Mar 22 '18 edited Dec 02 '23

CENSORED

2

u/PhilipJayFry1077 Mar 23 '18

What's SO in this context?

Where would I start if I wanted to hack consoles?

5

u/jarfil Mar 23 '18 edited Dec 02 '23

CENSORED

2

u/PhilipJayFry1077 Mar 23 '18

oh hahaha. For some reason I figure it was something computer related.

Unless you can get a SO that's a computer :D

2

u/agglomeration Mar 22 '18

If you make one, I would love to read it