turbot/tailpipe-mod-aws-cloudtrail-log-detections

Detection: Route 53 Domain Transferred

Overview

Detect when a Route 53 domain was transferred to another registrar or AWS account. Unauthorized domain transfers can result in service disruptions, phishing attacks, or loss of control over web presence. Monitoring domain transfer activities helps ensure domains remain secure and under authorized control.

References:

Usage

Run the detection in your terminal:

powerpipe detection run aws_cloudtrail_log_detections.detection.route_53_domain_transferred

Snapshot and share results via Turbot Pipes:

powerpipe login
powerpipe detection run aws_cloudtrail_log_detections.detection.route_53_domain_transferred --share

SQL

This detection uses a named query:

select
tp_timestamp as timestamp,
string_split(event_source, '.')[1] || ':' || event_name as operation,
request_parameters ->> 'domainName' as resource,
user_identity.arn as actor,
tp_source_ip as source_ip,
tp_index as account_id,
aws_region as region,
tp_id as source_id,
*
from
aws_cloudtrail_log
where
event_source = 'route_53.amazonaws.com'
and event_name = 'TransferDomainToAnotherAwsAccount'
and error_code is null
order by
event_time desc;

Tags