Unit - 2
Unit - 2
Cyber Attacks
Dr. Ravirajsinh S. Vaghela
What Is The CIA Triad
The three letters in "CIA triad" stand for Confidentiality, Integrity, and
Availability. The CIA triad is a common model that forms the basis
for the development of security systems. They are used for finding
vulnerabilities and methods for creating solutions.
Ideally, when all three standards have been met, the security profile
of the organization is stronger and better equipped to handle threat
incidents.
Confidentiality refers to
For example, those who work with an organization’s finances should be able to access
the spreadsheets, bank accounts, and other information related to the flow of money.
However, the vast majority of other employees—and perhaps even certain
executives—may not be granted access. To ensure these policies are followed, stringent
restrictions have to be in place to limit who can see what.
There are several ways confidentiality can be compromised
However, not all violations of confidentiality are intentional. Human error or insufficient security
controls may be to blame as well.
For example, someone may fail to protect their password—either to a workstation or to log in
to a restricted area. Users may share their credentials with someone else, or they may allow
someone to see their login while they enter it.
In other situations, a user may not properly encrypt a communication, allowing an attacker to
intercept their information. Also, a thief may steal hardware, whether an entire computer or a
device used in the login process and use it to access confidential information.
To fight against confidentiality breaches, you can classify and label restricted data, enable access
control policies, encrypt data, and use multi-factor authentication (MFA) systems.
It is also advisable to ensure that all in the organization have the training and knowledge they
need to recognize the dangers and avoid them.
1. Encryption Algorithms
AES (Advanced Encryption Standard): Widely used symmetric-key encryption
standard for protecting data at rest and in transit.
RSA (Rivest-Shamir-Adleman): An asymmetric encryption algorithm used to
encrypt and securely exchange keys.
ECC (Elliptic Curve Cryptography): A more efficient alternative to RSA, offering the
same level of security with shorter keys.
Hybrid Encryption: Combines asymmetric encryption (for key exchange) with
symmetric encryption (for bulk data encryption), often used in protocols like
SSL/TLS.
2. Secure Communication Protocols
SSL/TLS (Secure Sockets Layer / Transport Layer Security): Provides
encryption for data transmitted over networks like the web (HTTPS).
SSH (Secure Shell): Used for secure remote access to servers, ensuring
confidentiality of the data exchanged between the client and server.
3. Data Masking and Tokenization
Involves replacing sensitive data with
fictitious, but realistic data.
Replaces sensitive
information with tokens
that are meaningless to
unauthorized users but
can be mapped back to
original data when
needed.
4. Access Control Mechanisms
Role-Based Access Control (RBAC): Ensures that only authorized users can
access specific data or systems based on their roles.
SHA (Secure Hash Algorithms): Generate a unique hash for a file or message,
ensuring its integrity. If the data is altered, the hash will change, revealing potential
tampering.
Pseudonymization: Replaces PII with artificial identifiers to ensure that data can’t
be linked to a specific person without additional information.
2. Integrity
Integrity involves making sure your data is trustworthy and free from tampering.
The integrity of your data is maintained only if the data is authentic, accurate,
and reliable.
An attacker may bypass an intrusion detection system (IDS), change file configurations to allow unauthorized access, or alter the
logs kept by the system to hide the attack. Integrity may also be violated by accident. Someone may accidentally enter the wrong
code or make another kind of careless mistake. Also, if the company’s security policies, protections, and procedures are
inadequate, integrity can be violated without any one person in the organization accountable for the blame.
To protect the integrity of your data, you can use hashing, encryption, digital certificates, or digital signatures.
For websites, you can employ trustworthy certificate authorities (CAs) that verify the authenticity of your website so visitors know
they are getting the site they intended to visit.
A method for verifying integrity is non-repudiation, which refers to when something cannot be repudiated or denied.
For example, if employees in your company use digital signatures when sending emails, the fact that the email came from them
cannot be denied. Also, the recipient cannot deny that they received the email from the sender.
Integrity
Even if data is kept confidential and its integrity maintained, it is often useless unless it is available to those in the
organization and the customers they serve.
This means that systems, networks, and applications must be functioning as they should and when they should.
Also, individuals with access to specific information must be able to consume it when they need to, and getting to the
data should not take an inordinate amount of time.
If, for example, there is a power outage and there is no disaster recovery system in place to help users regain access
to critical systems, availability will be compromised.
Also, a natural disaster like a flood or even a severe snowstorm may prevent users from getting to the office, which
can interrupt the availability of their workstations and other devices that provide business-critical information or
applications.
Availability can also be compromised through deliberate acts of sabotage, such as the use of denial-of-service (DoS)
attacks or ransomware.
Integrity
To ensure availability, organizations can use redundant networks, servers, and
applications.
These can be programmed to become available when the primary system has
been disrupted or broken.
You can also enhance availability by staying on top of upgrades to software
packages and security systems.
In this way, you make it less likely for an application to malfunction or for a
relatively new threat to infiltrate your system.
Backups and full disaster recovery plans also help a company regain availability
soon after a negative event.
Cryptographic Hash Functions
SHA (Secure Hash Algorithms): Algorithms like SHA-256, SHA-3, and SHA-512
are widely used to create unique hashes for data. Even a small change in the
input results in a completely different hash, ensuring that data has not been
altered.
MD5 (Message Digest Algorithm 5): Historically used for hashing, though it's
now considered less secure due to vulnerabilities that allow hash collisions.
HMAC (Hash-based Message Authentication Code): Combines a cryptographic hash function with a secret
key to ensure data integrity and authenticity. It's often used in network protocols to verify data has not
been altered.
CMAC (Cipher-based Message Authentication Code): Similar to HMAC but uses symmetric key algorithms
like AES.
3. Digital Signatures
RSA Digital Signature: Uses public-key cryptography for creating a signature that can be verified by anyone, ensuring
that the data has not been tampered with.
DSA (Digital Signature Algorithm): A Federal Information Processing Standard for creating and verifying digital
signatures.
ECDSA (Elliptic Curve Digital Signature Algorithm): A variant of DSA that uses elliptic curve cryptography for more
efficient and secure signatures.
4. Checksums
Subversion (SVN): Another version control system that ensures the integrity of
files and directories in collaborative environments.
7. End-to-End Encryption (E2EE)
Transport Layer Security (TLS/SSL): Provides integrity checks along with
confidentiality during data transmission, ensuring that data has not been altered
while in transit.
PGP (Pretty Good Privacy): Used to encrypt and verify the integrity of email
messages, ensuring they have not been tampered with.
An email-related certification that signifies security against spoofing is called a DMARC (Domain-based
Message Authentication, Reporting, and Conformance) record; it essentially acts as a standard to verify
the authenticity of emails sent from a specific domain, preventing malicious actors from sending emails
appearing to be from that domain.
8. File Integrity Monitoring Tools
Tripwire: A commercial software used for monitoring and ensuring file integrity by
detecting and alerting about any unauthorized modifications.
[Link]
Availability
Availability
Goal: Ensure that the data and services are always accessible and operational.
Focus: Making sure that disruptions (like downtime) are minimized, and systems
remain accessible even under adverse conditions.
Attack on Availability
Denial of Service (DoS) Attack:
Imagine a website for an online store is being targeted by a DDoS attack, where a large number of fake traffic
requests are sent to overwhelm the server and make it unavailable to legitimate users.
In this case, the availability of the site is compromised because users can’t access the online store. The organization
may use firewalls, load balancers, or anti-DDoS technologies (like Cloudflare or AWS Shield) to mitigate such attacks
and ensure continuous availability.
Cloud platforms, such as Amazon Web Services (AWS) or Microsoft Azure, are used to host applications and data. If
these services experience a downtime due to a network failure or hardware issues, the availability of applications
hosted on the platform is impacted.
To address this, businesses often implement strategies like failover systems (where backup servers or sites take over
if the primary site fails) and redundancy (where critical systems and data are duplicated in different locations to
prevent a single point of failure).
Technologies and Methods to Ensure Availability:
Load Balancing: Distributes network traffic across multiple servers to ensure that no single server is overwhelmed, helping
maintain consistent availability even during peak traffic periods.
Redundancy: Critical systems, such as servers and storage, can be duplicated (using RAID configurations, for example) to ensure
that if one component fails, the backup takes over without affecting availability.
Backup Systems: Regular backups are vital to ensure that data is not lost in case of failures, and services can be quickly restored
to full operation.
Disaster Recovery (DR) Plans: Plans and systems in place to quickly recover services in the event of a catastrophic failure (e.g., a
natural disaster or hardware crash).
Load Balancing:
Distributes incoming network traffic across multiple servers to prevent any single server from becoming a bottleneck or point of failure.
DNS-based Load Balancing (e.g., AWS Route 53) – Uses DNS to direct users to different data centers based on proximity, availability, or load.
Application Load Balancers (e.g., HAProxy, Nginx, AWS ELB) – Acts as a reverse proxy and forwards requests to multiple backend servers based
on various load-balancing algorithms.
How it Ensures Availability: If one server fails or becomes slow, the load balancer redirects traffic to healthy servers, ensuring the application remains
available.
Clustering:
Database Clustering (e.g., MySQL Cluster, PostgreSQL Replication) – Databases are replicated across multiple servers
to ensure availability and scalability.
Web Server Clusters (e.g., Apache, Nginx with backend servers) – Web servers are clustered, so if one web server fails,
the others can handle the load.
How it Ensures Availability: Clusters can handle server failures by redistributing tasks to healthy nodes, ensuring service
continuity.
Failover Mechanisms:
Automatically switches to a redundant or standby
system in case the primary system fails.
Heartbeat/Corosync (for Linux clusters) – Monitors
nodes in a cluster and automatically triggers failover to
a backup node if the primary node fails.
Virtual IP Failover (e.g., Keepalived, Pacemaker) –
Virtual IPs can float between servers; if one server fails,
the IP is assigned to another server to minimize
downtime.
How it Ensures Availability: Ensures that if one
system goes down, its workload is immediately taken
over by another, maintaining service availability.
Data Replication and Mirroring:
How it Ensures Availability: Even if one server or region goes down, users are
routed to another server, maintaining availability for static content.
Leader Election Algorithm:
Purpose: Used in distributed systems to elect a leader node that will manage
critical tasks and make decisions. If the leader fails, a new leader is elected.
Algorithm
Paxos – A consensus algorithm used for ensuring that a group of computers
agrees on a single leader and can continue functioning correctly in the event of
failure.
Raft – A simpler consensus algorithm that ensures high availability by electing a
leader to coordinate updates in a cluster of nodes.
How it Ensures Availability: It helps distributed systems make decisions about who
will be responsible for managing tasks in case of node failures.
Quorum-Based Voting Algorithm:
Purpose: Used in systems where multiple replicas are involved (such as
databases) to ensure consistency and availability.
Algorithm Examples:
Quorum-based Replication (e.g., Cassandra, MongoDB) – Requires a majority of
nodes (quorum) to agree on a transaction or change before it is considered
successful.
How it Ensures Availability: This allows systems to tolerate some node failures
while still being able to process requests as long as a majority of replicas are
available.
Consistent Hashing:
Purpose: Used for efficiently distributing data across multiple servers or nodes,
even as the number of nodes changes.
Algorithm:
Consistent Hashing (used in distributed caching systems like Memcached) –
Ensures that data is distributed evenly across servers and minimizes disruption if
a node is added or removed.
How it Ensures Availability: It helps maintain data availability and reduces the
need for rebalancing when nodes are added or removed, ensuring that user
requests are still served.
Heartbeat Algorithm:
A periodic check to determine whether a node or server is alive or has failed.
Authentication involves a user providing information about who they are. Users
present login credentials that affirm they are who they claim. As an identity and
access management (IAM) tool, a AAA server compares a user’s credentials with
its database of stored credentials by checking if the username, password, and
other authentication tools align with that specific user.
The three types of authentication include something you know, like a password,
something you have, like a Universal Serial Bus (USB) key; and something you
are, such as your fingerprint or other biometrics.
Authorization
Accounting keeps track of user activity while users are logged in to a network by
tracking information such as how long they were logged in, the data they sent or
received, their Internet Protocol (IP) address, the Uniform Resource Identifier
(URI) they used, and the different services they accessed.
Accounting may be used to analyze user trends, audit user activity, and provide
more accurate billing. This can be done by leveraging the data collected during the
user’s access. For example, if the system charges users by the hour, the time logs
generated by the accounting system can report how long the user was logged in to
the router and inside the system, and then charge them accordingly.
Why Is The AAA Framework Important In Network Security?
AAA is a crucial part of network security because it limits who has access to a system and keeps track of their activity.
In this way, bad actors can be kept out, and a presumably good actor that abuses their privileges can have their
activity tracked, which gives administrators valuable intelligence about their activities.
There are two main types of AAA for networking: network access and device administration.
Network access
Network access involves blocking, granting, or limiting access based on the credentials of a user. AAA verifies the
identity of a device or user by comparing the information presented or entered against a database of approved
credentials. If the information matches, access to the network is granted.
Device administration
Device administration involves the control of access to sessions, network device consoles, secure shell (SSH), and
more. This type of access is different from network access because it does not limit who is allowed into the network
but rather which devices they can have access to.
Types Of AAA Protocols
There are several protocols that incorporate the elements of AAA to ensure identity security.
RADIUS is a networking protocol that performs AAA functions for users on a remote network using a client/server model. RADIUS simultaneously provides authentication and
authorization to users trying to access the network. RADIUS also takes all AAA data packets and encrypts them, providing an extra level of security.
RADIUS works in three phases: the user sends a request to a network access server (NAS), the NAS then sends a request for access to the RADIUS server, which responds
to the request by either accepting it, rejecting it, or challenging it by asking for more information.
Diameter
The Diameter protocol is a AAA protocol that works with Long-Term Evolution (LTE) and multimedia networks. Diameter is an evolution of RADIUS, which has long been used
for telecommunications. However, Diameter is custom-designed to optimize LTE connections and other kinds of mobile networks.
Similar to RADIUS, TACACS+ uses the client/server model to connect users. However, TACACS+ enables more control regarding the ways in which commands get
authorized. TACACS+ works by providing a secret key known by the client and the TACACS+ system. When a valid key is presented, the connection is allowed to proceed.
TACACS+ separates the authentication and authorization processes, and this differentiates it from RADIUS, which combines them. Also, TACACS+, like RADIUS, encrypts its
AAA packets.
Financial Fraud with Various type of Ponzi
Schemes
[Link]
[Link]
[Link]
[Link]
[Link]
CloneJournalsGroupIINew
[Link]
m-tracker/
[Link]
currency-scams
Investment Scams - Pyramid Schemes
Modus Operandi
Structure and Operation A single person or entity (the "Ponzi operator") Participants are encouraged to recruit
convinces investors to invest their money by new members into the scheme.
promising high returns.
Focus of Recruitment The primary focus is on attracting new investors The emphasis is on recruitment and
and convincing them to invest their money expanding the participant base.
Returns on investment/ It does not involve any legitimate The funds collected from new
Revenue generation revenue-generating activity. The funds collected participants are used to pay
from new investors are used to pay returns to commissions & bonuses to existing
earlier investors, creating the illusion of profits. participants. The products or services
offered are often of little value or merely
a front to legitimize the scheme.
Romance Scams & “Pig-Butchering” Operations
In romance scams, the scammer forms a romantic relationship with the victim, typically through dating or
social media apps. These relationships often develop extremely quickly, with the scammer professing love
early in the relationship. Scammers use various manipulative techniques to build trust. Once the scammer
has developed a hold on the victim, they claim to need money for any number of reasons, including to visit
the victim, assist a sick family member, or help with another financial hardship. The scammer claims they
need the funds urgently, convinces the victim to send funds using cryptocurrency, and upon receiving
them, is never heard from again.
In pig butchering scams, victims are approached on dating, social media, or messaging apps and lured
into making larger and larger investments. The term “pig-butchering” is based on the practice of fattening a
hog before slaughter. At first, the scammer will make sure to post what looks like a gain on the investment.
The scammer may even allow the victim to withdraw money once or twice to convince them the
investment is safe and induce them to invest more additional funds—sometimes hundreds of thousands of
dollars. At that point, the victim’s funds have been stolen by the scammer. The victim’s pleas for the return
of their funds result only in demands for more money, often in fabricated taxes and fees.
How to Spot and Avoid a Romance or “Pig-Butchering” Scam:
❏ Tell the person that you don’t have any money to invest right now; if they
disappear, they were probably trying to scam you.
❏ Relationships that develop quickly are a scam warning sign, especially if the
person asks for money or refuses to video chat.
❏ Try using a reverse image search to see if the person is using someone else’s
photo.
❏ If you’re asked to pay taxes and fees to withdraw your money, it is likely a
scam.
❏ Use extreme caution when considering large cryptocurrency investments.
❏ If an investment seems too good to be true, it probably is.
Impersonation Scams
In an impersonation scam, scammers pose as law enforcement, the IRS, pension
agencies, utility companies, established businesses, financial institutions, or
similar organizations. Under these guises, scammers create a false sense of
urgency by claiming that the victim needs to settle debts (e.g., pay taxes or an
outstanding bill).
How to Spot and Avoid an Impersonation Scam:
Chit funds are a popular savings scheme in India, but many fraudulent chit funds
have surfaced where organizers disappear with the pooled money, leaving
investors with huge losses.
Banking Fraud (Phishing/ Vishing)
Scammers may create fictitious investment funds, claiming to have professional fund
managers and promising high returns. They may use fake testimonials, impressive
websites, and fabricated performance reports to convince individuals to invest. Once
funds are deposited, the scammers disappear or make it difficult for investors to
withdraw their money.
Modus Operandi
Contact: Scammers reach out to potential victims through unsolicited emails, social
media messages, or online ads.
Investment Request: They persuade victims to invest money, often through large
initial deposits or encouraging recruitment of others.
Delaying Withdrawals: When victims try to withdraw funds, scammers use various
tactics to delay or refuse withdrawals.
Disappearance: Eventually, the scammers vanish with the collected funds or shut
down the scheme to avoid detection.
Cryptocurrency Scams:
With the rise of cryptocurrencies, many fraudulent schemes have emerged where
scammers promise high returns on crypto investments or run fake exchanges to
steal users’ funds.
Loan App Scams
Fraudulent loan apps offer quick loans at high interest rates. These apps then
harass borrowers for repayment, using abusive tactics, or steal personal data.
Employment and Online Job Scams
Scammers offer fake job opportunities that require the payment of registration fees or upfront training costs. After the
Fraudulent online shopping websites or platforms take payments but do not deliver
the goods or services as promised. These scams often occur on lesser-known
websites or via social media advertisements.
Insurance Scams
Fraudsters offer attractive loan schemes with low interest rates, particularly
targeting people with poor credit histories. They demand an advance fee or
processing charges but never provide the loan.
Charity and Donation Scams
Victims receive calls, emails, or messages stating they have won a lottery or prize
and are asked to pay taxes or processing fees before receiving the winnings. In
reality, there is no prize.
The “KBC Lottery” scam, where people receive fake calls claiming to have won a
large sum from Kaun Banega Crorepati, but are asked to pay a processing fee.
Real Estate Scams
Fraudsters sell property that either doesn’t exist or isn’t legally owned by them.
Buyers invest large sums in such projects, only to find out later that they have
been duped. The Adarsh Housing Society scam in Mumbai, where flats meant for
war widows were sold to politicians and bureaucrats through fraudulent means.
Pension Scams
Fraudsters obtain a duplicate SIM card by impersonating the victim, allowing them
to intercept OTPs and gain access to the victim’s bank accounts.
Initial Coin Offerings (“ICOs”) are the cryptocurrency equivalent of an initial public offering
for stocks. Investors in an ICO are invited to buy a new cryptocurrency from, or get a
stake in, a company representing a project. This, on its face, is not necessarily a scam.
However, scammers may use ICOs as an opportunity.
One type of ICO scam, commonly referred to as a “pump and dump” scheme, involves a
scammer convincing many people to invest in an ICO to drive up the price of the coin.
The scammer then quickly sells off all their own holdings, thereby destroying the value of
the coin and leaving the rest of the investors with nothing.
Investing in a new coin is inherently risky as most coins have no real value. Investment
fraud involving cryptocurrency, such as ICOs, rose by nearly 200% from $907 million in
2021 to $2.57 billion in 2022, according to the FBI’s annual Internet Crime Report.
[Link]
[Link]
n-and-accounting/
[Link]
L/Content/802.1X%20Authentication/About_AAA.htm
[Link]
[Link]