Phishing (ATT&CK T1566) remains a common first step, and the email gateway is where it should end. Web gateways and proxies stop the download, the command-and-control callback and the upload of stolen data. Both are policy-heavy controls that drift as rules are added and exceptions granted. Both are worth testing on a schedule.
Who documents gateway testing
This is where BAS and pentest-first products part ways. On our matrix:
| Platform | Email gateway | Web gateway | Data exfiltration |
|---|---|---|---|
| Cymulate | Documented | Documented | Documented |
| SafeBreach | Documented | Partial | Partial |
| AttackIQ | Documented | Documented | Documented |
| Picus Security | Documented | Documented | Documented |
| Pentera | Partial | Not documented | Not documented |
| XM Cyber | Not documented | Not documented | Not documented |
| SCYTHE | Partial | Not documented | Partial |
| Validato | Not documented | Not documented | Not documented |
| Horizon3.ai NodeZero | Partial | Not documented | Not documented |
| Mandiant Security Validation | Not documented | Documented | Documented |
Cymulate, AttackIQ and Picus Security document all three rows. SafeBreach documents email testing; its web gateway evidence is a Cisco Umbrella integration without described scenarios. Mandiant Security Validation documents proxy testing but not email. Pentera and Horizon3.ai NodeZero list phishing emulation but not gateway filtering tests. XM Cyber and Validato document neither.
Email gateway tests
A gateway test sends payloads from outside your domain to a test mailbox behind the gateway, then records what arrived, what was stripped and what was quarantined. A useful payload set covers:
- Office documents with macros, and the same documents in password-protected archives.
- Executable files renamed with document extensions.
- HTML attachments that build a payload in the browser.
- Links to staged pages: credential harvesting forms, file downloads, redirects through trusted domains.
- Known malware samples (or safe stand-ins) with real file hashes, to test reputation checks.
Ask the vendor where the mail is sent from, whether the sending infrastructure is on reputation lists, and whether the mailbox needs a forwarding rule. These details decide whether you are testing your gateway or the vendor’s mail server reputation.
Setup notes for email
- Use a dedicated test mailbox with a real licence and the same policies as a normal user.
- Tell the email team and the SOC before the first run. Quarantine alerts will fire, which is the point, but they should not trigger an incident.
- Do not whitelist the vendor’s sending domain. That defeats the test.
- Record the gateway’s verdict per payload, not only whether it arrived.
Web gateway tests
Web gateway tests run from a host inside your network and try to reach things a proxy should stop: malware downloads, known malicious domains, newly registered domains, command-and-control patterns over HTTPS and DNS, and uploads to file-sharing sites. Picus documents agentless browser-based tests for this; Cymulate and AttackIQ list web gateway testing; Mandiant lists proxy servers among tested controls.
Test from more than one network segment. Proxy policy often differs between the head office, branches and remote users, and the gap is usually the remote user path.
Exfiltration over the gateway
The same gateways should stop data leaving. Exfiltration tests send structured test data (fake card numbers, document fingerprints) over HTTPS, DNS tunnelling and FTP. Cymulate documents DLP testing over FTP, DNS tunnelling and other covert channels. See the exfiltration entry for the ATT&CK tactic.
What to measure
- Block rate per payload class, per gateway, per segment.
- Alert rate: did the block reach the SIEM as an event someone would see?
- Drift: the same payload set re-run weekly; any change from block to allow is a finding.
- Time to fix a gap and pass a re-test.
Safety
Gateway tests are among the safest in BAS, because they target the control rather than a production host. The risk is operational: a test that fills a shared quarantine, or a test domain that ends up on a blocklist your partners also use. Agree volumes and domains with the email and network teams first.
A starter schedule
In week one, run the full email payload set once and the web gateway set from each network segment. Fix the policy gaps that need no change request. From week two, run both sets weekly at a fixed time so drift is easy to spot, and add payloads within a day of any advisory that names a delivery method you have not tested.
Reading the results
Gateway results can mislead in one specific way: a payload can be blocked for the wrong reason. A macro document stopped because the sending domain is new tells you about reputation filtering, not attachment analysis. Where the platform allows it, send the same payload from an established domain as well and record which layer of the gateway decided. That separates a policy that works from one that got lucky.
Record silent passes separately. A link that arrives rewritten for click-time scanning is a different result from one that arrives untouched.
Who owns the fix
Email gateway gaps belong to the messaging team, web gateway gaps to the network or proxy team, and alerting gaps to the SOC. Put the owner next to each failed test in the report, or the findings stay in the security team’s backlog.
Compare gateway-capable platforms head to head in AttackIQ vs Cymulate, Cymulate vs Picus and Cymulate vs SafeBreach.