ISC certification · Exam SSCP

SSCP Mock Exam Page 23

System Security Certified Practitioner

Free SSCP mock exam questions 221–230, each with the answer and an explanation.

20 questions · 33 minutes · free, no sign-up

Free SSCP questions

221–230 of 313 free
Question 221 Choose 1

This type of attack is generally most applicable to public-key cryptosystems, what type of
attack am I ?

Show answerHide answer

Correct answer: A

Chosen-Ciphertext attack

Explanation

A chosen-ciphertext attack is one in which cryptanalyst may choose a piece
of ciphertext and attempt to obtain the corresponding decrypted plaintext. This type of
attack is generally most applicable to public-key cryptosystems.
A chosen-ciphertext attack (CCA) is an attack model for cryptanalysis in which the
cryptanalyst gathers information, at least in part, by choosing a ciphertext and obtaining its
decryption under an unknown key. In the attack, an adversary has a chance to enter one or
more known ciphertexts into the system and obtain the resulting plaintexts. From these
pieces of information the adversary can attempt to recover the hidden secret key used for
decryption.
A number of otherwise secure schemes can be defeated under chosen-ciphertext attack.
For example, the El Gamal cryptosystem is semantically secure under chosen-plaintext
attack, but this semantic security can be trivially defeated under a chosen-ciphertext attack.
Early versions of RSA padding used in the SSL protocol were vulnerable to a sophisticated
adaptive chosen-ciphertext attack which revealed SSL session keys. Chosen-ciphertext
attacks have implications for some self-synchronizing stream ciphers as well. Designers of
tamper-resistant cryptographic smart cards must be particularly cognizant of these attacks,
as these devices may be completely under the control of an adversary, who can issue a
large number of chosen-ciphertexts in an attempt to recover the hidden secret key.
According to RSA:
Cryptanalytic attacks are generally classified into six categories that distinguish the kind of
information the cryptanalyst has available to mount an attack. The categories of attack are
listed here roughly in increasing order of the quality of information available to the
cryptanalyst, or, equivalently, in decreasing order of the level of difficulty to the cryptanalyst. The objective of the cryptanalyst in all cases is to be able to decrypt new
pieces of ciphertext without additional information. The ideal for a cryptanalyst is to extract
the secret key.
A ciphertext-only attack is one in which the cryptanalyst obtains a sample of ciphertext,
without the plaintext associated with it. This data is relatively easy to obtain in many
scenarios, but a successful ciphertext-only attack is generally difficult, and requires a very
large ciphertext sample. Such attack was possible on cipher using Code Book Mode where
frequency analysis was being used and even thou only the ciphertext was available, it was
still possible to eventually collect enough data and decipher it without having the key.
A known-plaintext attack is one in which the cryptanalyst obtains a sample of ciphertext
and the corresponding plaintext as well. The known-plaintext attack (KPA) or crib is an
attack model for cryptanalysis where the attacker has samples of both the plaintext and its
encrypted version (ciphertext), and is at liberty to make use of them to reveal further secret
information such as secret keys and code books.
A chosen-plaintext attack is one in which the cryptanalyst is able to choose a quantity of
plaintext and then obtain the corresponding encrypted ciphertext. A chosen-plaintext attack
(CPA) is an attack model for cryptanalysis which presumes that the attacker has the
capability to choose arbitrary plaintexts to be encrypted and obtain the corresponding
ciphertexts. The goal of the attack is to gain some further information which reduces the
security of the encryption scheme. In the worst case, a chosen-plaintext attack could reveal
the scheme's secret key.
This appears, at first glance, to be an unrealistic model; it would certainly be unlikely that
an attacker could persuade a human cryptographer to encrypt large amounts of plaintexts
of the attacker's choosing. Modern cryptography, on the other hand, is implemented in
software or hardware and is used for a diverse range of applications; for many cases, a
chosen-plaintext attack is often very feasible. Chosen-plaintext attacks become extremely
important in the context of public key cryptography, where the encryption key is public and
attackers can encrypt any plaintext they choose.
Any cipher that can prevent chosen-plaintext attacks is then also guaranteed to be secure
against known-plaintext and ciphertext-only attacks; this is a conservative approach to
security.
Two forms of chosen-plaintext attack can be distinguished:
Batch chosen-plaintext attack, where the cryptanalyst chooses all plaintexts before any ofthem are encrypted. This is often the meaning of an unqualified use of "chosen-plaintext
attack".
Adaptive chosen-plaintext attack, is a special case of chosen-plaintext attack in which the
cryptanalyst is able to choose plaintext samples dynamically, and alter his or her choices
based on the results of previous encryptions. The cryptanalyst makes a series of interactive
queries, choosing subsequent plaintexts based on the information from the previous
encryptions.
Non-randomized (deterministic) public key encryption algorithms are vulnerable to simple
"dictionary"-type attacks, where the attacker builds a table of likely messages and their
corresponding ciphertexts. To find the decryption of some observed ciphertext, the attacker
simply looks the ciphertext up in the table. As a result, public-key definitions of security
under chosen-plaintext attack require probabilistic encryption (i.e., randomized encryption).
Conventional symmetric ciphers, in which the same key is used to encrypt and decrypt a
text, may also be vulnerable to other forms of chosen-plaintext attack, for example,
differential cryptanalysis of block ciphers.
An adaptive-chosen-ciphertext is the adaptive version of the above attack. A cryptanalyst
can mount an attack of this type in a scenario in which he has free use of a piece of
decryption hardware, but is unable to extract the decryption key from it.
An adaptive chosen-ciphertext attack (abbreviated as CCA2) is an interactive form of
chosen-ciphertext attack in which an attacker sends a number of ciphertexts to be
decrypted, then uses the results of these decryptions to select subsequent ciphertexts. It is
to be distinguished from an indifferent chosen-ciphertext attack (CCA1).
The goal of this attack is to gradually reveal information about an encrypted message, or
about the decryption key itself. For public-key systems, adaptive-chosen-ciphertexts are
generally applicable only when they have the property of ciphertext malleability — that is, a
ciphertext can be modified in specific ways that will have a predictable effect on the
decryption of that message.
A Plaintext Only Attack is simply a bogus detractor. If you have the plaintext only then there
is no need to perform any attack.
References:
RSA Laboratories FAQs about today's cryptography: What are some of the basic types of
cryptanalytic attack?also see:
http://www.giac.org/resources/whitepaper/cryptography/57.php
and
http://en.wikipedia.org/wiki/Chosen-plaintext_attack

