Detection: Route 53 Domain Transfer Lock Disabled
Overview
Detect when a Route 53 domain had its transfer lock disabled. Disabling the transfer lock increases the risk of unauthorized domain transfers, leading to potential loss of domain ownership, service disruptions, or reputational damage. Enabling the transfer lock adds an essential layer of security against accidental or malicious transfers.
References:
Usage
Run the detection in your terminal:
powerpipe detection run aws_cloudtrail_log_detections.detection.route_53_domain_transfer_lock_disabled
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe detection run aws_cloudtrail_log_detections.detection.route_53_domain_transfer_lock_disabled --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_logwhere event_source = 'route_53.amazonaws.com' and event_name = 'DisableDomainTransferLock' and error_code is null
order by event_time desc;