173 Views

Forget about the Harvard MBA geeks, here are step by step procedures on how to hack

Primarily, hacking was used in the “good old days” for learning information about systems and IT in general. In recent years, thanks to a few villain actors, hacking has taken on dark connotations. Conversely, many corporations employ hackers to test the strengths and weaknesses of their own systems. These hackers know when to stop, and the positive trust they build earns them a large salary.
If you’re ready to dive in and learn the art, we’ll share a few tips to help you get started!

Image titled Hack Step 1
1

Learn a programming language. You shouldn’t limit yourself to any particular language, but there are a few guidelines.

  • C is the language the Unix was built with. It (along with assembly language) teaches something that’s very important in hacking: how memory works.
  • Python or Ruby are high-level, powerful scripting languages that can be used to automate various tasks.
  • Perl is a reasonable choice in this field as well, while PHP is worth learning because the majority of web applications use PHP.
  • Bash scripting is a must. That is how to easily manipulate Unix/Linux systems—writing scripts, which will do most of the job for you.
  • Assembly language is a must-know. It is the basic language that your processor understands, and there are multiple variations of it. At the end of the day, all programs are eventually interpreted as assembly. You can’t truly exploit a program if you don’t know assembly.
Ad
  • Image titled Hack Step 2
    2
    Know your target. The process of gathering information about your target is known as enumeration. The more you know in advance, the fewer surprises you’ll have.

 

Part 2 of 2: Hacking

  1. Image titled Hack Step 3
    1
    Use a *nix terminal for commands. Cygwin will help emulate a *nix for Windows users. Nmap in particular uses WinPCap to run on Windows and does not require Cygwin. However, Nmap works poorly on Windows systems due to a lack of raw sockets. You should also consider using Linux or BSD, which are both more flexible. Most Linux distributions come with many useful tools pre-installed.
  2. Image titled Hack Step 4
    2
    Secure your machine first. Make sure you’ve fully understood all common techniques to protect yourself. Start with the basics — but make sure you have authorization to attack your target : either attack your own network, ask for written permission, or set up your own laboratory with virtual machines. Attacking a system, no matter its content, is illegal and WILL get you in trouble.
  3. Image titled Hack Step 5

    3
    Test the target. Can you reach the remote system? While you can use the pingutility (which is included in most operating systems) to see if the target is active, you can not always trust the results — it relies on the ICMP protocol, which can be easily shut off by paranoid system administrators.
  4. Image titled Hack Step 6
    4
    Determine the operating system (OS). Run a scan of the ports, and try pOf, or nmap to run a port scan. This will show you the ports that are open on the machine, the OS, and can even tell you what type of firewall or router they are using so you can plan a course of action. You can activate OS detection in nmap by using the -O switch.
    1. 5

      Find a path or open port in the system. Common ports such as FTP (21) and HTTP (80) are often well protected, and possibly only vulnerable to exploits yet to be discovered.

      • Try other TCP and UDP ports that may have been forgotten, such as Telnet and various UDP ports left open for LAN gaming.
      • An open port 22 is usually evidence of an SSH (secure shell) service running on the target, which can sometimes be brute forced.
       Image titled Hack Step 8
    2. 6

      Crack the password or authentication process. There are several methods for cracking a password, including brute force. Using brute force on a password is an effort to try every possible password contained within a pre-defined dictionary of brute force software

      • Users are often discouraged from using weak passwords, so brute force may take a lot of time. However, there have been major improvements in brute-force techniques.
      • Most hashing algorithms are weak, and you can significantly improve the cracking speed by exploiting these weaknesses (like you can cut the MD5 algorithm in 1/4, which will give huge speed boost).
      • Newer techniques use the graphics card as another processor — and it’s thousands of times faster.
      • You may try using Rainbow Tables for the fastest password cracking. Notice that password cracking is a good technique only if you already have the hash of password.
      • Trying every possible password while logging to remote machine is not a good idea, as it’s easily detected by intrusion detection systems, pollutes system logs, and may take years to complete.
      • You can also get a rooted tablet, install a TCP scan, and get a signal upload it to the secure site. Then the IP address will open causing the password to appear on your proxy.
      • It’s often much easier to find another way into a system than cracking the password.
       Image titled Hack Step 9
    3. 7

      Get super-user privileges. Try to get root privileges if targeting a *nix machine, or administrator privileges if taking on Windows systems.

      • Most information that will be of vital interest is protected and you need a certain level of authentication to get it. To see all the files on a computer you need super-user privileges – a user account that is given the same privileges as the “root” user in Linux and BSD operating systems.
      • For routers this is the “admin” account by default (unless it has been changed); for Windows, this is the Administrator account.
      • Gaining access to a connection doesn’t mean you can access everything. Only a super user, the administrator account, or the root account can do this.
       Image titled Hack Step 10
    4. 8

      Use various tricks. Often, to gain super-user status you have to use tactics such as creating a buffer overflow, which causes the memory to dump and that allows you to inject a code or perform a task at a higher level than you’re normally authorized.

      • In unix-like systems this will happen if the bugged software has setuid bit set, so the program will be executed as a different user (super-user for example).
      • Only by writing or finding an insecure program that you can execute on their machine will allow you to do this.
    5. Image titled Hack Step 11
      9
      Create a backdoor. Once you have gained full control over a machine, it’s a good idea to make sure you can come back again. This can be done by backdooring an important system service, such as the SSH server. However, your backdoor may be removed during the next system upgrade. A really experienced hacker would backdoor the compiler itself, so every compiled software would be a potential way to come back.
    6. Image titled Hack Step 12
      10
      Cover your tracks. Don’t let the administrator know that the system is compromised. Don’t change the website (if any), and don’t create more files than you really need. Do not create any additional users. Act as quickly as possible. If you patched a server like SSHD, make sure it has your secret password hard-coded. If someone tries to log-in with this password, the server should let them in, but shouldn’t contain any crucial information.
      Ad

