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 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235
|
<?xml version='1.0' encoding='UTF-8'?>
<patterndb version='4' pub_date='2017-08-23'>
<ruleset name='WindowsAudit' id='bee1a302-68fc-469e-80e9-2799c5b709d9'>
<pattern>Microsoft_Windows_security_auditing.</pattern>
<rules>
<rule id='logon' provider='user' class='logon'>
<patterns>
<pattern>@ESTRING:::@ Security Microsoft Windows security auditing.: [Success Audit] An account was successfully logged on.
Subject:
Security ID: @NLSTRING:@
Account Name: @NLSTRING:@
Account Domain: @NLSTRING:.win.SubjectDomainName@
Logon ID: @NLSTRING:@
Logon Type: @NLSTRING:.win.LogonType@
New Logon:
Security ID: @NLSTRING:@
Account Name: @NLSTRING:.win.TargetUserName@
Account Domain: @NLSTRING:.win.TargetDomainName@
Logon ID: @NLSTRING:.win.TargetLogonId@
Logon GUID: @NLSTRING:.win.LogonGuid@
Process Information:
Process ID: @NLSTRING:.win.ProcessId@
Process Name: @NLSTRING:.win.ProcessName@
Network Information:
Workstation Name: @NLSTRING:.win.WorkstationName@
Source Network Address: @NLSTRING:.win.IpAddress@
Source Port: @NLSTRING:.win.IpPort@
Detailed Authentication Information:
Logon Process: @NLSTRING:.win.LogonProcessName@
Authentication Package: @NLSTRING:.win.AuthenticationPackageName@
Transited Services: @NLSTRING:.win.TransmittedServices@
Package Name (NTLM only): @NLSTRING:.win.LmPackageName@
Key Length: @NLSTRING:.win.KeyLength@
This event is generated when a logon session is created. It is generated on the computer that was accessed.
The subject fields indicate the account on the local system which requested the logon. This is most commonly a service such as the Server service, or a local process such as Winlogon.exe or Services.exe.
The logon type field indicates the kind of logon that occurred. The most common types are 2 (interactive) and 3 (network).
The New Logon fields indicate the account for whom the new logon was created, i.e. the account that was logged on.
The network fields indicate where a remote logon request originated. Workstation name is not always available and may be left blank in some cases.
The authentication information fields provide detailed information about this specific logon request.
- Logon GUID is a unique identifier that can be used to correlate this event with a KDC event.
- Transited services indicate which intermediate services have participated in this logon request.
- Package name indicates which sub-protocol was used among the NTLM protocols.
- Key length indicates the length of the generated session key. This will be 0 if no session key was requested. (EventID @ESTRING:.win.EventID:)@</pattern>
</patterns>
<tags></tags>
<values></values>
<examples>
<example>
<test_message program='Microsoft_Windows_security_auditing.'>BSP-WIN2K8R2-EN\Administrator: Security Microsoft Windows security auditing.: [Success Audit] An account was successfully logged on.
Subject:
Security ID: NT AUTHORITY\SYSTEM
Account Name: BSP-WIN2K8R2-EN$
Account Domain: BSP
Logon ID: 0x3e7
Logon Type: 10
New Logon:
Security ID: BSP-WIN2K8R2-EN\Administrator
Account Name: Administrator
Account Domain: BSP-WIN2K8R2-EN
Logon ID: 0xdeadbeef
Logon GUID: {00000000-0000-0000-0000-000000000000}
Process Information:
Process ID: 0xabc
Process Name: C:\Windows\System32\winlogon.exe
Network Information:
Workstation Name: BSP-WIN2K8R2-EN
Source Network Address: 10.20.30.40
Source Port: 56789
Detailed Authentication Information:
Logon Process: User32
Authentication Package: Negotiate
Transited Services: -
Package Name (NTLM only): -
Key Length: 0
This event is generated when a logon session is created. It is generated on the computer that was accessed.
The subject fields indicate the account on the local system which requested the logon. This is most commonly a service such as the Server service, or a local process such as Winlogon.exe or Services.exe.
The logon type field indicates the kind of logon that occurred. The most common types are 2 (interactive) and 3 (network).
The New Logon fields indicate the account for whom the new logon was created, i.e. the account that was logged on.
The network fields indicate where a remote logon request originated. Workstation name is not always available and may be left blank in some cases.
The authentication information fields provide detailed information about this specific logon request.
- Logon GUID is a unique identifier that can be used to correlate this event with a KDC event.
- Transited services indicate which intermediate services have participated in this logon request.
- Package name indicates which sub-protocol was used among the NTLM protocols.
- Key length indicates the length of the generated session key. This will be 0 if no session key was requested. (EventID 4624)</test_message>
<test_values>
<test_value name='.win.EventID'>4624</test_value>
<test_value name='.win.TargetUserName'>Administrator</test_value>
<test_value name='.win.SubjectDomainName'>BSP</test_value>
<test_value name='.win.IpAddress'>10.20.30.40</test_value>
<test_value name='.win.IpPort'>56789</test_value>
<test_value name='.win.WorkstationName'>BSP-WIN2K8R2-EN</test_value>
<test_value name='.win.TargetLogonId'>0xdeadbeef</test_value>
<test_value name='.win.ProcessName'>C:\Windows\System32\winlogon.exe</test_value>
<test_value name='.win.ProcessId'>0xabc</test_value>
<test_value name='.win.LogonType'>10</test_value>
<test_value name='.win.TargetDomainName'>BSP-WIN2K8R2-EN</test_value>
<test_value name='.win.LogonGuid'>{00000000-0000-0000-0000-000000000000}</test_value>
<test_value name='.win.AuthenticationPackageName'>Negotiate</test_value>
<test_value name='.win.LogonProcessName'>User32 </test_value>
<test_value name='.win.LmPackageName'>-</test_value>
<test_value name='.win.TransmittedServices'>-</test_value>
<test_value name='.win.KeyLength'>0</test_value>
</test_values>
</example>
</examples>
</rule>
<rule id='logoff' provider='user' class='logoff'>
<patterns>
<pattern>@ESTRING:::@ Security Microsoft Windows security auditing.: [Success Audit] An account was logged off.
Subject:
Security ID: @NLSTRING:.win.TargetUserSid@
Account Name: @NLSTRING:.win.TargetUserName@
Account Domain: @NLSTRING:.win.TargetDomainName@
Logon ID: @NLSTRING:.win.TargetLogonId@
Logon Type: @NLSTRING:.win.LogonType@
This event is generated when a logon session is destroyed. It may be positively correlated with a logon event using the Logon ID value. Logon IDs are only unique between reboots on the same computer. (EventID @ESTRING:.win.EventID:)@</pattern>
</patterns>
<tags></tags>
<values></values>
<examples>
<example>
<test_message program='Microsoft_Windows_security_auditing.'>BSP-WIN2K8R2-EN\Administrator: Security Microsoft Windows security auditing.: [Success Audit] An account was logged off.
Subject:
Security ID: BSP-WIN2K8R2-EN\Administrator
Account Name: Administrator
Account Domain: BSP-WIN2K8R2-EN
Logon ID: 0xdeadbeef
Logon Type: 10
This event is generated when a logon session is destroyed. It may be positively correlated with a logon event using the Logon ID value. Logon IDs are only unique between reboots on the same computer. (EventID 4634)</test_message>
<test_values>
<test_value name='.win.EventID'>4634</test_value>
<test_value name='.win.TargetUserSid'>BSP-WIN2K8R2-EN\Administrator</test_value>
<test_value name='.win.TargetUserName'>Administrator</test_value>
<test_value name='.win.TargetDomainName'>BSP-WIN2K8R2-EN</test_value>
<test_value name='.win.LogonType'>10</test_value>
<test_value name='.win.TargetLogonId'>0xdeadbeef</test_value>
</test_values>
</example>
</examples>
</rule>
<rule id='processcreation' provider='user' class='processcreation'>
<patterns>
<pattern>@ESTRING:::@ Security Microsoft Windows security auditing.: [Success Audit] A new process has been created.
Subject:
Security ID: @NLSTRING:.win.TargetUserSid@
Account Name: @NLSTRING:.win.TargetUserName@
Account Domain: @NLSTRING:.win.SubjectDomainName@
Logon ID: @NLSTRING:.win.TargetLogonId@
Process Information:
New Process ID: @NLSTRING:.win.NewProcessId@
New Process Name: @NLSTRING:.win.NewProcessName@
Token Elevation Type: @NLSTRING:@
Creator Process ID: @NLSTRING:.win.ParentProcessId@
Token Elevation Type indicates the type of token that was assigned to the new process in accordance with User Account Control policy.
Type 1 is a full token with no privileges removed or groups disabled. A full token is only used if User Account Control is disabled or if the user is the built-in Administrator account or a service account.
Type 2 is an elevated token with no privileges removed or groups disabled. An elevated token is used when User Account Control is enabled and the user chooses to start the program using Run as administrator. An elevated token is also used when an application is configured to always require administrative privilege or to always require maximum privilege, and the user is a member of the Administrators group.
Type 3 is a limited token with administrative privileges removed and administrative groups disabled. The limited token is used when User Account Control is enabled, the application does not require administrative privilege, and the user does not choose to start the program using Run as administrator. (EventID @ESTRING:.win.EventID:)@</pattern>
</patterns>
<tags></tags>
<values></values>
<examples>
<example>
<test_message program="Microsoft_Windows_security_auditing.">BSP\BSP-WIN2K8R2-EN$: Security Microsoft Windows security auditing.: [Success Audit] A new process has been created.
Subject:
Security ID: NT AUTHORITY\SYSTEM
Account Name: BSP-WIN2K8R2-EN$
Account Domain: BSP
Logon ID: 0x3e7
Process Information:
New Process ID: 0x8ec
New Process Name: C:\Windows\System32\smss.exe
Token Elevation Type: TokenElevationTypeDefault (1)
Creator Process ID: 0xe8
Token Elevation Type indicates the type of token that was assigned to the new process in accordance with User Account Control policy.
Type 1 is a full token with no privileges removed or groups disabled. A full token is only used if User Account Control is disabled or if the user is the built-in Administrator account or a service account.
Type 2 is an elevated token with no privileges removed or groups disabled. An elevated token is used when User Account Control is enabled and the user chooses to start the program using Run as administrator. An elevated token is also used when an application is configured to always require administrative privilege or to always require maximum privilege, and the user is a member of the Administrators group.
Type 3 is a limited token with administrative privileges removed and administrative groups disabled. The limited token is used when User Account Control is enabled, the application does not require administrative privilege, and the user does not choose to start the program using Run as administrator. (EventID 4688)</test_message>
<test_values>
<test_value name='.win.EventID'>4688</test_value>
<test_value name='.win.TargetUserSid'>NT AUTHORITY\SYSTEM</test_value>
<test_value name='.win.TargetUserName'>BSP-WIN2K8R2-EN$</test_value>
<test_value name='.win.SubjectDomainName'>BSP</test_value>
<test_value name='.win.TargetLogonId'>0x3e7</test_value>
<test_value name='.win.NewProcessId'>0x8ec</test_value>
<test_value name='.win.NewProcessName'>C:\Windows\System32\smss.exe</test_value>
<test_value name='.win.ParentProcessId'>0xe8</test_value>
</test_values>
</example>
</examples>
</rule>
</rules>
</ruleset>
</patterndb>
|