![]() |
|
Beginner Guide to Hacking - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Hacks, Exploits, and Various Discussions (https://hackforums.net/forumdisplay.php?fid=45) +--- Forum: Grayhat • Purple Team • Hybrid Security (https://hackforums.net/forumdisplay.php?fid=449) +---- Forum: Beginner Hacking (https://hackforums.net/forumdisplay.php?fid=4) +---- Thread: Beginner Guide to Hacking (/showthread.php?tid=6238909) |
Beginner Guide to Hacking - PurpleMoss - Apr 13, 2023 I've known about this forum for many many years but only decided to become a member recently. In the short time I've been here I've seen this section flooded in the same silly 'I want to be a hacker, teach me' type posts. Being completely new to something is completely fine and asking more knowledgeable people is part of learning, but most of the time these people haven't done any learning at all before asking. Rather than saying the same thing over and over again, I've decided to make a small thread with the information needed for someone to get started in this industry. Hacking and Cyber Security are very broad terms so the below is going to be relating to Penetration Testing. So here goes: A Few Notes Before We Start: Before we start, lets just go over a few things that you need to consider if you want to get into this world.
The Different Hats It seems that on this forum, people love talking about the different hat colours, not really something I've experienced much discussion about elsewhere. Essentially they are all the same, you are performing the same actions, doing the same things, it's what you do after that determines what 'hat colour' you are, basically it's based on your morals.
Learning In order to try to break into something, first you must learn how it works. You need to spend time learning how websites work, how browsers retrieve the website you are requesting, how DNS works. You also need to learn how networks work, how a company's infrastructure works. Below are some of the resources that can help:
The above should get you started but you can never have too many resources for learning. I found the above very helpful when I started years ago but their teaching methods may not be your style. There are plenty of other instructors out there, you just need to look for them. There are other things that you should also learn along the way such as Linux (not necessarily Kali) and a language such as Python.
I would also advice against using Kali, mainly because you won't actually learn how to use Linux properly. Kali is just a Debian based Linux distro that has been tailored to have penetration testing tools on it pre-installed. If you really want to learn how to use Linux, install Ubuntu as a VM and create your 'own version of Kali'. Install the tools that you need when you need them, customise it as you please. You'll encounter lots of errors along the way, but Google as the answer for most errors and you'll learn a huge amount from doing that. Practice Areas The three main ones that I would consider are TryHackMe, HackTheBox, and Portswigger Academy. If you want to learn web application pen testing, Portswigger Academy is the way forwards, completely free and very helpful. If you are new to it all and want to learn a bit of everything, TryHackMe is very beginner friendly. If you are more advanced and like 'game style' practice then HackTheBox is your go to. Do I Need To Know How To Code? The answer is yes and no. Do we need to be able to code to the same level as a developer? No. I would recommend learning one language fairly well, such as Python. Python is a very easy beginner language and it'll teach you the structure of coding, such as functions, loops, if statements, OOP etc. Once you understand all this, picking up other languages won't be as hard. I'd also suggest learning a bit of everything, again, you don't need to be able to code anything complex, but you need (at the very least) to be able to understand what the code is doing when you see it. Learning HTML, JS, PHP, very basic C, Python will help you in your career. So being able to read through code is fine, but don't get hung up on the fact that you need to be a developer level coder. If I Can't Code, Does That Make Me A Skid? Absolutely not! We all have different skills and abilities, if someone trustworthy has made a program that we have a use for, what's the point in writing a program that already exists and works? If it works well and does what we need, make the most of it and use it! What makes someone a 'skid' is when they use a program with no knowledge of what it is doing or how it works. Using a pre-made program doesn't make you a skid if you understand what it is doing, if you can look through the code (open source) and understand what's happening behind the scenes, even to a basic level. Let's look at an example, a car manufacturer is making a new petrol engine car, they have designed the body but they have used the engine from another manufacturer because it's an established, stable, and reliable engine. This is quite common in the motor industry and doesn't make the manufacturer any less credible. The thing to consider is that whilst they are using another manufactured engine, the techs understand how that engine works, and have probably made slight modifications to it. It's very rare they just grab an engine and dump it in their car with no alterations and no knowledge of it's internal workings. So aimlessly using pre-made programs with no understanding of how they work makes you a 'skid'. Using pre-made programs that you've understood, researched, even modified doesn't make you a 'skid'. I Can't Remember It All, Is That Bad? Not at all, and it's very common. The average person can't be expected to remember everything they learn, specially if they don't use it that much. The important thing is to understand it and know about it. Don't try to remember everything, it won't work and you'll just exhaust yourself trying. There is a huge amount of things you need to learn to be successful at this. Even if you want to focus on web application pen testing, you still need to learn some social engineering, some networking/infrastructure methods, some programming languages, some tools on Linux. What's important is the fact you know what can be done, and where to find out more about it. For example, if I wanted to try to practice hacking a WiFi network, I can't remember the exact commands needed to do each and every step, but I know that most of what will be needed is the Aircrack-ng suite, so I'd bring up the guide for that and look through what commands I need. Another example is if I'm writing something in Python and wanted to use flags as a user's input, I can't remember the exact structure and syntax for doing that, but I know I can use the argparse library so I'd get the documentation up for that. When Will I Know Enough? You won't, this is one of those industries where you'll never know enough and will always be learning. I self studied for 2 years and have been working as a full time employed pen tester for another 2 years. I'm still learning, there's still things I don't know and if I'm honest, still things I don't understand. The information I've given you above, along with the learning material should keep you occupied for at least a year. My inbox and Discord (PurpleMoss#0801) is always open to people needing help or advice, but please at least look into the basics on your own first. RE: Beginner Guide to Hacking - fredfuchs - Apr 13, 2023 Why on earth does this post lack any good comments?! Well done on the amazing and detailed write up OP. I love it. RE: Beginner Guide to Hacking - PurpleMoss - Apr 13, 2023 (Apr 13, 2023 04:38 PM)fredfuchs Wrote: Why on earth does this post lack any good comments?! Well done on the amazing and detailed write up OP. I love it. Thank you. Hopefully it helps some people out 🙂 RE: Beginner Guide to Hacking - dirtyjohn9283 - Apr 14, 2023 Thank you for the information, can I contact you on discord and ask a few questions about certs? RE: Beginner Guide to Hacking - PurpleMoss - Apr 14, 2023 (Apr 14, 2023 04:46 AM)dirtyjohn9283 Wrote: Thank you for the information, can I contact you on discord and ask a few questions about certs? Feel free to. My Discord is at the bottom of the thread. RE: Beginner Guide to Hacking - RetiredTrash - Apr 14, 2023 Comprehensive post. Appreciate such good knowledge as a beginner myself. RE: Beginner Guide to Hacking - ALEDIO - Apr 15, 2023 I really appreciate this thread, from now on when I am forced to answer the usual questions of new members I will redirect them here. Congratulations on the quality of the post, it contains the answer to the existential questions of every person who comes here to ask. RE: Beginner Guide to Hacking - continentbender - Apr 15, 2023 This is a good thread for beginners could use a section for reverse engineering as well RE: Beginner Guide to Hacking - ice13 - Apr 15, 2023 Really nice and encouraging thread good job! RE: Beginner Guide to Hacking - RiskLimit - Apr 16, 2023 Great guide, definitely helpful for beginners. > Do I Need To Know How To Code? Well I'd say you do need to know the fundamentals of Python so you can manipulate requests and automate tasks, or write certain scripts, exploits. You would also need C or C++ if you want to write some sort of malware to infect a server or a target machine. However you can just get one of those tools on Github, but I'd suggest knowing and understanding how they work if you'll use them RE: Beginner Guide to Hacking - PurpleMoss - Apr 16, 2023 (Apr 16, 2023 03:19 AM)RiskLimit Wrote: Great guide, definitely helpful for beginners. Thanks, I did mention in that section that you should learn Python well enough. Thing I'm trying to get across is that you don't need to know how to code like a developer, no one cares if an exploit is messy code, as long as it works. We aren't trying to sell the code. RE: Beginner Guide to Hacking - jzx100 - Apr 16, 2023 Many thanks for your support!! I'll think about it because it's my biggest dream and no university in the world teaches you such interesting things! RE: Beginner Guide to Hacking - B3A - Apr 17, 2023 Just gone through your posts. Pretty decent entries for a new-comer.! RE: Beginner Guide to Hacking - Florin Salam - Apr 17, 2023 Thanks mate for the good quality of guidance for starters. RE: Beginner Guide to Hacking - Blscls05 - Apr 18, 2023 Great post. Not only gives a lot of valuable information but also let's beginners know how much time we put into this in order to be successful at it. I think most people that lookup this type of info think it's something that a quick Google search and 30 minute tutorial is all they need. If you don't want to spend the time and do the work then you should probably just move on because its a never ending task where your skills have to evolve as the technology behind software, websites, and app architecture does. You will never know everything. |