Logs not visible - XQL Query

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Logs not visible - XQL Query

L2 Linker

Hello,

 

Currently we are trying to create a query that gives us the result if the user has executed Sudo command and then right after executed the cd command. Is it possible to write a query that searches for commands executed one after the other?

 

During this process we observed that cortex is not giving us logs for cd command in any of the systems. why is it so?

 

1 REPLY 1

L3 Networker

Hi @Aiman_Fathima 

 

You can use below query. You should have enough telemetry data for this task, if you enabled XDR Pro on the endpoint. 

 

dataset = xdr_data
| filter os_actor_process_image_path = "/usr/bin/sudo" and os_actor_process_command_line contains "cd"

 

etugriceri_0-1672739559480.png

 

  • 1056 Views
  • 1 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!