Skip to content

Commit 9919c17

Browse files
authored
Merge pull request #3809 from raeanne-marks/docs-editor/behavior-monitor-macos-1747418660
2 parents 00c03fa + 49f1cb2 commit 9919c17

File tree

1 file changed

+40
-34
lines changed

1 file changed

+40
-34
lines changed

defender-endpoint/behavior-monitor-macos.md

Lines changed: 40 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ms.author: ewalsh
66
manager: deniseb
77
ms.service: defender-endpoint
88
ms.topic: overview
9-
ms.date: 01/02/2025
9+
ms.date: 05/15/2025
1010
ms.subservice: ngp
1111
audience: ITPro
1212
ms.collection:
@@ -116,18 +116,7 @@ The following sections describe each of these methods in detail.
116116
<dict>
117117
<key>behaviorMonitoring</key>
118118
<string>enabled</string>
119-
<key>behaviorMonitoringConfigurations</key>
120-
<dict>
121-
<key>blockExecution</key>
122-
<string>enabled</string>
123-
<key>notifyForks</key>
124-
<string>enabled</string>
125-
<key>forwardRtpToBm</key>
126-
<string>enabled</string>
127-
<key>avoidOpenCache</key>
128-
<string>enabled</string>
129-
</dict>
130-
</dict>
119+
</dict>
131120
</dict>
132121
</array>
133122
</dict>
@@ -162,22 +151,11 @@ The following sections describe each of these methods in detail.
162151
<key>behaviorMonitoring</key>
163152
<string>enabled</string>
164153
</dict>
165-
<key>features</key>
166-
<dict>
167-
<key>behaviorMonitoring</key>
168-
<string>enabled</string>
169-
<key>behaviorMonitoringConfigurations</key>
170-
<dict>
171-
<key>blockExecution</key>
172-
<string>enabled</string>
173-
<key>notifyForks</key>
174-
<string>enabled</string>
175-
<key>forwardRtpToBm</key>
176-
<string>enabled</string>
177-
<key>avoidOpenCache</key>
178-
<string>enabled</string>
179-
</dict>
180-
</dict>
154+
<key>features</key>
155+
<dict>
156+
<key>behaviorMonitoring</key>
157+
<string>enabled</string>
158+
</dict>
181159
</dict>
182160
</plist>
183161
```
@@ -219,14 +197,42 @@ sudo mdatp threat list
219197

220198
```
221199

222-
### Frequently Asked Questions (FAQ)
200+
### Frequently asked questions (FAQ)
201+
202+
#### What if I see an increase in CPU utilization or memory utilization?
203+
204+
Disable behavior monitoring and see if the issue goes away. If the issue doesn't go away, it isn't related to behavior monitoring.
205+
206+
If the issue goes away, re-enable behavior monitoring and use behavior monitoring statistics to identify and exclude processes generating excessive events:
207+
208+
```bash
209+
sudo mdatp config behavior-monitoring-statistics --value enabled
210+
```
211+
212+
Repro the issue and then execute:
213+
214+
```bash
215+
sudo mdatp diagnostic behavior-monitoring-statistics --sort
216+
```
217+
218+
This command lists processes running on the machine which are reporting behavior monitoring events to the engine process. The more events, the more CPU/memory impact that process has.
223219

224-
#### What if I see an increase in cpu utilization or memory utilization?
220+
Exclude identified processes using:
225221

226-
Disable behavior monitoring and see if the issue goes away.
222+
```bash
223+
sudo mdatp exclusion process add --path <path to process with lots of events>
224+
```
225+
226+
> [!IMPORTANT]
227+
> Please verify the reliability of the processes being excluded. Excluding these processes will prevent all events from being sent to behavior monitoring and from undergoing content scanning. However, EDR will continue to receive events from these processes. It is important to note that this mitigation is unlikely to reduce CPU usage of the `wdavdaemon` or `wdavdaemon_enterprise` processes, but may affect `wdavdaemon_unprivileged`. If the other two processes are also experiencing high CPU usage, behavior monitoring may not be the sole cause, and contacting Microsoft support is recommended.
228+
229+
Once done, disable behavior monitoring statistics:
230+
231+
```bash
232+
sudo mdatp config behavior-monitoring-statistics --value disabled
233+
```
227234

228-
- If the issue doesn't go away, it isn't related to behavior monitoring.
229-
- If the issue goes away, download the [XMDE Client Analyzer](https://aka.ms/XMDEClientAnalyzer), and then contact Microsoft support.
235+
If the issue persists, download the [XMDE Client Analyzer](https://aka.ms/XMDEClientAnalyzer), and then contact Microsoft support.
230236

231237
## Network real-time inspection for macOS
232238

0 commit comments

Comments
 (0)