<?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 Identify users who changed their password in the last 48 hours in Cortex XDR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/identify-users-who-changed-their-password-in-the-last-48-hours/m-p/1086622#M7762</link>
    <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;I am having difficulty performing an activity that consists of:&lt;/P&gt;
&lt;P&gt;I have an XQL query that validates unsuccessful logon attempts using EventID 4625. This query is functional and searches the logs for the last 7 days. &lt;BR /&gt;I need to add a filter to this query that identifies whether the user has had their password changed in the last 48 hours, using EventID 4724 and 4725. And if they have changed it, it will not show results in the original query. &lt;BR /&gt;What syntax should I use?&lt;/P&gt;</description>
    <pubDate>Thu, 16 Jan 2025 19:11:27 GMT</pubDate>
    <dc:creator>LeandroKopke</dc:creator>
    <dc:date>2025-01-16T19:11:27Z</dc:date>
    <item>
      <title>Identify users who changed their password in the last 48 hours</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/identify-users-who-changed-their-password-in-the-last-48-hours/m-p/1086622#M7762</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;I am having difficulty performing an activity that consists of:&lt;/P&gt;
&lt;P&gt;I have an XQL query that validates unsuccessful logon attempts using EventID 4625. This query is functional and searches the logs for the last 7 days. &lt;BR /&gt;I need to add a filter to this query that identifies whether the user has had their password changed in the last 48 hours, using EventID 4724 and 4725. And if they have changed it, it will not show results in the original query. &lt;BR /&gt;What syntax should I use?&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jan 2025 19:11:27 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/identify-users-who-changed-their-password-in-the-last-48-hours/m-p/1086622#M7762</guid>
      <dc:creator>LeandroKopke</dc:creator>
      <dc:date>2025-01-16T19:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: Identify users who changed their password in the last 48 hours</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/identify-users-who-changed-their-password-in-the-last-48-hours/m-p/1134274#M7770</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/618763197"&gt;@LeandroKopke&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for reaching out on LiveCommunity!&lt;/P&gt;
&lt;P&gt;Please try below query. This will filter out password reset events less than 48 hours ago and list failed login attempts.&lt;/P&gt;
&lt;P&gt;dataset = xdr_data &lt;BR /&gt;| filter action_evtlog_event_id = 4724&lt;BR /&gt;| alter interval = timestamp_diff(current_time(),_time,"HOUR")&lt;BR /&gt;| filter interval &amp;gt; 48&lt;BR /&gt;| filter action_evtlog_event_id = 4625&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please c&lt;SPAN&gt;lick&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Accept as Solution&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;to acknowledge that the answer to your question has been provided.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jan 2025 15:01:08 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/identify-users-who-changed-their-password-in-the-last-48-hours/m-p/1134274#M7770</guid>
      <dc:creator>nsinghvirk</dc:creator>
      <dc:date>2025-01-20T15:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: Identify users who changed their password in the last 48 hours</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/identify-users-who-changed-their-password-in-the-last-48-hours/m-p/1204725#M7781</link>
      <description>&lt;P&gt;Hi Leandro&lt;/P&gt;
&lt;P&gt;Can you try this query?&lt;/P&gt;
&lt;P&gt;dataset = xdr_data&lt;BR /&gt;| filter timestamp_diff(current_time(),_time,"hour")&amp;lt;=48&lt;BR /&gt;| filter event_type = EVENT_LOG and action_evtlog_event_id in (4724) and agent_hostname in ("*")&lt;BR /&gt;| alter User_Name = lowercase(arrayindex(regextract(action_evtlog_message, "An attempt was made to reset an account's password.:\r\n.*\r\n.*Account Name:.*?(\w.*)\r\n"),0))&lt;BR /&gt;| alter Account_Name = arrayindex(regextract(action_evtlog_message, "Account Name:.*?(\w.*)\r\n"),0), &lt;BR /&gt;Account_Domain = arrayindex(regextract(action_evtlog_message , "Account Domain:.*?(\w.*)\r\n"),0), &lt;BR /&gt;Message =arrayindex(regextract(action_evtlog_message , ".*?(\w.*)\r\n"),0),&lt;BR /&gt;Logon_ID = arrayindex(regextract(action_evtlog_message,"Logon ID:.*?(\w.*)\r\n"),0), &lt;BR /&gt;Failure_reason = arrayindex(regextract(action_evtlog_message,"Failure Reason.*?(\w.*)\r\n"),0),&lt;BR /&gt;Status = arrayindex(regextract(action_evtlog_message,"Status:.*?(\w.*)\r\n"),0),&lt;BR /&gt;Sub_status = arrayindex(regextract(action_evtlog_message,"Sub Status:.*?(\w.*)\r\n"),0),&lt;BR /&gt;Workstation_Name = arrayindex(regextract(action_evtlog_message,"Workstation Name:.*?(\w.*)\r\n"),0)&lt;BR /&gt;| fields agent_hostname , Message , User_Name ,Account_Domain , Logon_ID , Workstation_Name&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 16:09:35 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/identify-users-who-changed-their-password-in-the-last-48-hours/m-p/1204725#M7781</guid>
      <dc:creator>SorinP</dc:creator>
      <dc:date>2025-01-21T16:09:35Z</dc:date>
    </item>
  </channel>
</rss>

