EVENT ANALYSIS
Audit first.
Then let the data decide.
Collect a CSV of ASR events from one machine or a whole ring, drop the files here, and see what would break before you switch to block. Files are parsed in your browser and never uploaded.
01 / COLLECT
One command per machine.
Reads events 1121, 1122, 1129, 5007 (ASR changes only), 1123–1126. No admin needed beyond event log read access.
& ([scriptblock]::Create((irm 'https://asrrules.com/asr-rules-builder.ps1'))) -Action Collect -Days 30Writes %USERPROFILE%\ASR-Rules-Builder\asr-events-<COMPUTER>-<timestamp>.csv and prints a summary. Columns: TimeCreated,Computer,EventId,Mode,RuleId,RuleName,Path,ProcessName,User,TargetCommandline,ParentCommandline,DetectionTime.
Fleet: Intune remediation or RMM, copying CSVs to a share
# Intune remediation (detection script) or RMM job, running as SYSTEM.
# Writes the CSV locally, then copies it to a share the device's computer account can write to.
$out = Join-Path $env:ProgramData 'ASR-Rules-Builder\collect'
& ([scriptblock]::Create((irm 'https://asrrules.com/asr-rules-builder.ps1'))) -Action Collect -Days 14 -OutDir $out
$code = $LASTEXITCODE # 0 ok, 2 event log not readable or CSV not written
$share = '\\fileserver\asr-events$'
Get-ChildItem $out -Filter 'asr-events-*.csv' |
Sort-Object LastWriteTime -Descending | Select-Object -First 1 |
Copy-Item -Destination $share
exit $codeFleet: Invoke-Command over WinRM, gathering CSVs on your workstation
# From an admin workstation: collect from many machines over WinRM, gather CSVs locally.
$computers = Get-Content .\pilot-ring.txt
$script = (irm 'https://asrrules.com/asr-rules-builder.ps1')
Invoke-Command -ComputerName $computers -ScriptBlock {
param($code)
& ([scriptblock]::Create($code)) -Action Collect -Days 30 -OutDir 'C:\Windows\Temp\ASR-Rules-Builder' | Out-Null
Get-ChildItem 'C:\Windows\Temp\ASR-Rules-Builder' -Filter 'asr-events-*.csv' |
Sort-Object LastWriteTime -Descending | Select-Object -First 1 | Get-Content -Raw
} -ArgumentList $script | ForEach-Object {
$_ | Set-Content -Path ".\asr-events-$($_.PSComputerName).csv" -Encoding UTF8
}02 / ANALYZE
Drop your CSVs.
Load one or many files. Extra columns are tolerated. To find block candidates, open this page from a builder link (it carries #p=) or paste one below.
No policy loaded. Paste a builder link to compare against it.
Noisiest ASR rules
ASR events per rule, split by mode. CFA and network protection are shown separately below.
Events per day
All filtered events, UTC days.
Top initiating processes
ASR events by ProcessName.
Top target paths
ASR events by Path (what the rule acted on).
By computer
All filtered events per device.
Top users
ASR events by user.
Controlled folder access & network protection
Related protections, kept out of the ASR rule chart.
Block candidates
Suggest exclusions
Most-audited paths per rule. Select the ones you've reviewed and trust, then open them in the builder as per-rule exclusions.
An exclusion turns the rule off for that path. Prefer specific files to folders, never exclude user-writable locations or script hosts, and confirm the binary is signed and expected.