<?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 Domain joined PCs and user logoff events? in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/domain-joined-pcs-and-user-logoff-events/m-p/383471#M89962</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was reading in some of the documentation for User-ID to see if we can improve our security a bit.&amp;nbsp; Basically, I'm currently setting User-ID logs to no timeout with the assumption that a new user login will generate a new one and override the old one.&amp;nbsp; We've been doing this because a number of users leave their computers locked instead of logging off every day so relying on a timeout period means eventually losing access to things that are utilizing the user-based policies.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The WinRM documentation from 9.0 appears to say it can be used to "&lt;SPAN&gt;map usernames from login and logout events to IP addresses" (&lt;A href="https://docs.paloaltonetworks.com/pan-os/9-0/pan-os-new-features/user-id-features/winrm-support-for-server-monitoring.html" target="_blank"&gt;https://docs.paloaltonetworks.com/pan-os/9-0/pan-os-new-features/user-id-features/winrm-support-for-server-monitoring.html&lt;/A&gt;) but everything I've found seems to indicate AD doesn't receive logoff events from the domain-joined PCs.&amp;nbsp; Is this something that works on newer AD servers or is the documentation incorrect?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If it is incorrect, I'm curious what others are doing to get logoff events?&amp;nbsp; I could probably get the PCs to send something to a syslog server on a logoff event but I don't see any way in the syslog filter on the firewall to specific something as a logoff event vs a logon event unless the solution would just be to match the event, retrieve the IP, but put a regex for the user ID that would never match anything?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 02 Feb 2021 18:16:34 GMT</pubDate>
    <dc:creator>jsalmans</dc:creator>
    <dc:date>2021-02-02T18:16:34Z</dc:date>
    <item>
      <title>Domain joined PCs and user logoff events?</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/domain-joined-pcs-and-user-logoff-events/m-p/383471#M89962</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was reading in some of the documentation for User-ID to see if we can improve our security a bit.&amp;nbsp; Basically, I'm currently setting User-ID logs to no timeout with the assumption that a new user login will generate a new one and override the old one.&amp;nbsp; We've been doing this because a number of users leave their computers locked instead of logging off every day so relying on a timeout period means eventually losing access to things that are utilizing the user-based policies.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The WinRM documentation from 9.0 appears to say it can be used to "&lt;SPAN&gt;map usernames from login and logout events to IP addresses" (&lt;A href="https://docs.paloaltonetworks.com/pan-os/9-0/pan-os-new-features/user-id-features/winrm-support-for-server-monitoring.html" target="_blank"&gt;https://docs.paloaltonetworks.com/pan-os/9-0/pan-os-new-features/user-id-features/winrm-support-for-server-monitoring.html&lt;/A&gt;) but everything I've found seems to indicate AD doesn't receive logoff events from the domain-joined PCs.&amp;nbsp; Is this something that works on newer AD servers or is the documentation incorrect?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If it is incorrect, I'm curious what others are doing to get logoff events?&amp;nbsp; I could probably get the PCs to send something to a syslog server on a logoff event but I don't see any way in the syslog filter on the firewall to specific something as a logoff event vs a logon event unless the solution would just be to match the event, retrieve the IP, but put a regex for the user ID that would never match anything?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2021 18:16:34 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/domain-joined-pcs-and-user-logoff-events/m-p/383471#M89962</guid>
      <dc:creator>jsalmans</dc:creator>
      <dc:date>2021-02-02T18:16:34Z</dc:date>
    </item>
    <item>
      <title>Re: Domain joined PCs and user logoff events?</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/domain-joined-pcs-and-user-logoff-events/m-p/383501#M89967</link>
      <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/39461"&gt;@jsalmans&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;To the best of my knowledge you can't have logoff events clear user-id information automatically. When clients have needed this in the past I've scripted it so that a logoff triggers a script that simply uses the API to clear the user-id information for the IP address on clients.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2021 20:41:12 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/domain-joined-pcs-and-user-logoff-events/m-p/383501#M89967</guid>
      <dc:creator>BPry</dc:creator>
      <dc:date>2021-02-02T20:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: Domain joined PCs and user logoff events?</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/domain-joined-pcs-and-user-logoff-events/m-p/383615#M89984</link>
      <description>&lt;P&gt;I've not tried WinRM, but logoff events are higghly unreliable (closing your laptop lid is not a logoff, unplugging from the network isn't either. So I wouldn't rely on this mechanism at all&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In your first paragraph you mention you hav the timeout set to 'off' because you want the new user to overwrite the old user&lt;/P&gt;&lt;P&gt;these are two different mechanisms that are no mutually exclusive: you can timeout inactive users and new users will still overwite old accounts that have not timed out yet. I'd recommend always using the timeout (what if a new user 'roams' onto an abandoned IP with a user still logged on, the roaming user will not necessarily generate a logon even so will seamlessly take over the previous user's credentials)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;timeout is one of the most reliable logoff events &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; you could consider WMI probing , or internal GlobalPortect agents for more control over user's IP mapping&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2021 11:22:45 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/domain-joined-pcs-and-user-logoff-events/m-p/383615#M89984</guid>
      <dc:creator>reaper</dc:creator>
      <dc:date>2021-02-03T11:22:45Z</dc:date>
    </item>
  </channel>
</rss>

