M1021 / CONTROL
Restrict Web-Based Content
Restricting web-based content involves enforcing policies and technologies that limit access to potentially malicious websites, unsafe downloads, and unauthorized browser behaviors. This can include URL filtering, download restrictions, script blocking, and extension control to protect against exploitation, phishing, and malware delivery. This mitigation can be implemented through the following measures: Deploy Web Proxy Filtering: - Use solutions to filter web traffic based on categories, reputation, and content types. - Enforce policies that block unsafe websites or file types at the gateway level. Enable DNS-Based Filtering: - Implement tools to restrict access to domains associated with malware or phishing campaigns. - Use public DNS filtering services to enhance protection. Enforce Content Security Policies (CSP): - Configure CSP headers on internal and external web applications to restrict script execution, iframe embedding, and cross-origin requests. Control Browser Features: - Disable unapproved browser features like automatic downloads, developer tools, or unsafe scripting. - Enforce policies through tools like Group Policy Management to control browser settings. Monitor and Alert on Web-Based Threats: - Use SIEM tools to collect and analyze web proxy logs for signs of anomalous or malicious activity. - Configure alerts for access attempts to blocked domains or repeated file download failures.
- Category
- Detection & response
- Version / scope
- ATT&CK Enterprise 20.1; object 1.1
- Affected / relevant technologies
- Enterprise systems
- Evidence
- Documentation: pinned-source excerpt checked. Execution: not tested. Editorial: curated reference.
Defensive analysis and explicitly authorized assessment only. This website performs no scans, exploitation, model calls or infrastructure changes. Indicators below are investigation opportunities, not proof of compromise or guaranteed detectors.
Mechanism and prerequisites
Assess applicability to the documented environment and obtain authorization before any testing. This publisher reference is not a tested configuration or execution guide.
Potential impact
The publisher describes a mitigation or detection scope; applicability does not establish local protection or an incident.
Versioned source scope
This record contains normalized, sometimes shortened source excerpts with editorial safety context. Markup and executable example blocks are omitted. Source-field verification does not establish device testing, a working detector or local applicability.
Publisher: MITRE. Release: ATT&CK Enterprise 20.1. Source checked: 2026-11-18.
Source object: course-of-action--21da4fd4-27ad-4e9c-b93d-0b9b14d02c96. Object created: 2019-06-06T20:52:59.206Z. Object modified: 2024-12-24T13:40:41.043Z.
Attribution and source terms (© The MITRE Corporation; reproduced with permission)Detection and investigation
- See publisher detection strategy relationships where available; local detection coverage requires independent assessment.
Preserve source timestamps, asset identity and collection context. Correlate independent evidence before attributing malicious intent. In OT, review passive evidence with the process owner; do not induce failures, replay commands or write to controllers to test a hypothesis.
Mitigation and response
- Restricting web-based content involves enforcing policies and technologies that limit access to potentially malicious websites, unsafe downloads, and unauthorized browser behaviors. This can include URL filtering, download restrictions, script blocking, and extension control to protect against exploitation, phishing, and malware delivery. This mitigation can be implemented through the following measures: Deploy Web Proxy Filtering: - Use solutions to filter web traffic based on categories, reputation, and content types. - Enforce policies that block unsafe websites or file types at the gateway level. Enable DNS-Based Filtering: - Implement tools to restrict access to domains associated with malware or phishing campaigns. - Use public DNS filtering services to enhance protection. Enforce Content Security Policies (CSP): - Configure CSP headers on internal and external web applications to restrict script execution, iframe embedding, and cross-origin requests. Control Browser Features: - Disable unapproved browser features like automatic downloads, developer tools, or unsafe scripting. - Enforce policies through tools like Group Policy Management to control browser settings. Monitor and Alert on Web-Based Threats: - Use SIEM tools to collect and analyze web proxy logs for signs of anomalous or malicious activity. - Configure alerts for access attempts to blocked domains or repeated file download failures.
Apply changes through the asset owner's approved change and recovery process. Documentation review is separate from successful testing or verified production protection.
Related technical context
No protocol-specific mapping is asserted for this entry.
Publisher-defined relationships
These directed relationships come from the pinned publisher data. They describe framework context, not guaranteed prevention, detection coverage or equivalence between entities.
- M1021 → mitigates → T1659: Content Injection
- M1021 → mitigates → T1102.002: Bidirectional Communication
- M1021 → mitigates → T1566.002: Spearphishing Link
- M1021 → mitigates → T1528: Steal Application Access Token
- M1021 → mitigates → T1539: Steal Web Session Cookie
- M1021 → mitigates → T1218.001: Compiled HTML File
- M1021 → mitigates → T1568: Dynamic Resolution
- M1021 → mitigates → T1102.001: Dead Drop Resolver
- M1021 → mitigates → T1204: User Execution
- M1021 → mitigates → T1133: External Remote Services
- M1021 → mitigates → T1189: Drive-by Compromise
- M1021 → mitigates → T1566.003: Spearphishing via Service
- M1021 → mitigates → T1567: Exfiltration Over Web Service
- M1021 → mitigates → T1568.002: Domain Generation Algorithms
- M1021 → mitigates → T1550.001: Application Access Token
- M1021 → mitigates → T1102: Web Service
- M1021 → mitigates → T1566: Phishing
- M1021 → mitigates → T1204.004: Malicious Copy and Paste
- M1021 → mitigates → T1059.005: Visual Basic
- M1021 → mitigates → T1102.003: One-Way Communication
- M1021 → mitigates → T1127: Trusted Developer Utilities Proxy Execution
- M1021 → mitigates → T1059.007: JavaScript
- M1021 → mitigates → T1555.003: Credentials from Web Browsers
- M1021 → mitigates → T1567.002: Exfiltration to Cloud Storage
- M1021 → mitigates → T1059: Command and Scripting Interpreter
- M1021 → mitigates → T1218: System Binary Proxy Execution
- M1021 → mitigates → T1567.001: Exfiltration to Code Repository
- M1021 → mitigates → T1127.002: ClickOnce
- M1021 → mitigates → T1567.003: Exfiltration to Text Storage Sites
- M1021 → mitigates → T1204.001: Malicious Link
- M1021 → mitigates → T1566.001: Spearphishing Attachment
Authoritative sources and attribution
Identifiers and source titles belong to OWASP, MITRE, the CVE Program, CISA, NIST or the cited vendor. Source excerpts are attributed and adapted under the linked publisher license; editorial context is separate. This is not an official framework mirror. Review baseline: 2026-11-18. Live documents can change; check exact current applicability.
- https://attack.mitre.org/mitigations/M1021 — Publisher link; not separately HTTP-checked
- enterprise — source accessed 2026-11-18
Source review supports bounded reference text. It is not execution evidence, a completeness claim, a CVSS assessment, a compliance certification or verification of production security.
