Skip to content

Commit d9502a8

Browse files
authored
Merge branch 'public' into patch-1
2 parents 98c9b37 + 0d87328 commit d9502a8

File tree

5 files changed

+191
-66
lines changed

5 files changed

+191
-66
lines changed

defender-endpoint/linux-preferences.md

Lines changed: 57 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ms.service: defender-endpoint
66
ms.author: deniseb
77
author: denisebmsft
88
ms.localizationpriority: medium
9-
ms.date: 10/14/2024
9+
ms.date: 01/13/2025
1010
manager: deniseb
1111
audience: ITPro
1212
ms.collection:
@@ -79,7 +79,10 @@ Specifies the enforcement preference of antivirus engine. There are three values
7979
> Available in Defender for Endpoint version `101.10.72` or later. Default is changed from `real_time` to `passive` in Defender for Endpoint version `101.23062.0001` or later.
8080
> It is recommended to also use [scheduled scans](/defender-endpoint/linux-schedule-scan-mde) as per requirement.
8181
82-
#### Enable/disable behavior monitoring
82+
#### Enable/disable behavior monitoring [only if RTP is enabled]
83+
84+
> [!IMPORTANT]
85+
> This feature only works when the enforcement level is set to `real-time`.
8386
8487
Determines whether behavior monitoring and blocking capability is enabled on the device or not.
8588

@@ -91,10 +94,13 @@ Determines whether behavior monitoring and blocking capability is enabled on the
9194

9295
> [!NOTE]
9396
> Available in Defender for Endpoint version `101.45.00` or later.
94-
> This feature is applicable only when real-time protection is enabled.
97+
9598

9699
#### Run a scan after definitions are updated
97100

101+
> [!IMPORTANT]
102+
> This feature only works when the enforcement level is set to `real-time`.
103+
98104
Specifies whether to start a process scan after new security intelligence updates are downloaded on the device. Enabling this setting triggers an antivirus scan on the running processes of the device.
99105

100106
|Description|JSON Value|Defender Portal Value|
@@ -105,7 +111,6 @@ Specifies whether to start a process scan after new security intelligence update
105111

106112
> [!NOTE]
107113
> Available in Defender for Endpoint version `101.45.00` or later.
108-
> This feature only works when the enforcement level is set to `real-time`.
109114
110115
#### Scan archives (on-demand antivirus scans only)
111116

@@ -266,7 +271,7 @@ To remove both NFS and Fuse from unmonitored list of filesystems, do the followi
266271
> [!NOTE]
267272
> Here's the default list of monitored filesystems for RTP: `btrfs`, `ecryptfs`, `ext2`, `ext3`, `ext4`, `fuseblk`, `jfs`, `overlay`, `ramfs`, `reiserfs`, `tmpfs`, `vfat`, `xfs`.
268273
>
269-
> If any monitored filesystem needs to be added to the list of unmonitored filesystems,then it needs to be evaluated and enabled by Microsoft via cloud config. Following which customers can update managed_mdatp.json to unmonitor that filesystem.
274+
> If any monitored filesystem needs to be added to the list of unmonitored filesystems, then it needs to be evaluated and enabled by Microsoft via cloud config. Following which customers can update managed_mdatp.json to unmonitor that filesystem.
270275
271276

272277

@@ -380,7 +385,7 @@ Specify the maximum number of entries to keep in the scan history. Entries inclu
380385
381386
### Exclusion setting preferences
382387

383-
**Exlusion setting preferences are currently in preview**.
388+
**Exclusion setting preferences are currently in preview**.
384389

385390
> [!NOTE]
386391
> Global exclusions are currently in public preview, and are available in Defender for Endpoint beginning with version `101.23092.0012` or later in the Insiders Slow and Production rings.
@@ -429,7 +434,7 @@ Specifies the type of content excluded from the scan.
429434

430435
##### Scopes of exclusion (optional)
431436

432-
Specifies the set of exlusion scopes of content excluded. Currently supported scopes are `epp` and `global`.
437+
Specifies the set of exclusion scopes of content excluded. Currently supported scopes are `epp` and `global`.
433438

434439
If nothing is specified in for an exclusion under *exclusionSettings* in managed configuration, then `global` is considered as scope.
435440

@@ -496,8 +501,8 @@ Specifies a process for which all file activity is excluded from scanning. The p
496501

497502
The following settings can be configured to enable certain advanced scanning features.
498503

