[ Certified Ethical Hacker v10 ] :: [ Chapter 5 ] :: System Hacking

This entry is part 8 of 30 in the series [ Certified Ethical Hacker Training ]

A hacker only needs to be right once.

ECC’s System Hacking Goals

Gaining Access

One of the most common ways to gain access to a system is by seeing, asking for, stealing or cracking a password.

See the next section, Hash Cracking, for examples and explanation.

Windows can be a juicy target because Windows domains pass the user’s hashed password around the network for authentication. This creates the “pass the hash” vulnerability.

Pass the Hash

Windows networks (some of them) pass user authentication around by passing the users’ hashed passwords around. (Can you say “What an effing terrible idea”?)

For examples of pass the hash in action, let me take this opportunity to introduce you to Ippsec, his Youtube channel and his highly valuable website.

Let’s hit the website first, and search for “pass the hash”:

You will find two relevant examples, Ypuffy and Silo.

In the Ypuffy video, jump to 20:00

In the Silo video, jump to 40:00

Exploit Toolkits for Fun and Profit

At least, some of these toolkits are profitable for their creators. The Blackhole Exploit Toolkit, for instance, will set you back $1500 a year:


There are a TON of these to be found, but getting into theses is risky.

Creating Exploits with MSFvenom

Another way to gain access to a system is through a known exploit, which can be packaged up and delivered to the victim. See this good tutorial from the people at OffSec:


Rapid7’s How To:


We recommend watching lots of videos to see how MSFvenom works:


Creating Shell Code with Shellter

“Shellter is a dynamic shellcode injection tool, and the first truly dynamic PE infector ever created.
It can be used in order to inject shellcode into native Windows applications (currently 32-bit applications only).
The shellcode can be something yours or something generated through a framework, such as Metasploit.”


Creating Payloads with Veil

Veil is a tool designed to generate metasploit payloads that bypass common anti-virus solutions.


Escalating Privileges

Executing Applications

Hiding Files

Maintaining Access

Infosec Institute has a great discussion:


One of the biggest reasons to maintain access is to perform data exfiltration. Actually, this could be done from inside or outside a victim system, using a variety of covert channels, for instance DNS:

DNS Data Exfiltration – How it works

Give it a try (with appropriate permissions or a contract, of course):


Covering Tracks