<?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: failed logins locking accounts. in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/failed-logins-locking-accounts/m-p/104219#M183150</link>
    <description>&lt;P&gt;thanks for the replies.  below is a sample error from the log.  using the search strings you kindly provided details everything as user=null.  is it possible to have splunk return entries based upon 'account for which logon failed' so that it returns the machines that are failing to login?  this should then allow me to identify the wonky machines.  i've tried adjusting the search terms but it doesn't appear to like spaces, even if i enclose items within either '' or "".  thanks, andy.&lt;/P&gt;

&lt;P&gt;20111107091459.000000&lt;BR /&gt;
Category=12544&lt;BR /&gt;
CategoryString=Logon&lt;BR /&gt;
ComputerName=server.domain.org&lt;BR /&gt;
EventCode=4625&lt;BR /&gt;
EventIdentifier=4625&lt;BR /&gt;
EventType=5&lt;BR /&gt;
Logfile=Security&lt;BR /&gt;
RecordNumber=106973290&lt;BR /&gt;
SourceName=Microsoft-Windows-Security-Auditing&lt;BR /&gt;
TimeGenerated=20111107091459.415352-000&lt;BR /&gt;
TimeWritten=20111107091459.415352-000&lt;BR /&gt;
Type=Audit Failure&lt;BR /&gt;
User=NULL&lt;BR /&gt;
wmi_type=WinEventLog:Security&lt;BR /&gt;
Message=An account failed to log on.&lt;/P&gt;

&lt;P&gt;Subject:&lt;BR /&gt;
    Security ID:        S-1-0-0&lt;BR /&gt;
    Account Name:       -&lt;BR /&gt;
    Account Domain:     -&lt;BR /&gt;
    Logon ID:       0x0&lt;/P&gt;

&lt;P&gt;Logon Type:         3&lt;/P&gt;

&lt;P&gt;Account For Which Logon Failed:&lt;BR /&gt;
    Security ID:        S-1-0-0&lt;BR /&gt;
    Account Name:       update.account&lt;BR /&gt;
    Account Domain:     update.hostname&lt;BR /&gt;
Failure Information:&lt;BR /&gt;
    Failure Reason:     Unknown user name or bad password.&lt;BR /&gt;
    Status:         0xc000006d&lt;BR /&gt;
    Sub Status:     0xc0000064&lt;/P&gt;

&lt;P&gt;Process Information:&lt;BR /&gt;
    Caller Process ID:  0x0&lt;BR /&gt;
    Caller Process Name:    -&lt;/P&gt;

&lt;P&gt;Network Information:&lt;BR /&gt;
    Workstation Name:   update.hostname&lt;BR /&gt;
        Source Network Address: ip.address&lt;BR /&gt;
        Source Port:        port&lt;BR /&gt;
Detailed Authentication Information:&lt;BR /&gt;
    Logon Process:      NtLmSsp &lt;BR /&gt;
    Authentication Package: NTLM&lt;BR /&gt;
    Transited Services: -&lt;BR /&gt;
    Package Name (NTLM only):   -&lt;BR /&gt;
    Key Length:     0&lt;/P&gt;

&lt;P&gt;This event is generated when a logon request fails. It is generated on the computer where access was attempted.&lt;/P&gt;

&lt;P&gt;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.&lt;/P&gt;

&lt;P&gt;The Logon Type field indicates the kind of logon that was requested. The most common types are 2 (interactive) and 3 (network).&lt;/P&gt;

&lt;P&gt;The Process Information fields indicate which account and process on the system requested the logon.&lt;/P&gt;

&lt;P&gt;The Network Information fields indicate where a remote logon request originated. Workstation name is not always available and may be left blank in some cases.&lt;/P&gt;

&lt;P&gt;The authentication information fields provide detailed information about this specific logon request.&lt;BR /&gt;
    - Transited services indicate which intermediate services have participated in this logon request.&lt;BR /&gt;
    - Package name indicates which sub-protocol was used among the NTLM protocols.&lt;BR /&gt;
    - Key length indicates the length of the generated session key. This will be 0 if no session key was requested.&lt;/P&gt;</description>
    <pubDate>Mon, 07 Nov 2011 10:18:52 GMT</pubDate>
    <dc:creator>atomlinson81</dc:creator>
    <dc:date>2011-11-07T10:18:52Z</dc:date>
    <item>
      <title>failed logins locking accounts.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/failed-logins-locking-accounts/m-p/104216#M183147</link>
      <description>&lt;P&gt;a bit of background info - we use sophos av software, and all machines use a local account on the sophos management server to download updates from the central repository.  we must have some client devices out there with an incorrect password as we are seeing this account being locked out on a very intermittent basis - sometimes it can be weeks/months inbetween account lockouts, but i've just had two in as many days.  we've got the server auditing logins and i've got an instance of splunk indexing the event log from this server.  the security policy on the server is set to lock out the account after five incorrect logins.  is it possible for me to use splunk to quickly identify the offending device(s)?  and if so, please could someone help me build out the query to do this?  thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2011 16:16:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/failed-logins-locking-accounts/m-p/104216#M183147</guid>
      <dc:creator>atomlinson81</dc:creator>
      <dc:date>2011-11-04T16:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: failed logins locking accounts.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/failed-logins-locking-accounts/m-p/104217#M183148</link>
      <description>&lt;P&gt;You probably want to find all the failed logins and chart them over time, by user.   So something like this:&lt;/P&gt;

&lt;P&gt;source=security_log_file failed login | timechart count by user&lt;/P&gt;

