< Back to rules search
Package management in container
Detect execution of a package management utility (
yum) in a container.
After an attacker’s initial intrusion into a victim’s container (for example, through a web shell exploit), they may attempt to install tools and utilities for a variety of malicious purposes. This detection triggers when execution of one of a set of common package management utilities is detected in a container. Package management in containers is against best practices which highly emphasize immutability. If this is unexpected behavior, it could indicate an attacker attempting to install tools to further compromise your systems.
Triage and response
- Determine whether or not this is expected behavior.
- If this behavior is unexpected, attempt to contain the compromise. This may be achieved by terminating the workload, depending on the stage of attack.
- Look for indications of initial compromise. Follow your organization’s internal processes for investigating and remediating compromised systems.
- Determine the nature of the attack and the tools involved. Investigate security signals (if present) occurring around the time of the event to establish an attack path.
- Find and repair the root cause of the exploit.
Requires Agent version 7.27 or greater