This article was co-authored by Tyrone Showers. Tyrone Showers is a Technologist and the Co-owner of Taliferro Group, an IT consulting company based in Seattle, Washington. With over 35 years of professional experience, he specializes in API Design, e-Commerce, Operational Efficiency, and website development. He has a B.S. in Computer Science from DeVry Institute of Technology.
There are 10 references cited in this article, which can be found at the bottom of the page.
This article has been fact-checked, ensuring the accuracy of any cited facts and confirming the authority of its sources.
This article has been viewed 6,193,890 times.
You’ve got your sights set on the world of hacking—but where are you supposed to start? Don’t worry; a hacking career is well within your reach, even if you don’t come from a tech background. We’ve put together a handy, comprehensive guide that will help you learn some coding fundamentals, adopt a hacker attitude, and hone your new craft. In a matter of minutes, you'll be one step closer to reaching all of your hacking goals and dreams!
Steps
-
Run a UNIX-like OS, such as Linux. UNIX and UNIX-like operating systems are the operating systems of the Internet. While you can learn to use the Internet without knowing UNIX, you can't be an Internet hacker without understanding UNIX. For this reason, the hacker culture today is pretty strongly UNIX-centered. There are many types of UNIX-like operating systems, the most popular being Linux, which you can run alongside Microsoft Windows on the same machine. Download Linux online or find a local Linux user group to help you with installation.[1]
- A good way to dip your toes in the water is to boot up a device called a live USB or CD, a distribution that runs entirely off a CD or USB without modifying your hard disk. A way to get a look at the possibilities without having to do anything drastic.[2]
- There are other UNIX-like operating systems besides Linux, such as the *BSD systems. The most popular *BSD systems are FreeBSD, NetBSD, OpenBSD and DragonFly BSD. All are open source just like Linux. However, it's important to remember that they are BSD and not Linux.
- MacOS on Darwin, a UNIX operating system that's on FreeBSD. Darwin is fully free and open source and is available from http://opensource.apple.com. Because the core of the system is UNIX, and MacOS is very popular, many people have ported over Linux applications to MacOS. You can get those programs with a package manager like homebrew, fink or MacPorts. Alternatively, you can just run Linux on a Mac alongside macOS.
- If you want to get super niche, you can even run an operating system like Open Indiana, which is based on the open source release of the Solaris operating system before it was acquired by Oracle and made closed source. OpenIndiana and Solaris made on UNIX System V, and, as such, are not compatible with Linux applications. That said, there are many ports of Linux applications. You're probably better off just using MacOS, BSD or Linux because they are much more popular and have many more programs available for them.
-
Write HTML. If you don't know how to program, learning basic HyperText Mark-Up Language (HTML) and gradually building proficiency is essential. What you see when you look at a website of pictures, images, and design components is all coded using HTML. For a project, set out to learn how to make a basic home page and work your way up from there.[3]
- In your browser, open the page source information to examine the HTML to see an example. Go to Web Developer > Page Source in Firefox and spend time looking at the code.
- You can write HTML in a basic word processing program like Notepad or Simple text and save your files as "yourCoolFileName.HTML" so you can upload them to a browser and see your work translated.
Advertisement -
Learn the language of programming. Before you start writing poems, you have to learn basic grammar. Before you break the rules, you have to learn the rules. But if your ultimate goal is to become a hacker, you're going to need more than basic English to write your masterpiece.[4]
- Python is a good "language" to start off with because it's cleanly designed, well documented, and relatively kind to beginners. Despite being a good first language, it is not just a toy; it is compelling, flexible, and well-suited for large projects.[5]
- If you get into serious programming, you will have to learn Java is an alternative, but its value as a first programming language has been currently questioned in its particular state.
- Unlike Java, Javascript is very similar to Python as they are both a C-based language and extremely new user-friendly. Javascript is "the programming language of the web," so If you'd like to continue your learning in web development/hacking, Javascript is better to learn than Python.
- An alternative to JavaScript would be PHP C, the core language of Unix. C++ is very closely related to C; if you know one, learning the other will not be difficult. C is very efficient with your machine's resources but will soak up huge amounts of your time on debugging and is often avoided for that reason, unless the efficiency of your computer is especially important.
- It is probably a good idea to use a good starting platform such as Backtrack 5 R3, Kali or Ubuntu 12.04LTS.
EXPERT TIPTechnologistTyrone Showers is a Technologist and the Co-owner of Taliferro Group, an IT consulting company based in Seattle, Washington. With over 35 years of professional experience, he specializes in API Design, e-Commerce, Operational Efficiency, and website development. He has a B.S. in Computer Science from DeVry Institute of Technology.Tyrone Showers
TechnologistDeep dives into web protocols will enhance your hacking skills. To get really good at testing web application security, dig into the details of protocols like HTTP/2 and HTTP/3. Learning browser internals can unveil vulnerabilities, too. Also, look into things like web sockets and server-sent events — they're less commonly understood but can reveal oversight. Specializing in API security, especially REST and GraphQL, can uncover common issues. And participating in web security competitions is a great real-world practice to build skills.
-
Think creatively. Now that you've got the basic skills in place, you can start thinking artistically. Hackers are like artists, philosophers, and engineers all rolled up into one. They believe in freedom and mutual responsibility. The world is full of fascinating problems waiting to be solved. Hackers take a special delight in solving problems, sharpening their skills, and exercising their intelligence.[6]
- Hackers have a diversity of interests culturally and intellectually, outside of hacking. Work as intensely as you play, and play as intensely as you work. For true hackers, the boundaries between "play," "work," "science," and "art" all tend to disappear or to merge into a high-level creative playfulness.
- Read science fiction. Go to science fiction conventions, which is a great way to meet hackers and proto-hackers.
- Consider training in a martial art. The kind of mental discipline required for martial arts seems to be similar in important ways to what hackers do. The most hacker-ly martial arts are those which emphasize mental discipline, relaxed awareness, and control, rather than raw strength, athleticism, or physical toughness. Tai Chi is a good martial art for hackers.
-
Learn to love solving problems. No problem should ever have to be solved twice. Think of it as a community in which the time of everyone is hackers is precious. Hackers believe sharing information is a moral responsibility. When you solve problems, make the information public to help everyone solve the same issue.[7]
- You don't have to believe that you're obligated to give all your creative product away, though the hackers that do are the ones that get the most respect from other hackers. It's consistent with hacker values to sell enough of it to keep you in food and rent and computers.
- Read older pieces, such as the "Jargon File" or "Hacker Manifesto" by The Mentor. They may be out of date regarding technical issues, but the attitude and spirit are just as timely.
-
Learn to recognize and fight authority. The enemy of the hacker is boredom, drudgery, and authoritarian figures who use censorship and secrecy to strangle the freedom of information. Monotonous work keeps the hacker from hacking.[8]
- Embracing hacking as a way of life is to reject so-called "normal" concepts of work and property, choosing instead to fight for equality and common knowledge.
-
Be competent. So, anyone who spends time on Reddit can write up a ridiculous cyberpunk username and pose as a hacker. But the Internet is a great equalizer and values competence over ego and posture. Spend time working on your craft and not your image, and you'll more quickly gain respect than modeling yourself on the superficial things we think of "hacking" in popular culture.
-
Write open-source software. Write programs that other hackers think are fun or useful, and give the program sources away to the whole hacker culture to use. Hackerdom's most revered demigods are people who have written large, capable programs that met a widespread need and given them away so that now everyone uses them.[9]
-
Help test and debug open-source software. Any open-source author who's thinking will tell you that good beta-testers (who know how to describe symptoms, localize problems well, can tolerate bugs in a quickie release, and are willing to apply a few simple diagnostic routines) are worth their weight in rubies.[10]
- Try to find a program under development that you're interested in and be a good beta-tester. There's a natural progression from helping test programs to helping debug them to helping modify them. You'll learn a lot this way, and generate goodwill with people who will help you later on.
-
Publish useful information. Another good thing is to collect and filter useful and interesting information into web pages or documents like Frequently Asked Questions (FAQ) lists, and make those available. Maintainers of major technical FAQs get almost as much respect as open-source authors.
-
Help keeps the infrastructure working. Volunteers run the hacker culture (and the engineering development of the Internet, for that matter). There's a lot of necessary but unglamorous work that needs to be done to keep it going — administering mailing lists, moderating newsgroups, maintaining large software archive sites, developing RFCs and other technical standards. People who do this sort of thing well get a lot of respect, because everybody knows these jobs are huge time sinks and not as much fun as playing with code. Doing them shows dedication.
-
Serve the hacker culture itself. It is not something you'll be positioned to do until you've been around for a while and become well-known for one of the four previous items. The hacker culture doesn't have leaders, exactly, but it does have culture heroes and tribal elders and historians and spokespeople. When you've been in the trenches long enough, you may grow into one of these.
- Hackers distrust blatant ego in their tribal elders, so visibly reaching for this kind of fame is dangerous. Rather than striving for it, you have to position yourself, so it drops in your lap, and then be modest and gracious about your status.
Community Q&A
-
QuestionCan I hack using just a laptop?Community AnswerYes, and it's actually preferred by many. A laptop is very portable and hacking doesn't need a supercomputer.
-
QuestionWhich programming language is the best to learn to become a hacker?Community AnswerPython is good; it's a clear language in which you can do a lot of things. However, you will need to spend a long time learning it if you want to master it.
-
QuestionHow much money does an ethical hacker earn?Community AnswerThis depends on what you do as a hacker. A good security/penetration tester will earn tons of money for a job well done.
Tips
-
Some companies pay for hackers to test their security. If you become good enough, this can be your job!Thanks
-
Make sure not to get caught, though what you plan to do could be illegal, it is recommended that you DO NOT engage in Black Hat hacking.Thanks
-
Write your native language well. Though it's a common stereotype that programmers can't write, a surprising number of hackers are very able writers.Thanks
Warnings
- Black hat hacking (hacking for criminal purposes) is an illegal activity which can result in major penalties. It is a major offense and is punishable under the law.Thanks
Expert Interview
Thanks for reading our article! If you’d like to learn more about hacking, check out our in-depth interview with Tyrone Showers.
References
- ↑ https://hackaday.com/2018/09/10/doing-one-thing-well-the-unix-philosophy/
- ↑ https://www.computerhope.com/jargon/b/bootdevi.htm
- ↑ http://www.catb.org/esr/faqs/hacker-howto.html
- ↑ https://techlog360.com/programming-languages-for-hackers/
- ↑ https://www.codingdojo.com/blog/python-perfect-beginners
- ↑ http://blogs.lse.ac.uk/impactofsocialsciences/2014/01/16/hacking-is-a-mindset-not-a-skillset/
- ↑ https://medium.com/@timrayner01/hacking-is-not-a-crime-its-the-key-to-innovating-like-a-startup-1ccd6208563a
- ↑ https://www.zdnet.com/article/political-hackers-are-modern-freedom-fighters/
- ↑ https://www.linux.com/news/why-do-programmers-write-open-source-software
About This Article
To become a hacker, install a UNIX-like operating system on your computer such as Linux, since learning UNIX is essential for hacking. You should also learn how to write HTML code, which is used to create websites. Additionally, learn programming languages, like Python or Java, which you’ll need to understand for hacking projects. If you want to network with hackers, try attending science fiction conventions, because lots of hackers attend these events. In order to create the mental toughness and focus you’ll need for big projects, take a martial art that focuses on mental concentration, like Tai Chi. To adopt a hacker’s mindset, learn to challenge authoritarian figures and censorship by sharing information with other hackers so you can fight for equality and common knowledge. For example, you could create open source software, which are programs where the code used to create them is visible to everyone. For tips on how to serve the hacker culture, read on!
Reader Success Stories
-
"The thing that helped me most in this article is the 3 part. I was already a good hacker and have been doing it for almost 7 years, but I have no fame. This article helped me gain my fame. Thanks. "..." more