A container running in a Kubernetes cluster has permission to modify host processes on the underlying node.
What combination of privileges and capabilities is most likely to have led to this privilege escalation?
Suggested Answer: A
Get Premium KCSA Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
18 comments · newest first
BR
Britt
1 month ago
So, B it is then. Let's hope for the best!
GE
Georgene
2 months ago
Right, it’s more about logging than modifying.
BE
Beckie
2 months ago
C seems less likely. AUDIT_WRITE doesn't modify processes.
BR
Britt
2 months ago
True, but I wonder if C could be a possibility too.
GE
Georgene
2 months ago
Exactly! SYS_PTRACE is powerful for debugging.
BE
Beckie
2 months ago
I doubt it. The capabilities are there for a reason.
BR
Britt
2 months ago
But what about A? Could there really be no combination?
GE
Georgene
3 months ago
I agree, B makes sense. hostPID allows access to host processes.
BE
Beckie
3 months ago
This question is tricky. I think B is the right answer.
TI
Tiera
3 months ago
Isn't it risky to give those permissions in the first place?
SH
Shala
3 months ago
C is a stretch, not sure it fits the scenario.
IL
Iluminada
3 months ago
Wow, I didn't know hostPID could do that!
JU
Jutta
3 months ago
I disagree, I think it's A. No way to modify host processes!
KI
King
4 months ago
B) hostPID and SYS_PTRACE seems right.
CA
Caitlin
4 months ago
I feel like hostNetwork and NET_RAW are more about network capabilities. They don’t seem to relate to modifying host processes.
JA
Jade
4 months ago
I don’t recall hostPath being related to modifying processes directly. I thought it was more about file system access.
SO
Sophia
4 months ago
I’m not entirely sure, but I think SYS_PTRACE might be involved in modifying processes. It sounds familiar from our practice questions.
ME
Mee
4 months ago
I remember reading that hostPID allows a container to see and interact with processes on the host, which could lead to privilege escalation.