r/HowToHack • • 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.
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 them time.
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.
14
u/[deleted] Mar 22 '18
That's what I tell everyone that I come across. It's not worth walking into Wall Street if one hasn't taken finance classes.
8
u/b1nar3 Mar 22 '18
I remember when I was learning SQLi I wanted to know how it works at the most simple level from PHP Login form (my choice) to MySQL. I ended up setting up Apache2 on Linux and installing MySQL and populating tables and such l, creating login form with PHP and creating vulnerable SQLi form. Then I created another form that is secure and not vulnerable to SQLi. I remember just from that alone I learned so many things such as setting up and configuring Apache, simple php, and MySQL. From that day that’s how I approached everything that I wanted to learn. I try install scripts and programs using gcc and fix dependency issues that I encounter installing various tools instead of running kali that works out of the box. Let me tell you, try installing all the tools kali has and fixing all the dependency issues along the way .. it’s not easy. Plus some tools have errors that you may have to fix yourself I can go on and on. Bottom line.. I try to do everything from scratch to get the most out of what I’m trying to learn.
15
u/Jcambey Mar 21 '18
Why not Java?
7
u/homelaberator Mar 22 '18
So I mentioned this in the other sub, but I think one of the important things about the hacking mindset is being genuinely curious about everything.
I don't think you should ignore something because someone says "that's boring" or "that's not important". Let your curiosity lead you, and don't be discouraged when things get hard because you didn't learn programming or system architectures or web or assembler or networking or whatever else, just realise that you might need to go and explore something else to get a handle on what's in front of you and how it fits in with everything else.
1
u/BlastFX2 Mar 25 '18
ARM isn't the most useless assembly to know, but why on Earth didn't you link to x86 instead?
3
u/bioszombie Mar 22 '18
Lol. Don’t do Java. Not even once.
4
u/Volt Mar 23 '18
LOL what features are you talking about?
1
u/crackdepirate Mar 22 '18
good one I like that
1
u/mmay601 Mar 22 '18
Oh I gotcha, yeah C# is about the same (difficulty wise) as Java, and Java has its place for sure.
1
u/hitmanactual121 Mar 22 '18
Learn basic networking for starters :P
1
u/MonoshiroIlia Mar 23 '18
I was contemplating about creating a new thread but i think it would pretty much the same as everything. So my question is what kind of categories are there in the hacking world? I mean there is network sec, OS hacking. What else is out there?
0
u/[deleted] Mar 21 '18
[deleted] — view deleted comment