Hacking for Beginners
The Ultimate Guide for Computer Hacking
,Introduction
I want to thank you and congratulate you for downloading the book, “Computer Hacking for Beginners”.
This book contains proven steps and strategies on how to master the basics of computer hacking.
This eBook will explain what hackers do. It will teach you the tricks, skills, and techniques that
experienced hackers use. Aside from discussing core ideas and principles, this material will describe high-
level topics such as malware infection and computer programming.
After reading this book, you will know how to:
• Identify the different types of hackers
• Identify the different kinds of malicious programs
• Compile, decompile, and corrupt codes
• Attack buffer overflows
• Use the Metasploit framework
• Install virtual machines on your computer
• Find the vulnerabilities of your targets
• And many more!
If you are looking for a comprehensive guide about hacking, this is the book for you. Its pages are full
of up-to-date and detailed information regarding the art/science of hacking. Read it now to start your
hacking journey.
Thanks again for downloading this book, I hope you enjoy it!
,Chapter 1: What You Need to Know About
Hacking
The Basics
Hacking is the process of accessing digital information without the owner’s permission. In most cases,
hackers attack computers or networks to obtain confidential data. These people use the collected
information to earn money (i.e. by blackmailing the victims or selling the data to interested parties).
Some hackers also use their skills just to render their targets inoperable. Obviously, hacking is an illegal
activity.
This eBook will teach you how to hack computer systems. It will provide you with tips, ideas, tricks,
and strategies that you can use to attack others or protect yourself. Basically, this book will discuss what
real hackers do. Why would you want to obtain that information? Well, knowing how hackers attack
helps you protect yourself better. You may also use your hacking skills to help people in improving their
digital security. Hackers who help others are called “white-hat” or “ethical” hackers.
Just like other things in life, hacking tools and skills are inherently neutral. These things become good or
evil depending on the person who uses them. You may choose to become a security professional after
reading this book. Or you may want to become a “black-hat hacker” and wreak havoc in the digital
world. It’s up to you. Keep in mind, however, that malicious hacking is punishable by law.
Malicious Programs
Malicious computer programs, also known as “malware”, are programs that are designed to harm
computers or networks. Here are the main categories of malware:
• Adware -This kind of malware isn’t dangerous. It won’t crash your computer or steal your
information. However, you will see countless advertisements while using your computer.
● Spyware - Spyware programs are created to monitor the victim’s activities. They record
what you do on your computer and transmit the information to the hacker.
● Worm - A worm is a computer program that multiplies continuously and deletes data inside
the target. If not stopped properly, worms can empty its target completely.
● Trojan - A Trojan is not dangerous per se. It is just a container that enters a target through
rigged files (usually offered as “free downloads”). What makes Trojans dangerous is that they
contain other forms of malware.
● Ransomware - This kind of malware prevents you from accessing your computer or
network. You need to pay an amount set by the hacker if you want to use the infected machine.
, Paying the “ransom” doesn’t mean that the malware will be removed. Thus, it is likely that your
computer will get locked again.
● Backdoor - Backdoor programs create an opening in your computer’s defenses. Hackers use
these openings to plant other malware or steal your information.
● Virus - Viruses are codes or programs that latch onto a legitimate program. A virus will run
and replicate when the “host” program runs.
Important Note: This is just an overview of the malware types present today. You will learn more about
malicious programs in later chapters.
Penetration Testing
A penetration test (also called “security testing”, “network testing”, or “pen testing”) is a process of
hacking a target in order to find vulnerabilities. This is a form of “ethical hacking” where the hacker
assists his “client” (e.g. a business) to improve the latter’s digital defenses. These days, businesses and
other organizations are more than willing to pay just to protect themselves from malicious attacks.
What makes penetration testing different from malicious hacking is the permission from the target.
Thus, pen testing is still illegal if you don’t have your target’s permission. You can have all the good
intentions in the world and still get incarcerated for hacking a network. Here’s an important principle:
always get a written permission from the target before conducting any hacking attack. It would be best if
the permission will be signed by the owner, CEO, or IT manager of your target organization.
Programming Skills
Most hackers are willing to share their tools with others. You can create a comprehensive hacking toolkit
just by downloading ready-made tools from hacking websites. That means you can be a full-fledged
hacker even without programming anything. This is great, especially to people who don’t have the time
to learn programming languages. Unfortunately, relying on other’s programs and tools can limit your
growth as a hacker.
If you want to become a successful hacker, you must learn one or two programming languages. This
knowledge will help you create your own tools and improve the works of others. Once you know how to
program, you will evolve from being a “novice” into a “skilled” hacker.
Important Note: This eBook will teach you how to use C (one of the most popular computer languages
today) for hacking purposes.
Setting up a Laboratory
Hacking can be dangerous. If you aren’t careful, you might disable your targets permanently. This is the
reason why beginners are advised to practice their skills in a “laboratory”. Basically, a hacking lab
The Ultimate Guide for Computer Hacking
,Introduction
I want to thank you and congratulate you for downloading the book, “Computer Hacking for Beginners”.
This book contains proven steps and strategies on how to master the basics of computer hacking.
This eBook will explain what hackers do. It will teach you the tricks, skills, and techniques that
experienced hackers use. Aside from discussing core ideas and principles, this material will describe high-
level topics such as malware infection and computer programming.
After reading this book, you will know how to:
• Identify the different types of hackers
• Identify the different kinds of malicious programs
• Compile, decompile, and corrupt codes
• Attack buffer overflows
• Use the Metasploit framework
• Install virtual machines on your computer
• Find the vulnerabilities of your targets
• And many more!
If you are looking for a comprehensive guide about hacking, this is the book for you. Its pages are full
of up-to-date and detailed information regarding the art/science of hacking. Read it now to start your
hacking journey.
Thanks again for downloading this book, I hope you enjoy it!
,Chapter 1: What You Need to Know About
Hacking
The Basics
Hacking is the process of accessing digital information without the owner’s permission. In most cases,
hackers attack computers or networks to obtain confidential data. These people use the collected
information to earn money (i.e. by blackmailing the victims or selling the data to interested parties).
Some hackers also use their skills just to render their targets inoperable. Obviously, hacking is an illegal
activity.
This eBook will teach you how to hack computer systems. It will provide you with tips, ideas, tricks,
and strategies that you can use to attack others or protect yourself. Basically, this book will discuss what
real hackers do. Why would you want to obtain that information? Well, knowing how hackers attack
helps you protect yourself better. You may also use your hacking skills to help people in improving their
digital security. Hackers who help others are called “white-hat” or “ethical” hackers.
Just like other things in life, hacking tools and skills are inherently neutral. These things become good or
evil depending on the person who uses them. You may choose to become a security professional after
reading this book. Or you may want to become a “black-hat hacker” and wreak havoc in the digital
world. It’s up to you. Keep in mind, however, that malicious hacking is punishable by law.
Malicious Programs
Malicious computer programs, also known as “malware”, are programs that are designed to harm
computers or networks. Here are the main categories of malware:
• Adware -This kind of malware isn’t dangerous. It won’t crash your computer or steal your
information. However, you will see countless advertisements while using your computer.
● Spyware - Spyware programs are created to monitor the victim’s activities. They record
what you do on your computer and transmit the information to the hacker.
● Worm - A worm is a computer program that multiplies continuously and deletes data inside
the target. If not stopped properly, worms can empty its target completely.
● Trojan - A Trojan is not dangerous per se. It is just a container that enters a target through
rigged files (usually offered as “free downloads”). What makes Trojans dangerous is that they
contain other forms of malware.
● Ransomware - This kind of malware prevents you from accessing your computer or
network. You need to pay an amount set by the hacker if you want to use the infected machine.
, Paying the “ransom” doesn’t mean that the malware will be removed. Thus, it is likely that your
computer will get locked again.
● Backdoor - Backdoor programs create an opening in your computer’s defenses. Hackers use
these openings to plant other malware or steal your information.
● Virus - Viruses are codes or programs that latch onto a legitimate program. A virus will run
and replicate when the “host” program runs.
Important Note: This is just an overview of the malware types present today. You will learn more about
malicious programs in later chapters.
Penetration Testing
A penetration test (also called “security testing”, “network testing”, or “pen testing”) is a process of
hacking a target in order to find vulnerabilities. This is a form of “ethical hacking” where the hacker
assists his “client” (e.g. a business) to improve the latter’s digital defenses. These days, businesses and
other organizations are more than willing to pay just to protect themselves from malicious attacks.
What makes penetration testing different from malicious hacking is the permission from the target.
Thus, pen testing is still illegal if you don’t have your target’s permission. You can have all the good
intentions in the world and still get incarcerated for hacking a network. Here’s an important principle:
always get a written permission from the target before conducting any hacking attack. It would be best if
the permission will be signed by the owner, CEO, or IT manager of your target organization.
Programming Skills
Most hackers are willing to share their tools with others. You can create a comprehensive hacking toolkit
just by downloading ready-made tools from hacking websites. That means you can be a full-fledged
hacker even without programming anything. This is great, especially to people who don’t have the time
to learn programming languages. Unfortunately, relying on other’s programs and tools can limit your
growth as a hacker.
If you want to become a successful hacker, you must learn one or two programming languages. This
knowledge will help you create your own tools and improve the works of others. Once you know how to
program, you will evolve from being a “novice” into a “skilled” hacker.
Important Note: This eBook will teach you how to use C (one of the most popular computer languages
today) for hacking purposes.
Setting up a Laboratory
Hacking can be dangerous. If you aren’t careful, you might disable your targets permanently. This is the
reason why beginners are advised to practice their skills in a “laboratory”. Basically, a hacking lab