0% found this document useful (0 votes)
6 views4 pages

Exploitation Notes

Exploitation is the process of leveraging vulnerabilities in systems to gain unauthorized access, and in ethical hacking, it is used to test system security. It is crucial for understanding attacker behavior, improving security, identifying vulnerabilities' impacts, and supporting effective patching. Exploitation methods include technical techniques like buffer overflow and SQL injection, as well as human-oriented approaches such as phishing and pretexting.

Uploaded by

Laxmi Nishmitha
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views4 pages

Exploitation Notes

Exploitation is the process of leveraging vulnerabilities in systems to gain unauthorized access, and in ethical hacking, it is used to test system security. It is crucial for understanding attacker behavior, improving security, identifying vulnerabilities' impacts, and supporting effective patching. Exploitation methods include technical techniques like buffer overflow and SQL injection, as well as human-oriented approaches such as phishing and pretexting.

Uploaded by

Laxmi Nishmitha
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Exploitation :

Exploitation is the process of using a vulnerability or weakness in a system, network, or application


to gain unauthorized access, execute commands, or control the system.
In ethical hacking, exploitation is performed legally and with permission to test how vulnerable a
system is to real-world attacks.

Exploitation helps demonstrate how an attacker can actually break into a system, not just identify
weaknesses. It converts a theoretical security flaw into a practical attack scenario.

Why it's important ?

Helps understand attacker behavior


It shows how hackers think and operate during an attack.

Improves system security


By exploiting weaknesses, organizations can fix them before real attackers do.

Identifies impact of vulnerabilities


It helps measure the damage an attacker could cause if the system is compromised.

Supports effective patching


Exploitation helps prioritize which vulnerabilities need urgent fixes.

Exploitation Methods

Exploitation methods are the techniques used to take advantage of vulnerabilities in systems,
applications, or users.
These methods can be broadly divided into:

• Technical Exploitation
• Human-oriented Exploitation (Social Engineering)

A. Technical Exploitation

Technical exploitation targets software, hardware, or system weaknesses.

1. Buffer Overflow

How it works:
Programs use buffers (memory storage areas). When more data is sent than a buffer can handle, it
can overwrite adjacent memory. This may allow an attacker to crash the program or execute
malicious code.

Example:
A login form crashes when a very long username is entered, allowing an attacker to inject malicious
code.
Prevention:
• Proper boundary checking
• Secure coding practices
• Memory protection techniques like ASLR and DEP

2. SQL Injection

How it works:
A web application directly inserts user input into a database query without validation. Attackers
inject malicious SQL commands to control the database.

Example:
Entering ' ; DROP TABLE users; -- in a search box, causing the database to delete user records.

Prevention:
• Input validation
• Prepared statements
• Parameterized queries

3. Cross-Site Scripting (XSS)

How it works:
Attackers inject malicious scripts into web pages that are executed in other users’ browsers. This
can steal cookies, session data, or credentials.

Example:
Posting <script>fetch("[Link] in a forum
comment, stealing login cookies of users who view it.

Prevention:
• Input filtering
• Output encoding
• Secure cookie flags

4. Remote Code Execution (RCE)

How it works:
A vulnerability allows attackers to execute commands remotely on a target system, often through
file uploads or command injection.

Example:
Uploading a malicious PHP file to a website that does not check file types, giving the attacker
server control.

Prevention:
• Proper file validation
• Restrict execution permissions
• Regular patching
5. Denial of Service (DoS)

How it works:
The attacker overloads a system or service with excessive traffic or requests, making it unavailable
to legitimate users.

Example:
Sending thousands of requests to a website, causing it to crash.

Prevention:
• Rate limiting
• Traffic filtering
• Anti-DDoS services

B. Human-Oriented Exploitation (Social Engineering)

Human-oriented exploitation targets people instead of systems, by manipulating trust and emotions.

1. Phishing and Spear-Phishing

Phishing:
Sending fake messages or emails pretending to be from trusted organizations to steal credentials.

Example:
Email saying “Your bank account is at risk, click here to verify.”

Spear-Phishing:
Targeted phishing messages personalized for specific individuals.

Example:
Email saying “Hi Alice, please check the attached invoice.”

Prevention:
• User awareness training
• Email filtering
• Verifying sender identity

2. Pretexting

How it works:
The attacker creates a fake story to gain trust and extract information.

Example:
Pretending to be IT support and asking for a password to “fix” an issue.
Prevention:
• Verification procedures
• Never sharing credentials

3. Impersonation

How it works:
The attacker pretends to be a trusted authority or employee.

Example:
An attacker posing as a company manager requesting login details.

Prevention:
• Identity verification
• Access control policies

4. Baiting

How it works:
Attackers lure victims using attractive offers.

Example:
Leaving infected USB drives labeled “Salary Details” to tempt users.

Prevention:
• Avoid unknown devices
• Disable auto-run features

5. Quid Pro Quo

How it works:
The attacker offers a service in exchange for sensitive information.

Example:
“I’ll fix your printer if you give me your login access.”

Prevention:
• Clear IT support policies
• Employee awareness

You might also like