exam questions

Exam CAS-004 All Questions

View all questions & answers for the CAS-004 exam

Exam CAS-004 topic 1 question 374 discussion

Actual exam question from CompTIA's CAS-004
Question #: 374
Topic #: 1
[All CAS-004 Questions]

A security assessor identified an internet-facing web service API provider that was deemed vulnerable. Execution of testssl provided the following insight:



Which of the following configuration changes would BEST mitigate chosen ciphertext attacks?

  • A. Enable 3DES ciphers IDEA.
  • B. Enable export ciphers.
  • C. Enable PFS ciphers.
  • D. Enable AEAD.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
OdinAtlasSteel
Highly Voted 1 year, 5 months ago
Selected Answer: C
C. Enable PFS ciphers. Perfect Forward Secrecy (PFS) ensures that even if a long-term secret key is compromised, past communications remain secure because the session keys are ephemeral and are not derived from the compromised key. Enabling PFS ciphers enhances the security of the encrypted connections and provides better protection against various cryptographic attacks, including chosen ciphertext attacks. Options A (3DES ciphers IDEA) and B (export ciphers) are not recommended due to the weaknesses and vulnerabilities associated with these cipher suites. Option D (AEAD) is also beneficial for security but is not directly related to mitigating chosen ciphertext attacks in this context.
upvoted 5 times
...
Steel16
Most Recent 2 months ago
Selected Answer: D
o A chosen ciphertext attack allows an attacker to choose ciphertexts and receive their corresponding plaintexts. AEAD (Authenticated Encrypted with Associated Data) provides encryption and authentication in one. It ensures not only that the data is encrypted but also that it hasn't been tampered with. This is crucial in mitigating chosen ciphertext attacks because the attacker can't modify the ciphertext without the authentication tag being invalidated. o C. Enable PFS ciphers: Perfect Forward Secrecy (PFS) prevents an attacker from decrypting past sessions if the private key is compromised. While important for security, PFS doesn't directly address the vulnerability to chosen ciphertext attacks on the current session's encryption.
upvoted 1 times
...
lj22HI
6 months, 2 weeks ago
The answer is D enable AEAD. This option addresses the vulnerabilities of chosen ciphertext attacks by providing robust encryption and integrity checks in a single operation. Implementing AEAD ciphers will significantly enhance the security of the communications handled by the web service API.
upvoted 2 times
...
Bright07
7 months, 4 weeks ago
Ans is C. enable PFS Ciphers. PFS ciphers help protect against chosen ciphertext attacks and other types of attacks by ensuring that session keys are not derived from a master key. With PFS, even if a private key is compromised in the future, past communications remain secure because the session keys are not stored and are generated for each session independently. Enabling PFS ensures that each session uses a unique set of encryption keys, thus enhancing security against various attacks. While AEAD ciphers, such as AES-GCM, provide both confidentiality and integrity in a single operation and are generally more secure than other ciphers. While enabling AEAD ciphers would improve overall encryption security, the specific mitigation of chosen ciphertext attacks is best achieved through PFS. However, it’s worth noting that enabling AEAD ciphers is also a good practice for overall security.
upvoted 3 times
...
23169fd
9 months, 3 weeks ago
Selected Answer: D
Given the focus on mitigating chosen ciphertext attacks, the primary concern is to ensure that the data is not only encrypted but also authenticated to prevent such attacks. AEAD specifically addresses this by providing encryption and authentication.
upvoted 2 times
...
041ba31
11 months, 2 weeks ago
Selected Answer: D
The best configuration change to mitigate chosen ciphertext attacks is: D. Enable AEAD (Authenticated Encryption with Associated Data). Enabling AEAD ciphers, such as AES-GCM or ChaCha20-Poly1305, provides both encryption and authentication, which helps protect against chosen ciphertext attacks by ensuring data integrity and confidentiality.
upvoted 3 times
...
saucehozz
1 year ago
Selected Answer: C
The BEST answer is PFS
upvoted 4 times
...
HappyG
1 year, 2 months ago
Selected Answer: C
In the context of mitigating chosen ciphertext attacks, both PFS and AEAD can be effective measures. However, since the question specifically mentions mitigating chosen ciphertext attacks, PFS directly addresses this concern by preventing the compromise of long-term keys from compromising past session keys. Therefore, enabling PFS ciphers would likely be the better choice for mitigating chosen ciphertext attacks based on the provided information.
upvoted 3 times
...
ElDirec
1 year, 3 months ago
Selected Answer: D
The BEST configuration change to mitigate chosen ciphertext attacks would be D. Enable AEAD (Authenticated Encryption with Associated Data). AEAD is a form of encryption which simultaneously provides confidentiality, integrity, and authenticity assurances on the data. This means that the data is not only encrypted, but the system can also verify who created the data and whether or not it has been tampered with. This can help protect against chosen ciphertext attacks, which involve an attacker attempting to decrypt a ciphertext by exploiting the properties of the encryption scheme. While the other options (Enable 3DES ciphers IDEA, Enable export ciphers, Enable PFS ciphers) can provide some level of security, they do not directly address the issue of chosen ciphertext attacks.
upvoted 4 times
...
Anarckii
1 year, 4 months ago
Selected Answer: C
Which of the following configuration changes would BEST mitigate chosen ciphertext attacks? start 2021-02-02 18:24:24 --> 192.168.44.61:443 rDNS (192.168.44.61): wsapi.ext.coomptia.org Service Detected:HTTP Testing Cipher Categories NULL ciphers not offered Anonymous NULL ciphers not offered Export Ciphers (W/O export) not offered LowL 64 bit + DES, RC [2.4] (w/o export) not offered Triple DES ciphers / IDEA not offered Obsoleted CBC Ciphers (AES, ARIA etc.) not offered AEAD ciphers not offered (P)FS ciphers not offered ... Has server cipher order? no negotiated Cipher AES256-SHA (limited sense as client will pick) negotiated cipher per photo (limited sense as client will pick) ... C. Enable PFS (Perfect Forward Secrecy) ciphers.
upvoted 4 times
...
weaponxcel
1 year, 6 months ago
Selected Answer: D
D. Enable AEAD: AEAD (Authenticated Encryption with Associated Data) ciphers provide both encryption and authentication in a single step. This makes them more resistant to chosen ciphertext attacks than other types of ciphers. AEAD ciphers, like AES-GCM and ChaCha20-Poly1305, provide strong encryption and authentication.
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago