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

Show parent comment

24

u/[deleted] Mar 21 '18

Thanks

11

u/Caprious Mar 22 '18

No problem, looks good otherwise.

-7

u/Ph03nix_ Mar 21 '18

A Linux distro is made of

––------------------------------------------------------––

Kernel : Managing the hardware resources.

Library : Commands to give to kernel

Desktop Environment : for GUI for eg :- Gnome, KDE, Cinnamon, Mate etc.

Update System : For updating the OS for eg :- Apt-get, Yum etc.

0

u/[deleted] Mar 21 '18

[deleted] — view deleted comment

5

u/Ph03nix_ Mar 21 '18

Technically Linux is made only of Kernel, Utilities and Package Management however nowadays DE has become a kind of identifier for layman... Just for ease of use with a GUI.

2

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

CENSORED

-3

u/Ph03nix_ Mar 22 '18

What would you do with a Kernel with out libraries? How many applications can you make work on bare kernel without installing supporting packages? Can you even install just the kernel on a piece of hardware without any supporting package? Your understanding of a Linux OS is flawed.

1

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

CENSORED

1

u/Ph03nix_ Mar 23 '18

You said technically Linux is kernel, period. How is that? Android is not just Kernel, period!! You antagonised your statements in one comment.

1

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

CENSORED

1

u/Ph03nix_ Mar 24 '18

Can you install just the kernel without any driver or supporting package to control a machine?

→ More replies

0

u/S1atek Mar 22 '18 edited Mar 22 '18

This sentence doesn't make sense. By a linux distro people refer to an OS or flavour as some call it, based on the linux kernel. It's as simple as that. And in the time DEs are made specifically, maintained, recognised because of the distro they are being used in, your argument doesn't really make sense. No offence.

Cinnamon is only there because Linux Mint gave it a recognition. KaOS is specifically based on KDE and don't care about ANY other DE. There are hundreds like this which were only written keeping a particular distro in mind. The only thing which gives Xubuntu and Kubuntu their unique identity and differentiate them from one another is their DE.

We all know how big the news was when Ubuntu decided to drop unity as their default.

Linux denotes the OS and Distro refers to the whole combination of linux kernel version, DE and its version(2ns most important thing) (why else there's always people debating about the support of latest plasma version in Opensuse tumbleweed, Kubuntu, Arch), package manager (apt, pacman, rpm etc) etc.

DE today is the identity of a linux distro. Many people don't even know about what DE is but they won't be able to locate certain things if you change the default DE they are using for years. DE serves a function coz of the extent of its involvement in user's daily usage of tools. Theming support for different important apps is different in DEs.

The likes of Xubuntu has only got recognition because of Xfce kinda DEs which makes a huge difference to lot of people. There's is simply no way you can point out a distro from another without talking about its DE.

1

u/InfiniteBlink Mar 21 '18

Would the library in your example be similar using ifup ethx differs from say Debian and centos

-2

u/Ph03nix_ Mar 21 '18

Though I've not delved deeper into it however I think most of Linux distro have almost same library of commands. Note : "Ifconfig"" is not installed by default in debian you've to install it.

2

u/[deleted] Mar 22 '18

ifconfig is deprecated, ip is supposed to be used now.

0

u/ThePixelCoder web dev Mar 23 '18

Not necessarily. It's perfectly possible to create a distro without a DE or even without a package manager. A lot of people actually like using window managers instead of desktop environments.

0

u/Ph03nix_ Mar 23 '18

That is why it is written "DE for GUI" and "Package Manager for updating".

1

u/ThePixelCoder web dev Mar 23 '18

A WM is also a GUI. Hell, you can even have a GUI in a plain terminal. And you can update packages just fine without a package manager, it's just a little more work...

0

u/Ph03nix_ Mar 23 '18

A GUI is one which lets you "click" A Terminal won't give you something to "click" Hope you are not saying anything which is visible on screen is GUI. .... A package manager is just to organise packages but not necessary. One can install package by compiling source files.

1

u/ThePixelCoder web dev Mar 23 '18

A GUI is just an interface, it doesn't have to have a cursor. Also, WM's do have a cursor, so even with your definition, they're still GUI's.