Skip to content

Commit e5ec23a

Browse files
authored
Enhance README with NRPT script details and downloads
Updated instructions for the NRPT block script and added usage examples for downloading KEV JSON and EPSS CSV.
1 parent 508e108 commit e5ec23a

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -645,26 +645,34 @@ Performs automated subdomain discovery and service enumeration by ingesting a CS
645645

646646
Add local Windows NRPT-based RMM domain block script generated from the LOLRMM domain list.
647647
NRPTUsage: run PowerShell as Administrator, then execute
648+
648649
`.\rmm_nrpt_block.ps1`
650+
649651
to create local RMMBlockTest NRPT rules.NRPT (Name Resolution Policy Table) lets Windows apply DNS resolution rules for domain namespaces/suffixes before normal DNS lookup, making it better suited than a hosts file for wildcard-style domains like *.teamviewer.com or *.anydesk.com.
650652
Removal: run
653+
651654
`.\rmm_nrpt_block.ps1 -Remove`
655+
652656
to delete only the NRPT rules created by this script.
653657

654658
Chosen over hosts file because hosts only supports exact hostnames, while NRPT supports broader namespace/suffix blocking for local testing.
655659
To verify rule run:
660+
656661
`Get-DnsClientNrptRule | Where-Object Comment -eq 'RMMBlockTest'`
657662

658663
---
659664
### `lookup.ps1`
660665

661666
Download KEV JSON
667+
662668
`Invoke-WebRequest -Uri "https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json" -OutFile kev.json`
663669

664670
Download EPSS CSV
671+
665672
`Invoke-WebRequest -Uri "https://epss.cyentia.com/epss_scores-current.csv.gz" -OutFile epss.gz`
666673

667674
Populate table with your CVEs
675+
668676
```powershell
669677
[PSCustomObject]@{
670678
Asset = "foo - Edge Browser"

0 commit comments

Comments
 (0)