CompTIA Security+

Course
Time
10 hours 32 minutes
Difficulty
Beginner
CEU/CPE
11

Video Transcription

00:01
Welcome to Cyber Res Video Siris on the comp tier. Security plus 5 +01 Certification and exam.
00:08
00:11
00:17
The sixth domain for the Comedy of Security plus 5 +01 exam is on cryptography and P k I
00:24
Cryptography is an ancient concept dating back to the Assyrians and Egyptians.
00:29
In the beginning, the systems of cryptography were manually performed
00:33
during the 20th century. Machines a mechanical cryptography were born.
00:38
Domain six looks at how crypto is used in modern computing systems.
00:44
Cryptography is a primary security control we use every day and many times don't realize it.
00:51
This domain explores the concepts of cryptography, looks at many popular encryption methods and their applications.
00:59
In addition to being able to explain these fundamental cryptography concepts, you will begin to understand how cryptography works as a tool to protect and authenticate all types of information,
01:11
including how this protection applies to systems with no prior contact residing in separate geographical locations.
01:19
While cryptography is mathematically based,
01:22
you don't need to be a math expert. Survive this section on the security plus example,
01:30
the first part of domain six has you compare and contrast basic concepts of cryptography.
01:37
This is an overview video help you gain confidence in general cryptography terms
01:42
because of the length of number of concepts in this video, I'll split it into two parts.
01:49
In this video, I'll introduce the following concepts. Symmetric algorithms, diffusion and confusion associated with cryptography,
01:59
different modes of operation
02:00
streaming ciphers versus block, Cipher's key strength.
02:06
Asymmetric algorithms, hash ings,
02:09
elliptical curve cryptography,
02:13
key exchange and key strength.
02:15
Steganography and obfuscation,
02:17
digital signatures, session keys, secret algorithms
02:23
perfect for word secrecy
02:24
and then common use cases.
02:29
Let's get started and looking through all of these different terms and concepts associated with cryptography
02:36
as you dive into the world of cryptography, it's important to understand the difference between encoding
02:42
and encryption. Encrypting data is the method by which plain text message week messages we can read is converted from a readable form. Human form toe on included version
02:53
that can only be decoded by another person. Another entity if they have the decryption key. So encryption uses keys
03:01
while including does not. It's the process of transforming data from one form into another It's a human readable form to machine readable form, changing words into asking, for example, or binary that's encoding.
03:19
A crypto system, or cipher system provides a method for protecting information by disguising it in a format that only authorized systems were individuals can read
03:30
the use and creation of such systems is called cryptography, and it involves turning plain text
03:37
into cipher, text or encrypted text
03:39
and then the cipher text back to plain text so humans can use it or read it.
03:45
More specifically, encryption protects the confidentiality in safety safeguards. Data integrity
03:53
combined. The process of encryption is based on the following two important principles.
03:58
Confusion.
03:59
So you were. You are changing the values to confuse the reader
04:03
or diffusion. Where you're defusing, you're adding in different characters or substituting different characters. Be aware of these two terms
04:15
related to cryptography.
04:17
An algorithm is the mathematical procedure or sequence of steps taken to perform the encryption and decryption.
04:26
Practically speaking, you can think of an algorithm as a cooking recipe with the ingredients needed and step by step instructions.
04:33
These algorithms are used in conjunction with a key to encrypt and decrypt,
04:41
so the key is a secret value used within an algorithm to encrypt decrypt. We'll talk a lot more about keys through these videos,
04:51
an important principle you need to be aware of Its called Kirk Off's principal from the 19th century.
04:57
It states on Lee. The secrecy of the key provide security.
05:01
This is particularly important relation to associated algorithms. The algorithm itself does not need to be and should not be kept secret.
05:10
You just lied there in the public domain. It's the keys that need to be kept secret.
05:15
Be aware of these concepts. Let's move forward. Looking at other terms,
05:20
the first type of encryption will look at is called symmetric encryption symmetric, meaning symmetry or the same
05:28
where the same key is used for encryption
05:30
and decryption. See the graphic on your screen.
05:35
The challenge, though, is that this key needs to be kept secret, cannot be shared in the public domain, so it needs to be transferred from the sender to the receiver.
05:46
Advantages of symmetric encryption is that it's easy to implement, tends to be very fast
05:54
disadvantage. How do I get that key to that receiver off to use some other type of a channel, make sure it stays secret.
06:02
There are two main types of symmetric encryption ciphers.
06:08
First is a block,
06:10
which is chunks of data. Think of it as a page, if you will, to fixed length group of bits.
06:16
Choirs padding, though. If there's not enough data for a block, so so your block is one page and you have enough text for half of a page.
06:25
Then you need some type of padding to fill in the rest.
06:29
So there's always a set block size, say, 512 bits
06:33
would be a cent block size.
06:36
It's more complex and not quite as fast as streaming. Ciphers
06:43
may require an initialization vector talk What Ivy is a little later
06:48
contrasting. That is a stream cipher, which takes bits by bits and Crips each bit as it's coming along.
06:57
It's faster, higher performance, say, used in networking,
07:00
but it is more susceptible to malicious insertions.
07:04
Be aware of these two different types of ciphers. We'll talk more about them as we move forward through these radios.
07:12
An important concept associated with encryption is the key strength.
07:16
I think that this way, you have your own key for your house.
07:20
Shorter keys have les pins and are less secure.
07:25
Longer keys. I think of a physical key Lock has numerous pins. So is therefore harder to crack would be harder to lock. Pick.
07:34
Same idea in the computing world,
07:36
longer is better.
07:41
The key entropy or randomness is also important. You'd want someone to be able to guess your key. That's why we've introduced pseudo random numbers.
07:50
It's almost next to impossible to have a true random number on a computing system.
07:55
So we developed pseudo random numbers. It's random enough, and this random ization increases the security of keys used. An encryption, The initialization vector. It's a fixed size input of a random or pseudo random value.
08:11
08:18
assures that each message and Crips differently.
08:22
Another important term is this not a nonce. It's a number used on Lee wants to random or pseudo random number that is used once and associate ID say with a time stamp
08:33
to increase the key strength. A nonce can also be used as an I. V
08:39
earlier briefly mentioned the challenge of key exchange when talking about symmetric encryption.
08:45
How do I share my secret key with you so you can decrypt my message.
08:50
So it's this process for chairing the encryption keys
08:54
in the physical world. If I can see you can hand you the key
08:58
in the virtual world that we're separated over the Internet, how do we safely and securely share keys will go through key exchange in future videos? Two different types. One is an in bad where the key is shared in the communications channel. So when I'm sending you an encrypted message, I'll send the key with it,
09:18
as opposed to out of band, using some other transmission media that we agree upon in advance in Band has its security challenges. If someone's able to intercept the message, they can see potentially the key.
09:31
So it's a good idea to use how would have banned as much as possible. Another concept associate with cryptography and keys is Ford Secrecy,
09:41
also known as perfect Forward secrecy. It's a feature of a specific key agreement protocols that give assurances that your session keys will not be compromised. Even if the private key of the server is compromised, use your study material to review these terms. Make sure you are getting them in your mind
10:01
for the security plus exam
10:03
and as a security professional.
10:05
Further concepts associated with Keys First, a session key a randomly Jim generated to perform both encryption and decryption during the communication of a session
10:16
between parties. So right now we're going through a video session, so we just have a key on Lee Good for our video session. Once the session is over, the key is deleted
10:28
and ephemeral. Keys on Lee used for one session
10:33
Common too. Ephemeral key agreement protocols.
10:39
Asymmetric encryption is different than symmetric encryption.
10:43
Asymmetric encryption, meaning different keys. There are two keys used.
10:48
Want public key,
10:48
One private key.
10:50
I would encrypt a document using your public E. Anyone can see you're public E, but only you can decrypt it using your private or secret key.
11:03
Now both of these keys are mathematically related. We'll talk about how that works when we go through the RS a algorithm, a common asymmetric encryption method
11:13
on Lee, The private key needs to be kept secret. An asymmetric encryption,
11:18
and on Lee, it can decrypt the message. Another part of asymmetric encryption is digital signatures. Let's talk about that next
11:28
digital signatures provide non repudiation that proof that the message came from a certain entity or individual digital signatures also use public private key pairs. The differences. The message is signed. Using the sender's private
11:45
key. I'll sign a document with my private key by Secret Key only I know it.
11:50
Then you can validate that it came for me using my public key.
11:56
You can also use this for message integrity associated with hashing of the message.
12:01
By the way, digital signatures does not protect message confidentiality.
12:07
It's just proof and validation
12:09
of the center.
12:11
The purpose of P. K. I or public key infrastructure is to manage keys and certificates. Key exchange key management, particularly when you're using a lot of keys, associate with a lot of entities or individuals becomes the challenge. P k I has solved that by managing keys and certificates through a P. K. I.
12:31
An organization establishes and maintains a trustworthy
12:35
networking environment.
12:37
P K I enables the use of encryption and digital signature service is cross. A wide variety of applications and network interfaces will cover a lot more about P K I in a future video.
12:50
This concludes the first part of section 61 Compare and contrast basic concepts of cryptography. Stay tuned for the second part as we dive in further into Maur terms associated with us.

CompTIA Security+

CompTIA Security Plus certification is a great place to start learning IT or cybersecurity. Take advantage of Cybrary's free Security+ training.

Instructed By

Ron Woerner
CEO, President, Chief Consultant at RWX Security Solutions LLC
Instructor