Types of Internet Attacks Explained
Types of Internet Attacks Explained
SYLLABUS
UNIT II
ATTACKS AND COUNTERMEASURES
- In most cases, the only people who ever know about these attacks are
security professionals and IT personnel.
- In the digital era of today, customer private data is vulnerable to theft and abuse by
another individual.
- When private data is used to impersonate an individual, the outcome is called identity
theft.
- Customer private data may include first and last name, home address, phone number,
date of birth, SSN, or cardholder data .
Malicious Attack Threats and Vulnerabilities
Scope of Cyber-Attacks: What Are You Trying to Protect?
• IT and Network Infrastructure:
- Threats can exist, both internal to the IT infrastructure and external, given that the
IT infrastructure is connected to the Internet
Malicious Attack Threats and Vulnerabilities
Scope of Cyber-Attacks: What Are You Trying to Protect?
• IT and Network Infrastructure:
Malicious Attack Threats and Vulnerabilities
Scope of Cyber-Attacks: What Are You Trying to Protect?
• IT and Network Infrastructure:
- Armored viruses have hardened code that makes it difficult to reverse-engineer and
build an antivirus for the malware.
- Ransomware is a new form of malware linked to a time clock, forcing the victim
organization to pay a ransom to prevent its data from being deleted
Malicious Attack Threats and Vulnerabilities
Scope of Cyber-Attacks: What Are You Trying to Protect?
• IT and Network Infrastructure:
- Malicious Attack lead to these problems can include loss of critical data or theft of
financial information or intellectual property.
- That means you should put your most valuable assets deep inside your IT
infrastructure to enable a layered security defense.
- Layered security defenses are critical given the sophistication of new, polymorphic
malware software.
- The more data you have, the more valuable you are.
- And, if you have metadata for your data, that can add additional value to your data's.
- The core issue from an IT security perspective is protecting the theft of intellectual
property and preventing its release to competitors or to the public.
Malicious Attack Threats and Vulnerabilities
Scope of Cyber-Attacks: What Are You Trying to Protect?
• Intellectual Property:
- Imagine that a company called Alpha Drug Company invested $2 billion to develop a new
prescription drug, with the expectation that it would earn $10 billion when it releases the drug.
- Now imagine that just as Alpha Drug Company was set to bring its medication to market, Beta
Drug Company obtained Alpha’s formulas and rushed its own version to market.
- Alpha would lose the first-to-market advantage, given that it invested in R&D and a big chunk
of the revenue associated with the new drug.
- They can be real financial assets, such as bank accounts, trading accounts,
purchasing
accounts, corporate credit cards, and other direct sources of money or credit.
- Alternatively, they can be data that allows access to real financial assets.
Malicious Attack Threats and Vulnerabilities
Scope of Cyber-Attacks: What Are You Trying to Protect?
• Finances and Financial Data:
- Financial data can include customer credit card numbers, personal financial
information, or usernames and passwords for banking or investment accounts.
- Other examples include the transaction data that companies and banks use to
transfer
financial data between themselves.
- Loss of financial assets due to malicious attacks is a worst-case scenario for all
organizations.
- Not only does it represent significant physical loss, but it can also have long-term
effects on a company’s reputation and brand image
Malicious Attack Threats and Vulnerabilities
Scope of Cyber-Attacks: What Are You Trying to Protect?
• Service Availability and Productivity:
- It is important that critical services be available for use when organizations need them.
- Downtime is the time during which a service is not available due to failure or
maintenance.
- For example, when servers need operating system upgrades or patches, administrators take
them offline intentionally so they can perform the necessary work without problems
Malicious Attack Threats and Vulnerabilities
Scope of Cyber-Attacks: What Are You Trying to Protect?
• Service Availability and Productivity:
- Technical failure and human error are the most common causes of unintentional
downtime.
- Malicious attacks can occur and cause downtime in any of the seven domains of an
IT infrastructure like User, Workstation, LAN, and LAN-to-WAN domains
Malicious Attack Threats and Vulnerabilities
Scope of Cyber-Attacks: What Are You Trying to Protect?
• Service Availability and Productivity:
- For example, suppose a major airline’s reservation servers fail. While the servers are
down, no customers can book flights.
- The opportunity cost of unintentional downtime is usually much higher than the
opportunity cost of intentional downtime.
Malicious Attack Threats and Vulnerabilities
Scope of Cyber-Attacks: What Are You Trying to Protect?
• Reputation:
- One of the most important things that information security professionals try to protect
is their organization’s reputation and brand image.
- For example, a security breach that allows attackers to steal customer credit card data
and distribute those data internationally would do significant harm to that company’s
reputation and brand image.
- Even if the company’s response were swift and solved the problem effectively, the
negative public perception of the company could remain for the long term.
- Among other consequences, this could lead to a decline in the organization’s revenue,
net worth, and market capitalization.
Malicious Attack Threats and Vulnerabilities
Scope of Cyber-Attacks: Whom Are You Trying to catch?
• In popular usage and in the media, the term hacker often describes someone who breaks into
a computer system without authorization.
• The media and the general public also use the word hacker to describe anyone accused of
using technology for terrorism, vandalism, credit card fraud, identity theft, intellectual
property theft, or one of many other forms of crime.
• In the computing community, the term hacker generally describes a person who enjoys
exploring and learning how to modify something, particularly related to computer systems.
• Hackers, for good or bad, are considered to be experts and tinkerers, but because of the way
the media negatively protrays the term, hackers are often the subject of some controversy.
Malicious Attack Threats and Vulnerabilities
Scope of Cyber-Attacks: Whom Are You Trying to catch?
• Another type of attacker is a script kiddie—a wannable hacker, a person of any age with
little or no skill.
• This person simply follows directions or uses a “cookbook” approach to carrying out a
cyberattack, without fully understanding the meaning of the steps he or she is performing.
Categorizing hackers as follows:
Black-hat hackers—A Black-hat hackers tries to break IT security and gain access to
systems with no authorization in order to prove technical ability.
Black-hat hackers generally develop and use special software tools to exploit vulnerabilities.
Malicious Attack Threats and Vulnerabilities
Scope of Cyber-Attacks: Whom Are You Trying to catch?
Categorizing hackers as follows:
• White-hat hackers—A White-hat hackers, or ethical hacker, is an information systems
security professional who has authorization to identify vulnerabilities and perform penetration
testing.
• Gray-hat hackers—A gray-hat hacker is a hacker with average abilities who may one day
become a black-hat hacker but could also opt to become a white-hat hacker.
• These threats usually involve fraud, theft of data, destruction of data, blockage of access, and
other malicious activity.
CCS340 – CYBER SECURITY
SYLLABUS
UNIT II
ATTACKS AND COUNTERMEASURES
• Any event that results in a violation of any of the confidentiality, integrity, or availability
(CIA) security tenets is a security breach.
• Some security breaches disrupt system services on purpose. Others are accidental and may
result from hardware or software failures.
- This excessive activity makes the system unavailable to perform legitimate operations.
- When a disk fills up, the system locks an account out, a computer crashes, or a CPU
slows down, the result is denial of service—hence the name.
Logic attacks:
- Logic attacks use software flaws to crash or seriously delay the performance
of remote servers.
- You can prevent many of these attacks by installing the latest patches to keep
your software up to date.
Flooding attacks:
Use intrusion prevention system (IPS) software or devices to detect and stop the attack.
Intrusion detection system (IDS) software and devices can also detect DoS attacks and alert
- Without a defense against DoS attacks, they can quickly overwhelm servers, desktops,
and network hardware, slowing computing in your organization to a grinding halt.
- A DoS attack launched through one of these protocols can bring down one or more
network servers or devices by flooding it with useless packets and providing false
information about the status of network services. This is known as a packet flood.
- SYN is a TCP control bit used to initialize TCP/IP communication with another device.
- The smurf attack uses a directed broadcast to create a flood of network traffic for the
victim computer
Malicious Attack Threats and Vulnerabilities
Security Breach:
Activities that can cause a security breach include the following
Denial of service (DoS) attacks
Distributed denial of service (DDoS) attacks
Unacceptable web-browsing behavior
Wiretapping
Use of a backdoor to access resources
Accidental data modifications
Malicious Attack Threats and Vulnerabilities
Security Breach: Distributed denial of service (DDoS) attacks:
- The Distributed Denial of Service (DDoS) attack is a type of DoS attack that also
impacts a user’s ability to access a system.
- The attacker then instructs the agents to bombard the target site with forged messages.
- The attacker does more damage by distributing the attack across multiple computers .
Malicious Attack Threats and Vulnerabilities
Security Breach: Distributed denial of service (DDoS) attacks:
- Larger companies and universities tend to be attractive targets for attackers launching
DDoS attacks.
- DDoS attacks are more difficult to stop than DoS attacks because they originate from
different sources.
- Both DoS and DDoS attacks come in many forms and different levels of severity and
can cost millions of dollars in lost revenue.
Malicious Attack Threats and Vulnerabilities
Security Breach:
Activities that can cause a security breach include the following
Denial of service (DoS) attacks
Distributed denial of service (DDoS) attacks
Unacceptable web-browsing behavior
Wiretapping
Use of a backdoor to access resources
Accidental data modifications
Malicious Attack Threats and Vulnerabilities
Security Breach: Unacceptable Web Browsing:
- A violation of an organization’s acceptable use policy (AUP), such as an employee’s
unacceptable web browsing, can itself be a security breach.
- Organizations should have an AUP that clearly states what behavior is acceptable and
what is not.
- Unacceptable use can include unauthorized users searching files or storage directories
for data and information they are not supposed to read, or users simply visiting
prohibited websites.
- Wiretapping can be active, where the attacker makes modifications to the line.
- It can also be passive, where an unauthorized user simply listens to the transmission
without changing the contents.
- Passive intrusion can include the copying of data for a subsequent active attack .
Malicious Attack Threats and Vulnerabilities
Security Breach: Wiretapping:
Two methods of active wiretapping are as follows:
i) Between-the-lines wiretapping:
- does not alter the messages sent by the legitimate user but inserts additional messages
- This type of wiretapping intercepts and modifies the original message by breaking the
communications line and routing the message to another computer that acts as a host.
- Attackers can also use wiretapping to capture data communications. When referring to the
capturing of data communications, however, the more commonly used term is sniffing
Malicious Attack Threats and Vulnerabilities
Security Breach:
Activities that can cause a security breach include the following
Denial of service (DoS) attacks
Distributed denial of service (DDoS) attacks
Unacceptable web-browsing behavior
Wiretapping
Use of a backdoor to access resources
Accidental data modifications
Malicious Attack Threats and Vulnerabilities
Security Breach: Backdoors:
- When an attacker discovers a backdoor, he or she can use it to bypass existing security
controls such as passwords, encryption, and so on.
- Where legitimate users log on through front doors using a user ID and password,
attackers use backdoors to bypass these normal access controls
Malicious Attack Threats and Vulnerabilities
Security Breach: Backdoors:
- Attackers can also compromise a system by installing their own backdoor program on it.
- The netcat utility is one of the most popular backdoor tools in use today.
- Rootkits are malicious software programs designed to be hidden from normal methods of
detection.
- Rootkits are installed by attackers once they obtain root or system administrator access
privileges.
- Traditional rootkits replace critical programs to give attackers backdoor access and
enable them to hide on the host system.
.
Malicious Attack Threats and Vulnerabilities
Security Breach:
Activities that can cause a security breach include the following
Denial of service (DoS) attacks
Distributed denial of service (DDoS) attacks
Unacceptable web-browsing behavior
Wiretapping
Use of a backdoor to access resources
Accidental data modifications
Malicious Attack Threats and Vulnerabilities
Security Breach: Data Modification:
- Data that are purposely or accidentally modified impact the integrity tenet of
information systems security. This is also considered a security breach.
- Example is truncating data because the record field is not large enough to hold the
complete data.
- This can occur with most programming languages and can be difficult to detect.
- The best way to avoid data modification issues is to validate data before storing that
data and to ensure that your programs adhere to strict data integrity rules.
.
Malicious Attack Threats and Vulnerabilities
Security Breach:
Activities that can cause a security breach include the following
Denial of service (DoS) attacks
Distributed denial of service (DDoS) attacks
Unacceptable web-browsing behavior
Wiretapping
Use of a backdoor to access resources
Accidental data modifications
CCS340 – CYBER SECURITY
SYLLABUS
UNIT II
ATTACKS AND COUNTERMEASURES
There are four general categories of attack. An attack can consist of all or a combination of these
four categories:
• Fabrications—Fabrications involve the creation of some cheating in order to trick unsuspecting
users.
• Interceptions—An interception involves eavesdropping on transmissions and redirecting them
for unauthorized use.
• Interruptions—An interruption causes a break in a communication channel, which blocks the
transmission of data.
• Modifications—A modification is the alteration of data contained in transmissions or files
Malicious Attack Threats and Vulnerabilities
Types of Malicious Attack?
- In a passive attack, the attacker does not make changes to the system.
- In a brute-force password attack, the attacker tries different passwords on a system until one of them is
successful.
- Usually the attacker employs a software program to try all possible combinations of a likely password,
user ID, or security code until it locates a match.
- This occurs rapidly and in sequence.
- This type of attack is called a brute-force password attack because the attacker simply beats away at
the code.
- There is no skill or stealth involved—just brute force that eventually breaks the code.
Types of Malicious Attack? Active Threats:
3. Dictionary Password Attacks:
- A dictionary password attack is a simple attack that relies on users making poor
password choices.
- A password policy that enforces complex passwords is the best defense against a
dictionary password attack.
- Users should create passwords composed of a combination of letters and numbers, and
the passwords should not include any personal information about the user .
Types of Malicious Attack? Active Threats:
4. IP Address Spoofing:
- Spoofing is a type of attack in which one person, program, or computer masks itself
as another person, program, or computer to gain access to some resource.
- If the administrator of the target’s local router has not configured it to filter out
external traffic with internal addresses, the attack may be successful.
- In this attack, the attacker spoofs the MAC address of a targeted device, such as a
server, by sending false ARP resolution responses with a different MAC address.
- This type of attack sends advanced TCP packets with flags set to confuse IP routers
and network border routers with TCP header bits set to 1, thus lighting up the IP router
like a Christmas tree
Types of Malicious Attack? Active Threats:
5. Hijacking:
- Hijacking is a type of attack in which the attacker takes control of a session between two
machines and masquerades as one of them.
There are a few types of hijacking:
Man-in-the-middle hijacking:
- The attacker uses a program to take control of a connection by masquerading as each end of the
connection.
- For example, if Mary and Fred want to communicate, the attacker pretends to be Mary when
talking with Fred and pretends to be Fred when talking to Mary.
- Neither Mary nor Fred know they are talking to the attacker. The attacker can collect
substantial information and can even alter data as they flow between Mary and Fred.
- This attack enables the attacker to either gain access to the messages or modify them before
retransmitting.
Types of Malicious Attack? Active Threats:
5. Hijacking: Man-in-the-middle hijacking:
- An insider threat can occur from an employee, contractor, or trusted person within the
organization
Types of Malicious Attack? Active Threats:
5. Hijacking:
- The user is directed to a different website than what he or she requested, usually to a
fake page that the attacker has created.
- This gives the user the impression that the attacker has compromised the website when
in fact the attacker simply diverted the user’s browser from the actual site.
- Attackers can use this attack with phishing to trick a user into providing private
information such as a password.
Types of Malicious Attack? Active Threats:
5. Hijacking:
Session hijacking:
- The attacker attempts to take over an existing connection between two network computers.
- The first step in this attack is for the attacker to take control of a network device on the LAN,
such as a firewall or another computer, in order to monitor the connection.
- This enables the attacker to determine the sequence numbers used by the sender and receiver.
- After determining the sequence numbering, the attacker generates traffic that appears to
come from one of the communicating parties.
- To get rid of the legitimate user who initiated the hijacked session, the attacker overloads one
of the communicating devices with excess packets so that it drops out of the session
Types of Malicious Attack? Active Threats:
6. Replay Attacks:
- Replay Attacks involve capturing data packets from a network and retransmitting them
to produce an unauthorized effect.
- The receipt of duplicate, authenticated IP packets may disrupt service or have some
other undesired consequence.
- This helps intruders to gain information that allows unauthorized access into a system
Types of Malicious Attack? Active Threats:
7. Man-in-the-Middle Attacks:
- In this type of attack, an attacker intercepts messages between two parties before transferring
them on to their intended destination.
- Web spoofing is a type of man-in-the-middle attack in which the user believes a secure session
exists with a particular web server.
- In reality, the secure connection exists only with the attacker, not the web server.
- The attacker then establishes a secure connection with the web server
- The attacker passes traffic between the user and the web server.
- In this way, the attacker can trick the user into supplying passwords, credit card information,
and other private data.
- Attackers use man-in-the-middle attacks to steal information, to execute DoS attacks, to
corrupt transmitted data, to gain access to an organization’s internal computer and network
resources, and to introduce new information into network sessions
Types of Malicious Attack? Active Threats:
8. Masquerading:
- Masquerade attacks usually include one of the other forms of active attacks, such as IP
address spoofing or replaying.
- For example, an attacker might monitor usernames and passwords sent to a weak web
application.
- The attacker could then use the intercepted credentials to log on to the web application
and impersonate the user
Types of Malicious Attack? Active Threats:
9. Social Engineering:
- Social engineering involves tricking authorized users into carrying out actions for
unauthorized users.
- The success of social engineering attacks depends on the basic tendency of people to want to
be helpful.
- Social engineering places the human element in the security breach loop and uses it as a
weapon.
- Personnel who serve as initial contacts within an organization, such as receptionists and
administrative assistants, are often targets of social engineering attacks.
Types of Malicious Attack? Active Threats:
9. Social Engineering:
Eliminating social engineering attacks can be difficult, but here are some techniques to reduce their
impact:
- Enforce a strict policy for internal and external technical support procedures.
- Be very careful when using remote access. Use strong validation so you know who is
accessing your network.
- Teach personnel the techniques for sending and receiving secure email.
- Phone phreaking, is a slang term that describes the activity of a subculture of people
who study, experiment with, or explore telephone systems, telephone company
equipment, and systems connected to public telephone networks.
- Phreaking is the art of exploiting bugs and glitches that exist in the telephone system ..
Types of Malicious Attack? Active Threats:
11. Phishing:
- Phishing is a type of fraud in which an attacker attempts to trick the victim into providing private
information such as credit card numbers, passwords, dates of birth, bank account numbers, automated
teller machine (ATM) PINs, and Social Security numbers.
- The message appears to come from a legitimate source, such as a trusted business or financial institution,
and includes an urgent request for personal information.
- Phishing messages usually indicate a critical need to update an account (banking, credit card, etc.)
immediately.
- The message instructs the victim to either provide the requested information or click on a link provided
in the message.
- This website looks identical to the official site but in fact belongs to the scammer.
- Personal information entered into this web page goes directly to the scammer, not to the legitimate
organization
Types of Malicious Attack? Active Threats:
11. Phishing:
- A variation of the phishing attack is spear phishing.
- Pharming “poisons” a domain name on the domain name server (DNS), a process
known as DNS poisoning.
Malicious Attack Threats and Vulnerabilities
Types of Malicious Attack? Active Threats:
S. No Active Threats S. No Active Threats
1. Birthday attacks 7. Man-in-the-middle attacks
2. Brute-force password attacks 8. Masquerading
3. Dictionary password attacks 9. Social engineering
4. IP address spoofing 10. Phishing
5. Hijacking 11. Phreaking
6. Replay attacks 12. Pharming
Types of Malicious Attack? Passive Threats:
- In a passive attack, the attacker does not make changes to the system.
- Passive Attack involves gathering information about a target without his / her knowledge.
- Organization’s website
- The effects of malware can range from slowing down a PC to causing it to crash,
enabling the theft of credit card numbers, and worse.
- Simply surfing the Internet, reading email, or downloading music or other files can
infect a personal computer with malware—usually without the user’s knowledge .
Malicious Software
- Malware exists in two main categories:
Infecting programs and hiding programs.
- Infecting programs actively attempt to copy themselves to other computers.
- Their main purpose is to carry out an attacker’s instructions on new targets.
- As their name implies, hiding programs hide in the computer, carrying out the
attacker’s instructions while avoiding detection.
- The purpose of the virus is to trick the computer into following instructions not
intended by the original program developer.
- Users copy infected files from another computer on a network, from a flash drive, or
from an online service.
- Alternatively, users can transport viruses from home and work on their portable
computers, which have access to the Internet and other network services.
- The first virus recorded was the Creeper virus, written by researcher Bob Thomas in
1971.
Malicious Software
Worms:
- A worm is a self-contained program that replicates and sends copies of itself to other
computers, generally across a network, without any user input or action.
- The main difference between a virus and a worm is that a worm does not need a host
program to infect.
-The first worm reported to spread “in the wild” was the Morris worm. Robert Tappan
Morris wrote the Morris worm in 1988.
Malicious Software
Trojan Horses:
- Trojan horse programs use their outward appearance to trick users into running them.
- They look like programs that perform useful tasks, but actually, they hide malicious
code.
- Once the program is running, the attack instructions execute with the user’s
permissions and authority.
- Animal disguised itself as a simple quiz game in which the user would think of an
animal and the program would ask questions to attempt to guess the animal.
Malicious Software
Rootkits:
- A rootkit modifies or replaces one or more existing programs to hide traces of attacks.
- Although rootkits commonly modify parts of the operating system, they can exist at
any level—from a computer’s boot instructions up to the applications that run in the
operating system.
- Once installed, rootkits provide attackers with easy access to compromised computers
to launch additional attacks.
- Rootkits exist for a variety of operating systems, including Linux, UNIX, and
Microsoft Windows.
Malicious Software
Spyware:
- Spyware is a type of malware that specifically threatens the confidentiality of
information.
- It gathers information about a user through an Internet connection, without his or her
knowledge.
- Spyware has been around since the late 1990s, increasing in popularity after 2000.
- The rapid growth of the Internet enabled attackers to collect useful information from
more and more unsuspecting users.
Malicious Software
Spyware:
- Spyware exists as independent executable programs, it can perform a number of
operations, including the following:
Monitoring keystrokes
Reading cookies
- Examples of PII include driver’s license numbers, Social Security numbers, credit card
numbers, and so on.
1. Attack by email:
- The hostile content is either embedded in the message or linked to by the message .
- Spam is almost always the carrier for fraud or malicious action
2. Attachments:
- Malicious attachments install malicious computer code.
3. Hackers:
- Hackers / crackers used a variety of hacking tools, heuristics and social engineering to gain access
to computers and online accounts.
Common Attack Vectors
4. Attack by Webpage (Heedless guests):
- Many worms are delivered as email attachments, network worms use holes in network
protocols directly. (Firewall will block worms)
- System worms install Trojan Horses, begin scanning the Internet for other computers
to infect.
6. Malicious Macros:
- Macros can be used for malicious purposes. (MS Word and MS Excel)
Common Attack Vectors
7. Foistware:
8. Viruses:
- are malicious computer codes that hitch a ride and make the payload.
Trust —Building a human trust bond over time and then using that trust to get the individual to
do something or divulge information.
Whaling —Targeting the executive user or most valuable employees, otherwise considered the
“whale” or “big fish” (often called spear phishing)
CCS340 – CYBER SECURITY
SYLLABUS
UNIT II
ATTACKS AND COUNTERMEASURES
- The rapid deployment of wireless network connectivity in both public and private
places, the mobile user is under constant threat.
- Many different tactics are used by hackers and perpetrators as they attempt to
penetrate and attack wireless networks.
Wireless Network Attack – continued..
1. Bluejacking - Hacking and gaining control of the Bluetooth wireless communication link
between a user’s earphone and smartphone device.
3. Evil twin —Faking an open or public wireless network to use a packet sniffer on any user
who connects to it.
7. Packet sniffing—Capturing IP packets off a wireless network and analyzing the TCP/IP
packet data using a tool such as Wireshark
8. Replay Attacks —Replaying an IP packet stream to fool a server into thinking you are
authenticating to it.
9. Rogue Access Points —Using an unauthorized network device to offer wireless availability
to unsuspecting users.
Wireless Network Attack – continued..
10. War Chalking —Creating a map of the physical or geographic location of any wireless
access points and networks.
11. War Driving—Physically driving around neighborhoods or business complexes looking for
wireless access points and networks that broadcast an open or public
network connection.
• In addition to these specific attacks, hackers may also attempt to exploit weaknesses in the
wireless encryption method used by the target:
• WEP (Wireless Encryption Protocol),
• WPA (Wi-Fi Protected Assets), or
• WPS (Wi-Fi Protected Setup).
CCS340 – CYBER SECURITY
SYLLABUS
UNIT II
ATTACKS AND COUNTERMEASURES
1. Arbitrary / Remote code execution — Having gained privileged access or sys admin rights
access, the attacker can run commands or
execute a command at will on the remote
system.
2. Buffer Overflow —Attempting to push more data than the buffer can handle.
6. Directory Traversal / Command injection —Exploiting a web application server, gaining root
file directory access from outside the protected network,
and executing commands, including data dumps.
7. Header Manipulation —Stealing cookies and browser URL information and manipulating the
header with invalid or false commands to create an insecure
communication or action.
8. Integer overflow — Creating a mathematical overflow which exceeds the maximum size
allowed. This can cause a financial or mathematical application to freeze or
create a vulnerability and opening.
Web Application Attack – continued..
9. Lightweight Directory Access Protocol (LDAP) injection —Creating fake ID and
authentication LDAP commands and packets to falsely ID and authenticate to a web
application.
10. Local Shared Objects —Using Flash cookies (named after the Adobe Flash player), which
cannot be deleted through the browser’s normal configuration settings. Flash cookies can also
be used to reinstate regular cookies that a user has deleted or blocked.
11. Malicious Add-ons —Using software plug-ins or add-ons that run additional malicious
software on legitimate programs or applications.
12. SQL injection —Injecting Structured Query Language (SQL) commands to obtain
information and data in the back-end SQL database.
Web Application Attack – continued..
13. Watering-hole attack—Luring a targeted user to a commonly visited website on which has
been planted the malicious code or malware, in hopes that the user will trigger the attack with a
unknowing click.
14. XML injection —Injecting XML tags and data into a database in an attempt to retrieve
data.
15. Zero – day —Exploiting a new vulnerability or software bug for which no specific
defenses yet exist.
CCS340 – CYBER SECURITY
SYLLABUS
UNIT II
ATTACKS AND COUNTERMEASURES
- It is always better to find weaknesses in your own environment before an attacker does,
but it is even more important to quickly remediate that weakness.
- Computer criminals and cyberattackers use a number of hardware and software tools to
discover exploitable weaknesses and other tools to perform the actual attack.
- A protocol analyzer or packet sniffer (or just sniffer) is a software program that
enables a computer to monitor and capture network traffic, whether on a LAN or a
wireless network.
- Sniffers operate in promiscuous mode, which means that every data packet can be seen
and captured by the sniffer.
- Sniffers decode the frame and IP data packet, allowing you to see data in cleartext if it
has not been encrypted
Attack Tools – continued..
2. Port Scanners:
- A port scanner is a tool used to scan IP host devices for open ports that have been
enabled.
- For example, Port 80 is for HTTP web traffic, Port 21 is File Transfer Protocol (FTP),
and Port 23 is Telnet, and so on.
- Port scanners are used to identify open ports or applications and services that are
enabled on the IP host device.
- This provides attackers with valuable information that can be used in the attack.
Attack Tools – continued..
3. OS Fingerprint Scanners:
- The packets sent from the OS fingerprint scanner will recognize differences from the
various operating systems used in workstations, servers, and network devices.
- When an IP host device responds, then the OS fingerprint scanner can guess what
operating system is installed on the device.
- Once an attacker knows what OS and version is installed, the better chance he has to
use applicable software vulnerabilities and exploits.
- The vulnerability scanner lists all known software vulnerabilities and prioritizes them
as critical, major, or minor.
- The Common Vulnerabilities & Exposure (CVE) list is maintained and managed by
the Mitre Corporation on behalf of the U.S. Department of Homeland Security.
- It is a program that can be used to carry out some form of malicious intent.
- This includes things like a denial of service attack, unauthorized access, a brute-force
password attack, or buffer overflow.
- It is a computer program that dials telephone numbers, looking for a computer on the
other end.
- It then logs and enters into a database those numbers that successfully connect to the
modem.
- Wardialers are becoming more archaic and less often used due to the rise of digital
telephony, IP telephony, or Voice over IP (VoIP).
- In addition, an attacker would use a wardialer to identify analog modem signals and
gain access to the remote system within an IT infrastructure.
Attack Tools – continued..
7. Password Crackers:
- A cryptographic hash is an algorithm that converts a large amount of data to a single (long)
number.
- Once mathematically hashed, the hash value can be used to verify the integrity of those data.
- In a brute-force password cracking attempt, an attacker tries every possible character combination
until the “cracked” password succeeds in granting access.
- It is a type of surveillance software or hardware that can record to a log file every
keystroke a user makes with a keyboard.
- The keystroke logger might store the log file locally for later retrieval or send it to a
specified receiver.
- As the user types on the keyboard, the keystroke logger collects each keystroke and
saves it as text in its own miniature hard drive.
- Later, the person who installed the keystroke logger must return and physically
remove the device in order to access the information the device has gathered
Attack Tools – continued..
8. Keystroke Loggers:
- This malicious software can be delivered by a URL link, PDF file, or ZIP file.
- As long as an attacker has network access to a computer, he or she can transfer any
file, including executable files, to the target computer.
- Many attackers then use social engineering to trick users into launching the
downloaded programs.
- The keystroke logger program records each keystroke the user types and periodically
uploads the information over the Internet to whomever installed the program.
Attack Tools – continued..
1. Protocol analyzers
2. Port scanners
3. OS fingerprint scanners
4. Vulnerability scanners
5. Exploit software
6. Wardialers
7. Password crackers
8. Keystroke loggers
CCS340 – CYBER SECURITY
SYLLABUS
UNIT II
ATTACKS AND COUNTERMEASURES
- Avoiding attacks should be the highest priority. Even so, some attacks will succeed.
Your response to attacks should be as aggressive, proactive, and reactive
- In addition, many organizations have special teams to handle security incidents when
they occur.
- These security incident response teams (SIRPs) know how to recognize incidents and
respond to them in a way that minimizes damage and preserves evidence for later
action.
Countermeasures - continued..
Countering Malware:
- Anti-malware measures are the first line of defense against these attacks.
- It’s always better to prevent malware than to have to fix damage caused by malware.
Create an education program to keep your users from installing malware on your system.
Never transfer files from an unknown or untrusted source unless the computer has an anti-malware
utility installed.
Install anti-malware software, make sure the software and data are current, and schedule regular
malware scans to prevent malicious users from introducing malware and to detect any existing malware.
BitDefender
Kaspersky Anti-Virus
Webroot Antivirus
Norton AntiVirus
Avira Antivirus
Countermeasures - continued..
Protecting systems with firewalls:
Cisco Systems
SonicWALL
WatchGuard Technologies
Check Point
CCS340 – CYBER SECURITY
SYLLABUS
UNIT II
ATTACKS AND COUNTERMEASURES
• First developed in 2003 with subsequent releases in 2004, 2007, 2010, 2013 and 2017.
• OWASP's main aim is to make application security guidelines easily available to all, so that
developers and organizations can make correct decisions about application security risks.
OWASP
OWASP
A01: 2021 – Broken Access Control:
- Access control enforces policy such that users cannot act outside of their intended
permissions.
• Bypassing access control checks by modifying the URL, internal application state, or the HTML
page, or by using an attack tool modifying API requests.
• Permitting viewing or editing someone else's account, by providing its unique identifier.
OWASP
A01: 2021 – Broken Access Control:
How to prevent:
- Log access control failures, alert admins when appropriate (e.g., repeated failures).
- Rate limit API and controller access to minimize the harm from automated attack
tooling.
(API rate limit is a restriction on the number of times a client can call an API
within a given time period)
- The first thing is to determine the protection needs of data in transit and at rest.
- For example, passwords, credit card numbers, health records, personal information,
and business secrets require extra protection,
How to Prevent:
- Don't store sensitive data unnecessarily. Discard it as soon as possible or use PCI DSS
compliant tokenization or even truncation.
OWASP
A02: 2021 – Cryptographic failures:
How to Prevent:
- Ensure up-to-date and strong standard algorithms, protocols, and keys are in place; use
proper key management.
- Encrypt all data in transit with secure protocols such as TLS with forward secrecy (FS)
ciphers, cipher prioritization by the server, and secure parameters.
- Hostile data is directly used or concatenated. The SQL or command contains the
structure and malicious data in dynamic queries, commands, or stored procedures.
OWASP
A03:2021-Injection
- Some of the more common injections are SQL, NoSQL, OS command, Object
Relational Mapping (ORM), LDAP, and Expression Language (EL) or Object Graph
Navigation Library (OGNL) injection.
- Source code review is the best method of detecting if applications are vulnerable to
injections.
- Automated testing of all parameters, headers, URL, cookies, JSON, SOAP, and XML
data inputs is strongly encouraged.
How to prevent:
- The preferred option is to use a safe API, which avoids using the interpreter entirely,
provides a parameterized interface, or migrates to Object Relational Mapping Tools
(ORMs).
OWASP
A03:2021-Injection
How to prevent:
- For any residual dynamic queries, escape special characters using the specific escape
syntax for that interpreter.
- Use LIMIT and other SQL controls within queries to prevent mass disclosure of
records in case of SQL injection.
Scenario #1: An application uses untrusted data in the construction of the following vulnerable
SQL call: String query = "SELECT \* FROM accounts WHERE custID='" +
[Link]("id") + "'";
OWASP
OWASP
A04:2021-Insecure Design
- It is a new category for 2021, with a focus on risks related to design flaws.
- To avoid this make use of threat modeling, secure design patterns and principles, and
reference architectures.
- Collect and negotiate the business requirements for an application with the business
- Plan and negotiate the budget covering all design, build, testing, and operation,
including security activities.
OWASP
A04:2021-Insecure Design
Secure Design
- Secure design is a culture and methodology that constantly evaluates threats and ensures
that code is robustly designed and tested to prevent known attack methods.
- Look for changes in data flows and access control or other security controls.
- Analyze assumptions and conditions for expected and failure flows, ensure they are still
accurate and desirable.
- Determine how to validate the assumptions and enforce conditions needed for proper
behaviors.
- Secure design is neither an add-on nor a tool that you can add to software.
OWASP
A04:2021-Insecure Design
- Secure software requires a secure development lifecycle, some form of secure design
pattern, paved road methodology, secured component library, tooling, and threat
modeling.
How to prevent:
- Use threat modeling for critical authentication, access control, business logic, and key
flows
- Tested for some form of misconfiguration, XML External Entities (XXE) is now part
of this category.
- Unnecessary features are enabled or installed (e.g., unnecessary ports, services, pages,
accounts, or privileges).
- Default accounts and their passwords are still enabled and unchanged.
- Error handling reveals stack traces or other overly informative error messages to users.
How to prevent:
- It is the only category not to have any Common Vulnerability and Exposures
(CVEs).
- If you do not fix or upgrade the underlying platform, frameworks, and dependencies in
a risk-based, timely fashion.
How to Prevent
- Permits automated attacks such as credential stuffing, where the attacker has a list of
valid usernames and passwords.
How to Prevent
- Do not ship or deploy with any default credentials, particularly for admin users.
- Implement weak password checks, such as testing new or changed passwords against
the top 10,000 worst passwords list.
- Ensure registration, credential recovery, and API pathways are hardened against
account enumeration attacks by using the same messages for all outcomes.
OWASP
OWASP
A08:2021-Software and Data Integrity Failures:
- Software and data integrity failures relate to code and infrastructure that does not
protect against integrity violations.
How to Prevent
- Use digital signatures or similar mechanisms to verify the software or data is from the
expected source and has not been altered.
OWASP
A08:2021-Software and Data Integrity Failures:
How to Prevent
- Ensure libraries and dependencies, such as npm or Maven, are consuming trusted
repositories.
- Ensure that a software supply chain security tool, such as OWASP Dependency Check
- Ensure that there is a review process for code and configuration changes to minimize
the chance that malicious code
- Ensure that unsigned or unencrypted serialized data is not sent to untrusted clients.
OWASP
OWASP
A09:2021-Security Logging and Monitoring Failures:
- Failures in this category can directly impact visibility, incident alerting, and forensics.
Insufficient logging, detection, monitoring, and active response occurs any time:
- Auditable events, such as logins, failed logins, and high-value transactions, are not
logged.
- Logs of applications and APIs are not monitored for suspicious activity.
OWASP
A09:2021-Security Logging and Monitoring Failures:
How to Prevent
- Ensure all login, access control, and server-side input validation failures can be logged
with sufficient user context to identify suspicious or malicious accounts.
- Ensure that logs are generated in a format that log management solutions can easily
consume.
- Ensure log data is encoded correctly to prevent injections or attacks on the logging or
monitoring systems.
- Ensure high-value transactions have an audit trail with integrity controls to prevent
tampering or deletion.
OWASP
OWASP
A10:2021-Server-Side Request Forgery:
- SSRF flaws occur whenever a web application is fetching a remote resource without
validating the user-supplied URL.
How to prevent:
- Enforce “deny by default” firewall policies to block all but essential intranet traffic.
OWASP
A10:2021-Server-Side Request Forgery:
How to prevent:
- Enforce the URL schema, port, and destination with a positive allow list