Verifies that Gmail is configured to take a protective action (such as moving to spam, quarantining, or showing a warning) when emails contain anomalous attachment types. Unusual file types that are uncommon for the sender or organization may indicate an attempt to deliver malware through less-scrutinized formats.
Risk
Without protection against anomalous attachment types, users may receive emails with unusual file formats that are designed to bypass standard security filters. Attackers may use uncommon file extensions or MIME types to deliver malware that evades signature-based detection.
prowler googleworkspace --checks gmail_anomalous_attachment_protection_enabled
Recommendation
Enable protection against anomalous attachment types in emails and configure an appropriate action such as moving to spam or quarantining.
Remediation
- Sign in to the Google Admin console at https://admin.google.com
- Navigate to Apps > Google Workspace > Gmail
- Click Safety > Attachments
- Check Protect against anomalous attachment types in emails
- Select the desired action (e.g., Move email to spam)
- Click Save
Source Code
Resource Type
NotDefined
References
Related To
- gmail_encrypted_attachment_protection_enabled
- gmail_script_attachment_protection_enabled