Question 222 Choose 1

Which of the following is the most secure form of triple-DES encryption?

Show answerHide answer

Correct answer: A

DES-EDE3

Explanation

Triple DES with three distinct keys is the most secure form of triple-DES
encryption. It can either be DES-EEE3 (encrypt-encrypt-encrypt) or DES-EDE3 (encryptdecrypt-
encrypt). DES-EDE1 is not defined and would mean using a single key to encrypt,
decrypt and encrypt again, equivalent to single DES. DES-EEE4 is not defined and DESEDE2
uses only 2 keys (encrypt with first key, decrypt with second key, encrypt with first
key again).
Source: DUPUIS, Cl?ment, CISSP Open Study Guide on domain 5, cryptography, April
1999.

Question 223 Choose 1

Which of the following offers confidentiality to an e-mail message?

Show answerHide answer

Correct answer: C

The sender encrypting it with the receiver's public key.

Explanation

An e-mail message's confidentiality is protected when encrypted with the
receiver's public key, because he is the only one able to decrypt the message. The sender
is not supposed to have the receiver's private key. By encrypting a message with its private
key, anybody possessing the corresponding public key would be able to read the message.
By encrypting the message with its public key, not even the receiver would be able to read
the message.
Source: HARRIS, Shon, All-In-One CISSP Certification Exam Guide, McGraw-
Hill/Osborne, 2002, chapter 8: Cryptography (page 517).

Question 224 Choose 1

In a Public Key Infrastructure, how are public keys published?

Show answerHide answer

Correct answer: B

Through digital certificates.

Explanation