&lt;P&gt;You will need to make sure you are extracting the user name per failed event.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 10:03:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/failed-logins-locking-accounts/m-p/104217#M183148</guid>
      <dc:creator>Simeon</dc:creator>
      <dc:date>2020-09-28T10:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: failed logins locking accounts.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/failed-logins-locking-accounts/m-p/104218#M183149</link>
      <description>&lt;P&gt;I have seen the following info from many different devices. You can really narrow this down if you have the exact field that EventCode that you need. Here is an example search that we use:&lt;/P&gt;

&lt;P&gt;fail* password | stats count by User_Name | where count &amp;gt; 5 &lt;/P&gt;

&lt;P&gt;Make sure you change the timepicker to whatever time range that you want. &lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2011 19:36:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/failed-logins-locking-accounts/m-p/104218#M183149</guid>
      <dc:creator>tgow</dc:creator>
      <dc:date>2011-11-04T19:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: failed logins locking accounts.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/failed-logins-locking-accounts/m-p/104219#M183150</link>
      <description>&lt;P&gt;thanks for the replies.  below is a sample error from the log.  using the search strings you kindly provided details everything as user=null.  is it possible to have splunk return entries based upon 'account for which logon failed' so that it returns the machines that are failing to login?  this should then allow me to identify the wonky machines.  i've tried adjusting the search terms but it doesn't appear to like spaces, even if i enclose items within either '' or "".  thanks, andy.&lt;/P&gt;

&lt;P&gt;20111107091459.000000&lt;BR /&gt;
Category=12544&lt;BR /&gt;
CategoryString=Logon&lt;BR /&gt;
ComputerName=server.domain.org&lt;BR /&gt;
EventCode=4625&lt;BR /&gt;
EventIdentifier=4625&lt;BR /&gt;
EventType=5&lt;BR /&gt;
Logfile=Security&lt;BR /&gt;
RecordNumber=106973290&lt;BR /&gt;
SourceName=Microsoft-Windows-Security-Auditing&lt;BR /&gt;
TimeGenerated=20111107091459.415352-000&lt;BR /&gt;
TimeWritten=20111107091459.415352-000&lt;BR /&gt;
Type=Audit Failure&lt;BR /&gt;
User=NULL&lt;BR /&gt;
wmi_type=WinEventLog:Security&lt;BR /&gt;
Message=An account failed to log on.&lt;/P&gt;

&lt;P&gt;Subject:&lt;BR /&gt;
    Security ID:        S-1-0-0&lt;BR /&gt;
    Account Name:       -&lt;BR /&gt;
    Account Domain:     -&lt;BR /&gt;
    Logon ID:       0x0&lt;/P&gt;

&lt;P&gt;Logon Type:         3&lt;/P&gt;

&lt;P&gt;Account For Which Logon Failed:&lt;BR /&gt;
    Security ID:        S-1-0-0&lt;BR /&gt;
    Account Name:       update.account&lt;BR /&gt;
    Account Domain:     update.hostname&lt;BR /&gt;
Failure Information:&lt;BR /&gt;
    Failure Reason:     Unknown user name or bad password.&lt;BR /&gt;
    Status:         0xc000006d&lt;BR /&gt;
    Sub Status:     0xc0000064&lt;/P&gt;

&lt;P&gt;Process Information:&lt;BR /&gt;
    Caller Process ID:  0x0&lt;BR /&gt;
    Caller Process Name:    -&lt;/P&gt;

&lt;P&gt;Network Information:&lt;BR /&gt;
    Workstation Name:   update.hostname&lt;BR /&gt;
        Source Network Address: ip.address&lt;BR /&gt;
        Source Port:        port&lt;BR /&gt;
Detailed Authentication Information:&lt;BR /&gt;
    Logon Process:      NtLmSsp &lt;BR /&gt;
    Authentication Package: NTLM&lt;BR /&gt;
    Transited Services: -&lt;BR /&gt;
    Package Name (NTLM only):   -&lt;BR /&gt;
    Key Length:     0&lt;/P&gt;

&lt;P&gt;This event is generated when a logon request fails. It is generated on the computer where access was attempted.&lt;/P&gt;

&lt;P&gt;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.&lt;/P&gt;

&lt;P&gt;The Logon Type field indicates the kind of logon that was requested. The most common types are 2 (interactive) and 3 (network).&lt;/P&gt;

&lt;P&gt;The Process Information fields indicate which account and process on the system requested the logon.&lt;/P&gt;

&lt;P&gt;The Network Information fields indicate where a remote logon request originated. Workstation name is not always available and may be left blank in some cases.&lt;/P&gt;

&lt;P&gt;The authentication information fields provide detailed information about this specific logon request.&lt;BR /&gt;
    - Transited services indicate which intermediate services have participated in this logon request.&lt;BR /&gt;
    - Package name indicates which sub-protocol was used among the NTLM protocols.&lt;BR /&gt;
    - Key length indicates the length of the generated session key. This will be 0 if no session key was requested.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Nov 2011 10:18:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/failed-logins-locking-accounts/m-p/104219#M183150</guid>
      <dc:creator>atomlinson81</dc:creator>
      <dc:date>2011-11-07T10:18:52Z</dc:date>
    </item>
    <item>
      <title>Re: failed logins locking accounts.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/failed-logins-locking-accounts/m-p/104220#M183151</link>
      <description>&lt;P&gt;Thanks for posting the sample log. That makes it easier. Here is a shot at the search:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype="*WinEventLog:Security" Message="An account failed to log on*" | stats count by Account_Name | where count &amp;gt; 5 | table Account_Name, ComputerName, Workstation_Name
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You can put any of the fields listed on the left-hand side of the search in your table. &lt;/P&gt;</description>
      <pubDate>Mon, 07 Nov 2011 16:56:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/failed-logins-locking-accounts/m-p/104220#M183151</guid>
      <dc:creator>tgow</dc:creator>
      <dc:date>2011-11-07T16:56:36Z</dc:date>
    </item>
  </channel>
</rss>

