Detection rules › Sigma
Modification of IE Registry Settings
Detects modification of the registry settings used for Internet Explorer and other Windows components that use these settings. An attacker can abuse this registry key to add a domain to the trusted sites Zone or insert JavaScript for persistence
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Persistence | |
| Defense Impairment |
Telemetry coverage
| Provider | Record / event type |
|---|---|
| Sysmon | Event ID 13: RegistryEvent (Value Set) |
Rule body
title: Modification of IE Registry Settings
id: d88d0ab2-e696-4d40-a2ed-9790064e66b3
status: test
description: Detects modification of the registry settings used for Internet Explorer and other Windows components that use these settings. An attacker can abuse this registry key to add a domain to the trusted sites Zone or insert JavaScript for persistence
references:
- https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1112/T1112.md#atomic-test-4---add-domain-to-trusted-sites-zone
- https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1112/T1112.md#atomic-test-5---javascript-in-registry
author: frack113
date: 2022-01-22
modified: 2025-10-22
tags:
- attack.persistence
- attack.defense-impairment
- attack.t1112
logsource:
category: registry_set
product: windows
detection:
selection_domains:
TargetObject|contains: '\Software\Microsoft\Windows\CurrentVersion\Internet Settings'
filter_main_dword:
Details|startswith: 'DWORD'
filter_main_null:
Details: null
filter_main_office:
Details:
- 'Cookie:'
- 'Visited:'
- '(Empty)'
filter_main_path:
TargetObject|contains:
- '\Cache'
- '\ZoneMap'
- '\WpadDecision'
filter_main_binary:
Details: 'Binary Data'
filter_optional_accepted_documents:
# Spotted during Office installations
TargetObject|contains: '\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Accepted Documents'
condition: selection_domains and not 1 of filter_main_* and not 1 of filter_optional_*
falsepositives:
- Unknown
level: low
Stages and Predicates
Stage 0: condition
selection_domains and not 1 of filter_main_* and not 1 of filter_optional_*Stage 1: selection_domains
selection_domains:
TargetObject|contains: '\Software\Microsoft\Windows\CurrentVersion\Internet Settings'
Stage 2: not filter_main_*
filter_main_dword:
Details|startswith: 'DWORD'
filter_main_null:
Details: null
filter_main_office:
Details:
- 'Cookie:'
- 'Visited:'
- '(Empty)'
filter_main_path:
TargetObject|contains:
- '\Cache'
- '\ZoneMap'
- '\WpadDecision'
filter_main_binary:
Details: 'Binary Data'
Stage 3: not filter_optional_accepted_documents
filter_optional_accepted_documents:
TargetObject|contains: '\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Accepted Documents'
Exclusions
The rule actively suppresses these predicates.
| Field | Kind | Excluded values | Search |
|---|---|---|---|
Details | eq | (Empty) | excludes:Details field:"Details" value:"(Empty)" |
Details | eq | Binary Data | excludes:Details field:"Details" value:"Binary Data" |
Details | eq | Cookie: | excludes:Details field:"Details" value:"Cookie:" |
Details | eq | Visited: | excludes:Details field:"Details" value:"Visited:" |
Details | is_null | excludes:Details | |
Details | starts_with | DWORD | excludes:Details field:"Details" value:"DWORD" |
TargetObject | match | \Cache | excludes:TargetObject field:"TargetObject" value:"\Cache" |
TargetObject | match | \WpadDecision | excludes:TargetObject field:"TargetObject" value:"\WpadDecision" |
TargetObject | match | \ZoneMap | excludes:TargetObject field:"TargetObject" value:"\ZoneMap" |
TargetObject | match | \Software\Microsoft\Windows\CurrentVersion\Internet Settings\Accepted Documents | excludes:TargetObject field:"TargetObject" value:"\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Accepted Documents" |
Indicators
These rows show field, operator, and value matches.
| Field | Kind | Values | Search |
|---|---|---|---|
TargetObject | match |
| field:"TargetObject" kind:match value:"\Software\Microsoft\Windows\CurrentVersion\Internet Settings" |