A rule doesn't work as described, or doesn't block a file or process that it should (false negative) By itself, this event log entry doesn't necessarily indicate a malicious threat. There are four steps to troubleshooting these problems
Lulyspartida - Best photos on dibujosparaimprimir.net
Use audit mode to test the rule.
I am looking for an advanced hunting query or any other way to find all devices which are not configured with (ideally a particular) asr rule
I have configured an asr rule to all devices to block a rule but some devices are still exposed. In this article, i want to break down the defender attack surface rules (asr rules) and show you what components each rule takes care of and overall, how they can minimize the attack surface. Unfortunately, we can only query the azure ad device id and not the object id that we need to add the devices to groups, so we will need to use powershell modules or the graph api to look up the object id for a given device id. Microsoft defender’s attack surface reduction (asr) rules are critical for blocking malicious activities, but misconfigurations can leave gaps
Roy klooster’s asr rule inspector powershell script validates your asr rules’ enforcement status and provides a clear overview. You can query attack surface reduction rule events from the deviceevents table in the advanced hunting section of the microsoft defender portal For example, the following query shows how to report all the events that have attack surface reduction rules as data source, for the last 30 days. You can enable asr rules by configuring them in the endpoint security settings or by creating a dedicated asr policy
Explore each rule’s specific capabilities
It will show all asr events and whether they were blocked or audited, plus filename, folderpath etc The default timescale is 7 days, but you can change this to 30 days. If you have an app that simply enumerates lsass, but has no real impact in functionality, there's no need to add it to the exclusion list