0% found this document useful (0 votes)
53 views32 pages

Understanding Ethical Hacking Basics

This document discusses computer security and ethical hacking. It provides an overview of hacking, different types of hackers (white hat, black hat, grey hat, script kiddies), and reasons why people hack. It then explains the process of ethical hacking including preparation, footprinting, vulnerability identification, exploitation, privilege escalation, and covering tracks. Finally, it discusses how to protect systems from hackers through approaches like patching security holes, encrypting data, using firewalls and intrusion detection systems.

Uploaded by

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

Understanding Ethical Hacking Basics

This document discusses computer security and ethical hacking. It provides an overview of hacking, different types of hackers (white hat, black hat, grey hat, script kiddies), and reasons why people hack. It then explains the process of ethical hacking including preparation, footprinting, vulnerability identification, exploitation, privilege escalation, and covering tracks. Finally, it discusses how to protect systems from hackers through approaches like patching security holes, encrypting data, using firewalls and intrusion detection systems.

Uploaded by

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

Computer Security and Ethical

Hacking

[Link]
Contents
 Overview of Hacking
 Types of hacking
 Hacker
 Types of Hacker
 Why do hackers hack?
 How can kid hack?
 What does a script kid know?
 Hackers language
 How to translate the hackers’ language

[Link]
Content continued…
 Ethical Hacking
 Ethical Hacking – Process
 What hackers do after hacking?
 Why can’t defend against hackers?
 How can protect the system?
 What should do after hacked?
 Final words

[Link]
overview of hacking
 Hack
Examine something very minutely
 the rapid crafting of a new program or the making of changes
to existing, usually complicated software
 Hacker
The person who hacks
 Cracker
System intruder/destroyer

[Link]
Types of hacking
Normal
data transfer

Interruption Interception

Modification Fabrication

[Link]
HACKER :
 Someone who bypasses the system’s access controls by taking
advantage of security weaknesses left in the system by
developers
 Person who is totally immersed in computer technology and
programming, and who likes to examine the code of programs to
see how they work … then uses his or her computer expertise for
illicit purposes such as gaining access to computer systems
without permission and tampering with programs and data. At
that point, this individual would steal information and install
backdoors, virus and Trojans
 Hacker means cracker nowadays.

[Link]
Types of hacker
 White Hat Hackers:
 who specializes in penetration testing and in other testing
methodologies to ensure the security of an organization's
information systems.
 Black Hat Hackers:
 A black hat is the villain or bad guy, especially in a western movie
in which such a character would stereotypically wear a black hat in
contrast to the hero's white hat.
 Gray Hat Hackers:
 A grey hat, in the hacking community, refers to a skilled hacker
whose activities fall somewhere between white and black hat
hackers on a variety of spectra

[Link]
Types of hacker continued…
 Script Kiddies:
 who use scripts or programs developed by others to attack computer
systems and networks and deface websites.[
 Phreak
 Person who breaks into telecommunications systems to [commit]
theft
 Cyber Punk
 Recent mutation of … the hacker, cracker, and phreak

[Link]
Why do people hack??
 To make security stronger ( Ethical Hacking )
 Just for fun
 Show off
 Hack other systems secretly
 Notify many people their thought
 Steal important information
 Destroy enemy’s computer network during the war

[Link]
How can kid hack?
 Kid has much of time
Kid can search for longer time than other people
 All hacking program is easy to use
 Kid doesn’t have to know how the hacking program works
 These kids are called script kiddies

[Link]
What do a Script Kiddies know???
 Don’t know how to use vi
 Don’t know what unix is
 Don’t know what they do
 Know how to intrude the system
 Know how to crash the system
 Know where the hacking programs are

[Link]
Hackers language :
1 -> i or l |\| -> n
3 -> e |\/| -> m
4 -> a s -> z
7 -> t z -> s
9 -> g f -> ph
0 -> o ph -> f
$ -> s x -> ck
| -> i or l ck -> x

[Link]
Hackers langauge translation
 Ex)
1 d1d n0t h4ck th1s p4g3, 1t w4s l1k3 th1s wh3n 1 h4ck3d 1n

I did not hack this page, it was like this when I hacked in

[Link]
What is Ethical Hacking
• It is Legal
• Permission is obtained from the target
• Part of an overall security program
• Identify vulnerabilities visible from Internet at particular point of
time
• Ethical hackers possesses same skills, mindset and tools of a
hacker but the attacks are done in a non-destructive manner
• Also Called – Attack & Penetration Testing,

[Link]
Hacking - Process
1. Preparation
2. Foot printing
3. Enumeration & Fingerprinting
4. Identification of Vulnerabilities
5. Attack – Exploit the Vulnerabilities
6. Gaining Access
7. Escalating privilege
8. Covering tracks
9. Creating back doors