Public keys are published through digital certificates, signed by certification
authority (CA), binding the certificate to the identity of its bearer.
A bit more details:
Although “Digital Certificates” is the best (or least wrong!) in the list of answers presented,
for the past decade public keys have been published (ie: made known to the World) by the
means of a LDAP server or a key distribution server (ex.: http://pgp.mit.edu/). An indirect
publishing method is through OCSP servers (to validate digital signatures’ CRL)
Reference used for this question:
TIPTON, Hal, (ISC)2, Introduction to the CISSP Exam presentation.
and
http://technet.microsoft.com/en-us/library/dd361898.aspx

Question 225 Choose 1

What key size is used by the Clipper Chip?

Show answerHide answer

Correct answer: D

80 bits

Explanation

The Clipper Chip is a NSA designed tamperproof chip for encrypting data
and it uses the SkipJack algorithm. Each Clipper Chip has a unique serial number and a
copy of the unit key is stored in the database under this serial number. The sending Clipper
Chip generates and sends a Law Enforcement Access Field (LEAF) value included in the
transmitted message. It is based on a 80-bit key and a 16-bit checksum.
Source: WALLHOFF, John, CBK#5 Cryptography (CISSP Study Guide), April 2002 (page
1).

Question 226 Choose 1

What is the main problem of the renewal of a root CA certificate?

Show answerHide answer

Correct answer: B

It requires the authentic distribution of the new root CA certificate to all PKI participants

Explanation

The main task here is the authentic distribution of the new root CA certificate
as new trust anchor to all the PKI participants (e.g. the users).
In some of the rollover-scenarios there is no automatic way, often explicit assignment of
trust from each user is needed, which could be very costly.
Other methods make use of the old root CA certificate for automatic trust establishment
(see PKIX-reference), but these solutions works only well for scenarios with currently valid
root CA certificates (and not for emergency cases e.g. compromise of the current root CA
certificate).The rollover of the root CA certificate is a specific and delicate problem and therefore are
often ignored during PKI deployment.
Reference: Camphausen, I.; Petersen, H.; Stark, C.: Konzepte zum Root CA
Zertifikatswechsel, conference Enterprise Security 2002, March 26-27, 2002, Paderborn;
RFC 2459 : Internet X.509 Public Key Infrastructure Certificate and CRL Profile.

Question 227 Choose 1

Which of the following would best describe a Concealment cipher?

Show answerHide answer

Correct answer: B

Every X number of words within a text, is a part of the real message.

Explanation

When a concealment cipher is used, every X number of words within a text,
is a part of the real message. The message is within another message.
A concealment cipher is a message within a message. If my other super-secret spy buddy
and I decide our key value is every third word, then when I get a message from him, I will
pick out every third word and write it down. Suppose he sends me a message that reads,
“The saying, ‘The time is right’ is not cow language, so is now a dead subject.” Because my
key is every third word, I come up with “The right cow is dead.” This again means nothing
to me, and I am now turning in my decoder ring.
Concealment ciphers include the plaintext within the ciphertext. It is up to the recipient to
know which letters or symbols to exclude from the ciphertext in order to yield the plaintext.
Here is an example of a concealment cipher:
i2l32i5321k34e1245ch456oc12ol234at567e
Remove all the numbers, and you'll have i like chocolate. How about this one?
Larry even appears very excited. No one worries. The first letter from each word reveals the message leave now. Both are easy, indeed, but
many people have crafted more ingenious ways of concealing the messages. By the way,
this type of cipher doesn't even need ciphertext, such as that in the above examples.
Consider the invisible drying ink that kids use to send secret messages. In a more extreme
example, a man named Histiaeus, during 5th century B.C., shaved the head of a trusted
slave, then tattooed the message onto his bald head. When the slave's hair grew back,
Histiaeus sent the slave to the message's intended recipient, Aristagoros, who shaved the
slave's head and read the message instructing him to revolt.
The following answers are incorrect:
A transposition cipher uses permutations.
A substitution cipher replaces bits, characters, or blocks of characters with different bits,
characters or blocks.
Steganography refers to hiding the very existence of the message.
Source: WALLHOFF, John, CBK#5 Cryptography (CISSP Study Guide), April 2002 (page
1).
and also see:
http://www.go4expert.com/forums/showthread.php?t=415

Question 228 Choose 1

Which of the following answers is described as a random value used in cryptographic
algorithms to ensure that patterns are not created during the encryption process?

Show answerHide answer

