Detectionmediumtest
Kubernetes Admission Controller Modification
Detects when a modification (create, update or replace) action is taken that affects mutating or validating webhook configurations, as they can be used by an adversary to achieve persistence or exfiltrate access credentials.
Convert In Phoenix Studio
Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.
Launch
Log Source
Kubernetesaudit
ProductKubernetes← raw: kubernetes
Serviceaudit← raw: audit
Detection Logic
Detection Logic1 selector
detection:
selection:
objectRef.apiGroup: 'admissionregistration.k8s.io'
objectRef.resource:
- 'mutatingwebhookconfigurations'
- 'validatingwebhookconfigurations'
verb:
- 'create'
- 'delete'
- 'patch'
- 'replace'
- 'update'
condition: selectionFalse Positives
Modifying the Kubernetes Admission Controller may need to be done by a system administrator.
Automated processes may need to take these actions and may need to be filtered.
MITRE ATT&CK
Rule Metadata
Rule ID
eed82177-38f5-4299-8a76-098d50d225ab
Status
test
Level
medium
Type
Detection
Created
Thu Jul 11
Author
Path
rules/application/kubernetes/audit/kubernetes_audit_change_admission_controller.yml
Raw Tags
attack.privilege-escalationattack.initial-accessattack.defense-evasionattack.persistenceattack.t1078attack.credential-accessattack.t1552attack.t1552.007