- Lab
- A Cloud Guru
Verify Kubernetes Binaries
Compromised Kubernetes binaries could be used to gain access to your systems. In this lab, you will mitigate this threat by verifying these binaries before they are executed.
Path Info
Table of Contents
-
Challenge
Locate and Download the Checksums for the Binary Files
The binary files are located in
/home/cloud_user/k8s-binaries/
.Your coworker has left the version number they used in a file called
version.txt
. Check this file for the version number. Don't try to check the version by running any of the binaries before you have verified them (e.g., with a command likekubectl version
)! All of the binaries are the same version.Use the version number to download the correct checksum file for each of the binary files. Download the checksums to the same directory the binaries are located in (
/home/cloud_user/k8s-binaries/
). -
Challenge
Verify the Binaries and Delete Any That May Contain Malicious Code
Use the checksums to verify all of the binaries contained in
/home/cloud_user/k8s-binaries/
.Delete any binary files that fail checksum verification, as they could contain malicious code.
What's a lab?
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.