Sublime Security medium experimental mql

Service abuse: AWS S3 image map

Detects inbound emails containing an HTML image map where the image source and clickable area links are both hosted on Amazon S3 (amazonaws.com). This technique abuses a trusted cloud storage service to host deceptive content and disguise malicious links behind an interactive image, helping evade traditional link-based detection.

View Source

Detection Logic

type.inbound
and any(html.xpath(body.html, '//img[@usemap]/@src').nodes,
        strings.parse_url(.raw).domain.root_domain == "amazonaws.com"
)
and any(html.xpath(body.html, '//area/@href').nodes,
        strings.parse_url(.raw).domain.root_domain == "amazonaws.com"
)

Field Validations

Loading…

Comments (0)

Loading comments...