Skip to main content

Reduce Attack Surface

Overview

surface?

  • apps - keep up to date, remove unnedded packages
  • network - check and close ports, put things behind firewall
  • iam - dont run as root, restrict user perms

Nodes in K8s

should

  • only run k8s components, remove all else
  • ephemeral (recycle)
  • create from images (recycle)
  • be able to cycle node quickly (recycle)

OS Distros

lot of services & packages in OS = more attack surface

Ports & Services

check open ports with netstat -plnt or lsof

check systemctl for running services.

example systemctl list-units --type=service --state=running | grep snapd

Enjoying the docs? Good.

The docs are the how. The newsletter is the what... as in, what the f*** — AI, power, Big Tech and the tech industry, through a Pasifika lens, from an engineer who's spent twenty-plus years working inside the machine. Fortnightly. No filter.

Leave whenever.

Get the newsletter →