/Defender-APIs

Defender APIs - provide API scenarios to automate incident response actions in Microsoft 365 Defender and Microsoft Defender for Endpoint.

Primary LanguageShell

Microsoft Security & Defender APIs


In the beginning, there are a number of APIs such as Microsoft 365 Defender, Microsoft Defender for Endpoint, Microsoft Graph and so on in Microsoft Security.

Product API
Microsoft Defender for Endpoint - Microsoft Defender for Endpoint APIs
Microsoft 365 Defender - Incident APIs
- Advanced Hunting API
- Streaming API

Figure 1. Supported APIs in Microsoft 365 Defender & Microsoft Defender for Endpoint

Best practices for leveraging Microsoft 365 Defender API

  1. Best practices for leveraging Microsoft 365 Defender API's - Episode One
  2. Best practices for leveraging Microsoft 365 Defender API's - Episode Two
  3. Best practices for leveraging Microsoft 365 Defender API's - Episode Three

GUI for MDE API sample app

By advanced hunting KQL query, Computer name or CSV file, MDE API GUI calls APIs to automate incident response actions such as antivirus scan, device isolation and device tag.

Reference

  1. Simple GUI for Microsoft Defender for Endpoint API machine actions in PowerShell
  2. Build custom incident response actions with Microsoft 365 Defender APIs
Machine action Link
Add machine tags GUI-MDE-API-DeviceTag.md
Run antivirus scan GUI-MDE-API-AntivirusScan.md
Isolate machine GUI-MDE-API-DeviceIsolation.md

Power Automate / Azure Logic App

Power Automate and Azure Logic App are cloud-based automation tools from Microsoft that allow users to create and automate workflows, integrating applications and services across platforms and systems, with Power Automate being a low-code option and Azure Logic App offering advanced customization and Azure integration.

Power Automate folder : Power-Automate

image

Power Automate portal

MSTICPy

MSTICPy is a Python library of Cybersecurity tools built by Microsoft, which provides threat hunting and investigation functionality.

Reference

  1. GitHub : MSTIC Jupyter and Python Security Tools
  2. MSTIC docs : MSTIC Jupyter and Python Security Tools

MSTICPy GitHub repo : LearningKijo | MSTICPy

PowerBI & Defenders

#WIP

#--- Big thank you for support, Mutsumi N.

Disclaimer

The views and opinions expressed herein are those of the author and do not necessarily reflect the views of company.