[Link]
1. Preparation
 Identification of Targets – company websites, mail servers,
extranets, etc.
 Signing of Contract
 Agreement on protection against any legal issues
 Contracts to clearly specifies the limits and dangers of the test
 Specifics on Denial of Service Tests, Social Engineering, etc.
 Time window for Attacks
 Total time for the testing
 Prior Knowledge of the systems
 Key people who are made aware of the testing

[Link]
2. Foot printing
Collecting as much information about the target
 DNS Servers
 IP Ranges
 Administrative Contacts
 Problems revealed by administrators

Information Sources
 Search engines
 Forums
 Databases – whois,
 Tools – PING, whois, Traceroute, nslookup

[Link]
3. Enumeration & Fingerprinting
 Specific targets determined
 Identification of Services / open ports
 Operating System Enumeration

Methods
 Banner grabbing
 Responses to various protocol (ICMP &TCP) commands
 Port / Service Scans – TCP Connect, TCP SYN, TCP FIN, etc.

Tools
 Nmap, FScan, Hping, Firewalk, netcat, tcpdump, ssh, telnet, SNMP Scanner

[Link]
4. Identification of Vulnerabilities
Vulnerabilities:
It is a weakness which allows an attacker to reduce a system's
information assurance.
 Insecure Configuration
 Weak passwords
 Unpatched vulnerabilities in services, Operating systems,
applications
 Possible Vulnerabilities in Services, Operating Systems
 Insecure programming
 Weak Access Control

[Link]
Identification of Vulnerabilities cont..
Tools
Vulnerability Scanners - Nessus, ISS, SARA, SAINT
Listening to Traffic – Ethercap, tcpdump
Password Crackers – John the ripper, LC4, Pwdump
Intercepting Web Traffic – Achilles, Whisker, Legion

[Link]
5. Attack – Exploit the vulnerabilities
Network Infrastructure Attacks
 Connecting to the network through modem
 Weaknesses in TCP / IP, NetBIOS
 Flooding the network to cause DOS

Operating System Attacks


 Attacking Authentication Systems
 Exploiting Protocol Implementations
 Exploiting Insecure configuration
 Breaking File-System Security

[Link]
6. Gaining access:
 Enough data has been gathered at this point to make an informed
attempt to access the target
 Techniques
 Password eavesdropping
 File share brute forcing
 Password file grab
 Buffer overflows

[Link]
7. Escalating Privileges
 If only user-level access was obtained in the last step, the attacker will
now seek to gain complete control of the system
 Techniques
 Password cracking
 Known exploits

[Link]
8. Covering Tracks
 Once total ownership of the target is secured, hiding
this fact from system administrators becomes
paramount, lest they quickly end the romp.
Techniques
 Clear logs
 Hide tools

[Link]
9. Creating Back Doors
 Trap doors will be laid in various parts of the system to ensure that
privileged access is easily regained at the whim of the intruder
 Techniques
 Create rogue user accounts
 Schedule batch jobs
 Infect startup files
 Plant remote control services
 Install monitoring mechanisms
 Replace apps with trojans

[Link]
Denial of Service
 If an attacker is unsuccessful in gaining access, they may use readily
available exploit code to disable a target as a last resort
 Techniques
 SYN flood
 ICMP techniques
 Identical SYN requests
 Overlapping fragment/offset bugs
 Out of bounds TCP options (OOB)
 DDoS

[Link]
What do hackers do after hacking? (1)
 Patch security hole
The other hackers can’t intrude
 Clear logs and hide themselves
 Install rootkit ( backdoor )
The hacker who hacked the system can use the system later
It contains trojan virus, and so on
 Install irc related program
identd, irc, bitchx, eggdrop, bnc

[Link]
What do hackers do after hacking? (2)
 Install scanner program
mscan, sscan, nmap
 Install exploit program
 Install denial of service program
 Use all of installed programs silently

[Link]
Why can’t defend against hackers?
 There are many unknown security hole
 Hackers need to know only one security hole to hack the system
 Admin need to know all security holes to defend the system

[Link]
How can protect the system?
 Patch security hole often
 Encrypt important data
 Ex) pgp, ssh
 Do not run unused daemon
 Remove unused setuid/setgid program
 Setup loghost

 Backup the system often


 Setup firewall
 Setup IDS
 Ex) snort

[Link]
What should do after hacked?
 Shutdown the system
Or turn off the system
 Separate the system from network
 Restore the system with the backup
Or reinstall all programs
 Connect the system to the network

[Link]
Thank You !!!

[Link]

You might also like