Elastic 9.7 adds aws.request step and four analyst-approved AWS remediation workflows (IAM, EC2, CloudTrail, S3)
Elastic Security Labs announced that Elastic Workflows (Elastic 9.7) now has a built-in aws.request step. The step signs AWS API calls with SigV4 through a new AWS connector, so no Lambda function is needed. Elastic published four remediation workflows in its Workflow Template Library: deactivate a compromised IAM access key, quarantine an EC2 network interface, restart a stopped CloudTrail trail, and apply all four S3 Block Public Access controls. Each workflow takes its target from the alert, shows an analyst the exact action against current AWS state, and changes nothing until the analyst approves. It then reads the state back from AWS, and the execution fails if verification does not match. This is vendor product and defensive guidance, not a vulnerability or an incident.
Detalhes técnicos
- The connector stores one IAM user's long-term access keys in Kibana. It works in a single AWS account and cannot assume roles in other accounts. Multiple accounts need one workflow install per account, or an
ifstep per account that picks the connector. - The IAM workflow supports only long-term
AKIAkeys and rejectsASIAsession credentials. AfterUpdateAccessKeyit retriesListAccessKeysup to three times to allow for eventual consistency. - The EC2 workflow replaces the ENI's security-group set with a pre-created empty isolation group in one configured VPC. AWS has no compare-and-swap for this change, so a nonatomic gap remains before
ModifyNetworkInterfaceAttribute. Established tracked connections may survive the swap. - The CloudTrail workflow processes the whole alert batch and deduplicates by account-qualified trail ARN. It requests approval per trail.
StartLoggingdoes not recover events lost while logging was stopped. - The S3 workflow reads the bucket name only from flattened CloudTrail request parameters and binds every call with
x-amz-expected-bucket-owner. It verifies that all four controls are true. Block Public Access does not remove a risky bucket policy or ACL. - Alert fields must be present for the workflows to run, and they depend on the detection rule and integration version.
Remediação
- Use a dedicated least-privilege connector identity, not administrator credentials. Scope actions to approved ARNs. Wildcards are acceptable only for APIs that do not support resource scoping, such as EC2 Describe.
- Capture pre-change state for rollback, validate targets, and use bounded retries only.
- Test each workflow in a disposable account before attaching it to a production rule.
Linha do tempo
-
Elastic 9.7 adds aws.request step and four analyst-approved AWS remediation workflows (IAM, EC2, CloudTrail, S3)
ler a análise desta fonte ocultar
Elastic Security Labs announced that Elastic Workflows (Elastic 9.7) now has a built-in
aws.requeststep. The step signs AWS API calls with SigV4 through a new AWS connector, so no Lambda function is needed. Elastic published four remediation workflows in its Workflow Template Library: deactivate a compromised IAM access key, quarantine an EC2 network interface, restart a stopped CloudTrail trail, and apply all four S3 Block Public Access controls. Each workflow takes its target from the alert, shows an analyst the exact action against current AWS state, and changes nothing until the analyst approves. It then reads the state back from AWS, and the execution fails if verification does not match. This is vendor product and defensive guidance, not a vulnerability or an incident.Technical Details
- The connector stores one IAM user's long-term access keys in Kibana. It works in a single AWS account and cannot assume roles in other accounts. Multiple accounts need one workflow install per account, or an
ifstep per account that picks the connector. - The IAM workflow supports only long-term
AKIAkeys and rejectsASIAsession credentials. AfterUpdateAccessKeyit retriesListAccessKeysup to three times to allow for eventual consistency. - The EC2 workflow replaces the ENI's security-group set with a pre-created empty isolation group in one configured VPC. AWS has no compare-and-swap for this change, so a nonatomic gap remains before
ModifyNetworkInterfaceAttribute. Established tracked connections may survive the swap. - The CloudTrail workflow processes the whole alert batch and deduplicates by account-qualified trail ARN. It requests approval per trail.
StartLoggingdoes not recover events lost while logging was stopped. - The S3 workflow reads the bucket name only from flattened CloudTrail request parameters and binds every call with
x-amz-expected-bucket-owner. It verifies that all four controls are true. Block Public Access does not remove a risky bucket policy or ACL. - Alert fields must be present for the workflows to run, and they depend on the detection rule and integration version.
Remediation
- Use a dedicated least-privilege connector identity, not administrator credentials. Scope actions to approved ARNs. Wildcards are acceptable only for APIs that do not support resource scoping, such as EC2 Describe.
- Capture pre-change state for rollback, validate targets, and use bounded retries only.
- Test each workflow in a disposable account before attaching it to a production rule.
- The connector stores one IAM user's long-term access keys in Kibana. It works in a single AWS account and cannot assume roles in other accounts. Multiple accounts need one workflow install per account, or an