Get the best viral stories straight into your inbox!

Don't worry, we don't spam

Leave a Comment

Your email address will not be published.

Latest Posts

I Will Drop The Biggest Song In Nigeria On April 30 – Davido
Entertainment
3 views
Entertainment
3 views

I Will Drop The Biggest Song In Nigeria On April 30 – Davido

PH - April 24, 2018

Davido says his upcoming single which will be released on April 30 will be the “biggest song in the country”. He said the song is called ‘Assurance’.…

Nigeria’s LPG Sector To Record $10bn Growth In 8 Years – NLPGA
Business
8 views
Business
8 views

Nigeria’s LPG Sector To Record $10bn Growth In 8 Years – NLPGA

PH - April 24, 2018

President of the Nigeria Liquefied Petroleum Gas Association, NLPGA, Mr. Nuhu Yakubu, has predicted the nation’s LPG sector to record $10 billion growth in the next eight…

Meet Lekan Babalola, Nigeria’s Unsung Multiple Grammy Winner
Best of Nigeria
9 views
Best of Nigeria
9 views

Meet Lekan Babalola, Nigeria’s Unsung Multiple Grammy Winner

PH - April 24, 2018

Lekan Babalola is finding his way back home again. Home is Lagos – the city of dreamers and the restless. It was in Lagos that a young…

Tiwa Savage, Gerald Albright To Headline 2018 Runway Jazz
Entertainment
10 views
Entertainment
10 views

Tiwa Savage, Gerald Albright To Headline 2018 Runway Jazz

PH - April 24, 2018

Runway Jazz, an event that brings jazz music and fashion to the same stage, has returned to do it bigger and better. The 2018 edition of the…

Meet Temitope Ogunsemo, 33-Year-Old Nigerian Who Built A $3Million EdTech Company
Best of Nigeria
18 views
Best of Nigeria
18 views

Meet Temitope Ogunsemo, 33-Year-Old Nigerian Who Built A $3Million EdTech Company

MT - April 24, 2018

Forbes magazine has interviewed a young Nigerian entrepreneur who has successfully built a digital education technology company that presently worth $3million in value. His story will motivate…

BBNaija’s Nina Bags Endorsement Deal
Entertainment
10 views
Entertainment
10 views

BBNaija’s Nina Bags Endorsement Deal

PH - April 24, 2018

Nina Chinonso Onyenobi, who came fifth on the BBNaija reality TV show, has landed an endorsement deal with Flawless By Mimi, a beauty supply shop in Nigeria.…

UNILAG Student, Daniel Itsuokor, Wins 2018 National Mathematics Competition
Geeky & Smart
25 views
Geeky & Smart
25 views

UNILAG Student, Daniel Itsuokor, Wins 2018 National Mathematics Competition

