- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud
- Security

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.

Lab 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.
About the author
Real skill practice before real-world application
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.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.