<?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 Zaynab Rouis on Medium]]></title>
        <description><![CDATA[Stories by Zaynab Rouis on Medium]]></description>
        <link>https://medium.com/@zaynab.rouis1?source=rss-a34553c1e3d8------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*n6m8DuXVKWtubuzQlGmhBA.jpeg</url>
            <title>Stories by Zaynab Rouis on Medium</title>
            <link>https://medium.com/@zaynab.rouis1?source=rss-a34553c1e3d8------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 03:09:46 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@zaynab.rouis1/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[Why Python Is the Cybersecurity Professional’s Secret Weapon]]></title>
            <link>https://medium.com/@zaynab.rouis1/why-python-is-the-cybersecurity-professionals-secret-weapon-1eb512663a6b?source=rss-a34553c1e3d8------2</link>
            <guid isPermaLink="false">https://medium.com/p/1eb512663a6b</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Zaynab Rouis]]></dc:creator>
            <pubDate>Tue, 09 Jun 2026 08:31:00 GMT</pubDate>
            <atom:updated>2026-06-09T08:31:00.718Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*usKHbWst9_P_LdTFx7uajA.jpeg" /></figure><p>If you’ve spent any time in security circles, you’ve noticed something: Python is everywhere. From penetration testers automating reconnaissance to incident responders parsing gigabytes of logs, Python has quietly become the default language of the field. Here’s why — and how you can put it to work.</p><h3>The Case for Python in Security</h3><p>Security work is fundamentally about automation, parsing, and rapid prototyping. You rarely have time to write a perfectly architected application in a compiled language when an attacker is already inside the network. Python’s readable syntax, massive ecosystem, and “batteries included” standard library let you go from idea to working tool in minutes rather than hours.</p><p>The language also sits at a useful intersection: high-level enough to write quickly, but with libraries that reach down to raw sockets and packet manipulation when you need precision.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SwhiwbAeJVgf6iZqr63Ymg.jpeg" /></figure><h3>Core Libraries Worth Knowing</h3><p>A few libraries form the backbone of most security tooling. <strong><em>Scapy</em></strong> lets you craft, send, and dissect network packets at will — invaluable for network analysis and custom protocol testing. <strong><em>Requests</em></strong> handles HTTP interactions cleanly, making it the go-to for web reconnaissance and API testing. <strong><em>Paramiko</em></strong> provides SSH connectivity for automating remote access during authorized assessments.</p><p>For analysis work, <strong><em>pandas</em></strong> turns messy log files into queryable datasets, and <strong><em>PyShark</em></strong> wraps Wireshark’s engine for programmatic packet capture review.</p><h3>Practical Applications</h3><blockquote>Consider a few realistic uses. A log analysis script can scan authentication logs for brute-force patterns:</blockquote><pre>import re<br>from collections import Counter<br><br>failed = Counter()<br>with open(&quot;auth.log&quot;) as f:<br>    for line in f:<br>        if &quot;Failed password&quot; in line:<br>            ip = re.search(r&quot;from ([\d.]+)&quot;, line)<br>            if ip:<br>                failed[ip.group(1)] += 1<br><br>for ip, count in failed.most_common(10):<br>    if count &gt; 20:<br>        print(f&quot;Suspicious: {ip} had {count} failed attempts&quot;)</pre><blockquote>This kind of quick triage tool is the everyday reality of defensive security — nothing flashy, just fast answers to “is something wrong here?”</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qh5eQNosoYQFnyYbr83z-Q.jpeg" /></figure><p>On the offensive side (in authorized engagements only), Python excels at building custom scanners, automating vulnerability checks, and chaining tools together into repeatable workflows.</p><h3>A Responsible Note</h3><p>The same scripting power that defends networks can attack them. Everything here assumes you’re working within legal boundaries — your own systems, a lab environment, or an engagement with written authorization. Unauthorized access is a crime regardless of how educational it feels.</p><h3>Getting Started</h3><blockquote>Start small. Pick a repetitive task you already do manually — parsing a report, checking a list of hosts, organizing findings — and automate just that. Build a personal toolkit over time. The professionals who stand out aren’t the ones who memorized every library; they’re the ones who reflexively reach for a script when others reach for tedious manual work.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CgtcLmvfIF9Nkzjsm5hBzw.jpeg" /></figure><blockquote>Python won’t make you a security expert on its own. But paired with real domain knowledge, it’s the multiplier that turns understanding into capability.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1eb512663a6b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[MDE &Intune Integration: How a Compromised Endpoint Gets Blocked in Real Time]]></title>
            <link>https://medium.com/@zaynab.rouis1/mde-intune-integration-how-a-compromised-endpoint-gets-blocked-in-real-time-4c49b1855014?source=rss-a34553c1e3d8------2</link>
            <guid isPermaLink="false">https://medium.com/p/4c49b1855014</guid>
            <category><![CDATA[microsoft]]></category>
            <category><![CDATA[microsoft-intune]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[microsoft-defender]]></category>
            <category><![CDATA[mdes]]></category>
            <dc:creator><![CDATA[Zaynab Rouis]]></dc:creator>
            <pubDate>Thu, 09 Apr 2026 07:31:01 GMT</pubDate>
            <atom:updated>2026-04-09T07:31:01.432Z</atom:updated>
            <content:encoded><![CDATA[<p>Parts 1 and 2 covered MDE and Intune as separate platforms. This is where they become something more than the sum of their parts. When MDE and Intune are integrated, a threat detected on an endpoint doesn’t just generate an alert — it triggers a chain reaction that can block the device from accessing every corporate resource within minutes, automatically, without a human in the loop. This article explains exactly how that works.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/832/1*E6GHycVPEEw7PKaCssxEew.jpeg" /></figure><h3>First: enabling the connector</h3><p>The integration starts with a simple but important step — enabling the MDE-Intune connector in both portals. In the Microsoft Defender portal, you go to Settings → Endpoints → Advanced Features and toggle on the Microsoft Intune connection. In Intune, you go to Endpoint Security → Microsoft Defender for Endpoint and enable the connector there as well.</p><p>Once both sides are connected, they begin sharing signals. MDE starts sending device risk scores to Intune. Intune starts sending device compliance status to Entra ID. The three platforms are now operating as one system.</p><p>This sounds trivial but it’s a common gap in organizations that have both products licensed — they have MDE, they have Intune, but they never enabled the connector, so the two platforms have no idea what the other is doing.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7lvNU1PK48UdUjcFhxaQ1w.jpeg" /></figure><h3>The risk score — MDE’s verdict on a device</h3><p>MDE continuously evaluates every onboarded device and assigns it a risk level: Clean, Low, Medium, or High. This score is calculated based on active alerts, the severity of those alerts, the techniques used, and whether remediation has occurred.</p><p>A device with no active threats is Clean. A device where MDE detected suspicious PowerShell execution is Low or Medium. A device in the middle of an active ransomware incident is High. This score updates in near real time as new signals come in and as threats are remediated.</p><p>The risk score is the core output of everything MDE does on the detection side — it’s the condensed, actionable verdict that other systems can consume without needing to understand the underlying alerts.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JzDEMX6An1z92hrR8LlDpw.jpeg" /></figure><h3>How Intune consumes the risk score</h3><p>Once the connector is enabled, the MDE risk score flows into Intune as a device attribute. You then create a compliance policy in Intune that includes a condition on the MDE risk level — for example: “Device must have a risk level of Low or below to be considered compliant.”</p><p>When a device’s MDE risk score exceeds that threshold — say it jumps from Clean to High because MDE detected active malware — Intune immediately marks the device as Non-compliant. This happens automatically, with no analyst action required.</p><p>The compliance status change propagates to Entra ID within minutes. And if you have a Conditional Access policy requiring compliant devices — which you should — Entra ID starts blocking that device’s access to every protected resource: Exchange Online, SharePoint, Teams, Azure portals, everything covered by the CA policy.</p><h3>The full chain in one scenario</h3><p>Here’s what this looks like end to end. It’s 2am. An attacker lands on a laptop via a phishing email and executes a credential harvesting tool. MDE’s behavioral engine detects the LSASS access attempt and raises a High severity alert. The device risk score jumps to High.</p><p>Intune sees the risk score cross the compliance threshold and marks the device Non-compliant. Entra ID receives the compliance state change. The CA policy evaluating the device sees it’s no longer compliant and revokes the active session tokens. The user — or the attacker using the user’s session — is signed out of Outlook, Teams, and SharePoint. An attempt to re-authenticate fails because the device is now blocked at the CA layer.</p><p>All of this happens in the background while AIR is simultaneously investigating the alert, tracing the process tree, and preparing to quarantine the malicious file. By the time a SOC analyst opens the incident in the morning, the threat has been contained, the lateral movement path has been severed, and there’s a full investigation report waiting for review.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wytC9PQIom3Vhe1AzEADFg.jpeg" /></figure><p>That’s the integration working as designed.</p><h3>Security baselines — pushing MDE configuration through Intune</h3><p>One of the most practical integration points is using Intune to configure MDE itself. Rather than manually configuring MDE settings device by device, you push MDE configuration through Intune’s Endpoint Security policies.</p><p>The MDE security baseline in Intune is a pre-built set of recommended settings based on Microsoft’s security guidance. It configures Defender AV settings, enables cloud-delivered protection, sets sample submission behavior, enables tamper protection, and more. You assign this baseline to a device group and Intune pushes it to every device in that group automatically.</p><p>Beyond the baseline, Intune’s Endpoint Security section gives you granular control over five MDE-adjacent policy types: Antivirus (Defender AV configuration), Firewall (Windows Defender Firewall rules), Endpoint Detection &amp; Response (onboarding configuration and EDR settings), Attack Surface Reduction (ASR rules and their modes), and Account Protection (Windows Hello, credential guard). These policies apply directly to the MDE components on the device through the MDM channel.</p><p>This matters architecturally: Intune becomes the single control plane for both device management and security tool configuration. You don’t need to manage MDE settings separately.</p><h3>Onboarding MDE through Intune</h3><p>For Intune-enrolled devices, the cleanest onboarding path for MDE is through Intune itself. You create an Endpoint Detection &amp; Response policy in Intune’s Endpoint Security section, select the onboarding package type, and assign it to your device groups. Intune pushes the onboarding configuration to enrolled devices and the MDE sensor activates automatically.</p><p>This means new devices coming through Autopilot are enrolled in Intune and onboarded to MDE in a single automated flow, before the user even logs in for the first time. Day zero protection with no manual steps.</p><h3>The role of Entra ID — the trust broker in the middle</h3><p>Entra ID (Azure AD) is the platform that makes this integration coherent. It’s not just a directory — it’s the trust broker that holds the device identity, receives compliance signals from Intune, evaluates Conditional Access policies, and issues or denies authentication tokens.</p><p>When MDE raises a risk signal, it goes to Intune. When Intune changes compliance status, it goes to Entra ID. When a user authenticates, Entra ID checks the device’s current compliance state from Intune in real time. The token issued (or denied) reflects the current security posture of the device at the moment of authentication.</p><p>This is why the three platforms together implement Zero Trust properly: every access request is evaluated against the current state of the device, not a cached or assumed state. A device that was compliant yesterday but is compromised today gets blocked today.</p><h3>Co-management — when SCCM and Intune share the workload</h3><p>Many enterprises aren’t fully cloud-native. They have SCCM (Microsoft Endpoint Configuration Manager) managing their on-premises Windows devices, and they’re incrementally moving to Intune. Co-management is the bridge.</p><p>In a co-management setup, a device is managed by both SCCM and Intune simultaneously. Workloads — compliance policies, device configuration, endpoint protection — are split between the two. You can slide workloads from SCCM to Intune gradually, moving compliance first, then configuration, then endpoint protection, without a big-bang migration.</p><p>For MDE integration purposes, what matters is that compliance policies and the Endpoint Protection workload need to be handled by Intune for the MDE risk score to feed into Conditional Access. As long as SCCM owns those workloads, the integration chain is incomplete. Co-management gives you a path to get there without disrupting everything at once.</p><h3>The unified portal — one place to see everything</h3><p>Microsoft has been consolidating the security experience into the Microsoft Defender portal at security.microsoft.com. From a single interface you can now see MDE alerts and incidents, TVM recommendations, Advanced Hunting, and — through integration — Intune device compliance status and Entra ID device information.</p><p>When you look at a device in the Defender portal, you can see its MDE risk score, its Intune compliance status, its Entra ID join type, its last seen time, and its active alerts — all in one view. This unified context is what makes investigations faster. You don’t have to pivot between three portals to understand the full picture of a device.</p><h3>Live Response — direct access when you need it</h3><p>When you’re investigating a compromised device and need to go beyond what the investigation graph shows you, Live Response gives you a remote shell directly on the endpoint. From the MDE portal you can open a Live Response session and run commands, collect files, upload and execute scripts, check running processes, and examine the file system — all without touching the device physically or using a separate remote access tool.</p><p>Live Response is available on Plan 2 and requires the feature to be enabled in MDE settings. Sessions are logged and auditable. It’s particularly useful for collecting forensic artifacts — memory dumps, event logs, specific registry hives — during an active incident when you need evidence that automated investigation didn’t capture.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/784/1*ZS3Ap3jO3_BFQabSLcyunA.jpeg" /></figure><h3>Machine actions — the response toolkit</h3><p>Beyond Live Response, MDE gives you a set of direct response actions you can trigger on any onboarded device from the portal:</p><p>Isolate device cuts the device off from all network communication except the MDE telemetry channel. The device can no longer reach the internet, internal network, or other devices — but MDE can still see it and you can still run Live Response. This is your primary containment action for an active compromise.</p><p>Collect investigation package pulls a zip of forensic artifacts from the device: process list, network connections, event logs, prefetch files, scheduled tasks, registry exports. Useful for offline analysis.</p><p>Run antivirus scan triggers a full or quick Defender AV scan immediately, regardless of the scheduled scan configuration.</p><p>Restrict app execution blocks all applications on the device except those signed by Microsoft. Extreme measure, but useful when you want to stop a threat from spreading while keeping the device technically operational.</p><p>Initiate automated investigation manually triggers AIR on the device if it hasn’t fired automatically.</p><h3>What the full architecture looks like</h3><p>Stepping back, the integrated architecture has three layers working together:</p><p>The enforcement layer is Entra ID and Conditional Access. Every authentication request passes through here. The verdict — allow or block — is based on the device’s current compliance state.</p><p>The management and compliance layer is Intune. It owns device enrollment, configuration, and compliance evaluation. It receives the MDE risk score and translates it into a binary compliant or non-compliant state that Entra ID can act on.</p><p>The detection and response layer is MDE. It watches everything happening on the endpoint, assigns a risk score, investigates threats, and remediates. Its output — the risk score — feeds up into the compliance layer and triggers the enforcement layer when a device becomes dangerous.</p><p>These three layers form a closed loop. Detection feeds compliance. Compliance feeds enforcement. Enforcement motivates remediation. Remediation updates detection. The system is self-regulating.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/784/1*RJF6FoKOLV5qyyNH8QNq1A.jpeg" /></figure><h3>The gaps to watch for</h3><p>No integration is perfect and this one has real operational considerations worth knowing.</p><p>Latency exists in the chain. The time between MDE raising an alert and Entra ID blocking access is not instantaneous — it typically ranges from a few minutes to around fifteen minutes depending on how quickly compliance state propagates. For most scenarios this is acceptable. For a fast-moving ransomware event, it means the window of exposure is real.</p><p>Coverage gaps happen when devices aren’t onboarded to MDE, aren’t enrolled in Intune, or aren’t Azure AD Joined. A device outside this ecosystem has no compliance signal and your CA policies either block it entirely or exempt it — neither is ideal for business continuity.</p><p>Exclusions and legacy authentication are common CA bypass paths. Any resource not covered by a CA policy, any protocol that doesn’t use modern authentication (legacy SMTP, older Exchange clients), or any named location exemption creates a gap in the enforcement layer.</p><p>Knowing where the gaps are is as important as knowing how the system works when everything is functioning correctly.</p><p>That’s the full integration story. MDE sees the threat. Intune translates it into a compliance verdict. Entra ID enforces it at the access layer. Together, they implement the core promise of Zero Trust: no device gets implicit trust, and a device that becomes dangerous loses access automatically.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4c49b1855014" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Microsoft Intune: The Engine Room Behind Modern Device Management]]></title>
            <link>https://medium.com/@zaynab.rouis1/microsoft-intune-the-engine-room-behind-modern-device-management-ccd9e059cc10?source=rss-a34553c1e3d8------2</link>
            <guid isPermaLink="false">https://medium.com/p/ccd9e059cc10</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[microsoft-intune]]></category>
            <category><![CDATA[microsoft]]></category>
            <category><![CDATA[mam]]></category>
            <category><![CDATA[mdm]]></category>
            <dc:creator><![CDATA[Zaynab Rouis]]></dc:creator>
            <pubDate>Wed, 01 Apr 2026 12:07:40 GMT</pubDate>
            <atom:updated>2026-04-01T12:17:15.835Z</atom:updated>
            <content:encoded><![CDATA[<p>There’s a version of Intune that most people know — the place where you push apps and enforce a PIN policy. Then there’s the real Intune: a three-engine platform that controls how devices are managed, how policies are enforced, and how identity and access decisions get made. This article is about the second version.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9Tv7UjGr96d3fQAHuXep3A.jpeg" /></figure><h3>The Device Management Engine</h3><h3>MDM vs MAM — two very different levels of control</h3><p>Before anything else, you need to understand this distinction because it determines the entire relationship between Intune and a device.</p><p>MDM — Mobile Device Management — means Intune has full control over the device. It can wipe it, enforce encryption, push certificates, restrict hardware features, and collect compliance data. The device is enrolled, Intune owns the management channel, and policies apply at the OS level.</p><p>MAM — Mobile Application Management — means Intune only controls specific apps, not the device itself. No enrollment required. Intune wraps the apps it manages with a policy layer: it can wipe corporate data from Outlook without touching personal photos, enforce copy-paste restrictions between managed and unmanaged apps, and require a PIN to open the app. The device stays personal. Intune stays out of it except at the app boundary.</p><p>Why does this matter in practice? MDM is for corporate-owned devices. MAM is your answer for BYOD — bring your own device scenarios where employees use personal phones to access corporate email. You get data protection without touching their personal life. In most enterprise environments you’ll run both, applied to different device populations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/784/1*YyMeuzfAVVk2Hw0fTC5E1g.jpeg" /></figure><h3>Enrollment types — Corporate vs BYOD</h3><p>Corporate enrollment gives Intune full MDM control. On Windows, this typically happens through Autopilot — the device ships to the employee, they power it on, it joins Azure AD automatically and Intune enrolls it without IT ever touching the hardware. On iOS, it’s Apple Business Manager with Automated Device Enrollment. On Android, it’s Android Enterprise with fully managed device enrollment.</p><p>BYOD enrollment is lighter. On mobile, users download the Company Portal app and enroll their personal device to get access to corporate resources. Intune applies MAM policies to corporate apps but respects the personal boundary. On Windows, BYOD typically means Azure AD Registered rather than Azure AD Joined — the device shows up in Entra ID but Intune’s control is limited.</p><p>The enrollment type you choose determines what you can see, what you can enforce, and critically, what you can wipe when something goes wrong.</p><h3>Enrollment profiles and restrictions</h3><p>Enrollment restrictions are Intune’s gatekeeping mechanism. Before a device even finishes enrolling, restrictions determine whether it’s allowed in at all. You can block personally owned devices entirely, restrict enrollment to specific OS platforms, set minimum OS version requirements, or limit the number of devices a single user can enroll.</p><p>Enrollment profiles go further on the configuration side — they define the out-of-box experience for Autopilot deployments, set the device naming convention, determine whether the setup wizard is shown or skipped, and assign the device to a group automatically on enrollment. On iOS and macOS via Apple Business Manager, profiles define whether the device is supervised (which unlocks the most restrictive management capabilities Apple allows).</p><h3>Compliance policies — the bridge between device state and access</h3><p>Compliance policies are what define what a “healthy” device looks like in your environment. Is BitLocker on? Is the OS patched to the minimum required version? Is the device jailbroken or rooted? Is there an approved antivirus running? Each of these is a compliance condition.</p><p>When a device meets all conditions, it gets a Compliant status in Intune. When it fails any condition, it’s Non-compliant. This status is synced to Azure AD / Entra ID and becomes a signal that Conditional Access policies can act on — which we’ll get to shortly.</p><p>Compliance policies also have a grace period mechanism. You can configure a device that falls out of compliance to remain compliant for a defined number of days before being marked non-compliant and losing access. This is important for patch compliance scenarios where you don’t want users blocked immediately because Windows Update is running.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/784/1*JdRtoV5rpOalgPeiqCikPw.jpeg" /></figure><h3>Configuration profiles — shaping device behavior</h3><p>If compliance policies define what a device must <em>be</em>, configuration profiles define what a device must <em>do</em>. They push settings directly into the OS: disable USB ports, configure Wi-Fi and VPN profiles, deploy certificates, set screen lock timeouts, enable BitLocker, configure Windows Defender settings, restrict access to the camera, enforce specific browser settings.</p><p>Two template types matter here. Endpoint Protection templates are pre-built profiles specifically for security settings — Defender configuration, firewall rules, BitLocker enforcement, exploit protection settings. These are the profiles that overlap with MDE configuration and are part of the MDE-Intune integration story.</p><p>Settings Catalog profiles are the more modern approach — a searchable catalog of thousands of individual settings across every OS platform, letting you build granular profiles from scratch. If you know the specific setting you want, Settings Catalog is usually the right tool.</p><h3>Device lifecycle in Intune</h3><p>Every device in Intune goes through a lifecycle: enrolled → managed → monitored → eventually retired or wiped. Understanding this lifecycle matters for operations.</p><p>Retire removes corporate data and management from the device while leaving personal data intact — appropriate for BYOD offboarding. Wipe performs a factory reset — appropriate for lost or compromised corporate-owned devices. Fresh Start is Windows-specific and reinstalls Windows while keeping the device enrolled. Autopilot Reset is similar but also re-applies Autopilot configuration.</p><p>Knowing which action to take in which scenario is something you need to have decided before the incident happens, not during it.</p><h3>The Policy Enforcement Engine</h3><h3>Remediation scripts — proactive fixing, not just detecting</h3><p>Remediations (previously called Proactive Remediations) are one of Intune’s most powerful and least talked-about features. They consist of a detection script and a remediation script, both PowerShell, that run on a schedule on enrolled devices.</p><p>The detection script checks for a condition — say, a specific registry key is missing, a service is stopped, a required software version isn’t installed. If the detection script exits with a non-zero code (unhealthy), Intune automatically runs the remediation script to fix it. You get a report in the portal showing which devices were healthy, which needed remediation, and which remediation failed.</p><p>This turns Intune from a passive configuration pusher into an active self-healing system. Want every device to automatically re-enable a Windows security feature if it gets turned off? Write a remediation. Want to detect and fix a misconfiguration before it becomes a compliance issue? Write a remediation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9O0GOXrzxkbkxE1k_1V21w.jpeg" /></figure><h3>Win32 app deployment</h3><p>Win32 app deployment lets you package and deploy traditional Windows applications through Intune — .exe and .msi installers wrapped in the .intunewin format. This covers the vast majority of enterprise software that doesn’t come as a Store app.</p><p>The deployment model is pull-based: the Intune Management Extension (IME) on the device checks in, sees that an app is assigned, downloads it from Azure CDN, and installs it using the command line you specified. You define detection rules — registry keys, file presence, MSI product code — that Intune uses to verify whether the app is actually installed after the attempt.</p><p>Assignment matters here: Required means the app installs automatically, Available means users can install it from Company Portal on demand, and Uninstall removes it. You can target assignments at device groups or user groups, which means the same app can be required for one group and unavailable for another.</p><h3>PowerShell scripts</h3><p>For one-time configurations that don’t fit the profile model, Intune can run PowerShell scripts directly on devices via the IME. These run once (or every time, if configured) under SYSTEM context or signed-in user context. They’re useful for initial setup tasks, registry modifications, enabling features, or anything that doesn’t map cleanly to a settings catalog entry.</p><p>The key limitation: there’s no native output or return value visible in the portal beyond success or failure. For ongoing monitoring with output, use Remediations instead.</p><h3>Update rings — Windows Update for Business</h3><p>Update rings define when and how Windows feature updates and quality updates are deployed to device groups. You define a deferral period (how many days after Microsoft releases an update before your devices receive it), a deadline (how many days before the device installs it regardless of active hours), and restart behavior.</p><p>A mature update ring strategy uses at minimum three rings: a pilot ring (IT and early adopters, no deferral), a broad ring (most devices, 7–14 day deferral), and a critical ring (servers and sensitive systems, 21–30 day deferral). This gives you time to catch update-related issues before they hit your entire fleet.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5g2u58CKJ_-1eE5M8rpBdw.jpeg" /></figure><h3>Settings Catalog vs Administrative Templates (ADMX)</h3><p>Administrative Templates in Intune are the MDM equivalent of Group Policy. They expose ADMX-backed settings — the same settings you’d configure via GPO in an on-premises environment — through the Intune interface. If you’re migrating from GPO-managed devices to cloud management, ADMX templates help you replicate existing policies in Intune.</p><p>Settings Catalog is the modern replacement. It’s a single, searchable interface covering thousands of settings across Windows, macOS, iOS, and Android. It supports the same ADMX-backed settings as Administrative Templates plus many more. For new policy builds, use Settings Catalog. For migrating existing GPOs, ADMX templates can be a useful bridge.</p><h3>The Identity &amp; Conditional Access Engine</h3><h3>Azure AD Join vs Hybrid Join vs Registered</h3><p>These three states describe the relationship between a device and Azure AD (now called Microsoft Entra ID), and they have significant implications for what Intune can do.</p><p>Azure AD Joined means the device’s primary identity is cloud-only. It authenticates directly to Entra ID, not to an on-premises Active Directory domain. This is the modern, cloud-native state for corporate Windows devices. Intune has full MDM control. Single Sign-On to cloud resources works natively. No dependency on on-premises infrastructure.</p><p>Hybrid Azure AD Joined means the device is joined to both on-premises AD and Azure AD. It gets a computer object in both directories. This is the transitional state for organizations that still have on-premises AD but want cloud management capabilities. MDM enrollment through Intune is possible but requires additional configuration. Many organizations land here during their cloud migration and stay longer than intended.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_Rc8q_ycwtPzbaMr0pKaBw.jpeg" /></figure><p>Azure AD Registered is the lightest state — typically BYOD personal devices. The device has an entry in Entra ID tied to a user, but it’s not domain-joined or fully managed. MAM policies can apply. Conditional Access can require this state as a minimum trust level.</p><h3>Conditional Access policies — where identity meets security</h3><p>Conditional Access is the policy engine that decides whether a user and device combination should be allowed to access a resource. It sits in Azure AD / Entra ID and evaluates every authentication attempt against a set of conditions before granting or denying a token.</p><p>A Conditional Access policy has three parts: assignments (who and what — which users, which cloud apps, which platforms), conditions (additional signals — device platform, location, sign-in risk), and access controls (what to do — grant access, block, or require MFA, compliant device, hybrid join, or a combination).</p><p>The power of CA is in combining signals. You can say: “Allow access to Exchange Online only if the user is on a compliant Intune-managed device AND not connecting from a risky location AND not flagged as a risky sign-in by Identity Protection.” Any condition that fails, access is blocked — regardless of whether the password is correct.</p><h3>Compliance state as a Conditional Access condition</h3><p>This is where Intune and Conditional Access directly connect. When you create a CA policy and add “Require device to be marked as compliant” as a grant control, Entra ID queries the device’s compliance status from Intune at every authentication attempt.</p><p>If the device is Compliant in Intune, access is granted. If it’s Non-compliant — BitLocker disabled, OS out of date, jailbroken — access is blocked. The user sees a message telling them their device doesn’t meet requirements, with a link to Company Portal where they can see which specific conditions failed.</p><p>This creates a continuous enforcement loop: device falls out of compliance → Intune marks it non-compliant → Entra ID blocks access to cloud resources → user is motivated to fix the issue → device returns to compliant → access restored. No manual intervention required.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x_OVyAkllcoMo3vm3Y716g.jpeg" /></figure><h3>Device trust levels</h3><p>Not all devices in your tenant carry the same trust. Entra ID implicitly assigns trust based on device state, and your Conditional Access policies should reflect this hierarchy.</p><p>A corporate Azure AD Joined device enrolled in Intune and marked compliant is your highest trust tier. It has a known hardware identity, is managed, is patched, has security baselines applied, and is verified at every authentication. A Hybrid Joined device is slightly lower — it has on-premises identity but cloud compliance verification may lag. An Azure AD Registered BYOD device is the lowest trust tier for corporate resources — it’s a personal device with app-level protection only.</p><p>Designing your CA policies around this hierarchy means your most sensitive resources — admin portals, finance systems, code repositories — require the highest trust tier. Less sensitive resources like the company intranet can allow lower trust. This is Zero Trust in practice: never trust implicitly, always verify based on the full signal set.</p><p>That’s the full Intune engine room. In Part 3, we close the loop — how MDE and Intune talk to each other, how device risk scores flow from the EDR layer into Conditional Access decisions, and what the full integration architecture looks like end to end.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ccd9e059cc10" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Microsoft Defender for Endpoint: Beyond the Basics]]></title>
            <link>https://medium.com/@zaynab.rouis1/microsoft-defender-for-endpoint-beyond-the-basics-2c399fb5c70b?source=rss-a34553c1e3d8------2</link>
            <guid isPermaLink="false">https://medium.com/p/2c399fb5c70b</guid>
            <category><![CDATA[endpoint-security]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[information-security]]></category>
            <category><![CDATA[microsoft]]></category>
            <category><![CDATA[cloud-security]]></category>
            <dc:creator><![CDATA[Zaynab Rouis]]></dc:creator>
            <pubDate>Wed, 01 Apr 2026 10:28:58 GMT</pubDate>
            <atom:updated>2026-04-02T10:57:33.561Z</atom:updated>
            <content:encoded><![CDATA[<p>There’s a difference between knowing that MDE exists and actually understanding what it does under the hood. This article is for the second kind of person — the one who wants to know <em>why</em> things work, not just <em>that</em> they work.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UobUJ_xU5pnzHX_C-ZbMZQ.png" /></figure><h3>Let’s start with the obvious question: what even is EDR?</h3><p>EDR stands for Endpoint Detection and Response. The name sounds simple, but the concept is a significant leap from what came before it. Traditional antivirus works by comparing files against a list of known bad signatures — if the hash matches, it blocks it. That approach fails completely against anything new, obfuscated, or fileless.</p><p>EDR changes the philosophy. Instead of asking “have I seen this file before?”, it asks “what is this process <em>doing</em>?” It watches behavior — process creation chains, memory access patterns, network calls, registry writes — and sends all of that telemetry to the cloud where it gets correlated and analyzed. Microsoft’s MDE sensor hooks into the Windows kernel through ETW (Event Tracing for Windows) and captures everything: who spawned what process, what files were touched, what DNS queries were made, what APIs were called. The result is a forensic-quality record of everything that happened on a device, available for 30 days.</p><p>Why does this matter? Because the average attacker dwell time without EDR is measured in weeks. With MDE, most threats surface within minutes of execution.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mLmzQEAZ8hp1yZDibbj61w.png" /></figure><h3>TVM — because finding threats isn’t enough if your doors are wide open</h3><p>Threat and Vulnerability Management is MDE’s built-in continuous scanner. Unlike external scanners that require scheduled jobs, TVM runs from the same sensor already on the device. It knows exactly what software is installed, cross-references it against CVE databases, factors in whether a public exploit exists, and tells you what to fix first — ranked by actual risk, not just CVSS score alone.</p><p>It also flags security misconfigurations: missing hardening baselines, insecure settings, outdated driver versions. Every recommendation comes with an exposure score impact, so you can tell your CISO “fixing this one thing would reduce our exposure by X%.” That’s powerful for prioritization.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*h6E2IcJBJiKmMggAI9u7PQ.png" /></figure><h3>ASR rules — blocking attack patterns before they execute</h3><p>Attack Surface Reduction rules are one of MDE’s most underused capabilities. They operate at the kernel level and block specific behaviors that malware routinely abuses — even zero-day malware, because the behavior is what’s blocked, not the file.</p><p>Some examples of what ASR rules can block: Office applications spawning child processes (a classic macro malware pattern), processes trying to access LSASS memory (credential theft), obfuscated scripts executing from temp directories, WMI being used for persistence. Each rule can run in Audit mode first so you can see what would have been blocked before you commit to enforcement. Smart teams run audit for two weeks, review the logs, tune the exclusions, then switch to Block.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*y58cV0DePgi0R9oHYGvbuw.png" /></figure><h3>Next-Generation Protection — the antivirus layer, but smarter</h3><p>NGP is the prevention engine. It combines local machine learning models running on the device with cloud-delivered intelligence from Microsoft’s global threat network. When a suspicious file is encountered and there’s no local verdict, NGP can hold the file and send a sample to the cloud for detonation and analysis — returning a verdict in seconds. This is called block-at-first-sight.</p><p>It also includes behavior monitoring at runtime, heuristic analysis, network protection (blocking malicious IPs and URLs at the OS network layer), and PUA protection for potentially unwanted applications. Think of NGP as the wall. EDR is the camera system that watches what gets past the wall.</p><h3>EDR in Block Mode — your safety net during AV transitions</h3><p>Here’s a scenario: your organization is migrating from Symantec to Defender, and for a transition period, Symantec is still the primary AV while MDE is in passive mode. Normally in passive mode, MDE detects but doesn’t remediate — it leaves that to the primary AV. EDR in Block Mode changes that. It allows MDE to silently remediate threats that the primary AV missed, without interfering with its operation. It’s the backup goalkeeper. You want it on during any transition period.</p><h3>Automated Investigation &amp; Remediation — your tireless first responder</h3><p>When an alert fires at 3am, AIR is already working on it. It automatically launches an investigation correlated to the alert — examining the process tree, checking for related activity on other devices, looking for persistence mechanisms, querying threat intelligence. It builds an investigation graph and renders a verdict.</p><p>If confidence is high, it will automatically remediate: quarantine the file, kill the process, remove the registry key, isolate the device. Everything it does is logged with evidence, and any action that requires SOC approval stays pending until a human reviews it. AIR doesn’t replace analysts — it handles the routine cases so analysts can focus on what actually needs human judgment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XM8V8l0j2RLmcpY2bGhGTQ.png" /></figure><h3>Microsoft Secure Score for Devices — your posture in a number</h3><p>This is exactly what it sounds like: a score (0–100) representing how well-configured your device fleet is. Every TVM recommendation you address increases it. It feeds into the broader Microsoft Secure Score in the Defender portal. Useful for tracking progress over time and for conversations with leadership where you need to demonstrate improvement in measurable terms.</p><h3>Alerts and Incidents — how MDE organizes what it finds</h3><p>An Alert is a single detection event. An Incident is MDE’s way of saying “these 12 alerts are all part of the same attack.” The correlation engine groups alerts that share the same device, user, process, or lateral movement chain into one investigation context. This is critical — chasing individual alerts in isolation is how you miss the forest for the trees. Always work at the incident level.</p><h3>Advanced Hunting — where the real investigation happens</h3><p>Advanced Hunting gives you a query interface against 30 days of raw endpoint telemetry. The language is KQL — Kusto Query Language — and once you’re comfortable with it, it becomes your most powerful tool.</p><p>The schema exposes tables like DeviceProcessEvents, DeviceNetworkEvents, DeviceFileEvents, DeviceRegistryEvents, and DeviceLogonEvents.</p><blockquote>You write queries that filter, join, and aggregate across these tables.</blockquote><blockquote>Want to find every device where a process accessed LSASS memory in the last 7 days and wasn’t a Microsoft-signed binary? Write the query.</blockquote><blockquote>Want to hunt for encoded PowerShell commands that contain specific decoded strings? Write the query.</blockquote><p>This is where detection engineering lives in MDE — you write KQL queries, turn them into custom detection rules, and MDE will fire an alert every time those conditions match going forward.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/832/1*vunuQId_dj5oRRq9Oc5kzg.jpeg" /></figure><h3>IoCs and IoAs — operationalizing threat intelligence</h3><p>An IoC (Indicator of Compromise) is a known bad artifact: a file hash, an IP address, a domain, a certificate. You submit these to MDE and it will alert or block on them across every onboarded device in your tenant, in near real time. This is how you convert threat intelligence feeds into active defenses.</p><p>An IoA (Indicator of Attack) is different. It’s not about a specific file or IP — it’s about a behavioral pattern. Encoded commands executing from Office → spawning cmd.exe → making an outbound connection is an IoA. This is what catches fileless malware and living-off-the-land attacks that leave no file-based artifacts behind. MDE’s behavioral engine is built on IoAs, and you can write your own in Advanced Hunting as custom detection rules.</p><h3>MITRE ATT&amp;CK mapping — speaking the universal language</h3><p>Every alert in MDE is mapped to a MITRE ATT&amp;CK technique. This means you know not just that something bad happened, but <em>what technique the attacker used</em> — T1059.001 means PowerShell execution, <strong>T1055</strong> means process injection, and so on. This mapping enables gap analysis (which techniques are you blind to?), purple team exercises, and threat-informed defense planning.</p><h3>Threat Analytics — threat intelligence built into your portal</h3><p>Threat Analytics is a set of curated reports written by Microsoft’s threat intelligence team about active campaigns, threat actors, and vulnerabilities. Each report shows you not just what the threat is, but how exposed your specific organization is to it right now — which devices have related alerts, which have the vulnerable software, which have the recommended mitigations in place. It’s actionable intelligence, not just reading material.</p><h3>The MDE sensor — what’s actually running on your endpoints</h3><p>When you onboard a Windows 10/11 or Windows Server 2019+ device, you’re not installing a new agent. The MDE sensor is built into the OS — onboarding activates it and links it to your tenant. It runs as a system service and hooks into the kernel through ETW providers and driver callbacks. It has minimal performance impact because it’s designed as a native platform feature, not a bolted-on third-party product.</p><p>The sensor sends heartbeat signals back to the portal. If a device goes 7 days without checking in, it shows as Inactive. If the sensor is present but misconfigured — say, TLS inspection is breaking the telemetry endpoint — it shows as Misconfigured. Monitoring your sensor health is just as important as the detections themselves. A blind spot you don’t know about is worse than a threat you can see.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LbX9T3A88EWSYXn1EfXPBw.png" /></figure><h3>Onboarding methods — getting devices into MDE</h3><p>There’s no single right way. In a cloud-native environment, you deploy the onboarding package via Intune configuration profile and devices enroll automatically. In a traditional on-premises AD environment, you push it via GPO. For large SCCM-managed estates, you use SCCM’s deployment mechanism. For a quick test on a single machine, you run the local script directly. For non-persistent VDIs, there’s a specialized VDI onboarding package. For Linux servers in hybrid cloud, Azure Arc bridges the gap.</p><p>The onboarding package itself just activates the sensor and tells it which tenant to report to. The actual sensor binary is already on the OS.</p><h3>Plan 1 vs Plan 2 — know what you’re paying for</h3><p>This distinction matters. Plan 1 gives you the prevention stack: NGP, ASR rules, network protection, device control, web content filtering. It doesn’t give you EDR, Advanced Hunting, TVM, AIR, or Live Response. Plan 1 is the wall. Plan 2 is the wall plus the full security operations platform.</p><p>If you’re doing any kind of SOC work, investigation, or threat hunting, you need Plan 2. It’s included in Microsoft 365 E5 and Microsoft 365 E5 Security. Plan 1 is in E3. Know which one your organization has before you plan your detection capabilities — you don’t want to design a detection program around features you don’t have licensed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fxlZ3ZTW9cczVBSBY2EdzQ.png" /></figure><p>That’s Part 1. In Part 2, we’ll go into Microsoft Intune’s engines — MDM, MAM, compliance policies, configuration profiles — and then cover the full integration architecture between MDE and Intune, including how a device risk signal from MDE flows through Entra ID into a Conditional Access block in real time.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2c399fb5c70b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Automating Intune Matters in Modern Security]]></title>
            <link>https://medium.com/@zaynab.rouis1/why-automating-intune-matters-in-modern-security-7063e0bbe996?source=rss-a34553c1e3d8------2</link>
            <guid isPermaLink="false">https://medium.com/p/7063e0bbe996</guid>
            <category><![CDATA[microsoft-defender]]></category>
            <category><![CDATA[microsoft-intune]]></category>
            <category><![CDATA[defender-for-endpoint]]></category>
            <category><![CDATA[endpoint-security]]></category>
            <category><![CDATA[microsoft-entra-id]]></category>
            <dc:creator><![CDATA[Zaynab Rouis]]></dc:creator>
            <pubDate>Tue, 17 Feb 2026 10:53:55 GMT</pubDate>
            <atom:updated>2026-02-17T10:56:36.942Z</atom:updated>
            <content:encoded><![CDATA[<p>In today’s enterprise landscape, securing endpoints is no longer a matter of routine configuration — it is a battle against scale, complexity, and relentless adversaries. Organizations must manage thousands of devices across diverse environments, each expected to remain compliant, protected, and resilient. Yet manual auditing and reactive approaches cannot keep pace. Automation has become the defining principle of modern endpoint security.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*936TtgNdqnv-Ks9ka20Riw.png" /></figure><h3>The Limits of Manual Endpoint Auditing</h3><p>Manual auditing once served as the backbone of compliance checks. Administrators reviewed device settings, verified policies, and ensured configurations matched expectations. But as enterprises expanded, this model collapsed under its own weight. Human-driven checks are slow, inconsistent, and prone to oversight. In a world where attackers exploit even minor misconfigurations, manual auditing leaves enterprises exposed.</p><h3>Configuration Drift: The Silent Threat</h3><p>Configuration drift is subtle but dangerous. A single device missing a baseline, a compliance policy left unassigned, or a firewall disabled without detection — all create cracks in the security posture. Drift accumulates quietly, eroding defenses until vulnerabilities become systemic. Without automation, identifying and correcting these deviations across thousands of endpoints is nearly impossible.</p><h3>Defender for Endpoint: Validation Beyond Deployment</h3><p>Microsoft Defender for Endpoint (MDE) is a cornerstone of enterprise defense, providing telemetry, advanced threat detection, and exposure analysis. Yet its effectiveness depends entirely on proper onboarding and sensor health. Devices that fail to onboard or lose connectivity silently reduce visibility, weakening the organization’s detection fabric. Automated validation ensures every endpoint contributes to the collective defense, closing gaps before they widen.</p><h3>Proactive Remediation: From Detection to Action</h3><p>Detection alone is not enough. Enterprises require mechanisms to act on findings immediately, without waiting for manual intervention. Proactive remediation transforms endpoint management into a closed-loop system: scripts detect issues, trigger corrective actions, and re-validate compliance. This shift from reactive firefighting to proactive defense is a game changer, ensuring that policy intent translates into operational reality.</p><h3>The Microsoft Security Ecosystem</h3><ul><li><strong>Microsoft Intune</strong>: Centralized policy management, configuration deployment, compliance enforcement.</li><li><strong>Microsoft Defender for Endpoint (MDE)</strong>: Threat telemetry, device risk scoring, exposure analysis.</li><li><strong>Microsoft Entra ID</strong>: Identity-driven access control, conditional access, compliance validation.</li></ul><p>Together, these components form a unified architecture where automation is not optional — it is essential.</p><h3>Closing Perspective</h3><p>This chapter establishes the urgency of automation in endpoint security. It highlights the risks of manual processes, the dangers of configuration drift, and the critical role of validation and remediation. By framing Intune, Defender for Endpoint, and Entra ID as interconnected pillars, it sets the foundation for the architectural and technical deep dives that follow.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7063e0bbe996" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>