<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Rmaqbool on Medium]]></title>
        <description><![CDATA[Stories by Rmaqbool on Medium]]></description>
        <link>https://medium.com/@rmaqbool614?source=rss-25f59a9cfae5------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*1HJFGygxU_U-rldF</url>
            <title>Stories by Rmaqbool on Medium</title>
            <link>https://medium.com/@rmaqbool614?source=rss-25f59a9cfae5------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 23:38:21 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@rmaqbool614/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[INTEGRATING MICROSOFT 365 WITH WAZUH SIEM]]></title>
            <link>https://medium.com/@rmaqbool614/integrating-microsoft-365-with-wazuh-siem-b3d3b0919b4b?source=rss-25f59a9cfae5------2</link>
            <guid isPermaLink="false">https://medium.com/p/b3d3b0919b4b</guid>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[wazuh-integration]]></category>
            <category><![CDATA[cloud-security]]></category>
            <category><![CDATA[wazuh]]></category>
            <category><![CDATA[microsoft-365]]></category>
            <dc:creator><![CDATA[Rmaqbool]]></dc:creator>
            <pubDate>Tue, 07 Jul 2026 10:53:44 GMT</pubDate>
            <atom:updated>2026-07-07T11:07:11.396Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/753/1*7guD1KMNS7_oxIGcdQS7fw.png" /><figcaption><strong>INTEGRATING MICROSOFT 365 WITH WAZUH SIEM</strong></figcaption></figure><p><strong>Introduction</strong></p><p>In today’s high-velocity cloud environments, real-time visibility into administrative and application activity is non-negotiable. This guide walks you through integrating <strong>Microsoft 365 </strong>services with <strong>Wazuh SIEM v4.14</strong>, using a secure, API-driven approach tailored for modern cloud architectures. By leveraging Microsoft’s Management API endpoints, you will optimize log delivery while unlocking Wazuh’s powerful decoding engine and automated rulesets to flag suspicious behaviors instantly.</p><p><strong>The Integration Roadmap:</strong></p><ol><li>Azure App Registration for secure authentication</li><li>API Permissions for targeted Office 365 streams</li><li>Wazuh Manager configuration tuning</li><li>End-to-end log validation</li></ol><p><strong>Requirements:</strong></p><ul><li>Microsoft 365: Administrative access to Microsoft Entra ID (Azure Active Directory)</li><li>Wazuh v4.14: Installed and working</li><li>Network: Establish network connectivity between the Wazuh Manager and Microsoft 365. Ensure that the necessary ports of UDP are open for communication.</li><li>Ensure that network connectivity is properly established by allowing outbound traffic over port <strong>443/TCP</strong> for Microsoft API communication, and keeping ports <strong>514/UDP</strong> for syslog ingestion and <strong>55000/TCP</strong> for manager API enrollment open as required by your architecture.</li></ul><h3><strong>Azure Portal: Register your App</strong></h3><p>To authenticate with the Microsoft identity platform endpoint you need to register an app in your <a href="https://portal.azure.com/#blade/Microsoft_AAD_RegisteredApps/ApplicationsListBlade">Microsoft Azure portal app registrations</a> section.</p><p><strong><em>Step 1:</em></strong> Log in to the <a href="https://portal.azure.com/">Azure Portal</a> using your Microsoft 365 administrator credentials.</p><p><strong><em>Step 2:</em></strong> Navigate to: Azure Active Directory → App registrations</p><p><strong><em>Step 3: </em></strong>Click on <strong>“New registration”.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/967/1*B3YDEaRCNphjYRJ6uffyUw.png" /></figure><p><strong><em>Step 4:</em></strong> Enter the Application Name: For example, type <strong>Wazuh</strong>.</p><p><strong><em>Step 5:</em></strong> Select Supported Account Types: Choose “Accounts in this organizational directory only (Single tenant)”.</p><p><strong><em>Step 6:</em></strong> Click <strong>Register</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/986/1*XltDqL2HGHrngIfNwMeNQA.png" /></figure><h3>Record Application Details</h3><p><strong><em>Step 1: </em></strong>After registration, you will be directed to the app’s <strong>Overview</strong> page.</p><p><strong><em>Step 2:</em></strong> The app is now registered and you can see information about it in its overview section.</p><p><strong><em>Step 3:</em></strong> Copy and securely save the <strong>Application (client) ID</strong> and <strong>Directory (tenant) ID</strong> — these will be used later for integration.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1016/1*Nx-4vBcKMhfvwFwrtj1XCA.png" /></figure><h3>Create a Client Secret</h3><p><strong><em>Step 1: </em></strong>From the left menu, select <strong>Certificates &amp; secrets</strong>.</p><p><strong><em>Step 2:</em></strong> Click New client secret.</p><p><strong><em>Step 3:</em></strong> Add a description (e.g., Wazuh Secret) and select an expiration period.</p><p><strong><em>Step 4:</em></strong> Click Add.</p><p><strong><em>Step 5</em></strong>: Copy the generated secret value immediately and save it securely (the UI will not show it again).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JMvwzm0_m8zOJDULKwK66Q.png" /></figure><h3>Add API Permissions</h3><p>· The application requires specific permissions to access Office 365 activity events via the <a href="https://manage.office.com/">https://manage.office.com</a> resource.</p><p>· Steps to Add API Permissions:</p><p><strong><em>Step 1: </em></strong>Navigate to <strong>API permissions</strong> in your registered application.</p><p><strong><em>Step 2:</em></strong> Click <strong>Add </strong>a permission.</p><p><strong><em>Step 3:</em></strong> Select Office 365 Management APIs.</p><p><strong><em>Step 4:</em></strong> Choose Application permissions.</p><p><strong>Step 5:</strong> Under the <strong>ActivityFeed group</strong>, add the following:</p><p>a. ActivityFeed.Read — Allows reading activity data for your organization.</p><p>b. ActivityFeed.ReadDlp — Allows reading Data Loss Prevention (DLP) policy events, including detected sensitive data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5TjOavcWBM1sySUgPPucMA.png" /></figure><p><strong>Note:</strong> Admin Consent is required for API Permission changes.</p><h3>Configuring Office 365 Log Monitoring on Wazuh</h3><p>Add the Office 365 configuration to the ossec.conf file by navigating to the <strong>Wazuh Manager GUI</strong>, selecting the <strong>Edit configuration</strong> option, and inserting the required XML block for Office 365 integration.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yXfCysjM0KltYUOPWQcxEw.png" /></figure><p>Add the following configuration to the /var/ossec/etc/ossec.conf file.</p><p>The configuration pulls the <strong>Audit.SharePoint, Audit.AzureActiveDirectory, Audit.Exchange, Audit.General, and DLP.All</strong> type of events within an interval of 1m.</p><p>Update your configuration with the parameters shown below, making sure to replace the placeholder credentials with your recorded Azure details:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/870/1*K_LGoGkQDrbVwBpxtXNTAg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oBT5vJ3_yUWknbpbc969vA.png" /></figure><p><strong>Restart Wazuh Manager:</strong></p><p>sudo systemctl restart wazuh-manager</p><p><strong>Monitor archives for parsed events:</strong></p><p>tail -f /var/ossec/logs/archives/archives.log | grep Office365</p><p><strong>Validation</strong></p><p>Validating the integration of Microsoft Office 365 with Wazuh involves verifying that the log collection and forwarding from the Microsoft Office 365 to Wazuh are functioning correctly. Here are some steps to help validate the integration:</p><h3>Verification of logs</h3><p>To verify that the integration is successfully forwarding data to your dashboard, navigate to the <strong>Security Events</strong> tab on the Wazuh Console and filter your search by data.office365.Subscription. This confirms that cloud telemetry streams from your Microsoft tenant are being actively parsed and received by the Wazuh manager.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*kZgpZ1ki0-DPpuPvpDxpIg.png" /></figure><p>Once connected, the Wazuh manager aggregates log data from all your integrated Microsoft 365 tenants into a single, centralized stream. The built-in visual dashboard instantly synthesizes this data, highlighting critical security events through key metrics such as alert severity levels, originating IP addresses, active users per subscription channel, and execution results. Additionally, it maps out user-specific severity frequencies alongside the most common rule descriptions, allowing your SOC to spot anomalies at a glance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3I4nSTYVt9H3-b5J-w1MLA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b3d3b0919b4b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>