PH - April 24, 2018

Daniel Itsuokor has emerged overall best out of 56 participants from 14 universities in a mathematics competition organised by National Mathematical Centre (NMC). Stephen Onah, the director…

UNILORIN Student Develops App For Patients To Get Quick Access To Healthcare
Food and Health
14 views
Food and Health
14 views

UNILORIN Student Develops App For Patients To Get Quick Access To Healthcare

PH - April 24, 2018

Adeshina Taiwo, a 400 Level student of computer science at the University of Ilorin, has developed a web application aimed at improving Nigeria’s healthcare system. The web…

Otedola and Dangote Attend UBA’s Award Night
Business
21 views
Business
21 views

Otedola and Dangote Attend UBA’s Award Night

PH - April 24, 2018

Billionaires Femi Otedola and Aliko Dangote were present at UBA’s award night to support their friend, Chairman of UBA Tony Elumelu. Otedola shared a photo of the…

5 Ways Women Push Men Away
Romance and Love
21 views
Romance and Love
21 views

5 Ways Women Push Men Away

PH - April 24, 2018

Falling in love and starting a relationship can be quite easy but the real task is how best to make the romance last. A relationship tends to…

Police Finally Reveals the Main Reason Senator Dino Melaye Was Arrested (See Details)
Politics
34 views
Politics
34 views

Police Finally Reveals the Main Reason Senator Dino Melaye Was Arrested (See Details)

MT - April 24, 2018

There was some mild drama yesterday as a controversial senator representing Kogi state at the National Assembly, Dino Melaye, was arrested as he attempted to leave the…

How Kebbi State Government Publicly Disregarded First Wife, Aisha Bagudu As State’s First Lady
Politics
65 views
Politics
65 views

How Kebbi State Government Publicly Disregarded First Wife, Aisha Bagudu As State’s First Lady

MT - April 23, 2018

A mild drama recently occurred on Twitter leading to a public revelation that the popular Aisha Bagudu isn't recognized as first lady.  Recently, one of the national…

Moment Nigerian Singer Mayorkun Re-United With His Dad After Two Years
Entertainment
97 views
Entertainment
97 views

Moment Nigerian Singer Mayorkun Re-United With His Dad After Two Years

MT - April 23, 2018

Singer Mayorkun has reunited with his dad in Dallas. The singer says the last time he saw his dad was two years ago when he was still…

#BBNaija Special: According to Google, Cee-C is the Most Bitter Woman in Nigeria
Buzz & Trends
70 views
Buzz & Trends
70 views

#BBNaija Special: According to Google, Cee-C is the Most Bitter Woman in Nigeria

MT - April 23, 2018

Cynthia Nwadiora popularly identified as Cee-C was tagged a very bitter and angry person following her controversial activities at the Big Brother Naija reality show which was…

How Lagos Saved N4.5bn From Non-sponsorship Of Pilgrimages
Politics
56 views
Politics
56 views

How Lagos Saved N4.5bn From Non-sponsorship Of Pilgrimages

PH - April 23, 2018

The Lagos State Government says it has saved a total of N4.5billion in the last three years since it stopped funding pilgrimages. According to it, the feat…

Afrobeat Artiste, Seun Kuti, Unveils New Album “Black Times”
Entertainment
59 views
Entertainment
59 views

Afrobeat Artiste, Seun Kuti, Unveils New Album “Black Times”

PH - April 23, 2018

Afrobeat artiste Seun Kuti has announced a new album, “Black Times“. According to him, “Black Times is a true reflection of my political and social beliefs; it…

Former Super Eagles Star, Femi Opabunmi Reveals How He Became Blind
Politics
66 views
Politics
66 views

Former Super Eagles Star, Femi Opabunmi Reveals How He Became Blind

MT - April 23, 2018

There is a photo of Femi Opabunmi trying to mark David Beckham in what look liked a set-piece situation during Nigeria’s goalless draw against England in a…

#BBNaija: See All the Prizes Miracle Will Be Going Home With After He Emerged Winner
Entertainment
76 views
Entertainment
76 views

#BBNaija: See All the Prizes Miracle Will Be Going Home With After He Emerged Winner

MT - April 23, 2018

Big Brother Naija 2018 winner, Miracle Igbokwe is still counting his blessings after winning the reality television show yesterday night. A list of all the prizes he…

Loading...