Skip to content

Commit

Permalink
Improves the default registry filters (#90)
Browse files Browse the repository at this point in the history
* Improve registry filter

* More filters

Remove intermittent log message in registry collector
  • Loading branch information
gfs authored Apr 7, 2019
1 parent e63a0a1 commit 739e9a6
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 6 deletions.
5 changes: 0 additions & 5 deletions Lib/Collectors/Registry/RegistryCollector.cs
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,6 @@ public void Write(RegistryObject obj)
{
Log.Debug(e.GetType() + "thrown in registry collector");
}

if (_numCollected++ % 100000 == 0)
{
Log.Information(_numCollected + (" of 6-800k"));
}
}
}
catch(Exception)
Expand Down
18 changes: 17 additions & 1 deletion filters.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,23 @@
"^HKEY_LOCAL_MACHINE\\\\SYSTEM\\\\CurrentControlSet\\\\Services\\\\mpssvc\\\\Parameters$",
"^HKEY_LOCAL_MACHINE\\\\SYSTEM\\\\ControlSet001\\\\Enum$",
"^HKEY_LOCAL_MACHINE\\\\SYSTEM\\\\ControlSet001\\\\Control$",
"^HKEY_LOCAL_MACHINE\\\\SYSTEM\\\\ControlSet001\\\\Services$"
"^HKEY_LOCAL_MACHINE\\\\SOFTWARE\\\\Microsoft\\\\WwanSvc$",
"^HKEY_LOCAL_MACHINE\\\\SOFTWARE\\\\WOW6432Node\\\\Microsoft\\\\Windows\\\\CurrentVersion\\\\AppModel$",
"^HKEY_LOCAL_MACHINE\\\\SOFTWARE\\\\WOW6432Node\\\\Microsoft\\\\Windows NT\\\\CurrentVersion\\\\Perflib\\\\CurrentLanguage$",
"^HKEY_USERS\\\\S-[0-9]*-[0-9]*-[0-9]*\\\\Software\\\\Microsoft\\\\SystemCertificates\\\\Root$",
"^HKEY_USERS\\\\S-[0-9]*-[0-9]*-[0-9]*\\\\Software\\\\Microsoft\\\\SystemCertificates\\\\ROOT$",
"^HKEY_USERS\\\\S-[0-9]*-[0-9]*-[0-9]*\\\\Software\\\\Microsoft\\\\Cryptography$",
"^HKEY_USERS\\\\.DEFAULT\\\\Software\\\\Microsoft\\\\SystemCertificates\\\\Root$",
"^HKEY_LOCAL_MACHINE\\\\SOFTWARE\\\\Microsoft\\\\Windows NT\\\\CurrentVersion\\\\Perflib",
"^HKEY_LOCAL_MACHINE\\\\SOFTWARE\\\\Microsoft\\\\Windows NT\\\\CurrentVersion\\\\AppCompatFlags\\\\CIT$",
"^HKEY_LOCAL_MACHINE\\\\SOFTWARE\\\\Microsoft\\\\Windows\\\\CurrentVersion",
"^HKEY_LOCAL_MACHINE\\\\SOFTWARE\\\\Microsoft\\\\WcmSvc\\\\wifinetworkmanager$",
"^HKEY_LOCAL_MACHINE\\\\SYSTEM\\\\ControlSet001\\\\Services\\\\ADOVMPPackages",
"^HKEY_LOCAL_MACHINE\\\\SYSTEM\\\\ControlSet001\\\\Services\\\\DeviceAssociationService\\\\State\\\\Store\\\\",
"^HKEY_LOCAL_MACHINE\\\\SYSTEM\\\\ControlSet001\\\\Services\\\\mpssvc\\\\Parameterss",
"^HKEY_LOCAL_MACHINE\\\\SYSTEM\\\\ControlSet001\\\\Services\\\\PolicyAgent\\\\Parameters",
"^HKEY_CURRENT_USER\\\\System\\\\CurrentControlSet\\\\Control\\\\DeviceContainers\\\\",
"^HKEY_LOCAL_MACHINE\\\\SOFTWARE\\\\WOW6432Node\\\\Microsoft\\\\EAPSIMMethods"
]
},
"Hive": {
Expand Down

0 comments on commit 739e9a6

Please sign in to comment.