BLACK FRIDAY SALE – Unlock Up to 25% OFF on All Exam Prep! - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

CompTIA CAS-005 Exam - Topic 4 Question 18 Discussion

Posted by Doyle on Aug 04, 2025 at 04:12 AM

[Security Engineering and Cryptography]

A company recently experienced an incident in which an advanced threat actor was able to shim malicious code against the hardware static of a domain controller The forensic team cryptographically validated that com the underlying firmware of the box and the operating system had not been compromised. However, the attacker was able to exfiltrate information from the server using a steganographic technique within LOAP Which of the following is me b way to reduce the risk oi reoccurrence?

Suggested Answer: A

The scenario describes a sophisticated attack where the threat actor used steganography within LDAP to exfiltrate data. Given that thehardware and OS firmware were validated and found uncompromised, the attack vector likely exploited a network communication channel. To mitigate such risks, enforcing allow lists for authorized network ports and protocols is the most effective strategy.

Here's why this option is optimal:

Port and Protocol Restrictions: By creating an allow list, the organization can restrict communications to only those ports and protocols that are necessary for legitimate business operations. This reduces the attack surface by preventing unauthorized or unusual traffic.

Network Segmentation: Enforcing such rules helps in segmenting the network and ensuring that only approved communications occur, which is critical in preventing data exfiltration methods like steganography.

Preventing Unauthorized Access: Allow lists ensure that only predefined, trusted connections are allowed, blocking potential paths that attackers could use to infiltrate or exfiltrate data.

Other options, while beneficial in different contexts, are not directly addressing the network communication threat:

B . Measuring and attesting to the entire boot chain: While this improves system integrity, it doesn't directly mitigate the risk of data exfiltration through network channels.

C . Rolling thecryptographic keys used for hardware security modules: This is useful for securing data and communications but doesn't directly address the specific method of exfiltration described.

D . Using code signing to verify the source of OS updates: Ensures updates are from legitimate sources, but it doesn't mitigate the risk of network-based data exfiltration.


CompTIA SecurityX Study Guide

NIST Special Publication 800-41, 'Guidelines on Firewalls and Firewall Policy'

CIS Controls Version 8, Control 9: Limitation and Control of Network Ports, Protocols, and Services

Get Premium CAS-005 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
22 comments · newest first
EF
Effie 11 months ago
Code signing is definitely a must for OS updates.
WI
Wilford 11 months ago
Rolling cryptographic keys seems a bit overkill for this.
BR
Britt 11 months ago
I think measuring the boot chain is more effective.
SI
Sina 12 months ago
Enforcing allow lists is a solid move!
EL
Elvera 12 months ago
Wait, they used steganography? That's wild!
XU
Xuan 1 year ago
Using code signing for OS updates was emphasized in our last practice exam. It definitely helps verify the integrity of updates, but I’m not sure if it addresses the specific steganographic technique used here.
BR
Broderick 1 year ago
Rolling cryptographic keys sounds familiar, but I can't recall how it directly relates to the incident. I feel like it might help, but it seems more like a reactive measure.
SH
Shasta 1 year ago
I think measuring and attesting to the entire boot chain is crucial. We discussed how it helps ensure that only trusted components are loaded, but I wonder if it would be effective against steganography.
VE
Veronika 1 year ago
I remember studying about network security controls, and enforcing allow lists seems like a solid approach to limit unauthorized access. But I'm not entirely sure if it's enough on its own.
SA
Sarah 1 year ago
The question is a bit tricky, but I think option D is the way to go. Verifying the source of OS updates through code signing could help prevent the attacker from introducing malicious code in the future, even if they found another way to exfiltrate data.
LA
Latrice 1 year ago
I'm leaning towards option B - measuring and attesting to the entire boot chain. If the attacker was able to compromise the hardware, even if the OS wasn't affected, that's a serious vulnerability that needs to be addressed.
TA
Taryn 1 year ago
Okay, let's see. Since the attacker used steganography, I'm guessing the best approach would be to focus on network monitoring and controlling authorized protocols, like option A suggests. That seems like the most direct way to address the steganography risk.
SH
Sheldon 1 year ago
Hmm, I'm a bit confused by the details here. The question mentions a "shim" attack on the hardware, but the forensics team didn't find any issues with the firmware or OS. I'll need to think this through carefully.
CH
Chuck 1 year ago
This question seems pretty straightforward. I think the key is to focus on reducing the risk of the attacker using steganography to exfiltrate data, since the underlying system wasn't compromised.
ME
Mel 1 year ago
I see both points, but I think option B) Measuring and attesting to the entire boot chain could also be a good approach to enhance security.
LA
Laurel 1 year ago
Rolling the crypto keys for hardware security modules? Sounds like a good way to keep those bad guys out of our hardware.
BE
Bettye 1 year ago
I disagree, I believe option D) Using code signing to verify the source of OS updates is more effective in preventing similar incidents.
VE
Vernice 1 year ago
I think option A) Enforcing allow lists for authorized network ports and protocols is the best way to reduce the risk of reoccurrence.
CA
Cassie 1 year ago
Code signing to verify OS updates? That's a no-brainer. Gotta keep those updates squeaky clean, you know?
VI
Viola 1 year ago
↳ replying to Cassie
A) Enforcing allow lists for authorized network ports and protocols
CL
Clemencia 1 year ago
Hmm, measuring and attesting to the entire boot chain seems like the way to go. Can't let those sneaky attackers slip through the cracks!
RI
Ricarda 1 year ago
↳ replying to Clemencia
A: Enforcing allow lists for authorized network ports and protocols sounds like a good idea too.
0/2000 characters

Save Cancel