Microsoft Defender for Endpoint
Endpoint protection

Guidance Pen Testing Bas Linux

In brief

The guide now more clearly describes the managed JSON configuration, preview protections, diagnostic-log resources, and the information to submit through the MDSI or Microsoft Defender portal.

What Defender admins need to know

Administrators can use the clarified instructions when preparing BAS or penetration tests and submitting investigation data.

Summaries are generated from the documentation change itself.

Documentation change

The comparison below shows only the changed extract. Use the full-page view for complete context.

  • Additional antivirus and sensor capabilities: These settings enable deeper inspection of file, process, and network activity, along with extended telemetry collection from the system. Together, they improve detection depth, increase visibility into attack techniques, and reduce the chances of missed signals during BAS and penetration testing by capturing more system-level events and enforcing stronger scanning behavior.

Enable all of the protection settings listed above by creating the managed JSON configuration profile (mdatp_managed.json) on the path /etc/opt/microsoft/mdatp/managed. Copy the following contentconfiguration, which enables real-time protection, behavioral monitoring, cloud-delivered protection, and advanced sensor capabilities, to mdatp_managed.json. The path can differ if you use a custom path for installation. For more information, see Set preferences for Microsoft Defender for Endpoint on Linux.

{
- Run the `mdatp health` command to verify device health.

Enable new protection capabilities currently in preview

To get the most current and comprehensive assessment of Defender's detection and prevention depth, enable new protection capabilities that might be in preview. These preview protection capabilities incorporate protections for emerging threats and evolving attack techniques, ensuring that BAS and penetration-test exercises reflect Defender's latest security advancements. To get early access to new protection capabilities currently in preview:

  • Contact your Microsoft account executive for guided enablement (Preview feature).
  1. Run the following command to collect the logs: sudo mdatp diagnostic create.

For more information about diagnostic logs and troubleshooting tools, see Microsoft Defender for Endpoint on Linux resources.

Step 2: Gather information

| MDSI portal | The MDSI portal is a service provided by Microsoft Defender Security Intelligence. It allows users to submit files for malware analysis. Microsoft Defender security researchers analyze these files to determine if they're threats, unwanted applications, or normal files. The portal is used to report detection concerns to Microsoft Defender Research, submit files for analysis, and track the results of submissions. | | Microsoft Defender portal | If you have a subscription to Microsoft Defender XDR, or your subscription includes Defender for Endpoint Plan 2, you can use the Submissions page in the Microsoft Defender portal. |

Submit the data you gathered in Steps 1diagnostic logs and 2required investigation details by using either the MDSI portal or the Microsoft Defender portal:

  1. MDSI portal: Go to the MDSI portal, and then select Submit files. Follow the guidance on the page.