forked from palantir/windows-event-forwarding
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Process-Execution.xml
35 lines (35 loc) · 1.47 KB
/
Process-Execution.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<Subscription xmlns="http://schemas.microsoft.com/2006/03/windows/events/subscription">
<SubscriptionId>Process-Execution</SubscriptionId>
<SubscriptionType>SourceInitiated</SubscriptionType>
<Description>Process Execution and Command-line Auditing Events</Description>
<Enabled>true</Enabled>
<Uri>http://schemas.microsoft.com/wbem/wsman/1/windows/EventLog</Uri>
<ConfigurationMode>Custom</ConfigurationMode>
<Delivery Mode="Push">
<Batching>
<MaxItems>5</MaxItems>
<MaxLatencyTime>300000</MaxLatencyTime>
</Batching>
<PushSettings>
<Heartbeat Interval="1800000"/>
</PushSettings>
</Delivery>
<Query><![CDATA[
<QueryList>
<!-- Inspired by Microsoft Documentation and/or IADGOV -->
<Query Id="0" Path="Security">
<!-- Command line auditing is disabled by default. Enable it via https://goo.gl/Gua8oj -->
<!-- 4688: Process Created -->
<Select Path="Security">*[System[(EventID=4688)]]</Select>
<!-- 4699: Process Terminated -->
<Select Path="Security">*[System[(EventID=4689)]]</Select>
</Query>
</QueryList>]]></Query>
<ReadExistingEvents>true</ReadExistingEvents>
<TransportName>http</TransportName>
<ContentFormat>RenderedText</ContentFormat>
<Locale Language="en-US"/>
<LogFile>WEC-Process-Execution</LogFile>
<AllowedSourceNonDomainComputers/>
<AllowedSourceDomainComputers>O:NSG:NSD:(A;;GA;;;DC)(A;;GA;;;NS)(A;;GA;;;DD)</AllowedSourceDomainComputers>
</Subscription>