<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Monitoring specific keys in the registry in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Monitoring-specific-keys-in-the-registry/m-p/338566#M62495</link>
    <description>&lt;P&gt;Here are a few examples that I run.  For HKCU, you have to use this format:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[WinRegMon://hkcu_run1]
disabled = 0
hive = \\REGISTRY\\USER\\.*\\Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer\\Run\\.*
proc = .*
type = set|create|delete|rename
index = windows
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;For HKLM you use MACHINE:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[WinRegMon://hklm_run1]
disabled = 0
hive = \\REGISTRY\\MACHINE\\Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer\\Run\\.*
proc = .*
type = set|create|delete|rename
index = windows
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You don't need to add stanzas for HKU, because your HKCU stanzas will suffice.&lt;/P&gt;</description>
    <pubDate>Wed, 08 Nov 2017 19:27:42 GMT</pubDate>
    <dc:creator>xavierashe</dc:creator>
    <dc:date>2017-11-08T19:27:42Z</dc:date>
    <item>
      <title>Monitoring specific keys in the registry</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Monitoring-specific-keys-in-the-registry/m-p/338565#M62494</link>
      <description>&lt;P&gt;I had the default registry monitoring turned on for our desktops for a day but it used way too much of our license so I had to disable it.&lt;/P&gt;

&lt;P&gt;I am interested in monitoring a few keys but I am unclear on how to fill out the hive portion within the inputs.conf file.&lt;/P&gt;

&lt;P&gt;Example of the keys I might monitor:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;REGISTRY: Watch for the creation or modification of new registry keys and values
a. 4657 – Accesses: WriteData (or AddFile)
i. HKLM, HKCU &amp;amp; HKU – Software\Microsoft\Windows\CurrentVersion&lt;/LI&gt;
&lt;LI&gt;Run, RunOnce
ii. HKLM\Software\Microsoft\Windows NT\CurrentVersion\Windows&lt;/LI&gt;
&lt;LI&gt;Watch AppInit_Dlls
iii. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\EMDMgmt&lt;/LI&gt;
&lt;LI&gt;Watch Connection time of USB Devices
iv. HKLM\System\CurrentControlSet\Services&lt;/LI&gt;
&lt;LI&gt;Watch for NEW Services
v. HKLM\SYSTEM\CurrentControlSet\Enum\USBSTOR&lt;/LI&gt;
&lt;LI&gt;Watch for NEW USB devices&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:31:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Monitoring-specific-keys-in-the-registry/m-p/338565#M62494</guid>
      <dc:creator>heathramos</dc:creator>
      <dc:date>2020-09-29T16:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: Monitoring specific keys in the registry</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Monitoring-specific-keys-in-the-registry/m-p/338566#M62495</link>
      <description>&lt;P&gt;Here are a few examples that I run.  For HKCU, you have to use this format:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[WinRegMon://hkcu_run1]
disabled = 0
hive = \\REGISTRY\\USER\\.*\\Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer\\Run\\.*
proc = .*
type = set|create|delete|rename
index = windows
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;For HKLM you use MACHINE:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[WinRegMon://hklm_run1]
disabled = 0
hive = \\REGISTRY\\MACHINE\\Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer\\Run\\.*
proc = .*
type = set|create|delete|rename
index = windows
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You don't need to add stanzas for HKU, because your HKCU stanzas will suffice.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2017 19:27:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Monitoring-specific-keys-in-the-registry/m-p/338566#M62495</guid>
      <dc:creator>xavierashe</dc:creator>
      <dc:date>2017-11-08T19:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: Monitoring specific keys in the registry</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Monitoring-specific-keys-in-the-registry/m-p/338567#M62496</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Can you advise how you can monitor multiple Reg Keys in the same stanza ?&lt;/P&gt;

&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jun 2018 11:18:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Monitoring-specific-keys-in-the-registry/m-p/338567#M62496</guid>
      <dc:creator>AaronMoorcroft</dc:creator>
      <dc:date>2018-06-01T11:18:17Z</dc:date>
    </item>
  </channel>
</rss>

