Is There a Way to Escape the asterisk (*) character with Query Builder/XQL Queries

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

Is There a Way to Escape the asterisk (*) character with Query Builder/XQL Queries

L1 Bithead

Hi,

I'm trying to run the following to run the following query in Query Builder:

Query XDR.png

 

The query itself contains the command:

 

"del *.log /a /s /q /f"


I was wondering if there is a way to escape the asterisk character after the "del. " part of the command in either Query Builder or XQL?

4 REPLIES 4

L5 Sessionator

Hi Bbarmanory,
In regards to the link you have provided, I did try to put a leading slash with an asterisk (like that '\*') but I didn't get any results.

Hi @dortasa1,

 

Could you please post the XQL query you are trying to execute? 

Hi Fmoixsante,
Of course, 

dataset = xdr_data
|filter os_actor_process_command_line="del *.log /a /s /q /f"

And here is the version with the escaped asterisk character:

dataset = xdr_data
|filter os_actor_process_command_line="del \*.log /a /s /q /f"

  • 2116 Views
  • 4 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!