Hello everyone. We recently had an incident where an employee found and shared an internal wireless PSK with guests and recently created a new custom alert and wanted to share with the community as Rapid7 doesn’t natively alert on this:
Name: Suspicious Command - Wi-Fi Credentials Harvesting Using Netsh
Log Source:
Process Start Events
Query:
where(
process.name
IIN [
"netsh.exe"
]
AND
process.cmd_line
ICONTAINS-ANY [
"wlan show profiles",
"key=clear"
]
)
It's already been insightful for me and hope it can help someone else!