<?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: Force logoff of user during isolation of endpoint in Cortex XDR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/force-logoff-of-user-during-isolation-of-endpoint/m-p/549106#M4751</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/64490"&gt;@Noe.ortega&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for writing to live community.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Though there is no direct or automated way of doing this. However, if you have Cortex XDR Pro Per Endpoint license, you can technically do the following to achieve the objective from preventing user to log back in or system shutdown:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Run live terminal to run net user commands to delete username.&lt;/LI&gt;
&lt;LI&gt;Run live terminal to run net user commands to change the user password from the system. If it is a domain user, then you can deactivate the user from AD and run &lt;EM&gt;&lt;FONT face="courier new,courier" size="2"&gt;shutdown /s&lt;/FONT&gt;&lt;/EM&gt; command to shutdown the system.&lt;/LI&gt;
&lt;LI&gt;Run endpoint scripts for the 1 and 2 using the script execution option.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;I am sure live terminal would be an easy find, so guiding on scripts part as below:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Go to Action center&amp;gt; Agent Script Library.&lt;/LI&gt;
&lt;LI&gt;You should be able to find a pre-defined script for execute commands&lt;/LI&gt;
&lt;LI&gt;Enter your command from the above listed options( net commands for user based actions or shutdown /s command to shutdown the system)&lt;/LI&gt;
&lt;LI&gt;Wait for script to execute.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is also another way of automating this, and that is by automation rules. You can create automation rules for a specific type of incident generated (for eg ransomware activity for a specific known malicious SHA256 or some malicious vectors), then you can create one sequence for isolating the endpoint and other sequence could be to run custom endpoint script to perform the same set of activities as mentioned above.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please mark the response as "Accept as Solution" if it answers your query.&lt;/P&gt;</description>
    <pubDate>Wed, 12 Jul 2023 13:03:39 GMT</pubDate>
    <dc:creator>neelrohit</dc:creator>
    <dc:date>2023-07-12T13:03:39Z</dc:date>
    <item>
      <title>Force logoff of user during isolation of endpoint</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/force-logoff-of-user-during-isolation-of-endpoint/m-p/549100#M4750</link>
      <description>&lt;P&gt;Is there a way to force logoff of user during isolation of endpoint?&amp;nbsp; Want to make sure that if computer is infected, it prevents user from logging back in to computer.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2023 12:51:35 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/force-logoff-of-user-during-isolation-of-endpoint/m-p/549100#M4750</guid>
      <dc:creator>Noe.ortega</dc:creator>
      <dc:date>2023-07-12T12:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: Force logoff of user during isolation of endpoint</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/force-logoff-of-user-during-isolation-of-endpoint/m-p/549106#M4751</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/64490"&gt;@Noe.ortega&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for writing to live community.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Though there is no direct or automated way of doing this. However, if you have Cortex XDR Pro Per Endpoint license, you can technically do the following to achieve the objective from preventing user to log back in or system shutdown:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Run live terminal to run net user commands to delete username.&lt;/LI&gt;
&lt;LI&gt;Run live terminal to run net user commands to change the user password from the system. If it is a domain user, then you can deactivate the user from AD and run &lt;EM&gt;&lt;FONT face="courier new,courier" size="2"&gt;shutdown /s&lt;/FONT&gt;&lt;/EM&gt; command to shutdown the system.&lt;/LI&gt;
&lt;LI&gt;Run endpoint scripts for the 1 and 2 using the script execution option.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;I am sure live terminal would be an easy find, so guiding on scripts part as below:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Go to Action center&amp;gt; Agent Script Library.&lt;/LI&gt;
&lt;LI&gt;You should be able to find a pre-defined script for execute commands&lt;/LI&gt;
&lt;LI&gt;Enter your command from the above listed options( net commands for user based actions or shutdown /s command to shutdown the system)&lt;/LI&gt;
&lt;LI&gt;Wait for script to execute.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is also another way of automating this, and that is by automation rules. You can create automation rules for a specific type of incident generated (for eg ransomware activity for a specific known malicious SHA256 or some malicious vectors), then you can create one sequence for isolating the endpoint and other sequence could be to run custom endpoint script to perform the same set of activities as mentioned above.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please mark the response as "Accept as Solution" if it answers your query.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2023 13:03:39 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/force-logoff-of-user-during-isolation-of-endpoint/m-p/549106#M4751</guid>
      <dc:creator>neelrohit</dc:creator>
      <dc:date>2023-07-12T13:03:39Z</dc:date>
    </item>
    <item>
      <title>Re: Force logoff of user during isolation of endpoint</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/force-logoff-of-user-during-isolation-of-endpoint/m-p/549176#M4757</link>
      <description>&lt;P&gt;Thank you so much Neel for providing us the solution. Appreciating your efforts and Knowledge.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2023 04:57:59 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/force-logoff-of-user-during-isolation-of-endpoint/m-p/549176#M4757</guid>
      <dc:creator>RoneyRajan123</dc:creator>
      <dc:date>2023-07-13T04:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: Force logoff of user during isolation of endpoint</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/force-logoff-of-user-during-isolation-of-endpoint/m-p/549536#M4768</link>
      <description>&lt;P&gt;Just to add to the above&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/64490"&gt;@Noe.ortega&lt;/a&gt;&amp;nbsp;, the solution suggested also assumes that you have collected all forensic data and memory artefacts for investigation before you shut the endpoint down as all the memory artefacts would be deleted after reboot.&lt;BR /&gt;&lt;BR /&gt;You can attempt to restrict user logins if needed for the endpoints by restricting groups.:&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/troubleshoot/windows-server/identity/restrict-use-one-domain-user-only" target="_blank"&gt;https://learn.microsoft.com/en-us/troubleshoot/windows-server/identity/restrict-use-one-domain-user-only&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jul 2023 09:16:57 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/force-logoff-of-user-during-isolation-of-endpoint/m-p/549536#M4768</guid>
      <dc:creator>neelrohit</dc:creator>
      <dc:date>2023-07-17T09:16:57Z</dc:date>
    </item>
  </channel>
</rss>