499-
> [!NOTE]
500-
> Enabling these features might impact device performance. As such, it is recommended to keep the defaults.
504+
> [!IMPORTANT]
505+
> Enabling these features might impact device performance. As such, it is recommended to keep the defaults unless recommended otherwise by Microsoft Support.
501506
502507
##### Configure scanning of file modify permissions events
503508

@@ -632,8 +637,8 @@ Depending on the enforcement level, the automatic security intelligence updates
632637

633638
The following settings can be configured to enable certain advanced features.
634639

635-
>[!NOTE]
636-
>Enabling these features might impact device performance. It is recommended to keep the defaults.
640+
>[!IMPORTANT]
641+
>Enabling these features might impact device performance. It is recommended to keep the defaults unless recommended otherwise by Microsoft Support.
637642
638643
|Description|JSON Value|Defender Portal Value|
639644
|---|---|---|
@@ -681,7 +686,7 @@ Determines whether file modify permissions events (`chmod`) are monitored.
681686

682687
##### Configure monitoring of file modify ownership events
683688

684-
Determines whether file modify ownership events (chown) are monitored.
689+
Determines whether file modify ownership events (`chown`) are monitored.
685690

686691
> [!NOTE]
687692
> When this feature is enabled, Defender for Endpoint will monitor changes to the ownership of files, but not scan these events. For more information, see [Advanced scanning features](linux-preferences.md#configure-scanning-of-file-modify-ownership-events) section for more details.
@@ -764,6 +769,42 @@ Determines whether module load events are monitored using eBPF and scanned.
764769
|**Possible values**|disabled (default) <p> enabled|*n/a*|
765770
|**Comments**|Available in Defender for Endpoint version `101.68.80` or later.|
766771

772+
##### Configure monitoring of open events from specific filesystems using eBPF
773+
774+
Determines whether open events from procfs are monitored by eBPF.
775+
776+
> [!NOTE]
777+
> This feature is applicable only when Behavior Monitoring is enabled.
778+
779+
|Description|JSON Value|Defender Portal Value|
780+
|---|---|---|
781+
|**Key**|enableOtherFsOpenEvents|*Not available*|
782+
|**Data type**|String|*n/a*|
783+
|**Possible values**|disabled (default) <p> enabled|*n/a*|
784+
|**Comments**|Available in Defender for Endpoint version `101.24072.0001` or later.|
785+
786+
##### Configure source enrichment of events using eBPF
787+
788+
Determines whether events are enriched with metadata at source in eBPF.
789+
790+
|Description|JSON Value|Defender Portal Value|
791+
|---|---|---|
792+
|**Key**|enableEbpfSourceEnrichment|*Not available*|
793+
|**Data type**|String|*n/a*|
794+
|**Possible values**|disabled (default) <p> enabled|*n/a*|
795+
|**Comments**|Available in Defender for Endpoint version `101.24072.0001` or later.|
796+
797+
#### Enable Antivirus Engine Cache
798+
799+
Determines whether metadata of events being scanned by the antivirus engine are cached or not.
800+
801+
|Description|JSON Value|Defender Portal Value|
802+
|---|---|---|
803+
|**Key**|enableAntivirusEngineCache|*Not available*|
804+
|**Data type**|String|*n/a*|
805+
|**Possible values**|disabled (default) <p> enabled|*n/a*|
806+
|**Comments**|Available in Defender for Endpoint version `101.24072.0001` or later.|
807+
767808
#### Report AV Suspicious Events to EDR
768809

769810
Determines whether suspicious events from Antivirus are reported to EDR.
@@ -777,11 +818,12 @@ Determines whether suspicious events from Antivirus are reported to EDR.
777818

778819
### Network protection configurations
779820

780-
The following settings can be used to configure advanced Network Protection inspection features to control what traffic gets inspected by Network Protection.
781-
782821
> [!NOTE]
822+
> This is a preview feature.
783823
> For these to be effective, Network Protection has to be turned on. For more information, see [Turn on network protection for Linux](network-protection-linux.md).
784824
825+
The following settings can be used to configure advanced Network Protection inspection features to control what traffic gets inspected by Network Protection.
826+
785827
|Description|JSON Value|Defender Portal Value|
786828
|---|---|---|
787829
|**Key**|networkProtection|Network protection|
@@ -1023,7 +1065,7 @@ If the JSON is well-formed, the above command outputs it back to the Terminal an
10231065

10241066
## Verifying that the mdatp_managed.json file is working as expected
10251067

1026-
To verify that your /etc/opt/microsoft/mdatp/managed/mdatp_managed.json is working properly, you should see "[managed]" next to these settings:
1068+
To verify that your `/etc/opt/microsoft/mdatp/managed/mdatp_managed.json` is working properly, you should see "[managed]" next to these settings:
10271069

10281070
- `cloud_enabled`
10291071
- `cloud_automatic_sample_submission_consent`

defender-endpoint/linux-whatsnew.md

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ms.author: deniseb
66
author: denisebmsft
77
ms.reviewer: kumasumit, gopkr
88
ms.localizationpriority: medium
9-
ms.date: 01/09/2025
9+
ms.date: 01/13/2025
1010
manager: deniseb
1111
audience: ITPro
1212
ms.collection:
@@ -43,6 +43,35 @@ This article is updated frequently to let you know what's new in the latest rele
4343
4444
## Releases for Defender for Endpoint on Linux
4545

46+
### Jan-2025 Build: 101.24112.0001 | Release version: 30.124112.0001.0
47+
48+
| Build: | **101.24112.0001** |
49+
|--------------------|-----------------------|
50+
| Released: | **January 13, 2025** |
51+
| Published: | **January 13, 2025** |
52+
| Release version: | **30.124112.0001.0** |
53+
| Engine version: | **1.1.24090.13** |
54+
| Signature version: | **1.421.226.0** |
55+
56+
#### What's new
57+
58+
- Upgraded the Bond version to 13.0.1 to address security vulnerabilities in versions 12 or lower.
59+
60+
- Mdatp package no longer has a dependency on SELinux packages.
61+
62+
- User can now query the status of supplementary event provider eBPF using the threat hunting query in DeviceTvmInfoGathering. To learn more about this query check: [Use eBPF-based sensor for Microsoft Defender for Endpoint on Linux](/defender-endpoint/linux-support-ebpf). The result of this query can return the following two values as eBPF status:
63+
- Enabled: When eBPF is enabled as working as expected.
64+
- Disabled: When eBPF is disabled due to one of the following reasons:
65+
- When MDE is using auditD as a supplementary sensor
66+
- When eBPF is not present and we fallback to Netlink as supplementary event provider
67+
- There is no supplementary sensor present.
68+
69+
- Starting from 2411, the MDATP package release to Production on packages.microsoft.com will follow a gradual rollout mechanism which spans over a week. The other release rings, insiderFast and insiderSlow, are unaffected by this change.
70+
71+
- Stability and performance improvements.
72+
73+
- Critical bugs fixes around definition update flow.
74+
4675
### Jan-2025 Build: 101.24102.0000 | Release version: 30.124102.0000.0
4776

4877
| Build: | **101.24102.0000** |

defender-endpoint/troubleshoot-av-performance-issues-with-wprui.md

Lines changed: 67 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ ms.custom:
2121

2222
# Troubleshoot Microsoft Defender Antivirus performance issues with WPRUI
2323

24+
> [!TIP]
25+
> First, review common reasons for performance issues such as high CPU usage in [Troubleshoot performance issues related to Microsoft Defender Antivirus real-time protection (RTP) or scans (scheduled or on-demand](/defender-endpoint/troubleshoot-performance-issues)).
26+
> Then, run the [Microsoft Defender Antivirus Performance Analyzer](/defender-endpoint/tune-performance-defender-antivirus) to analyze the cause of high CPU usage in Microsoft Defender Antivirus (Antimalware Service Executable, Microsoft Defender Antivirus service, or MsMpEng.exe).
27+
> If the Microsoft Defender Antivirus Performance Analyzer doesn't identify the root cause of high CPU utilization, run [Processor Monitor](/defender-endpoint/troubleshoot-av-performance-issues-with-procmon) to narrow down or determine the root cause of the high CPU utilization in Microsoft Defender Antivirus.
28+
> The final tool in your toolkit is to run the Windows Performance Recorder UI (WPRUI) or the Windows Performance Recorder (WPR command-line) as discussed in this article.
29+
2430
## Capture performance logs using Windows Performance Recorder
2531

2632
Windows Performance Recorder (WPR) is a powerful recording tool that creates Event Tracing for Windows recordings and allows you to include additional information in your submission to Microsoft support.
@@ -29,62 +35,88 @@ WPR is part of the Windows Assessment and Deployment Kit (Windows ADK) and can b
2935

3036
Alternatively, follow the steps in [Capture performance logs using the WPR UI](/editor/MicrosoftDocs/defender-docs-pr/defender-endpoint%2Ftroubleshoot-performance-issues.md/main/ae28f1cf-14bc-fb9c-5f0c-873a683e907c/?branch=main&branchFallbackFrom=main%2C), or use the command-line tool *wpr.exe* [Capture performance logs using the WPR CLI](/editor/MicrosoftDocs/defender-docs-pr/defender-endpoint%2Ftroubleshoot-performance-issues.md/main/ae28f1cf-14bc-fb9c-5f0c-873a683e907c/?branch=main&branchFallbackFrom=main%2C). Both are available in Windows 8 and later versions.
3137

38+
There are two ways to capture the Windows Performance Recorder (WPRUI) trace:
39+
40+
1. Using the MDE Client Analyzer
41+
42+
1. Manually
43+
44+
## Using the MDE Client Analyzer
45+
46+
1. Download the [MDE Client Analyzer](/defender-endpoint/download-client-analyzer).
47+
48+
1. Run the MDE Client Analyzer using [Live Response or locally](/defender-endpoint/run-analyzer-windows).
49+
50+
> [!TIP]
51+
> Before starting the trace, make sure the issue is reproducible. Additionally, close any applications that don't contribute to the reproduction of the issue.
52+
53+
54+
1. Run the MDE Client Analyzer with the `-a` and `-v` switches.
55+
56+
PowerShellCopy
57+
58+
```
59+
C:\Work\tools\MDEClientAnalyzer\MDEClientAnalyzer.cmd
60+
```
61+
62+
## Manually
63+
3264
### Capture performance logs using the WPR UI
3365

3466
> [!TIP]
35-
> If multiple devices are experiencing this issue, try using the one with the most RAM.
67+
> If multiple devices are experiencing this issue, use the one with the most RAM.
3668
3769
1. Download and install WPR.
3870

3971
1. Under *Windows Kits*, right-click **Windows Performance Recorder**.
4072

4173
![Screenshot showing the Start menu](media/wpr-01.png)
42-
74+
4375
1. Select **More**. Select **Run as administrator**.
4476

4577
1. Right-click **Yes** when the User Account Control dialog box appears.
4678

4779
![Screenshot showing the UAC page.](media/wpt-yes.png)
48-
80+
4981
1. Next, download the [Microsoft Defender for Endpoint analysis](https://github.com/YongRhee-MDE/Scripts/blob/master/MDAV.wprp) profile and save as `MDAV.wprp` to a folder such as `C:\temp`.
5082

5183
1. In the WPR dialog box, select **More options**.
5284

5385
![Screenshot showing the page where you can select more options](media/wpr-03.png)
54-
86+
5587
1. Select **Add Profiles...** and browse to the path of the `MDAV.wprp` file.
5688

5789
1. A new profile named Microsoft Defender for Endpoint analysis should appear under Custom measurements.
5890

5991
![Screenshot showing the in-file.](media/wpr-infile.png)
60-
92+
6193
> [!WARNING]
62-
> If your Windows Server has 64 GB of RAM or more, use the custom measurement `Microsoft Defender for Endpoint analysis for large servers` instead of `Microsoft Defender for Endpoint analysis`. Otherwise, your system consumes a high amount of non-paged pool memory or buffers, leading to system instability. Explore **Resource Analysis** to choose profiles to add.
94+
> If your Windows Server has 64 GB of RAM or more, use the custom measurement `Microsoft Defender for Endpoint analysis for large servers` instead of `Microsoft Defender for Endpoint analysis`. Otherwise, your system might consume a high amount of nonpaged pool memory or buffers, leading to system instability. To address this, explore **Resource Analysis** to choose profiles to add.
6395
> This custom profile provides the necessary context for in-depth performance analysis.
6496
6597
1. To use the custom measurement Microsoft Defender for Endpoint verbose analysis profile in the WPR UI:
6698

6799
1. Ensure no profiles are selected under the *First-level triage*, *Resource Analysis* and *Scenario Analysis* groups.
68100

69-
2. Select **Custom measurements**.
101+
1. Select **Custom measurements**.
70102

71-
3. Select **Microsoft Defender for Endpoint analysis**.
103+
1. Select **Microsoft Defender for Endpoint analysis**.
72104

73-
4. Select **Verbose** under *Detail* level.
105+
1. Select **Verbose** under *Detail* level.
74106

75-
5. Select **File** or **Memory** under Logging mode.
107+
1. Select **File** or **Memory** under Logging mode.
76108

77109
> [!IMPORTANT]
78-
> Select **File** to use the file logging mode if you can directly reproduce the performance issue. Most issues fall under this category. However, if you cannot directly reproduce the issue, select Memory to use the memory logging mode. This prevents the trace log from inflating excessively due to long run times.
110+
> Select **File** to use the file logging mode if you can directly reproduce the performance issue. Most issues fall under this category. However, if you can't directly reproduce the issue, select **Memory** to use the memory logging mode. This prevents the trace log from inflating excessively due to long run times.
79111
80-
1. Now you're ready to collect data. Close all unnecessary applications. Click **Hide options** to keep the space occupied by the WPR window small.
112+
1. Now you're ready to collect data. Close all unnecessary applications. Select **Hide options** to keep the space occupied by the WPR window small.
81113

82114
![Screenshot showing the Hide options.](media/wpr-08.png)
83-
115+
84116
1. Select **Start**.
85117

86118
![Screenshot showing the Record system information page.](media/wpr-09.png)
87-
119+
88120
1. Reproduce the issue.
89121

90122
> [!TIP]
@@ -93,25 +125,25 @@ Alternatively, follow the steps in [Capture performance logs using the WPR UI](/
93125
1. Select **Save**.
94126

95127
![Screenshot showing the Save option.](media/wpr-10.png)
96-
128+
97129
1. Fill in **Type in a detailed description of the problem:** with information about the problem and how you reproduced the issue.
98130

99131
![Screenshot showing the pane in which you fill.](media/wpr-12.png)
100-
132+
101133
1. Select **File Name:** to determine where your trace file is saved. By default, it's saved to `%user%\Documents\WPR Files\`.
102134

103-
1. Select **Save**.
135+
1. Select **Save**.
104136

105137
![Screenshot showing the WPR gathering general trace.](media/wpr-13.png)
106-
138+
107139
1. After the trace has been merged and saved, right-click **Open folder**.
108140

109141
![Screenshot that displays the notification that WPR trace has been saved.](media/wpr-14.png)
110-
111-
Include both the file and the folder in your submission to Microsoft Support.
142+
143+
1. Include both the file and the folder in your submission to Microsoft Support.
112144

113145
![Screenshot showing the details of the file and the folder.](media/wpr-15.png)
114-
146+
115147
### Capture performance logs using the WPR CLI
116148

117149
To collect a WPR trace using the command-line tool wpr.exe:
@@ -131,7 +163,7 @@ To collect a WPR trace using the command-line tool wpr.exe:
131163
```
132164

133165
> [!WARNING]
134-
> If your Windows Server has 64 GB of RAM or more, use profiles `WDForLargeServers.Light` and `WDForLargeServers.Verbose` instead of profiles `WD.Light` and `WD.Verbose`, respectively. Otherwise, your system consumes a high amount of non-paged pool memory or buffers, leading to system instability.
166+
> If your Windows Server has 64 GB of RAM or more, use profiles `WDForLargeServers.Light` and `WDForLargeServers.Verbose` instead of profiles `WD.Light` and `WD.Verbose`, respectively. Otherwise, your system consumes a high amount of nonpaged pool memory or buffers, leading to system instability.
135167
136168
1. Reproduce the issue.
137169

@@ -150,8 +182,20 @@ To collect a WPR trace using the command-line tool wpr.exe:
150182

151183
## See also
152184

185+
- [Run the client analyzer on Windows](/defender-endpoint/run-analyzer-windows)
186+
153187
- [Collect Microsoft Defender Antivirus diagnostic data](collect-diagnostic-data.md)
188+
189+
- [Troubleshoot Microsoft Defender Antivirus settings](/defender-endpoint/troubleshoot-settings)
190+
154191
- [Configure and validate exclusions for Microsoft Defender Antivirus scans](configure-exclusions-microsoft-defender-antivirus.md)
192+
193+
- [Troubleshoot performance issues related to Microsoft Defender Antivirus](/defender-endpoint/troubleshoot-performance-issues)
194+
155195
- [Performance analyzer for Microsoft Defender Antivirus](tune-performance-defender-antivirus.md)
156196

157-
[!INCLUDE [Microsoft Defender for Endpoint Tech Community](../includes/defender-mde-techcommunity.md)]
197+
- [Troubleshoot Microsoft Defender Antivirus performance issues with Process Monitor](/defender-endpoint/troubleshoot-av-performance-issues-with-procmon)
198+
199+
- [Troubleshoot Microsoft Defender Antivirus performance issues with WPRUI](/defender-endpoint/troubleshoot-av-performance-issues-with-wprui)
200+
201+
[!INCLUDE [Microsoft Defender for Endpoint Tech Community](../includes/defender-mde-techcommunity.md)]

0 commit comments

Comments
 (0)