Redis on a public load balancer
An external scan found port 6379 open on a cluster IP. Match it to a Service, check which namespaces have a default-deny network policy, and name the gap.
- Terminal mission
- Intermediate
- 3 questions
- 0 of 3 solved
Your goal
Your goalMatch an exposed Redis port to its Service and find the missing network policy.
Last night’s external attack-surface scan lists 198.51.100.47:6379 as open with no authentication. That range belongs to the cluster’s cloud load balancers.
A Service of type LoadBalancer gets a public address from the cloud provider. NetworkPolicies decide which pods may talk to which, but only in namespaces that have them.
What’s on screen
- Briefing
- the story: what happened and what evidence you were handed.
- Terminal
- the dark box. It is a pretend Linux shell that runs in your browser. Type a command and press Enter. Nothing you type touches a real system.
- Walkthrough
- the numbered path. Each step says what to type and what you should see. Hints open one at a time.
- Answer boxes
- under each question step. Type what you found and press Check.
Words to know
- IP
- Internet Protocol address, the number that identifies a machine on a network
ops-bastion · Kubernetes review
Type help for the command list and objectives for your tasks. Everything runs in this browser.
Up and down arrows walk your history. Ctrl+L clears the screen. Try help, ls, and objectives.
Read first
More in Kubernetes review
The whole walkthrough
Every step in order: 254 words, about 2 min. It gives away every answer, so try the steps first.