User Investigation - Generic

This playbook performs an investigation on a specific user, using queries and logs from SIEM, Identity management systems, XDR, and firewalls. Supported Integrations: -Okta -Splunk -QRadar -Azure Log Analytics -PAN-OS -XDR / Core By Palo Alto Networks.

Common Playbooks · 29 tasks · 14 inputs · 17 outputs

Inputs

  • SplunkIndex — Splunk's index name in which to search. Default is "*" - All.
  • SplunkEarliestTime — The earliest time for the Splunk search query.
  • SplunkLatestTime — The latest time for the Splunk search query.
  • UserEmail — The user email to search Okta logs.
  • Username — User name.
  • LoginCountry — The Country from which the user logged in.
  • SIEMFailedLogonSearch — Whether to search for failed logon logs from Siem? Can be False or True.
  • ThreatLogSearch — Whether to search for threat logs from PAN-OS? Can be False or True.
  • XDRAlertSearch — Whether to search for Related alerts from XDR? Can be False or True.
  • OktaSearch — Whether to search for logs from Okta? Can be False or True.
  • XDRUsernameField — Cortex XDR User name Field.
  • QRadarSearchTime — The Search Time for the QRadar search query. for example: Last 1 days
  • AzureSearchTime — The Search Time for the Azure Log Analytics search query. for example: ago(1d)
  • ASN — The ASN from which the user logged in.

Outputs

  • NumOfSiemFailedLogon — Number of failed login from Siem.
  • NumOfThreatLogs — Number of Threat Logs for the user from Panorama.
  • PaloAltoNetworksXDR.Alert — XDR Alerts.
  • ArraySize — Number of XDR alert for the user.
  • PermanentCountry — True if the user work from a permanent country from Okta. False if else.
  • UserDevices — Devices used by the user from Okta.
  • NumOfOktaSuspiciousActivities — Number of Suspicious Activities for the user from Okta.
  • SuspiciousUserActivities — Suspicious Activities for the user from Okta.
  • NumOfOktaSuspiciousUserAgent — Number of Suspicious User Agent from Okta.
  • SuspiciousUserAgent — Suspicious User Agent from Okta.
  • UserApplication — Applications used by the user from Okta.
  • NumOfOktaFailedLogon — Number of failed login from Okta.
  • AzureFailedLogonLogs — The result of the Azure Log Analytics search.
  • QRadar.Search.Result — The result of the QRadar search.
  • Splunk.Result — The results of the Splunk search. The results are a JSON array, in which each item is a Splunk event.
  • NumOfFailedLogon — Number of failed login.
  • NumOfFailedLogonASN — Number of failed login from ASN by all users.

Commands used

pan-os-get-logs pan-os-query-logs

Flowchart

yes yes yes yes yes yes yes yes Start Start Failed Logon Search Failed Logon Search Investigation Investigation Done Done Threat Logs Search Threat Logs Search Is PAN-OS integration enabled and the user name is defined? Is PAN-OS integration ena... PAN-OS query logs - pan-os-query-logs PAN-OS query logs pan-os-query-logs Count Threat logs for the user from Panorama logs - CountArraySize Count Threat logs for the... CountArraySize PAN-OS get logs - pan-os-get-logs PAN-OS get logs pan-os-get-logs PAN-OS PAN-OS Related alerts from XDR / Core Related alerts from XDR /... Search for Failed logons from SIEM? Search for Failed logons ... Search for Threat logs? Search for Threat logs? Search for Related alerts from Cortex XDR? Search for Related alerts... Found results from PAN-OS? Found results from PAN-OS? Cortex XDR - Get entity alerts by MITRE tactics - Cortex XDR - Get entity alerts by MITRE tactics Cortex XDR - Get entity a... Cortex XDR - Get entity alert... Is Cortex XDR integration enabled and user name is defined? Is Cortex XDR integration... SIEM - Search for Failed logins - SIEM - Search for Failed logins SIEM - Search for Failed ... SIEM - Search for Failed logins Search for Okta logs? Search for Okta logs? Okta User Investigation Okta User Investigation Okta - User Investigation - Okta - User Investigation Okta - User Investigation Okta - User Investigation Cortex XDR Cortex XDR Number Of Failed Logon - MathUtil Number Of Failed Logon MathUtil Set Number Of SIEM Failed Logon - Set Set Number Of SIEM Failed... Set Set Number Of Okta Failed Logon - Set Set Number Of Okta Failed... Set Is Cortex Core integration enabled and user name is defined? Is Cortex Core integratio... Cortex Core Cortex Core Get entity alerts by MITRE tactics - Get entity alerts by MITRE tactics Get entity alerts by MITR... Get entity alerts by MITRE ta... Save split username - SetAndHandleEmpty Save split username SetAndHandleEmpty