Common types of cyber attacks and how to prevent them

Updated

Before we dive in, first let’s understand what Cyber Attack really means. A cyber attack is an assault launched by cybercriminals using one or more computers against single or

multiple computers or networks. A cyber attack can maliciously disable computers, steal data, or use a breached computer as a launch point for other attacks.

As a result of cyber attacks businesses are exposed to a few cyber risks:

● Ransomware:

It is a kind of malware (malicious software) that attempts to scramble your data and then extort a ransom to release a code to unlock it. They are mostly delivered via malicious

emails. Some preventive measures include;

Staff awareness, data backups, software updates, and malware protection

● Hacking:

This is simply gaining access to IT systems from outside an organization. Traditionally they have attempted to gain access to bank account information or credit card databases.

However, intellectual property is another source of value. The use of social engineering, tricking staff into revealing usernames and passwords remain a threat.

Basically to protect yourself from hacking are network firewalls, data access security, procedures for providing and removing access, and user awareness and training

● Phishing

Phishing is an attempt to gain sensitive information while posing as a trustworthy contact, for example, a bank or online service. Spear phishing is a highly targeted attempt to gain

information from an individual. Phishing emails may look completely convincing, often with faultless wording and genuine logos. There is a form of spear phishing, where a fake

email from a CEO applies pressure on a CFO into making an urgent payment, this has become known as Whaling. It is worth considering ways to add additional safeguards to protect the identity of CEOs and

CFOs to prevent impersonation. Here are a few steps you can use to protect yourself.

Safeguard sensitive information

Be suspicious of unexpected emails

Make use of anti-malware software

● Insider threat:

If your organization employs staff (full time or as contractors), there is a possibility they could leak data by mistake or maliciously. The potential damage from a leak of documents cannot

be underestimated. In order to mitigate the size of a data leak, some measures have to be taken;

1. Educate your team to be alert to issues and minimize careless mistakes.

2. Limit how much data staff has access to.

3. Control the use of portable storage devices.

4. Consider using applications in certain situations to monitor staff behavior − who copies what.

● Data leakage:

While cybersecurity in the office may seem challenging, it is essential to understand that security extends well beyond the office these days. The use of smartphones and tablets has

become widespread. The ubiquitous and cheap nature of portable storage devices makes them a useful tool for the backup and transportation of data. Those features mean they are

also a target for data thieves. Below are some useful first steps to prevent data from leaking from your organization.

1. Ensure mobile devices have passcode locks.

2. Turn on the tracking by GPS and the option to remotely wipe the device if it is lost.

3. The use of encryption software is highly recommended when using portable storage devices.

4. Keep an eye on your mobile devices and paperwork at all times. A large proportion of crime is opportunistic, taking your eye off your briefcase or smart device could result

in a serious loss of data.

Let’s discuss some Common Types of Cyber Attacks and a few real-life examples:

● Denial-of-service (DoS) and distributed denial-of-service (DDoS) attacks

In computing, a denial-of-service attack is a cyber-attack in which the perpetrator seeks to make a machine or network resource unavailable to its intended users by temporarily or

indefinitely disrupting the services of a host connected to the Internet. (Wikipedia) A Denial-of-Service (DoS) attack is an attack meant to shut down a machine or network,

making it inaccessible to its intended users. DoS attacks accomplish this by flooding the target with traffic or sending it information that triggers a crash.

A distributed denial-of-service (DDoS) attack is a malicious attempt to disrupt the normal traffic of a targeted server, service, or network by overwhelming the target or its surrounding

infrastructure with a flood of Internet traffic.

DDoS attacks achieve effectiveness by utilizing multiple compromised computer systems as sources of attack traffic. Machines vulnerable to this include computers and other networked

resources

There are different types of DoS and DDoS attacks; the most common are TCP SYN flood attack, teardrop attack, smurf attack, ping-of-death attack, and botnets

● Man-in-the-middle (MitM) attack

A man in the middle (MITM) attack is a general term for when a perpetrator positions himself in a conversation between a user and an application—either to eavesdrop or to impersonate

one of the parties, making it appear as if a normal exchange of information is underway. A man-in-the-middle attack is a type of cyberattack where a malicious actor inserts

him/herself into a conversation between two parties, impersonates both parties and gains access to information that the two parties were trying to send to each other.

● Drive-by attack

Drive-by downloads are a common method of spreading malware. Cybercriminals look for insecure websites and plant a malicious script into HTTP or PHP code on one of the pages.

This script may install malware directly onto the computer of someone who visits the site, or it may take the form of an IFRAME that redirects the victim to a site controlled by the

cybercriminals. In many cases, the script is obfuscated, to make it more difficult for security researchers to analyze the code.

● SQL injection attack

SQL injection is a code injection technique, used to attack data-driven applications, in which malicious SQL statements are inserted into an entry field for execution. (Wikipedia)

SQL Injection is a web vulnerability caused by mistakes made by programmers. It allows an attacker to send commands to the database that the website or web application

communicates with. This, in turn, lets the attacker get data from the database or even modify it.

● Birthday attack

A birthday attack is a type of cryptographic attack that exploits the mathematics behind the birthday problem in probability theory. This attack can be used to abuse communication

between two or more parties. (Wikipedia) In probability theory, the birthday paradox or birthday problem considers the probability that some paired people in a set of n randomly chosen of them, will have the same birthday.

Some of the most notorious Cyber Attacks in the world include;

● Robert Tappan Morris and the Morris Worm (1988)

● MafiaBoy causes $1 billion dollars in damages

(2000)

● Teen hacks NASA and US Defense

Department

● Hacker targets Scientology

(2008)

Conclusion :

In order to defend your system from attacks, you require a proper understanding of what this offense is. Basically, the best way to evade cyber-attacks is simply to keep your applications

or software officially updated and do not download files from unknown resources. Mind where you fill in the information and mind the information you fill out, keep your virus and

your firewall up to date, have proper wifi settings, and secure password.

Comment
Mithlesh Upadhyay Published 21 Nov 2026 · 6 min read

Mithlesh Upadhyay is a Computer Science and AI expert from Madhya Pradesh with strong academic background (BE in CSE and M.Tech in AI) and over six years of experience in technical content development. He has contributed tech articles, led teams, and worked in Full Stack Development and Data Science. He founded the w3colleges.org portal for learning resources.

Related tutorials

  • Reverse path forwarding in computer networks

    When a node creates a packet and sends its copy to every node present in the same network even if they don’t want it, it is called broadcast…

    4 min read
  • Advantages and disadvantages of the Internet of Things

    Introduction : Before 21st century there were three basic requirements of humans they were food, clothing and shelter.  But now in this 21st century there is an additional…

    5 min read
  • Advantages and disadvantages of UDP

    User Diagram Protocol (UDP) may be a connectionless protocol that’s located in between application layer and IP layer. It’s mainly used for broadcasting messages over a network. aside…

    3 min read
  • Advantages and disadvantages of TCP

    Transmission Control Protocol (TCP) may be a sort of communication protocol that interconnects different networking devices. It is the essential way of how applications are getting to communicate…

    4 min read
  • Advantages and disadvantages of Barcode Reader

    Barcode reader may be a sort of scanner device that reads dark and white bars which contains pieces of data (Descriptive data of numbers and letters). It basically…

    4 min read
  • Components of Private Cloud

    Private cloud is generally used within a organization. This helps to avoid the complexities and time associated with purchase and cloud implementation of traditional physical infrastructure. Private cloud…

    3 min read