Free CAS-005 Exam Braindumps
CompTIA SecurityX Questions 71–75 (page: 16)

Updated On: 10-Feb-2026

A security architect recommends replacing the company's monolithic software application with a containerized solution. Historically, secrets have been stored in the application's configuration files.
Which of the following changes should the security architect make in the new system?

  1. Use a secrets management tool.
  2. Save secrets in key escrow.
  3. Store the secrets inside the Dockerfiles.
  4. Run all Dockerfiles in a randomized namespace.

Answer(s): A

Explanation:

A secrets management tool is the most appropriate solution for securely managing and storing secrets (such as API keys, passwords, or tokens) in the new containerized environment. Secrets management tools, such as HashiCorp Vault, AWS Secrets Manager, or Azure Key Vault, provide secure storage, access control, and audit logs for secrets. They are designed to manage secrets in a way that avoids hardcoding sensitive data in configuration files or Dockerfiles, which could be exposed or compromised.



A security engineer is assessing a new tool to segment data and communications between domains. The assessment must determine how data transmission controls can be bypassed without detection.
Which of the following techniques should the security engineer use?

  1. Machine-learning statistical analysis
  2. Fuzz testing
  3. Covert channel analysis
  4. Protocol analysis

Answer(s): C

Explanation:

Covert channel analysis is the technique best suited for assessing how data transmission controls can be bypassed without detection. Covert channels involve using a system or communication protocol in unintended ways to transmit data secretly. This analysis helps identify potential hidden channels that might bypass security controls and allow unauthorized communication between domains.



During an adversarial simulation exercise, an external team was able to gain access to sensitive information and systems without the organization detecting this activity.
Which of the following mitigation strategies should the organization use to best resolve the findings?

  1. Configuring a honeypot for adversary characterization
  2. Leveraging simulators for attackers
  3. Setting up a honey network for attackers
  4. Utilizing decoy accounts and documents

Answer(s): D

Explanation:

Utilizing decoy accounts and documents (often referred to as honeytokens) is the best mitigation strategy in this scenario. Decoy accounts and documents are designed to look like legitimate, sensitive data or systems, but they are actually trapping. If an adversary accesses these decoys, it can trigger alerts and give the organization an early warning of the intrusion. This helps the organization detect unauthorized access more quickly and provides the opportunity to respond before actual damage is done.



A help desk technician is troubleshooting an issue with an employee's laptop that will not boot into its operating system. The employee reported the laptop had been stolen but then found it one day later. The employee has asked the technician for help recovering important data. The technician has identified the following:

The laptop operating system was not configured with BitLocker.

The hard drive has no hardware failures.

Data is present and readable on the hard drive, although it appears to be illegible.

Which of the following is the most likely reason the technician is unable to retrieve legible data from the hard drive?

  1. The employee's password was changed, and the new password needs to be used.
  2. The PKI certificate was revoked, and a new one must be installed.
  3. The hard drive experienced crypto-shredding.
  4. The technician is using the incorrect cipher to read the data.

Answer(s): C

Explanation:

Crypto-shredding is the most likely reason the technician is unable to retrieve legible data from the hard drive.

Crypto-shredding occurs when the encryption keys used to access data are deleted or destroyed, making the data unreadable. In this case, it is possible that the hard drive was encrypted (either through BitLocker or another encryption method) and the keys were deleted after the laptop was stolen, rendering the data inaccessible and illegible without the correct keys.



SIMULATION

You are about to enter the virtual environment.

DO NOT perform the following actions within the virtual environment. Making any of these changes will cause the virtual environment to fail and prevent proper scoring.

1. Disable ssh
2. Disable systemd
3. Alter the network adapter 172.162.0.0
4. Change the password on the lab admin account
5. Reboot the machine

Once you have completed the item in the virtual environment, you will NOT be allowed to return to this item.

TEST QUESTION

This system was recently patched following the exploitation of a vulnerability by an attacker to enable data exfiltration.

Despite the vulnerability being patched, it is likely that a malicious TCP service is still running and the adversary has achieved persistence by creating a systemd service.

Examples of commands to use:

kill, killall lsof man, --help (use for assistance)
netstat (useful flags: a, n, g, u)
ps (useful flag: a)
systemctl (to control systemd)

Please
Note: the list of commands shown above is not exhaustive. All native commands are available.

INSTRUCTIONS

Using the following credentials:

Username: labadmin

Password: Passw0rd!

Investigate to identify indicators of compromise and then remediate them. You will need to make at least two changes:

1. End the compromised process that is using a malicious TCP service.
2. Remove the malicious persistence agent by disabling the service's ability to start on boot.

  1. See Explanation section for answer.

Answer(s): A

Explanation:

STEP 1: Identify and Kill the Malicious TCP Process

1. List listening TCP services with associated processes:
sudo netstat -tulnp

Look for suspicious services (e.g., uncommon ports like 4444, 1337, etc.)

2. Verify the process details:
ps aux | grep <PID>

3. Terminate the suspicious process:
sudo kill <PID>

Or use sudo killall <process-name> if needed.

STEP 2: Disable the Malicious systemd Service (Persistence)

1. List all systemd services:
systemctl list-units --type=service

2. Look for any unusual or suspicious service (often not part of a typical system, e.g., revshell.service, malicious.service, backdoor.service, etc.)

3. Check the service path and content (optional but helpful):
systemctl status <suspicious-service>
cat /etc/systemd/system/<suspicious-service>.service

4. Disable the malicious service:
sudo systemctl disable <suspicious-service>

5. Stop the service (if still running):
sudo systemctl stop <suspicious-service>

Once these steps are done, you will have:
Ended the malicious process.

Disabled its persistence via systemd.

Avoid: Disabling SSH or systemd, changing passwords, rebooting, or touching the 172.162.0.0 network adapter.



Viewing page 16 of 72
Viewing questions 76 - 80 out of 482 questions


Post your Comments and Discuss CompTIA CAS-005 exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!