Correct answer: A

 IV - Initialization Vector

Explanation

The basic power in cryptography is randomness. This uncertainty is why encrypted data is unusable to someone without the key to decrypt.
Initialization Vectors are a used with encryption keys to add an extra layer of randomness
to encrypted data. If no IV is used the attacker can possibly break the keyspace because of
patterns resulting in the encryption process. Implementation such as DES in Code Book
Mode (CBC) would allow frequency analysis attack to take place.
In cryptography, an initialization vector (IV) or starting variable (SV)is a fixed-size input to a
cryptographic primitive that is typically required to be random or pseudorandom.
Randomization is crucial for encryption schemes to achieve semantic security, a property
whereby repeated usage of the scheme under the same key does not allow an attacker to
infer relationships between segments of the encrypted message. For block ciphers, the use
of an IV is described by so-called modes of operation. Randomization is also required for
other primitives, such as universal hash functions and message authentication codes
based thereon.
It is define by TechTarget as:
An initialization vector (IV) is an arbitrary number that can be used along with a secret key
for data encryption. This number, also called a nonce, is employed only one time in any
session.
The use of an IV prevents repetition in data encryption, making it more difficult for a hacker
using a dictionary attack to find patterns and break a cipher. For example, a sequence
might appear twice or more within the body of a message. If there are repeated sequences
in encrypted data, an attacker could assume that the corresponding sequences in the
message were also identical. The IV prevents the appearance of corresponding duplicate
character sequences in the ciphertext.
The following answers are incorrect:
- Stream Cipher: This isn't correct. A stream cipher is a symmetric key cipher where
plaintext digits are combined with pseudorandom key stream to product cipher text.
- OTP - One Time Pad: This isn't correct but OTP is made up of random values used as
key material. (Encryption key) It is considered by most to be unbreakable but must be
changed with a new key after it is used which makes it impractical for common use.
- Ciphertext: Sorry, incorrect answer. Ciphertext is basically text that has been encrypted
with key material (Encryption key)The following reference(s) was used to create this question:
For more details on this TOPIC and other QUESTION NO: s of the Security+ CBK,
subscribe to our Holistic Computer Based Tutorial (CBT) at http://www.cccure.tv
and
whatis.techtarget.com/definition/initialization-vector-IV
and
en.wikipedia.org/wiki/Initialization_vector

Question 229 Choose 1

What is the RESULT of a hash algorithm being applied to a message ?

Show answerHide answer

Correct answer: C

A message digest

Explanation

As when a hash algorithm is applied on a message , it produces a message
digest.
The other answers are incorrect because :
A digital signature is a hash value that has been encrypted with a sender's private key.
A ciphertext is a message that appears to be unreadable.
A plaintext is a readable data.
Reference : Shon Harris , AIO v3 , Chapter-8 : Cryptography , Page : 593-594 , 640 , 648

Question 230 Choose 1

Which of the following is NOT a known type of Message Authentication Code (MAC)?

Show answerHide answer

Correct answer: C

Signature-based MAC (SMAC)

Explanation

There is no such thing as a Signature-Based MAC. Being the wrong choice
in the list, it is the best answer to this question.
WHAT IS A Message Authentication Code (MAC)?
In Cryptography, a MAC (Message Authentication Code) also known as a cryptographic
checksum, is a small block of data that is generated using a secret key and then appended
to the message. When the message is received, the recipient can generate their own MAC
using the secret key, and thereby know that the message has not changed either
accidentally or intentionally in transit. Of course, this assurance is only as strong as the
trust that the two parties have that no one else has access to the secret key.
A MAC is a small representation of a message and has the following characteristics:
A MAC is much smaller than the message generating it.
Given a MAC, it is impractical to compute the message that generated it.
Given a MAC and the message that generated it, it is impractical to find another message
generating the same MAC.
See the graphic below from Wikipedia showing the creation of a MAC value:
                           C:\Users\MCS\Desktop\1.jpg
