Create a Network Query

Create a query to investigate the connections between network activity, acting processes, and endpoints.
From the Query Builder you can investigate connections between network activity, acting processes, and endpoints.
query-search-network.png
Some examples of network queries you can run include:
  • Network connections to or from a specific IP address and port number.
  • Processes that created network connections.
  • Network connections between specific endpoints.
To build a network query:
  1. From Cortex XDR, select
    INVESTIGATION
    Query Builder
    .
  2. Select
    NETWORK
    .
  3. Enter the search criteria for the network events query.
    • Network traffic type—Select the type or types of network traffic alerts you want to search:
      Incoming
      ,
      Outgoing
      , or
      Failed
      .
    • Network attributes—Define any additional process attributes for which you want to search. Use a pipe (
      |
      ) to separate multiple values (for example
      80|8080
      ). By default, Cortex XDR will return the events that match the attribute you specify. To exclude an attribute value, toggle the
      =
      option to
      =!
      . Options are:
      • REMOTE COUNTRY
        —Country from which the remote IP address originated.
      • REMOTE IP
        —Remote IP address related to the communication.
      • REMOTE PORT
        —Remote port used to make the connection.
      • LOCAL IP
        —Local IP address related to the communication. Matches can return additional data if a machine has more than one NIC.
      • LOCAL PORT
        —Local port used to make the connection.
      • PROTOCOL
        —Network transport protocol over which the traffic was sent.
      To specify an additional exception (match this value except), click the
      +
      to the right of the value and specify the exception value.
  4. (
    Optional
    ) Limit the scope to a specific acting process:
    Select query-acting-process-scope.png and specify one or more of the following attributes for the acting (parent) process.
    Use a pipe (
    |
    ) to separate multiple values. Use an asterisk (
    *
    ) to match any string of characters.
    • NAME
      —Name of the parent process.
    • PATH
      —Path to the parent process.
    • CMD
      —Command-line used to initiate the parent process including any arguments, up to 128 characters.
    • MD5
      —MD5 hash value of the parent process.
    • SHA256
      —SHA256 hash value of the process.
    • USER NAME
      —User who executed the process.
    • SIGNATURE
      —Signing status of the parent process: Signed, Unsigned, N/A, Invalid Signature, Weak Hash
    • SIGNER
      —Entity that signed the certificate of the parent process.
    • PID
      —Process ID of the parent process.
    • Run search on process, Causality and OS actors
      —The causality actor—also referred to as the causality group owner (CGO)—is the parent process in the execution chain that the Cortex XDR agent identified as being responsible for initiating the process tree. The OS actor is the parent process that creates an OS process on behalf of a different initiator. By default, this option is enabled to apply the same search criteria to initiating processes. To configure different attributes for the parent or initiating process, clear this option.
  5. (
    Optional
    ) Limit the scope to an endpoint or endpoint attributes:
    Select query-host-scope.png and specify one or more of the following attributes:
    • HOST
      HOST NAME
      ,
      HOST IP
      address,
      HOST OS
      , or
      HOST MAC ADDRESS
      .
    • PROCESS
      NAME
      ,
      PATH
      ,
      CMD
      ,
      MD5
      ,
      SHA256
      ,
      USER NAME
      ,
      SIGNATURE
      , or
      PID
    Use a pipe (
    |
    ) to separate multiple values. Use an asterisk (
    *
    ) to match any string of characters.
  6. Specify the time period for which you want to search for events.
    Options are:
    Last 24H
    (hours),
    Last 7D
    (days),
    Last 1M
    (month), or select a
    Custom
    time period.
  7. Choose when to run the query.
    query-save-options.png
    Select the calendar icon to schedule a query to run on or before a specific date,
    Run in background
    to run the query as resources are available, or
    Run
    to run the query immediately and view the results in the
    Query Center
    .
  8. When you are ready, View the Results of a Query.

Recommended For You