Query Details
Tags:
Query:
DeviceProcessEvents
| where FileName == @"networksetup" and ProcessCommandLine has_any ("setwebproxy","setsecurewebproxy","setautoproxyurl")
References:
https://github.com/elastic/detection-rules/blob/e9baebc2bc18f90ae16501613cd9521a16a38ad7/rules/macos/credential_access_mitm_localhost_webproxy.toml
This KQL (Kusto Query Language) query is designed to search through device process events to identify instances where a specific command related to network configuration is executed. Here's a simple breakdown:
DeviceProcessEvents, which logs events related to processes running on devices.FileName is "networksetup".ProcessCommandLine contains any of the following terms: "setwebproxy", "setsecurewebproxy", or "setautoproxyurl".In essence, this query is looking for instances where the "networksetup" command is used to configure web proxies on a device.

Ali Hussein
Released: October 28, 2023
Tables
Keywords
Operators