The K8s Runtime Security Room is a free room from TryHackMe and is available at: https://tryhackme.com/r/room/k8sruntimesecurity
1.1 In which request stage will the response headers have been sent out but not the response body?
Answer: ResponseStarted
1.2 Which level will capture the most data?
Answer: RequestResponse
1.3 What field must be contained in an audit policy for it to be valid?
Answer: rule
1.4 At what level is it recommended to log sensitive resources (like secrets)?
Answer: Metadata
2.1 What percentage of containers live less than 5 minutes in 2024 according to the annual report provided in this task?
Answer: 70
2.2 What security concept, covered in this task, is a communication that takes place between a running process and the kernel?
Answer: System Calls
2.3 Which security runtime enforcement tool works by filtering system calls, only allowing processed to perform certain calls to already open file descriptors?
Answer: Seccomp
3.1 Falco can gain deep visibility into a Kubernetes runtime environment by analysing events from various sources. Which source (covered in a previous task) is available in Kubernetes?
Answer: Audit Logs
3.2 What allows user programs to run securely in a protected environment within the kernel space?
Answer: eBPF
3.3 Enriched events are compared against _____, which can either be included by default or user-defined.
Answer: rules
4.1 When defining a Falco rule condition, what snippet could be used to match bash processes?
Answer: proc.name = bash
4.2 What can be used to reference a collection of items in a condition?
Answer: Lists
4.3 What can be used to abbreviate conditions which are frequently used?
Answer: Macros
5.1 Which tool covered in this task can be used as a visualisation layer and allows collected data to be visualised as charts and graphs?
Answer: Grafana
5.2 Which tool covered in this task collects and stores time series data?
Answer: Prometheus
5.3 Which tool covered in this task is a companion project that can act as a forwarder for Falco?
Answer: Falcosidekick
6.1 What is the Base64 Encoded Custom Rule?
Answer: ICAgIC0gcnVsZTogRGV0ZWN0IFVzYWdlIG9mIEN1cmwKICAgICAgZGVzYzogRGV0ZWN0cyB3aGVuIHRoZSBjdXJsIGNvbW1hbmQgaXMgdXNlZCBpbnNpZGUgYSBjb250YWluZXIuCiAgICAgIGNvbmRpdGlvbjogPgogICAgICAgIGNvbnRhaW5lci5pZCAhPSBob3N0IGFuZAogICAgICAgIHByb2MubmFtZSA9IGN1cmwgYW5kCiAgICAgICAgZXZ0LnR5cGUgPSBleGVjdmUKICAgICAgb3V0cHV0OiA+CiAgICAgICAgQ3VybCBjb21tYW5kIHVzZWQgaW4gY29udGFpbmVyICh1c2VyPSV1c2VyLm5hbWUgY29udGFpbmVyPSVjb250YWluZXIubmFtZQogICAgICAgIHNoZWxsPSVwcm9jLm5hbWUgcGFyZW50PSVwcm9jLnBuYW1lIGNtZGxpbmU9JXByb2MuY21kbGluZSkKICAgICAgcHJpb3JpdHk6IFdBUk5JTkcKICAgICAgdGFnczogW25ldHdvcmssIGNvbW1hbmQsIHNlY3VyaXR5XSAgCg==
6.2 is the THM flag value?
Answer: THM{th3_c4k3_1s_a_l13}