Unable to retrive downloaded exe's

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

Unable to retrive downloaded exe's

L0 Member

Hello everyone,

 

I was trying to check all the downloaded exe's via firewall on all the endpoints in past 24hrs. I tried retrieving all downloaded exe's in downloads folder with the help of this query below. 

dataset = xdr_data
| filter event_type = ENUM.FILE
| filter action_file_path contains "Downloads" and action_file_path contains "C:\Users\"

 

Can anyone help me with this.

Thank you 

3 REPLIES 3

L5 Sessionator

Hello @Malayamarutham ,

 

Thanks for reaching out on LiveCommunity!

 

You can try below query as a sample and modify it as per your requirement:

dataset = xdr_data
| filter event_type = File and event_sub_type in (ENUM.FILE_CREATE_NEW , ENUM.FILE_WRITE, ENUM.FILE_RENAME ) and (action_file_path contains """\\Downloads\\""" or action_file_path contains "/Downloads/")
| fields actor_process_image_name, agent_hostname, actor_effective_username, event_type, event_sub_type, action_file_name, action_file_path, action_file_extension, action_file_sha256

 

If you feel this has answered your query, please let us know by clicking on "mark this as a Solution".

 

Thank you.

Ashutosh Patil

Thank a ton for that. That really helped in retrieving the all EXE files downloaded via internet, likely through firewall and filtered or monitored by Zscaler. So, do I need to join paloalto traffic raw dataset to it? It's a little confusing.

dataset = xdr_data
| filter event_type = File and event_sub_type in (ENUM.FILE_CREATE_NEW , ENUM.FILE_WRITE, ENUM.FILE_RENAME ) and (action_file_path contains """\\Downloads\\""" or action_file_path contains "/Downloads/")
| fields actor_process_image_name, agent_hostname, actor_effective_username, event_type, event_sub_type, action_file_name, action_file_path, action_file_extension, action_file_sha256

| join (

         dataset= panw_ngfw_traffic_raw

| filter dest_port in (80,443) // Focus on web traffic (HTTP/HTTPS)

| filter ap[p in ("web-browsing", "ssl") // Application types for internet downloads

) on action_networks_session_id = session_id

 

I tried this but doesn't work. Truly appreciate your help.

What exactly you are trying to achieve now? Can you please confirm?

Ashutosh Patil
  • 392 Views
  • 3 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!