Message Authentication Code MAC HMAC
In the example above, the sender of a message runs it through a MAC algorithm to
produce a MAC data tag. The message and the MAC tag are then sent to the receiver. The
receiver in turn runs the message portion of the transmission through the same MAC
algorithm using the same key, producing a second MAC data tag. The receiver then
compares the first MAC tag received in the transmission to the second generated MAC tag.
If they are identical, the receiver can safely assume that the integrity of the message was
not compromised, and the message was not altered or tampered with during transmission.
However, to allow the receiver to be able to detect replay attacks, the message itself must
contain data that assures that this same message can only be sent once (e.g. time stamp,
sequence number or use of a one-time MAC). Otherwise an attacker could — without even
understanding its content — record this message and play it back at a later time, producing
the same result as the original sender.
NOTE: There are many ways of producing a MAC value. Below you have a short list of
some implementation.
The following were incorrect answers for this question:
They were all incorrect answers because they are all real type of MAC implementation.
In the case of DES-CBC, a MAC is generated using the DES algorithm in CBC mode, and
the secret DES key is shared by the sender and the receiver. The MAC is actually just the
last block of ciphertext generated by the algorithm. This block of data (64 bits) is attached
to the unencrypted message and transmitted to the far end. All previous blocks of
encrypted data are discarded to prevent any attack on the MAC itself. The receiver can just
generate his own MAC using the secret DES key he shares to ensure message integrity
and authentication. He knows that the message has not changed because the chaining
function of CBC would significantly alter the last block of data if any bit had changed
anywhere in the message. He knows the source of the message (authentication) because
only one other person holds the secret key.
A Keyed-hash message authentication code (HMAC) is a specific construction for
calculating a message authentication code (MAC) involving a cryptographic hash function
in combination with a secret cryptographic key. As with any MAC, it may be used to
simultaneously verify both the data integrity and the authentication of a message. Any
cryptographic hash function, such as MD5, SHA-1, may be used in the calculation of an
HMAC; the resulting MAC algorithm is termed HMAC-MD5 or HMAC-SHA1 accordingly.
The cryptographic strength of the HMAC depends upon the cryptographic strength of the
underlying hash function, the size of its hash output, and on the size and quality of the key. Message Authentication Code MAC HMAC
In the example above, the sender of a message runs it through a MAC algorithm to
produce a MAC data tag. The message and the MAC tag are then sent to the receiver. The
receiver in turn runs the message portion of the transmission through the same MAC
algorithm using the same key, producing a second MAC data tag. The receiver then
compares the first MAC tag received in the transmission to the second generated MAC tag.
If they are identical, the receiver can safely assume that the integrity of the message was
not compromised, and the message was not altered or tampered with during transmission.
However, to allow the receiver to be able to detect replay attacks, the message itself must
contain data that assures that this same message can only be sent once (e.g. time stamp,
sequence number or use of a one-time MAC). Otherwise an attacker could — without even
understanding its content — record this message and play it back at a later time, producing
the same result as the original sender.
NOTE: There are many ways of producing a MAC value. Below you have a short list of
some implementation.
The following were incorrect answers for this question:
They were all incorrect answers because they are all real type of MAC implementation.
In the case of DES-CBC, a MAC is generated using the DES algorithm in CBC mode, and
the secret DES key is shared by the sender and the receiver. The MAC is actually just the
last block of ciphertext generated by the algorithm. This block of data (64 bits) is attached
to the unencrypted message and transmitted to the far end. All previous blocks of
encrypted data are discarded to prevent any attack on the MAC itself. The receiver can just
generate his own MAC using the secret DES key he shares to ensure message integrity
and authentication. He knows that the message has not changed because the chaining
function of CBC would significantly alter the last block of data if any bit had changed
anywhere in the message. He knows the source of the message (authentication) because
only one other person holds the secret key.
A Keyed-hash message authentication code (HMAC) is a specific construction for
calculating a message authentication code (MAC) involving a cryptographic hash function
in combination with a secret cryptographic key. As with any MAC, it may be used to
simultaneously verify both the data integrity and the authentication of a message. Any
cryptographic hash function, such as MD5, SHA-1, may be used in the calculation of an
HMAC; the resulting MAC algorithm is termed HMAC-MD5 or HMAC-SHA1 accordingly.
The cryptographic strength of the HMAC depends upon the cryptographic strength of the
underlying hash function, the size of its hash output, and on the size and quality of the key.Message Authentication Code MAC HMAC
In the example above, the sender of a message runs it through a MAC algorithm to
produce a MAC data tag. The message and the MAC tag are then sent to the receiver. The
receiver in turn runs the message portion of the transmission through the same MAC
algorithm using the same key, producing a second MAC data tag. The receiver then
compares the first MAC tag received in the transmission to the second generated MAC tag.
If they are identical, the receiver can safely assume that the integrity of the message was
not compromised, and the message was not altered or tampered with during transmission.
However, to allow the receiver to be able to detect replay attacks, the message itself must
contain data that assures that this same message can only be sent once (e.g. time stamp,
sequence number or use of a one-time MAC). Otherwise an attacker could — without even
understanding its content — record this message and play it back at a later time, producing
the same result as the original sender.
NOTE: There are many ways of producing a MAC value. Below you have a short list of
some implementation.
The following were incorrect answers for this question:
They were all incorrect answers because they are all real type of MAC implementation.
In the case of DES-CBC, a MAC is generated using the DES algorithm in CBC mode, and
the secret DES key is shared by the sender and the receiver. The MAC is actually just the
last block of ciphertext generated by the algorithm. This block of data (64 bits) is attached
to the unencrypted message and transmitted to the far end. All previous blocks of
encrypted data are discarded to prevent any attack on the MAC itself. The receiver can just
generate his own MAC using the secret DES key he shares to ensure message integrity
and authentication. He knows that the message has not changed because the chaining
function of CBC would significantly alter the last block of data if any bit had changed
anywhere in the message. He knows the source of the message (authentication) because
only one other person holds the secret key.
A Keyed-hash message authentication code (HMAC) is a specific construction for
calculating a message authentication code (MAC) involving a cryptographic hash function
in combination with a secret cryptographic key. As with any MAC, it may be used to
simultaneously verify both the data integrity and the authentication of a message. Any
cryptographic hash function, such as MD5, SHA-1, may be used in the calculation of an
HMAC; the resulting MAC algorithm is termed HMAC-MD5 or HMAC-SHA1 accordingly.
The cryptographic strength of the HMAC depends upon the cryptographic strength of the
underlying hash function, the size of its hash output, and on the size and quality of the key.A message authentication code based on universal hashing, or UMAC, is a type of
message authentication code (MAC) calculated choosing a hash function from a class of
hash functions according to some secret (random) process and applying it to the message.
The resulting digest or fingerprint is then encrypted to hide the identity of the hash function
used. As with any MAC, it may be used to simultaneously verify both the data integrity and
the authenticity of a message. UMAC is specified in RFC 4418, it has provable
cryptographic strength and is usually a lot less computationally intensive than other MACs.
What is the MicMac (confusion) with MIC and MAC?
The term message integrity code (MIC) is frequently substituted for the term MAC,
especially in communications, where the acronym MAC traditionally stands for Media
Access Control when referring to Networking. However, some authors use MIC as a
distinctly different term from a MAC; in their usage of the term the MIC operation does not
use secret keys. This lack of security means that any MIC intended for use gauging
message integrity should be encrypted or otherwise be protected against tampering. MIC
algorithms are created such that a given message will always produce the same MIC
assuming the same algorithm is used to generate both. Conversely, MAC algorithms are
designed to produce matching MACs only if the same message, secret key and
initialization vector are input to the same algorithm. MICs do not use secret keys and, when
taken on their own, are therefore a much less reliable gauge of message integrity than
MACs. Because MACs use secret keys, they do not necessarily need to be encrypted to
provide the same level of assurance.
Reference(s) used for this question:
Hernandez CISSP, Steven (2012-12-21). Official (ISC)2 Guide to the CISSP CBK, Third
Edition ((ISC)2 Press) (Kindle Locations 15799-15815). Auerbach Publications. Kindle
Edition.
and
http://en.wikipedia.org/wiki/Message_authentication_code
and
http://tools.ietf.org/html/rfc4418

Full mock exam

Sit the SSCP exam before exam day

Full-length mocks with the same number of questions and the same time limit as the real SSCP exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.

Get full SSCP mock exam
  • 65questions per mock
  • 105 mintime limit
  • 1,048questions in the bank
  • Newmock on every attempt