forked from palantir/windows-event-forwarding
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAuthentication.xml
58 lines (58 loc) · 3.12 KB
/
Authentication.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<Subscription xmlns="http://schemas.microsoft.com/2006/03/windows/events/subscription">
<SubscriptionId>Authentication</SubscriptionId>
<SubscriptionType>SourceInitiated</SubscriptionType>
<Description>Authentication events during logon and logoff.</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">
<!-- 4624: An account was successfully logged on. -->
<!-- 4625: An account failed to log on. -->
<!-- 4626: User/Device claims information. -->
<Select Path="Security">*[System[(EventID >=4624 and EventID <=4626)]]</Select>
<!-- 4634: An account was successfully logged off. -->
<!-- 4647: User initiated logoff. -->
<!-- 4649: A replay attack was detected. -->
<!-- 4672: Special privileges assigned to a new logon, administrative logins -sa, -ada, etc. -->
<!-- 4675: SIDs were filtered. -->
<Select Path="Security">*[System[(EventID=4634 or EventID=4647 or EventID=4649 or EventID=4672 or EventID=4675)]]</Select>
<!-- 4774: An account was mapped for logon. -->
<!-- 4775: An account could not be mapped for logon. -->
<!-- 4776: The computer attempted to validate the credentials for an account. -->
<!-- 4777: The domain controller failed to validate the credentials for an account. -->
<!-- 4778: A session was reconnected to a Window Station. -->
<!-- 4779: A session was disconnected from a Window Station. -->
<Select Path="Security">*[System[(EventID >=4774 and EventID <=4779)]]</Select>
<!-- 4800 The workstation was locked. -->
<!-- 4801 The workstation was unlocked. -->
<!-- 4802 The screen saver was invoked. -->
<!-- 4803 The screen saver was dismissed. -->
<Select Path="Security">*[System[(EventID >=4800 and EventID <=4803)]]</Select>
<!-- 4964: Special groups have been assigned a new logon. -->
<Select Path="Security">*[System[(EventID=4964)]]</Select>
<!-- 5378 The requested credentials delegation was disallowed by policy. -->
<Select Path="Security">*[System[(EventID=5378)]]</Select>
<!-- Suppress SECURITY_LOCAL_SYSTEM_RID A special account used by the OS, noisy -->
<Suppress Path="Security">*[EventData[Data[1]="S-1-5-18"]]</Suppress>
</Query>
</QueryList>]]></Query>
<ReadExistingEvents>true</ReadExistingEvents>
<TransportName>http</TransportName>
<ContentFormat>RenderedText</ContentFormat>
<Locale Language="en-US"/>
<LogFile>WEC-Authentication</LogFile>
<AllowedSourceNonDomainComputers/>
<AllowedSourceDomainComputers>O:NSG:NSD:(A;;GA;;;DC)(A;;GA;;;NS)(A;;GA;;;DD)</AllowedSourceDomainComputers>
</Subscription>