Cloud Security: Key Concepts & Threats
Cloud Security: Key Concepts & Threats
Cloud Security
Dr. Nitish Kumar Ojha
Name of Institution
Scope
▪ Definition and need of information security
(to define and uunderstand the need)
13
Why is it Important?
▪ Over the years, the security threats (bots, spam, phishing) become a major concern.
▪ Roughly 156 million phishing emails are sent globally every day, so even if a fraction
fall for the scam, phishers score big.
▪ On average, in USA majority of the unsolicited spam e-mails account 12.08 % of global
spam volume.
(Symantec, 2017).
▪ IT threats are challenging in terms of - time and money!
12
What is Information Security in Cloud
▪ The protection of information and its critical elements, including
systems and hardware which use, store and transmit that information
in Cloud.
Necessary tools for execution
▪ Policy
▪ Awareness
▪ Education
▪ Training
▪ Technology
11
Elements of Information Security
“CIA” Triad
▪ Confidentiality
▪ Integrity
▪ Availability
10
Confidentiality
▪ Used to prevent the disclosure of information to
unauthorized individuals/systems
▪ Privacy - the owner has to decide access
Example: Password hacking in online money transactions.
14
Availability
▪ Ability of the infrastructure to function according to business
expectations during its specified time of operation.
▪ Assures that systems work promptly and services are not
denied to authorized users
Nobody can disturb the system to make it unusable.
▪ Computer viruses
▪ Trojan horses
▪ DNS poisoning
▪ Password grabbers
▪ Network worms
▪ Logic bombs
▪ Hijacked home page
▪ Password cracker
and many more ……
6
Types Of Attacks
▪ SQL Injection
▪ Dictionary attack
▪ Phishing
▪ Cross site scripting (XSS)
▪ UI redressing
and many more …….
5
Types of Attacks on System in
detail -
18
Malware
• Programs are also considered malware if they secretly act against the interests
of the computer user.
Malware
Can be loosely defined as “Malicious computer executable”
◦ A bit flexible definition
◦ Annoying software or program codes
Running a code without user’s consent
◦ “If you let somebody else execute code on your computer, then it is not your own
computer”
Not only virus or worm
◦ Sometimes known as computer contaminant
Should not be confused with defective software which contains harmful bugs
Reasons for increase
Growing number and connectivity of computers
◦ “Everybody” is connected and dependent on computers
◦ the number of attacks increase
◦ attacks can be launched easily (automated attacks)
Growing system complexity
◦ unsafe programming languages
◦ hiding code is easy
◦ verification and validation is impossible
Systems are easily extensible
◦ mobile code, dynamically loadable modules
◦ incremental evolution of systems
Top 10 Malware
• A Trojan could be a seemingly benign file downloaded off the web or a Word
doc attached to an email. Think that movie you downloaded from your
favorite P2P sharing site is safe? What about that “important” tax document
from your accountant? Think twice, because they could contain a virus.
• Is a worm a virus?
• Worms are not viruses, though the terms are sometimes used interchangeably.
• Even worse, the terms are sometimes used together in a strange and
contradictory word salad; i.e. a “worm virus malware.” It’s either a worm or a
virus, but it can’t be both, because worms and viruses refer to two similar but
different threats. As mentioned earlier, a virus needs a host system to replicate
and some sort of action from a user to spread from one system to the next.
• Does the virus prevent victims from accessing their system or personal files
and demands ransom payment in order to regain access à la ransomware? If
so, then it’s a ransomware virus. In fact, the very first ransomware was a virus
(more on that later).
• The Y2K bug famously caused programs to display the wrong date, because the
programs could only manage dates through the year 1999. After 1999 the year
rolled over like the odometer on an old car to 1900. While the Y2K bug was
relatively harmless, some software bugs can pose a serious threat to consumers.
Cybercriminals can take advantage of bugs in order to gain unauthorized access to a
system for the purposes of dropping malware, stealing private information, or
opening up a backdoor. This is known as an exploit.
Do Macs get malware?
What is Non-Repudiation?
• Non-repudiation is the ability to prevent an electronic message or transaction
that someone cannot deny the validity of something.
• It ensures that both the sender and the recipient of the information will receive
proof of delivery and the sender’s identity, so nobody may deny processing the
information at a later time.
• Online Transactions: Digital signatures are created to join a public key with an
encrypted key, ensuring that parties cannot be challenged in the future for the
authenticity of a signature or the transmission of information.
• Digital Contracts and Email: Email methods of surveillance are part of the non-
repudiation process. A signed message cannot be returned or sent back without the
signature of the sender and the recipient.
• Pillars of Non-Repudiation
• Verification: Nonrepudiation is ensuring that users are genuinely who they
claim to be, using methods like passwords, usernames, digital certificates, and
security tokens.
• Non-denial: This prohibits people from being able to retract their actions
because the system records each action they perform.
• Benefits Of Non-repudiation
• Nonrepudiation is mostly accomplished through cryptography, like digital
signatures, and consists of other services for authentication, auditing, and
logging.
• Only the private key holder can access and create this signature that proves a
document was electronically signed and verified.
• In the computer systems, internet worm overloaded about 10% of the system
on the network, causing them to be non responsive to the need of users is an
example of denial of service.
• 2. Loss of Data Processing Capabilities:
• The loss of data processing capabilities are generally caused by the natural
disasters or human actions is perhaps more common.
access reference
subject object
request monitor
51
Basic Terminology Department of Computer
Science and Engineering
52
Simple analogy Department of Computer
Science and Engineering
53
Options for Focusing Control
Department of Computer
Science and Engineering
55
Department of Computer
BLP Access Rights and Modes Science and Engineering
➢Write access usually includes read access. Hence, the write right includes observe and alter
mode.
➢Few systems implement append. Allowing users to alter an object without observing its
content is rarely useful (exception: audit log).
➢A file can be used without being opened and read. Example: use of a cryptographic key.
This can be expressed by an execute right that includes neither observe nor alter mode.
56
Who Sets the Policy?
Department of Computer
Science and Engineering
Security policies specify how subjects access objects. There are two
mechanisms for deciding who is in charge of setting the policy:
57
Access Control Structures
Department of Computer
Science and Engineering
▪ You should be able to check that your policy has been captured correctly.
• S … set of subjects
• O … set of objects
• A … set of access operations
• Access control matrix: M = (Mso)sS,oO,
Mso A; Mso specifies the operations subject s may perform on object o.
• The access control matrix is
• an abstract concept
• not very suitable for direct implementation
• Management of the matrix is likely to be extremely difficult if there are ten thousands
of files and hundreds of users (resulting in millions of matrix entries)
• The matrix is likely to be extremely sparse and therefore implementation is inefficient
• What is Defense-in-depth –
• Defense-in-depth is an information assurance strategy that provides multiple,
redundant defensive measures in case a security control fails or a vulnerability
is exploited. It originates from a military strategy by the same name, which
seeks to delay the advance of an attack, rather than defeating it with one
strong line of defense.
• Least privilege extends beyond human access. The model can be applied to
applications, systems or connected devices that require privileges or
permissions to perform a required task. Least privilege enforcement ensures
the non-human tool has the requisite access needed – and nothing more.
Department of Computer
Science and Engineering
• Cloud security is the complete set of interrelated policies, tools, processes, and
personnel for protecting cloud computing environments from harm. It applies to
every part of the cloud computing stack, from networking and storage (cloud
infrastructure) all the way up to data and applications.
• The latter components help defend against certain sophisticated threats in the
cloud, protect a dissipating network perimeter, and properly distribute security
responsibilities between cloud service providers and their customers.
Department of Computer
• Ensure cloud data, users, and underlying systems are sufficiently secured
against threats such as bot-driven distributed denial-of-service (DDoS)
attacks, API exploitation, and data corruption vulnerabilities.
• Provide visibility across the cloud environment, so security teams know what
requests are being made via APIs and user interfaces, while also being able to view
related analytics.
• Enforce access controls and authentication for cloud users and their devices, no
matter their locations; this is often done via a zero trust security model
• In each area for which it is responsible, the provider or customer will take
care of specific technical components that either secure the cloud apps
themselves or secure access to them.
Department of Computer
Science and Engineering
• What is Cloud ?
➢ Cryptography refers to the science and art of transforming messages to make them
secure and immune to attacks. It is the study of
➢ Secret (crypto-) writing (-graphy)
➢ It can be described as the study of protecting information weather in transit or at
rest, by using techniques to render the information unusable to anyone who does not
possess the means to decrypt it. Encryption Decryption
➢ Encryption
▪ Scrambling a message or data using a specialized cryptographic algorithm.
➢ Plaintext
▪ The message or data before it gets encrypted.
➢ Ciphertext
▪ The encrypted version of the message.
➢ Cipher
▪ The algorithm that does the encryption.
➢ Decryption
▪ The process of converting ciphertext back to the original plaintext.
Basics of Cryptography Department of Computer
Science and Engineering
86
Department of Computer
The General Goals of Cryptography Science and Engineering
➢ Confidentiality
C I
▪ Assuring that only authorized parties are able to understand the data. S
➢ Integrity
A
▪ Ensuring that when a message is sent over a network, the message that
arrives is the same as the message that was originally sent.
S = Secure
➢ Availability
▪ Can access data whenever need it?
❑ Other security components added to CIA to be complete as CIAAAN
✓ Authentication: Ensuring that whoever supplies or accesses sensitive data is an authorized party.
✓ Authorization: Ensuring the users permission to access a resource.
✓ Non-repudiation: Ensuring that the intended recipient actually received the message & ensuring that the
sender actually sent the message.
Department of Computer
Types of Ciphers Science and Engineering
➢ Major Challenges
▪ Key distribution- It requires a secure mechanism to deliver keys properly.
▪ Scalability- Each pair of users needs a unique pair of keys, so the number of keys grow exponentially.
➢ Examples of symmetric algorithms are as follows: (EXTENDED LEARNING)
▪ DES (Data Encryption Standard)
▪ AES (Advanced Encryption Standard)
Department of Computer
Types of Symmetric Algorithms Science and Engineering
DES AES
➢ Designed by IBM in the 1970s and adopted ➢ AES was announced by National Institute of
by the National Institute for Standards and Standards and Technology on November 26,
Technology (NIST)] in 1977 for commercial 2001.
and unclassified government applications.
➢ AES is a block cipher with a block length of
➢ DES is a block-cipher employing a 56- bit
key that operates on 64-bit blocks. 128 bits.
➢ It allows for three different key lengths: 128,
➢ DES results in a permutation among the 264
possible arrangements of 64 bits, each of 192, or 256 bits.
which may be either 0 or 1 ➢ Encryption consists of 10 rounds of
➢ Triple DES (3DES) is an enhanced version processing for 128-bit keys, 12 rounds for
of DES which applies the Data Encryption 192-bit keys, and 14 rounds for 256- bit keys.
Standard (DES) cipher algorithm three
times to each data block.
Department of Computer
Asymmetric Key Encryption Science and Engineering
➢ Asymmetric encryption uses a key pair (Public key and Private key) .
➢ The two different asymmetric keys are mathematically related but cannot be derived
from each other.
➢ Each key type can be used to encrypt and decrypt. If data is encrypted with a private
key, it must be decrypted with the corresponding public key and vice versa.
➢ Better key distribution and scalability than symmetric systems.
➢ Works much slower than symmetric systems.
➢ Examples of asymmetric key algorithms:
▪ RSA
▪ Elliptic Curve Cryptosystem (ECC)
Department of Computer
Common Asymmetric Algorithms Science and Engineering
➢ Cryptographic hashing functions are used to ensure the integrity of data using an
integrity checksum.
➢ Hashing functions are one-way functions. This means that the ciphertext (i.e., the
checksum) cannot be used to reconstruct the plaintext.
➢ The checksum (the ciphertext) is much smaller than the plaintext.
➢ Hashing functions provide a kind of digital fingerprint.
➢ The security of the hashing function is related to the size of the resulting checksum
(in bits).
➢ Examples of Hashing Algorithms: (Extended Learning)
▪ MD5 (Message-Digest algorithm 5)
▪ SHA (Secure Hash Algorithm)
Hashing Algorithms
Department of Computer
Science and Engineering
SHA MD5
⚫ 128- bit hash value typically
⚫ SHA-1 produces a 160-bit hash value. expressed as a 32-digit hexadecimal
number.
⚫ SHA-256 uses 32-bit words.
⚫ MD5 processes a variable-length message
⚫ SHA-512 uses 64-bit words. into a fixed-length output of 128 bits.
➢ Goals
▪ It should be proof of authenticity and should be impossible to forge.
▪ It should be impossible to alter the signed document without detection.
▪ It should be impossible to transplant the signature to another document.
➢ Technology
▪ A hash function to help generate the digital signature, S.
▪ Symmetric (secret key) cryptography to encrypt the message, M.
▪ Public key cryptography to share the secret key used to encrypt and decrypt the message, M.
▪ Public key cryptography to encrypt and decrypt the digital signature, S.
Department of Computer
Public Key Infrastructure (PKI) Science and Engineering