+5.4.2.2 Controls, defaults and verification

5.4.2.2 Controls, defaults and verification

This section maps the threats to specific principles and verification methods.

ThreatMitigation control (principle)Secure by default settingVerification method
T1/T3Attack surface minimisation: use a Distroless build and a strict firewallAll ports blocked except 443/22; no shell tools (sh, curl) in productionNmap scan gate: automated port audit must match the MRSM exposed_ports list
T2Least privilege: run app as non-root with Linux capabilitiesApp runs as UID 1001; no SUDO rights for the app userSystemd audit: automated check of CapabilityBoundingSet in service files
T4Strong identity: disable password auth; use signed SSH certificatesPasswordAuthentication no in sshd_configConfig validation: script checks SSH config against hardened baseline before release
T5Vulnerability and patch management: signed updates and immutable file systemRoot file system is mounted read-only by defaultMount check: CI test verifies /usr/bin is not writable by any user

1. Visão geral

Título Norma

1.1 Referências

1.2 Requisitos identificados

1.3 Regulamentos relacionados

2. Requisitos identificados

Requisitos
Fonte Requisito

3. Regulamentos relacionados

Regulamentos
Fonte Regulamentação