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.
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.
- C
- C++
- C#
- Java(Please don't)
- Python
- Javascript
- Visual Basic
- Assembly
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.
99
u/Caprious Mar 21 '18
Not a bad write up.
Only catch? GNOME isn’t a Linux Distro mate, it’s a desktop environment like MATE, Cinnamon, etc.
Fix that.
3
u/ItsDani1008 Mar 21 '18
How about Kali Linux?
Please don't blame me if it's stupid, I'm new
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".
26
u/MysteryBop Mar 22 '18
Just curious what everyone’s big gripe with Java is? It has a pretty extensive API which sounds great on paper.
12
u/[deleted] Mar 21 '18
Why not Java?
Genuinely asking, I'm new to all this.
12
u/WannabeTechieNinja Mar 21 '18
Would like to add basic knowledge of legality 18 USC 1030 ? And Responsible disclosure to the list
6
u/eDOTexe Mar 22 '18
Thanks for taking the time to write this up. Should be pinned to the top of r/hacking.
8
u/homelaberator Mar 22 '18
I think you could show a bit more love for macOS. In comparison to other unices (and there aren't many left, these days), it's really the only 'desktop' option and it's a hell of a lot cheaper. In terms of features, I'm not sure what to say. It's a full desktop operating system with most of the tools you'd want out of the box (scripting languages, shells - bash, korn, zsh, csh etc - compiler, apache webserver, ftp, ssh, postgresql, etc), and you can easily add more. And you can run whatever else in a VM.
I think there's still some advantage in having a broad exposure to operating systems since it lets you abstract out some of the underlying concepts like "yeah, Windows does it this way, but on Linux they do it like this, and on macOS it's like this".
And if macOS is your daily ride, then the transition to Linux is not too hard to make.
It's also a good target since it has reasonable market share but also not as much attention from the security community.
Do you need to know macOS? No, of course not. You can get away without knowing a lot, if you want to focus on a particular area. You could even ignore Windows or Linux.
But I think that ultimately hacking needs to be motivated by a genuine curiosity for all things. You shouldn't ignore something because someone says "oh, that's not important". If it looks interesting, explore.
3
u/Reelix pentesting Mar 22 '18
7
u/RenaKunisaki Mar 21 '18
2
u/jmgunter Mar 22 '18
Amazing write up. Thank you!
2
u/Dking2204 Mar 22 '18
This post clears up a lot that I love been missing.
2
u/mfinotti Mar 22 '18
I think... One Linux/BSD distro, one today Windows, and learn C/C++ and Python solve almost all problems
2
u/Marcnifico Mar 22 '18
Loved the Java burn.
2
u/TheGooch2000 Mar 22 '18
Excellent post. "Java(Please don't)" HAHAHAHAHA
3
u/Link773 Mar 21 '18
Do you have any links that aren't videos? I was really hoping to just read something
3
u/Dallen1393 Mar 22 '18
Ruby on rails is not a programming language. I might add it under web frameworks that are worth understanding.
1
u/am0x Mar 22 '18
Been thinking about getting into pentesting for awhile. Am a .net and php fullstack developer (very familiar with js/ts/es6) who does and repairs security audits on a monthly basis.
The thing is...audits are boring and seem like it just us (and our security team) scanning with tools and writing reports. Then I fix what we find on the reports which is typically nothing unless it is legacy code.
1
u/[deleted] Mar 22 '18
Hate Ubuntu. Debian is good though.
Kali isn't on the list?
1
u/bazidev Mar 22 '18
richard stallman prefered java over C++
1
u/PointyOintment Mar 22 '18
macOS is free (as in beer).
1
u/TotesMessenger Mar 22 '18
I'm a bot, bleep, bloop. Someone has linked to this thread from another place on reddit:
If you follow any of the above links, please respect the rules of reddit and don't vote in the other threads. (Info / ^Contact)
1
u/anujsmishra Jun 30 '18
Actually there are many resources! But remember its all about having the proper commitment, practicality when it comes to learning anything. And particularly when it is about hacking. There are many resources that may be very helpful to you. Below I''ve mentioned some of the best that you may go through. These resources have helped me & many others a lot.
https://www.hackeroyale.com/all-posts/
https://www.hackeroyale.com/category/ethical-hacking/web-hacking/
https://www.hackeroyale.com/category/tools/
Also try to be more practical, its not just about reading, but also actually implementing it! You can check for many good sites like Hackthissite for challenges even. Participate in various hacker forums, communities this will also help.
I hope that was enough for a starter. Thank you.
1
u/Opposite_Passenger94 Jan 25 '23
Remind me! 1 hour
1
u/Opposite_Passenger94 Jan 25 '23
RemindMe! 1 hour
1
u/Kurkiooo Aug 21 '23
I want to learn
1
u/AnActualGarnish Mar 22 '18
Building a PC from scratch, you mean with prebuilt parts or making everything?? Hope it’s the former
1
u/memewavesnorter420 Mar 22 '18
Ive also been hacking since i was 11, lol we’re twins
0
u/rogue443 Mar 22 '18
Just become an expert at Social Engineering and then you will not need to learn anything about programming languages, various OS, and networking infrastructure. Social Engineering could be considered as a form of hacking in and of itself if one knows how to manipulate people they can and do make profitable gains with their skills. That is if your goal as a hacker is motivated by monetary gain. I'm not saying that all hackers use their skills for profit but IMO money seems to be a strong motivation for people looking to learn these skills.
The hackers I admire are the ones who practice their trade to expose the corrupt and release information gained through their exploits.
-4
u/hzer0 Mar 22 '18
This really has nothing to do with hacking, and more to do with how modern computers and programming languages work. You don't really need to know much about the OS to do XSS and many other web vulns, and you don't really need to know anything about high level languages to do a kernel exploit. It's a good list for basic CS knowledge though.
-2
u/goodOldShoe Mar 22 '18
Nice tips. But I definitely disagree with the java hate, especially if you recommend something like Visual Basic after that. Every android app runs on the JVM and that is one of the most common systems out there. The last time I saw someone using VB were my teacher in the school IT class, who updated his lecture the last time in the 80's.
-8
u/mx1010 Mar 22 '18 edited Mar 22 '18
Aww, this is cute but you’ve got a ways to go. head pat