{"id":58457,"date":"2025-04-09T17:00:00","date_gmt":"2025-04-09T17:00:00","guid":{"rendered":"https:\/\/www.threatshub.org\/blog\/stopping-attacks-against-on-premises-exchange-server-and-sharepoint-server-with-amsi\/"},"modified":"2025-04-09T17:00:00","modified_gmt":"2025-04-09T17:00:00","slug":"stopping-attacks-against-on-premises-exchange-server-and-sharepoint-server-with-amsi","status":"publish","type":"post","link":"https:\/\/www.threatshub.org\/blog\/stopping-attacks-against-on-premises-exchange-server-and-sharepoint-server-with-amsi\/","title":{"rendered":"Stopping attacks against on-premises Exchange Server and SharePoint Server with AMSI"},"content":{"rendered":"<p>Exchange Server and SharePoint Server are business-critical assets and considered crown jewels for many organizations, making them attractive targets for attacks. To help customers protect their environments and respond to these attacks, Exchange Server and SharePoint Server now integrate with the Windows <a href=\"https:\/\/learn.microsoft.com\/windows\/win32\/amsi\/antimalware-scan-interface-portal\">Antimalware Scan Interface (AMSI)<\/a>, a versatile standard that enables applications and services to work seamlessly with any AMSI-compatible antimalware product. The integration of AMSI with SharePoint and Exchange Server provides an essential layer of protection by preventing harmful web requests from reaching backend endpoints.<\/p>\n<p>Threat actors have consistently relied on outdated or misconfigured assets, exploiting vulnerabilities that enable them to gain a persistent foothold inside the target. For instance, in the case of Exchange Server,&nbsp;<a href=\"https:\/\/techcommunity.microsoft.com\/blog\/exchange\/proxyshell-vulnerabilities-and-your-exchange-server\/2684705\">ProxyShell<\/a> and <a href=\"https:\/\/www.microsoft.com\/en-us\/security\/blog\/2022\/09\/30\/analyzing-attacks-using-the-exchange-vulnerabilities-cve-2022-41040-and-cve-2022-41082\/\">ProxyNotShell<\/a> vulnerabilities were widely exploited in attacks long after they were fixed by security updates in 2021 and 2022, respectively. In these attacks, threat actors abused a combination of server-side request forgery (SSRF) and privilege escalation flaws, allowing remote code execution. Successful compromise enabled threat actors to drop web shells, conduct lateral movement, and exfiltrate sensitive data, often evading detection for extended periods. More recently, attackers have shifted to <a href=\"https:\/\/www.microsoft.com\/en-us\/security\/blog\/2023\/03\/24\/guidance-for-investigating-attacks-using-cve-2023-23397\/\">NTLM relay and credential leakage techniques.<\/a> Office documents and emails sent through Outlook serve as effective entry points for attackers to exploit NTLM coercion vulnerabilities, given their ability to embed UNC links within them. Attackers exploit NTLM authentication by relaying credentials to a vulnerable server, potentially resulting in target account compromise. Microsoft has released <a href=\"https:\/\/msrc.microsoft.com\/blog\/2024\/12\/mitigating-ntlm-relay-attacks-by-default\/\">mitigation guidance against NTLM relay attacks<\/a>.<\/p>\n<p>SharePoint Server has also been a consistent target for attackers exploiting critical <a href=\"https:\/\/www.zerodayinitiative.com\/blog\/2019\/3\/13\/cve-2019-0604-details-of-a-microsoft-sharepoint-rce-vulnerability\">vulnerabilities<\/a> to gain persistent and privileged access inside the target. In recent attacks, stealthy persistence tactics, such as replacing or appending web shell code into existing files like <em>signout.aspx<\/em>, installing remote monitoring and management (RMM) tools for broader access, and other malicious activities were observed.<\/p>\n<p>While cloud-based software offers some inherent security advantages in software updates and high availability, some organizations\u2019 requirements mean they need to run on-premises Exchange and SharePoint implementations. As cyber threats continue to grow in sophistication, it has never been more important to ensure that the on-premises infrastructure remains secure. This AMSI integration on SharePoint Server and Exchange Server becomes especially important when attackers attempt to exploit security vulnerabilities, particularly zero-days. With AMSI integrated, these malicious attempts are detected and blocked in real-time, offering a critical defense mechanism while organizations work on installing official patches and updates. AMSI detections are surfaced on the Microsoft Defender portal, enabling SecOps teams to investigate, correlate with other malicious activity in the environment, and remediate.<\/p>\n<p>In this blog post, we discuss different types of attacks targeting Exchange and SharePoint, and demonstrate how AMSI is helping organizations protect against these attacks. We also share mitigation and protection guidance, as well as detection details and hunting queries.<\/p>\n<h2 class=\"wp-block-heading\" id=\"amsi-integration\">AMSI integration<\/h2>\n<p>In both <a href=\"https:\/\/learn.microsoft.com\/sharepoint\/security-for-sharepoint-server\/configure-amsi-integration\">SharePoint Server<\/a> and <a href=\"https:\/\/learn.microsoft.com\/en-us\/exchange\/antispam-and-antimalware\/amsi-integration-with-exchange?view=exchserver-2019#overview\">Exchange Server<\/a>, AMSI is integrated as a security filter module within the IIS pipeline to inspect incoming HTTP requests before they are processed by the application. The filter is triggered at the <em>onBeginRequest<\/em> stage through the <strong>SPRequesterFilteringModule <\/strong>for SharePoint Server and <strong>HttpRequestFilteringModule <\/strong>for Exchange Server, allowing it to analyze incoming requests before they reach authentication and authorization phases. This integration ensures that potential threats are identified before they interact with internal processing, mitigating the risk of exploitation. On detecting a malicious request, the application returns a <strong>HTTP 400 Bad Request <\/strong>response<strong>.<\/strong><\/p>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/www.microsoft.com\/en-us\/security\/blog\/wp-content\/uploads\/2025\/04\/FIg1a.webp\" alt=\"Diagram showing AMSI integration with SharePoint Server and Exchange Server. AMSI returns HTTP 400 bad request for malicious requests. \" class=\"wp-image-138354 webp-format\" srcset data-orig-src=\"https:\/\/www.microsoft.com\/en-us\/security\/blog\/wp-content\/uploads\/2025\/04\/FIg1a.webp\"><figcaption class=\"wp-element-caption\">Figure 1. Overview of AMSI Integration in SharePoint and Exchange Server<\/figcaption><\/figure>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/www.microsoft.com\/en-us\/security\/blog\/wp-content\/uploads\/2025\/04\/FIg1b.webp\" alt=\"Screenshot of AMSI detecting mailbox exfiltration\" class=\"wp-image-138355 webp-format\" srcset data-orig-src=\"https:\/\/www.microsoft.com\/en-us\/security\/blog\/wp-content\/uploads\/2025\/04\/FIg1b.webp\"><figcaption class=\"wp-element-caption\">Figure 2. AMSI protecting against mailbox exfiltration using public tool MailSniper<\/figcaption><\/figure>\n<h3 class=\"wp-block-heading\" id=\"extending-amsi-with-request-body-scan\">Extending AMSI with request body scan<\/h3>\n<p>When AMSI was first integrated, it provided an important layer of defense by scanning incoming request headers. This was crucial for identifying malicious activity, particularly SSRF attempts. However, many modern attacks are now embedded within request bodies, rather than just in the headers. This meant that header-only scans were no longer enough to catch the full range of sophisticated threats.<\/p>\n<p>To address this emerging risk, we added newer improvements in both products. The Exchange Server <a href=\"https:\/\/learn.microsoft.com\/en-us\/exchange\/antispam-and-antimalware\/amsi-integration-with-exchange?view=exchserver-2019#enable-exchange-server-amsi-body-scanning\">November release<\/a> extended capabilities to include scanning of request bodies, ensuring broader protection. A similar improvement is added to SharePoint Server currently in <a href=\"https:\/\/learn.microsoft.com\/en-us\/sharepoint\/security-for-sharepoint-server\/configure-amsi-integration\">public preview<\/a>. These enhanced security controls are not enabled by default, making it crucial for organizations to assess for stronger protection.<\/p>\n<p>Microsoft recommends evaluating and enabling these extended options for better protection and visibility. These enhancements are especially important for detecting and mitigating remote code execution vulnerabilities and particularly post-authentication vulnerabilities where SSRF may not be needed. The introduction of request body scanning is a critical step in our commitment to protect these crown jewels against more sophisticated, evasive threats. With the ability to inspect the full content of incoming requests, AMSI now detects a wider range of malicious activities.<\/p>\n<h2 class=\"wp-block-heading\" id=\"attacks-targeting-exchange-and-sharepoint-servers\">Attacks targeting Exchange and SharePoint servers<\/h2>\n<h3 class=\"wp-block-heading\" id=\"ssrf-exploitation\">SSRF exploitation<\/h3>\n<p>Server-side request forgery (SSRF) can allow attackers to make unauthorized requests on behalf of the server, potentially accessing internal services, metadata endpoints, or even escalating privileges. Attackers can exploit SSRF to bypass authentication mechanisms by leveraging internal API calls. Additionally, by chaining SSRF with additional flaws, attackers could gain unauthorized access to the backend and perform arbitrary remote code execution within the environment.<\/p>\n<p>One example is CVE-2023-29357, a critical authentication bypass vulnerability in SharePoint Server. This flaw allowed attackers to bypass authentication and gain elevated privileges by exploiting improper validation of security tokens. In attacks, this was combined with another vulnerability, CVE-2023-24955, to achieve unauthenticated remote code execution on vulnerable SharePoint servers.<\/p>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/www.microsoft.com\/en-us\/security\/blog\/wp-content\/uploads\/2025\/04\/Fig3-1.webp\" alt=\"Screenshot of AMSI logs for exploit \" class=\"wp-image-138357 webp-format\" srcset data-orig-src=\"https:\/\/www.microsoft.com\/en-us\/security\/blog\/wp-content\/uploads\/2025\/04\/Fig3-1.webp\"><figcaption class=\"wp-element-caption\">Figure 3. AMSI logs for CVE-2023-29357 with spoofed X-PROOF_TOKEN and Authorization headers<\/figcaption><\/figure>\n<p>Another example is CVE-2022-41040, an AutoDiscover SSRF vulnerability in Exchange Server. By targeting AutoDiscover, attackers exploited the trust relationships within Exchange to impersonate users and trigger backend functionality that normally requires authentication, laying the groundwork for remote code execution.<\/p>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/www.microsoft.com\/en-us\/security\/blog\/wp-content\/uploads\/2025\/04\/Fig4.webp\" alt=\"Screenshot of AMDI logs for CVE-2022-41040 exploit\" class=\"wp-image-138358 webp-format\" srcset data-orig-src=\"https:\/\/www.microsoft.com\/en-us\/security\/blog\/wp-content\/uploads\/2025\/04\/Fig4.webp\"><figcaption class=\"wp-element-caption\">Figure 4. AMSI logs for CVE-2022-41040 with malformed Autodiscover Request<\/figcaption><\/figure>\n<p>AMSI acted as <a href=\"https:\/\/www.microsoft.com\/security\/blog\/2022\/09\/30\/analyzing-attacks-using-the-exchange-vulnerabilities-cve-2022-41040-and-cve-2022-41082\/\">first layer of defense<\/a> against these incidents, protecting customers against thousands of SSRF attempts observed on a daily basis, thereby breaking the exploitation chain.<\/p>\n<h3 class=\"wp-block-heading\" id=\"suspicious-access-indicative-of-web-shell-interaction\">Suspicious access indicative of web shell interaction<\/h3>\n<p>In many intrusions, attackers drop web shells into public-facing directories. In one such Exchange server compromise, AMSI logged a suspicious <em>.aspx<\/em> file interaction. This was highlighted by Microsoft Defender for Endpoint simply because there is no <em>.aspx<\/em> file by that name in the said folder path: <\/p>\n<p><em>C:\\Program Files\\Microsoft\\Exchange Server\\V15\\FrontEnd\\HttpProxy\\owa\\auth\\Current\\scripts\\premium\\<\/em>. <\/p>\n<p>Attackers often rename web shells to legitimate filenames seen in different folder to avoid suspicion. In this case, the filename <em>getidtoken <\/em>is a default shipped file but with <em>.htm<\/em> extension.<\/p>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/www.microsoft.com\/en-us\/security\/blog\/wp-content\/uploads\/2025\/04\/Fig5.webp\" alt=\"A computer screen shot of a computer code\" class=\"wp-image-138359 webp-format\" srcset data-orig-src=\"https:\/\/www.microsoft.com\/en-us\/security\/blog\/wp-content\/uploads\/2025\/04\/Fig5.webp\"><figcaption class=\"wp-element-caption\">Figure 5. suspicious POST request logged in AMSI hinting at web shell interaction<\/figcaption><\/figure>\n<p>Similar stealthy activities have also been observed for SharePoint. In one case, the attackers modified the legitimate <em>signout.aspx<\/em> file by appending web shell code. This allowed attackers to create a stealthy backdoor and maintain persistence without raising suspicion.<\/p>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/www.microsoft.com\/en-us\/security\/blog\/wp-content\/uploads\/2025\/04\/Fig6.webp\" alt=\"Screenshot of an .aspx file that was appended with web shell code \" class=\"wp-image-138360 webp-format\" srcset data-orig-src=\"https:\/\/www.microsoft.com\/en-us\/security\/blog\/wp-content\/uploads\/2025\/04\/Fig6.webp\"><figcaption class=\"wp-element-caption\">Figure 6. Modified signout.aspx with web shell code appended at the end<\/figcaption><\/figure>\n<p>AMSI acts as a real-time inspection and defense layer similar to a web application firewall (WAF) and plays a critical role in detecting and responding to active compromises. AMSI inspects incoming requests, captures malicious web shell interactions, and logs them for analysis. This level of visibility enables Microsoft Defender for Endpoint to pinpoint the exact location of malicious files on disk, such as within Exchange\u2019s Outlook Web Application (OWA), where attackers commonly stage web shells. By correlating AMSI network logs with suspicious activity, Microsoft Defender for Endpoint can locate and remove previously undetected files, effectively cleaning the infected server and mitigating further damage. Importantly, this capability provides durable protection, allowing defenders to monitor and react to threats even in post-compromise scenarios.<\/p>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/www.microsoft.com\/en-us\/security\/blog\/wp-content\/uploads\/2025\/04\/Fig7.webp\" alt=\"Screenshot of signout.aspx with hijacked username parameter\" class=\"wp-image-138361 webp-format\" srcset data-orig-src=\"https:\/\/www.microsoft.com\/en-us\/security\/blog\/wp-content\/uploads\/2025\/04\/Fig7.webp\"><figcaption class=\"wp-element-caption\">Figure 7. Legitimate signout.aspx with hijacked \u2019username\u2019 parameter supplied with command<\/figcaption><\/figure>\n<h3 class=\"wp-block-heading\" id=\"suspicious-mailbox-access-through-exchange-web-services-ews-abuse\">Suspicious mailbox access through Exchange Web Services (EWS) abuse<\/h3>\n<p>Exchange Web Services (EWS) is a core component of Microsoft Exchange that allows programmatic access to mailboxes through SOAP-based APIs. While this is critical for legitimate operations such as Outlook integration, mobile sync, and third-party app, the service is also widely abused by threat actors. Notably, in incidents like <a href=\"https:\/\/www.microsoft.com\/security\/blog\/2023\/03\/24\/guidance-for-investigating-attacks-using-cve-2023-23397\/\">CVE-2023-23397<\/a>, EWS was used post-compromise to search mailboxes for sensitive content and exfiltrate emails over HTTPS, blending in with legitimate traffic.<\/p>\n<p>Attackers leverage EWS\u2019s deep access to perform mailbox searches, download entire inboxes, and set up hidden forwarding rules, often using stolen credentials or after gaining a foothold via another Exchange vulnerability. Attackers commonly abuse EWS APIs \u2014 <em>GetFolder<\/em>, <em>FindItem<\/em>, and <em>GetItem<\/em> \u2014 to stealthily search and exfiltrate sensitive emails from compromised mailboxes. <em>GetFolder<\/em> API maps the mailbox structure, which can be used to identify key folders like Inbox and Sent Items. <em>FindItem<\/em> API allows searching for emails containing specific keywords or supplied datetime filter to retrieve relevant results. Finally, <em>GetItem<\/em> API is used to view full email contents and attachments.<\/p>\n<p>This API-driven abuse technique blends in with legitimate EWS traffic, making detection challenging without deep content inspection. AMSI addresses this with request body scanning, which enables real-time detection of suspicious search patterns, abnormal access, and targeted email theft. Below is a sequence of suspicious SOAP calls logged by AMSI when attackers attempt to exfiltrate emails.<\/p>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/www.microsoft.com\/en-us\/security\/blog\/wp-content\/uploads\/2025\/04\/Fig8a.webp\" alt=\"Screenshot of AMSI logs showing suspicious sequence of SOAP operations seen during remote mailbox access\" class=\"wp-image-138362 webp-format\" srcset data-orig-src=\"https:\/\/www.microsoft.com\/en-us\/security\/blog\/wp-content\/uploads\/2025\/04\/Fig8a.webp\"><\/figure>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/www.microsoft.com\/en-us\/security\/blog\/wp-content\/uploads\/2025\/04\/Fig8b.webp\" alt=\"Screenshot of AMSI logs showing suspicious sequence of SOAP operations seen during remote mailbox access\" class=\"wp-image-138363 webp-format\" srcset data-orig-src=\"https:\/\/www.microsoft.com\/en-us\/security\/blog\/wp-content\/uploads\/2025\/04\/Fig8b.webp\"><\/figure>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/www.microsoft.com\/en-us\/security\/blog\/wp-content\/uploads\/2025\/04\/Fig8c.webp\" alt=\"Screenshot of AMSI logs showing suspicious sequence of SOAP operations seen during remote mailbox access\" class=\"wp-image-138364 webp-format\" srcset data-orig-src=\"https:\/\/www.microsoft.com\/en-us\/security\/blog\/wp-content\/uploads\/2025\/04\/Fig8c.webp\"><figcaption class=\"wp-element-caption\">Figure 8. AMSI logs showing suspicious sequence of SOAP operations seen during remote mailbox access<\/figcaption><\/figure>\n<h3 class=\"wp-block-heading\" id=\"insecure-deserialization-leading-to-rce\">Insecure deserialization leading to RCE<\/h3>\n<p>The PowerShell application pool is a privileged component that handles remote PowerShell sessions in Exchange, typically invoked by Exchange Control Panel (ECP) or Exchange Management Shell (EMS). It runs under SYSTEM or high-privileged service accounts, making it a prime target for misuse. After gaining access to backend PowerShell endpoints, attackers can pass crafted cmdlets and arguments that trigger operations such as arbitrary file writes and command execution. This method has been observed in major incidents like ProxyShell and ProxyNotShell, where attackers execute system-level commands via crafted PowerShell requests.<\/p>\n<p>A common pattern seen in these attacks is the use of legitimate management cmdlets like <em>Get-Mailbox<\/em>, <em>New-MailboxExportRequest<\/em>, or <em>Set-<\/em> commands, but with crafted arguments or malicious serialization payloads that trigger code execution in the backend. AMSI now has complete visibility into all the backend PowerShell commands along with the passed arguments to inspect the request buffer for any suspicious API calls such as <em>Process.Start<\/em>, various file write APIs and <em>Assembly.load<\/em>.<\/p>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/www.microsoft.com\/en-us\/security\/blog\/wp-content\/uploads\/2025\/04\/Fig9a.webp\" alt=\"Screenshot of AMSI logs showing the malicious argument to Get-Mailbox cmdlet.\" class=\"wp-image-138365 webp-format\" srcset data-orig-src=\"https:\/\/www.microsoft.com\/en-us\/security\/blog\/wp-content\/uploads\/2025\/04\/Fig9a.webp\"><\/figure>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/www.microsoft.com\/en-us\/security\/blog\/wp-content\/uploads\/2025\/04\/Fig9b.webp\" alt=\"Screenshot of AMSI logs showing the malicious argument to Get-Mailbox cmdlet.\" class=\"wp-image-138366 webp-format\" srcset data-orig-src=\"https:\/\/www.microsoft.com\/en-us\/security\/blog\/wp-content\/uploads\/2025\/04\/Fig9b.webp\"><figcaption class=\"wp-element-caption\">Figure 9. AMSI logs showing the malicious argument to Get-Mailbox cmdlet.<\/figcaption><\/figure>\n<h3 class=\"wp-block-heading\" id=\"web-control-abuse\">Web control abuse<\/h3>\n<p>Exploitation of vulnerabilities like CVE-2024-38094, CVE-2024-38024, and CVE-2024-38023 exemplify attacks that abuse Site owner privileges to execute arbitrary code on the SharePoint server. The exploitation leverages the Business Data Connectivity (BDC) feature and malicious use of the <em>BDCMetadata.bdcm <\/em>file. This XML-based file defines connections to external data sources but could be abused to reference dangerous .NET classes and methods. Once the malicious<em> .bdcm<\/em> file is uploaded and registered in SharePoint\u2019s BDC service (using site owner permissions), the attacker can trigger execution by creating an External List or web part that interacts with the BDC model. SharePoint processes this model and reflectively loads and executes the specified method, leading to RCE as the SharePoint service account, which typically has high privileges. With body scan enabled, the complete payload is available for inspection and surfaces <em>LobSystem<\/em> type as <em>DotNetAssembly<\/em> hinting at code execution. AMSI\u2019s deep integration enables visibility into the malicious Base64 buffer, which Microsoft Defender for Endpoint leverages to detect and block code execution attempts.<\/p>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/www.microsoft.com\/en-us\/security\/blog\/wp-content\/uploads\/2025\/04\/Fig10a.webp\" alt=\"Screenshot of AMSI logs showing upload of malicious .bdcm file with the package content\" class=\"wp-image-138367 webp-format\" srcset data-orig-src=\"https:\/\/www.microsoft.com\/en-us\/security\/blog\/wp-content\/uploads\/2025\/04\/Fig10a.webp\"><\/figure>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/www.microsoft.com\/en-us\/security\/blog\/wp-content\/uploads\/2025\/04\/Fig10b.webp\" alt=\"Screenshot of AMSI logs showing upload of malicious .bdcm file with the package content\" class=\"wp-image-138368 webp-format\" srcset data-orig-src=\"https:\/\/www.microsoft.com\/en-us\/security\/blog\/wp-content\/uploads\/2025\/04\/Fig10b.webp\"><figcaption class=\"wp-element-caption\">Figure 10. AMSI logs showing upload of malicious .bdcm file with the package content<\/figcaption><\/figure>\n<h2 class=\"wp-block-heading\" id=\"mitigation-and-protection-guidance\">Mitigation and protection guidance<\/h2>\n<p>As these attacks show, SharePoint and Exchange servers are high-value targets. These attacks also tend to be advanced threats with highly evasive techniques. Keeping these servers safe from these advanced attacks is of utmost importance. Here are steps that organizations can take:<\/p>\n<ul class=\"wp-block-list\">\n<li><strong>Activate AMSI on Exchange Server and SharePoint Server.<\/strong> AMSI is a versatile standard that allows applications and services to integrate with any AMSI-capable anti-malware product present on a device. Starting with SharePoint Server Subscription Edition Version 25H1, AMSI extends its scanning capabilities to include the bodies of HTTP requests. The Exchange AMSI body scanning feature was introduced with the Exchange Server November 2024 Security Update (SU). Microsoft recommends updating Exchange Server and SharePoint Server to these versions or later to take advantage of the new improved body scanning feature. This request body scan feature is critical for detecting and mitigating threats that may be embedded in request payloads, providing a more comprehensive security solution. Check prerequisites and learn how to configure AMSI in the following resources: <\/li>\n<li><strong>Apply the latest security updates.<\/strong><strong> <\/strong>Identify and remediate vulnerabilities or misconfigurations in Exchange and SharePoint Server. Deploy the latest security updates as soon as they become available. Use&nbsp;<a href=\"https:\/\/learn.microsoft.com\/defender-vulnerability-management\/defender-vulnerability-management\">threat and vulnerability management<\/a>&nbsp;to audit these servers regularly for vulnerabilities, misconfigurations, and suspicious activity.<\/li>\n<li><strong>Keep antivirus and other protections enabled. <\/strong>It\u2019s critical to protect SharePoint and Exchange servers with&nbsp;<a href=\"https:\/\/learn.microsoft.com\/exchange\/antispam-and-antimalware\/windows-antivirus-software?view=exchserver-2019\">antivirus software<\/a>&nbsp;and other security solutions like firewall protection and MFA.&nbsp;<a href=\"https:\/\/learn.microsoft.com\/defender-endpoint\/enable-cloud-protection-microsoft-defender-antivirus\">Turn on cloud-delivered protection<\/a>&nbsp;and automatic sample submission to use artificial intelligence and machine learning to quickly identify and stop new and unknown threats. Use&nbsp;<a href=\"https:\/\/learn.microsoft.com\/defender-endpoint\/attack-surface-reduction-rules-reference?ocid=magicti_ta_learndoc\">attack surface reduction rules<\/a>&nbsp;to automatically block behaviors like credential theft and suspicious use of PsExec and WMI. Turn on&nbsp;<a href=\"https:\/\/techcommunity.microsoft.com\/t5\/Microsoft-Defender-ATP\/Tamper-protection-now-generally-available-for-Microsoft-Defender\/ba-p\/911482\">tamper protection<\/a>&nbsp;features to prevent attackers from stopping security services. If you are worried that these security controls will affect performance or disrupt operations, engage with IT pros to help determine the true impact of these settings. Security teams and IT pros should collaborate on applying mitigations and appropriate&nbsp;<a href=\"https:\/\/learn.microsoft.com\/exchange\/antispam-and-antimalware\/windows-antivirus-software?view=exchserver-2019\">settings<\/a>.<\/li>\n<li><strong>Review sensitive roles and groups. <\/strong>Review highly privileged groups like Administrators, Remote Desktop Users, and Enterprise Admins. Attackers add accounts to these groups to gain foothold on a server. Regularly review these groups for suspicious additions or removal. To identify Exchange\/SharePoint -specific anomalies, review the list of users in sensitive roles.<\/li>\n<li><strong>Restrict access. <\/strong>Practice the principle of least-privilege and maintain credential hygiene. Avoid the use of domain-wide, admin-level service accounts. Enforce&nbsp;<a href=\"https:\/\/learn.microsoft.com\/security\/privileged-access-workstations\/overview#2-just-in-time-local-admin-passwords\">strong randomized, just-in-time local administrator passwords<\/a>&nbsp;and Enable MFA. Use tools like&nbsp;<a href=\"https:\/\/technet.microsoft.com\/en-us\/mt227395.aspx\">LAPS<\/a>.<\/li>\n<li><strong>Prioritize alerts.<\/strong> The distinctive patterns of SharePoint and Exchange server compromise aid in detecting malicious behaviors and inform security operations teams to quickly respond to the initial stages of compromise. Pay attention to and immediately investigate alerts indicating suspicious activities. Catching attacks in the exploratory phase, the period in which attackers spend several days exploring the environment after gaining access, is key. Public facing application pools are commonly hijacked by attackers through web shell deployment. Prioritize alerts related to processes such as net.exe, cmd.exe, and powershell.exe originating from these pools or w3wp.exe in general.<\/li>\n<\/ul>\n<h2 class=\"wp-block-heading\" id=\"microsoft-defender-xdr-detections\">Microsoft Defender XDR detections<\/h2>\n<p>Microsoft Defender XDR customers can refer to the list of applicable detections below. Microsoft Defender XDR coordinates detection, prevention, investigation, and response across endpoints, identities, email, apps to provide integrated protection against attacks like the threat discussed in this blog.<\/p>\n<p>Customers with provisioned access can also use <a href=\"https:\/\/learn.microsoft.com\/en-us\/defender-xdr\/security-copilot-in-microsoft-365-defender\">Microsoft Security Copilot in Microsoft Defender<\/a> to investigate and respond to incidents, hunt for threats, and protect their organization with relevant threat intelligence.<\/p>\n<h3 class=\"wp-block-heading\" id=\"microsoft-defender-antivirus\">Microsoft Defender Antivirus<\/h3>\n<p>Microsoft Defender Antivirus detects threats on SharePoint Server as the following malware:<\/p>\n<ul class=\"wp-block-list\">\n<li>Exploit:Script\/SPLobSystemRCE.A<\/li>\n<li>Exploit:Script\/SPLobSystemRCE.B<\/li>\n<li>Exploit:Script\/SPAuthBypass.A<\/li>\n<\/ul>\n<p>Microsoft Defender Antivirus detects threats on Exchange Server as the following malware:<\/p>\n<ul class=\"wp-block-list\">\n<li>Exploit:Script\/SuspMailboxSearchEWS.A<\/li>\n<li>Exploit:Script\/SuspExchgSession.D<\/li>\n<li>Exploit:Script\/ExchgProxyRequest<\/li>\n<\/ul>\n<h3 class=\"wp-block-heading\" id=\"microsoft-defender-for-endpoint\">Microsoft Defender for Endpoint<\/h3>\n<p>The following Microsoft Defender for Endpoint alerts might indicate activity related to this threats discussed in this blog. Note, however, that these alerts can be also triggered by unrelated threat activity.<\/p>\n<ul class=\"wp-block-list\">\n<li>Possible web shell installation<\/li>\n<li>Possible IIS web shell<\/li>\n<li>Suspicious processes indicative of a web shell<\/li>\n<li>Possible IIS compromise<\/li>\n<li>Suspicious Exchange Process Execution&nbsp;<\/li>\n<li>Possible exploitation of Exchange Server vulnerabilities<\/li>\n<\/ul>\n<h3 class=\"wp-block-heading\" id=\"microsoft-defender-vulnerability-management\">Microsoft Defender Vulnerability Management<\/h3>\n<p>Microsoft Defender Vulnerability Management surfaces devices that may be affected by the following vulnerabilities used by the threats discussed in this blog:<\/p>\n<p>CVE-2021-34473, CVE-2021-34523, CVE-2021-31207, CVE-2022-41040, CVE-2022-41082, CVE-2019-0604, CVE-2024-21413, CVE-2023-23397, CVE-2023-36563, CVE-2023-29357, CVE-2023-24955, CVE-2024-38094, CVE-2024-38024, CVE-2024-38023<\/p>\n<h2 class=\"wp-block-heading\" id=\"microsoft-security-exposure-management\">Microsoft Security Exposure Management<\/h2>\n<p>Microsoft Security Exposure Management (MSEM) provides enhanced visibility for important assets by offering customers predefined classification logics for high-value assets. This includes both managed (Microsoft Defender for Endpoint-onboarded) and unmanaged Exchange servers.<\/p>\n<p><a href=\"https:\/\/techcommunity.microsoft.com\/blog\/microsoft-security-blog\/critical-asset-protection-with-microsoft-security-exposure-management\/4122645\">Customers can review the device inventory and the critical classification library<\/a> to identify Exchange servers and consider applying the new security settings on them.<\/p>\n<h2 class=\"wp-block-heading\" id=\"microsoft-security-copilot\">Microsoft Security Copilot<\/h2>\n<p>Security Copilot customers can use the standalone experience to <a href=\"https:\/\/learn.microsoft.com\/copilot\/security\/prompting-security-copilot#create-your-own-prompts\">create their own prompts<\/a> or run the following <a href=\"https:\/\/learn.microsoft.com\/copilot\/security\/using-promptbooks\">pre-built promptbooks<\/a> to automate incident response or investigation tasks related to this threat:<\/p>\n<ul class=\"wp-block-list\">\n<li>Incident investigation<\/li>\n<li>Microsoft User analysis<\/li>\n<li>Threat actor profile<\/li>\n<li>Threat Intelligence 360 report based on MDTI article<\/li>\n<li>Vulnerability impact assessment<\/li>\n<\/ul>\n<p>Note that some promptbooks require access to plugins for Microsoft products such as Microsoft Defender XDR or Microsoft Sentinel.<\/p>\n<h2 class=\"wp-block-heading\" id=\"hunting-queries\">Hunting queries<\/h2>\n<h3 class=\"wp-block-heading\" id=\"microsoft-defender-xdr\">Microsoft Defender XDR<\/h3>\n<p>Microsoft Defender XDR customers can run the following query to find related activity in their networks:<\/p>\n<p><strong>Processes run by the IIS worker process<\/strong><\/p>\n<p>Broadly search for processes executed by the IIS worker process. Further investigation should be performed on any devices where the created process is indicative of reconnaissance.<\/p>\n<div class=\"wp-block-syntaxhighlighter-code \" readability=\"20\">\n<pre class=\"brush: plain; auto-links: false; gutter: false; title: ; quick-code: false; notranslate\" title>\nDeviceProcessEvents\n| where InitiatingProcessFileName == 'w3wp.exe'\n| where InitiatingProcessCommandLine contains \"MSExchange\" or InitiatingProcessCommandLine contains \"SharePoint\"\n| where FileName !in~ (\"csc.exe\",\"cvtres.exe\",\"conhost.exe\",\"OleConverter.exe\",\"wermgr.exe\",\"WerFault.exe\",\"TranscodingService.exe\")\n| project FileName, ProcessCommandLine, InitiatingProcessCommandLine, DeviceId, Timestamp\n<\/pre>\n<\/div>\n<p><strong>Chopper web shell command line<\/strong><\/p>\n<p>Chopper is one of the most widespread web shells targeting SharePoint and Exchange servers. Use this query to hunt for Chopper web shell activity:<\/p>\n<div class=\"wp-block-syntaxhighlighter-code \" readability=\"8\">\n<pre class=\"brush: plain; auto-links: false; gutter: false; title: ; quick-code: false; notranslate\" title>\nDeviceProcessEvents\n| where InitiatingProcessFileName =~ \"w3wp.exe\" and FileName == \"cmd.exe\"\n| where ProcessCommandLine has \"&amp;amp;cd&amp;amp;echo\"\n<\/pre>\n<\/div>\n<p><strong>Suspicious files in SharePoint or Exchange directories<\/strong><\/p>\n<div class=\"wp-block-syntaxhighlighter-code \" readability=\"15\">\n<pre class=\"brush: plain; auto-links: false; gutter: false; title: ; quick-code: false; notranslate\" title>\nDeviceFileEvents\n| where Timestamp &gt;= ago(7d)\n| where InitiatingProcessFileName == \"w3wp.exe\"\n| where FolderPath has \"\\\\FrontEnd\\\\HttpProxy\\\\\" or FolderPath has \"\\\\TEMPLATE\\\\LAYOUTS\\\\ \" or FolderPath has \"\\\\aspnet_client\\\\\"\n| where InitiatingProcessCommandLine contains \"MSExchange\" or InitiatingProcessCommandLine contains \"Sharepoint\"\n| project FileName,FolderPath,SHA256, InitiatingProcessCommandLine, DeviceId, Timestamp\n<\/pre>\n<\/div>\n<h3 class=\"wp-block-heading\" id=\"microsoft-sentinel\">Microsoft Sentinel<\/h3>\n<p>Microsoft Sentinel customers can use the TI Mapping analytics (a series of analytics all prefixed with \u2018TI map\u2019) to automatically match the malicious domain indicators mentioned in this blog post with data in their workspace. If the TI Map analytics are not currently deployed, customers can install the Threat Intelligence solution from the <a href=\"https:\/\/learn.microsoft.com\/azure\/sentinel\/sentinel-solutions-deploy\">Microsoft Sentinel Content Hub<\/a> to have the analytics rule deployed in their Sentinel workspace.<\/p>\n<p>Our post on&nbsp;<a href=\"https:\/\/techcommunity.microsoft.com\/t5\/microsoft-sentinel-blog\/web-shell-threat-hunting-with-azure-sentinel\/ba-p\/2234968\">web shell threat hunting with Microsoft Sentinel<\/a>&nbsp;also provides guidance on looking for web shells in general. The&nbsp;<a href=\"https:\/\/github.com\/Azure\/Azure-Sentinel\/blob\/master\/Detections\/W3CIISLog\/ProxyShellPwn2Own.yaml\">Exchange SSRF Autodiscover ProxyShell<\/a>&nbsp;detection, which was created in response to ProxyShell, can be used for queries due to functional similarities with this threat. Also, the new&nbsp;<a href=\"https:\/\/github.com\/Azure\/Azure-Sentinel\/blob\/master\/Detections\/http_proxy_oab_CL\/ExchagngeSuspiciousFileDownloads.yaml\">Exchange Server Suspicious File Downloads<\/a>&nbsp;and&nbsp;<a href=\"https:\/\/github.com\/Azure\/Azure-Sentinel\/blob\/master\/Detections\/MultipleDataSources\/ExchangeWorkerProcessMakingRemoteCall.yaml\">Exchange Worker Process Making Remote Call<\/a>&nbsp;queries specifically look for suspicious downloads or activity in IIS logs. In addition to these, we have a few more that could be helpful in looking for post-exploitation activity:<\/p>\n<h2 class=\"wp-block-heading\" id=\"learn-more\">Learn more<\/h2>\n<p>For the latest security research from the Microsoft Threat Intelligence community, check out the Microsoft Threat Intelligence Blog:&nbsp;<a href=\"https:\/\/aka.ms\/threatintelblog\">https:\/\/aka.ms\/threatintelblog<\/a>.<\/p>\n<p>To get notified about new publications and to join discussions on social media, follow us on LinkedIn at <a href=\"https:\/\/www.linkedin.com\/showcase\/microsoft-threat-intelligence\">https:\/\/www.linkedin.com\/showcase\/microsoft-threat-intelligence<\/a>, and on X (formerly Twitter) at&nbsp;<a href=\"https:\/\/x.com\/MsftSecIntel\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/x.com\/MsftSecIntel<\/a>.<\/p>\n<p>To hear stories and insights from the Microsoft Threat Intelligence community about the ever-evolving threat landscape, listen to the Microsoft Threat Intelligence podcast: <a href=\"https:\/\/thecyberwire.com\/podcasts\/microsoft-threat-intelligence\">https:\/\/thecyberwire.com\/podcasts\/microsoft-threat-intelligence<\/a>.<\/p>\n<p> READ MORE <a href=\"https:\/\/www.microsoft.com\/en-us\/security\/blog\/2025\/04\/09\/stopping-attacks-against-on-premises-exchange-server-and-sharepoint-server-with-amsi\/\">HERE<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Exchange Server and SharePoint Server are business-critical assets and considered crown-jewels for many organizations, making them attractive targets for attacks. To help customers protect their environments and respond to these attacks, Exchange Server and SharePoint Server integrated Windows Antimalware Scan Interface (AMSI), providing an essential layer of protection by preventing harmful web requests from reaching backend endpoints. The blog outlines several attacks prevented by AMSI integration and highlights recent enhancements. The blog also provides protection and mitigation guidance and how defenders can respond.<br \/>\nThe post Stopping attacks against on-premises Exchange Server and SharePoint Server with AMSI appeared first on Microsoft Security Blog. READ MORE HERE&#8230;<\/p>\n","protected":false},"author":2,"featured_media":58458,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"colormag_page_layout":"default_layout","footnotes":""},"categories":[276],"tags":[],"class_list":["post-58457","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-microsoft-secure"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Stopping attacks against on-premises Exchange Server and SharePoint Server with AMSI 2026 | ThreatsHub Cybersecurity News<\/title>\n<meta name=\"description\" content=\"ThreatsHub Cybersecurity News | ThreatsHub.org | Cloud Security &amp; Cyber Threats Analysis Hub. 100% Free OSINT Threat Intelligent and Cybersecurity News.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.threatshub.org\/blog\/stopping-attacks-against-on-premises-exchange-server-and-sharepoint-server-with-amsi\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Stopping attacks against on-premises Exchange Server and SharePoint Server with AMSI 2026 | ThreatsHub Cybersecurity News\" \/>\n<meta property=\"og:description\" content=\"ThreatsHub Cybersecurity News | ThreatsHub.org | Cloud Security &amp; Cyber Threats Analysis Hub. 100% Free OSINT Threat Intelligent and Cybersecurity News.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.threatshub.org\/blog\/stopping-attacks-against-on-premises-exchange-server-and-sharepoint-server-with-amsi\/\" \/>\n<meta property=\"og:site_name\" content=\"ThreatsHub Cybersecurity News\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-09T17:00:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.microsoft.com\/en-us\/security\/blog\/wp-content\/uploads\/2025\/04\/FIg1a.webp\" \/>\n<meta name=\"author\" content=\"TH Author\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@threatshub\" \/>\n<meta name=\"twitter:site\" content=\"@threatshub\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"TH Author\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"16 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/stopping-attacks-against-on-premises-exchange-server-and-sharepoint-server-with-amsi\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/stopping-attacks-against-on-premises-exchange-server-and-sharepoint-server-with-amsi\\\/\"},\"author\":{\"name\":\"TH Author\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#\\\/schema\\\/person\\\/12e0a8671ff89a863584f193e7062476\"},\"headline\":\"Stopping attacks against on-premises Exchange Server and SharePoint Server with AMSI\",\"datePublished\":\"2025-04-09T17:00:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/stopping-attacks-against-on-premises-exchange-server-and-sharepoint-server-with-amsi\\\/\"},\"wordCount\":3164,\"publisher\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/stopping-attacks-against-on-premises-exchange-server-and-sharepoint-server-with-amsi\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/04\\\/stopping-attacks-against-on-premises-exchange-server-and-sharepoint-server-with-amsi.webp\",\"articleSection\":[\"Microsoft Secure\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/stopping-attacks-against-on-premises-exchange-server-and-sharepoint-server-with-amsi\\\/\",\"url\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/stopping-attacks-against-on-premises-exchange-server-and-sharepoint-server-with-amsi\\\/\",\"name\":\"Stopping attacks against on-premises Exchange Server and SharePoint Server with AMSI 2026 | ThreatsHub Cybersecurity News\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/stopping-attacks-against-on-premises-exchange-server-and-sharepoint-server-with-amsi\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/stopping-attacks-against-on-premises-exchange-server-and-sharepoint-server-with-amsi\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/04\\\/stopping-attacks-against-on-premises-exchange-server-and-sharepoint-server-with-amsi.webp\",\"datePublished\":\"2025-04-09T17:00:00+00:00\",\"description\":\"ThreatsHub Cybersecurity News | ThreatsHub.org | Cloud Security & Cyber Threats Analysis Hub. 100% Free OSINT Threat Intelligent and Cybersecurity News.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/stopping-attacks-against-on-premises-exchange-server-and-sharepoint-server-with-amsi\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/stopping-attacks-against-on-premises-exchange-server-and-sharepoint-server-with-amsi\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/stopping-attacks-against-on-premises-exchange-server-and-sharepoint-server-with-amsi\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/04\\\/stopping-attacks-against-on-premises-exchange-server-and-sharepoint-server-with-amsi.webp\",\"contentUrl\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/04\\\/stopping-attacks-against-on-premises-exchange-server-and-sharepoint-server-with-amsi.webp\",\"width\":2357,\"height\":842},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/stopping-attacks-against-on-premises-exchange-server-and-sharepoint-server-with-amsi\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Stopping attacks against on-premises Exchange Server and SharePoint Server with AMSI\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/\",\"name\":\"ThreatsHub Cybersecurity News\",\"description\":\"%%focuskw%% Threat Intel \u2013 Threat Intel Services \u2013 CyberIntelligence \u2013 Cyber Threat Intelligence - Threat Intelligence Feeds - Threat Intelligence Reports - CyberSecurity Report \u2013 Cyber Security PDF \u2013 Cybersecurity Trends - Cloud Sandbox \u2013- Threat IntelligencePortal \u2013 Incident Response \u2013 Threat Hunting \u2013 IOC - Yara - Security Operations Center \u2013 SecurityOperation Center \u2013 Security SOC \u2013 SOC Services - Advanced Threat - Threat Detection - TargetedAttack \u2013 APT \u2013 Anti-APT \u2013 Advanced Protection \u2013 Cyber Security Services \u2013 Cybersecurity Services -Threat Intelligence Platform\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#organization\"},\"alternateName\":\"Threatshub.org\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#organization\",\"name\":\"ThreatsHub.org\",\"alternateName\":\"Threatshub.org\",\"url\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/05\\\/Threatshub_Favicon1.jpg\",\"contentUrl\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/05\\\/Threatshub_Favicon1.jpg\",\"width\":432,\"height\":435,\"caption\":\"ThreatsHub.org\"},\"image\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/x.com\\\/threatshub\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#\\\/schema\\\/person\\\/12e0a8671ff89a863584f193e7062476\",\"name\":\"TH Author\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/066276f086d5155df79c850206a779ad368418a844da0182ce43f9cd5b506c3d?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/066276f086d5155df79c850206a779ad368418a844da0182ce43f9cd5b506c3d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/066276f086d5155df79c850206a779ad368418a844da0182ce43f9cd5b506c3d?s=96&d=mm&r=g\",\"caption\":\"TH Author\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Stopping attacks against on-premises Exchange Server and SharePoint Server with AMSI 2026 | ThreatsHub Cybersecurity News","description":"ThreatsHub Cybersecurity News | ThreatsHub.org | Cloud Security & Cyber Threats Analysis Hub. 100% Free OSINT Threat Intelligent and Cybersecurity News.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.threatshub.org\/blog\/stopping-attacks-against-on-premises-exchange-server-and-sharepoint-server-with-amsi\/","og_locale":"en_US","og_type":"article","og_title":"Stopping attacks against on-premises Exchange Server and SharePoint Server with AMSI 2026 | ThreatsHub Cybersecurity News","og_description":"ThreatsHub Cybersecurity News | ThreatsHub.org | Cloud Security & Cyber Threats Analysis Hub. 100% Free OSINT Threat Intelligent and Cybersecurity News.","og_url":"https:\/\/www.threatshub.org\/blog\/stopping-attacks-against-on-premises-exchange-server-and-sharepoint-server-with-amsi\/","og_site_name":"ThreatsHub Cybersecurity News","article_published_time":"2025-04-09T17:00:00+00:00","og_image":[{"url":"https:\/\/www.microsoft.com\/en-us\/security\/blog\/wp-content\/uploads\/2025\/04\/FIg1a.webp","type":"","width":"","height":""}],"author":"TH Author","twitter_card":"summary_large_image","twitter_creator":"@threatshub","twitter_site":"@threatshub","twitter_misc":{"Written by":"TH Author","Est. reading time":"16 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.threatshub.org\/blog\/stopping-attacks-against-on-premises-exchange-server-and-sharepoint-server-with-amsi\/#article","isPartOf":{"@id":"https:\/\/www.threatshub.org\/blog\/stopping-attacks-against-on-premises-exchange-server-and-sharepoint-server-with-amsi\/"},"author":{"name":"TH Author","@id":"https:\/\/www.threatshub.org\/blog\/#\/schema\/person\/12e0a8671ff89a863584f193e7062476"},"headline":"Stopping attacks against on-premises Exchange Server and SharePoint Server with AMSI","datePublished":"2025-04-09T17:00:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.threatshub.org\/blog\/stopping-attacks-against-on-premises-exchange-server-and-sharepoint-server-with-amsi\/"},"wordCount":3164,"publisher":{"@id":"https:\/\/www.threatshub.org\/blog\/#organization"},"image":{"@id":"https:\/\/www.threatshub.org\/blog\/stopping-attacks-against-on-premises-exchange-server-and-sharepoint-server-with-amsi\/#primaryimage"},"thumbnailUrl":"https:\/\/www.threatshub.org\/blog\/coredata\/uploads\/2025\/04\/stopping-attacks-against-on-premises-exchange-server-and-sharepoint-server-with-amsi.webp","articleSection":["Microsoft Secure"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.threatshub.org\/blog\/stopping-attacks-against-on-premises-exchange-server-and-sharepoint-server-with-amsi\/","url":"https:\/\/www.threatshub.org\/blog\/stopping-attacks-against-on-premises-exchange-server-and-sharepoint-server-with-amsi\/","name":"Stopping attacks against on-premises Exchange Server and SharePoint Server with AMSI 2026 | ThreatsHub Cybersecurity News","isPartOf":{"@id":"https:\/\/www.threatshub.org\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.threatshub.org\/blog\/stopping-attacks-against-on-premises-exchange-server-and-sharepoint-server-with-amsi\/#primaryimage"},"image":{"@id":"https:\/\/www.threatshub.org\/blog\/stopping-attacks-against-on-premises-exchange-server-and-sharepoint-server-with-amsi\/#primaryimage"},"thumbnailUrl":"https:\/\/www.threatshub.org\/blog\/coredata\/uploads\/2025\/04\/stopping-attacks-against-on-premises-exchange-server-and-sharepoint-server-with-amsi.webp","datePublished":"2025-04-09T17:00:00+00:00","description":"ThreatsHub Cybersecurity News | ThreatsHub.org | Cloud Security & Cyber Threats Analysis Hub. 100% Free OSINT Threat Intelligent and Cybersecurity News.","breadcrumb":{"@id":"https:\/\/www.threatshub.org\/blog\/stopping-attacks-against-on-premises-exchange-server-and-sharepoint-server-with-amsi\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.threatshub.org\/blog\/stopping-attacks-against-on-premises-exchange-server-and-sharepoint-server-with-amsi\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.threatshub.org\/blog\/stopping-attacks-against-on-premises-exchange-server-and-sharepoint-server-with-amsi\/#primaryimage","url":"https:\/\/www.threatshub.org\/blog\/coredata\/uploads\/2025\/04\/stopping-attacks-against-on-premises-exchange-server-and-sharepoint-server-with-amsi.webp","contentUrl":"https:\/\/www.threatshub.org\/blog\/coredata\/uploads\/2025\/04\/stopping-attacks-against-on-premises-exchange-server-and-sharepoint-server-with-amsi.webp","width":2357,"height":842},{"@type":"BreadcrumbList","@id":"https:\/\/www.threatshub.org\/blog\/stopping-attacks-against-on-premises-exchange-server-and-sharepoint-server-with-amsi\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.threatshub.org\/blog\/"},{"@type":"ListItem","position":2,"name":"Stopping attacks against on-premises Exchange Server and SharePoint Server with AMSI"}]},{"@type":"WebSite","@id":"https:\/\/www.threatshub.org\/blog\/#website","url":"https:\/\/www.threatshub.org\/blog\/","name":"ThreatsHub Cybersecurity News","description":"%%focuskw%% Threat Intel \u2013 Threat Intel Services \u2013 CyberIntelligence \u2013 Cyber Threat Intelligence - Threat Intelligence Feeds - Threat Intelligence Reports - CyberSecurity Report \u2013 Cyber Security PDF \u2013 Cybersecurity Trends - Cloud Sandbox \u2013- Threat IntelligencePortal \u2013 Incident Response \u2013 Threat Hunting \u2013 IOC - Yara - Security Operations Center \u2013 SecurityOperation Center \u2013 Security SOC \u2013 SOC Services - Advanced Threat - Threat Detection - TargetedAttack \u2013 APT \u2013 Anti-APT \u2013 Advanced Protection \u2013 Cyber Security Services \u2013 Cybersecurity Services -Threat Intelligence Platform","publisher":{"@id":"https:\/\/www.threatshub.org\/blog\/#organization"},"alternateName":"Threatshub.org","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.threatshub.org\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.threatshub.org\/blog\/#organization","name":"ThreatsHub.org","alternateName":"Threatshub.org","url":"https:\/\/www.threatshub.org\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.threatshub.org\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.threatshub.org\/blog\/coredata\/uploads\/2025\/05\/Threatshub_Favicon1.jpg","contentUrl":"https:\/\/www.threatshub.org\/blog\/coredata\/uploads\/2025\/05\/Threatshub_Favicon1.jpg","width":432,"height":435,"caption":"ThreatsHub.org"},"image":{"@id":"https:\/\/www.threatshub.org\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/threatshub"]},{"@type":"Person","@id":"https:\/\/www.threatshub.org\/blog\/#\/schema\/person\/12e0a8671ff89a863584f193e7062476","name":"TH Author","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/066276f086d5155df79c850206a779ad368418a844da0182ce43f9cd5b506c3d?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/066276f086d5155df79c850206a779ad368418a844da0182ce43f9cd5b506c3d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/066276f086d5155df79c850206a779ad368418a844da0182ce43f9cd5b506c3d?s=96&d=mm&r=g","caption":"TH Author"}}]}},"_links":{"self":[{"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/posts\/58457","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/comments?post=58457"}],"version-history":[{"count":0,"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/posts\/58457\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/media\/58458"}],"wp:attachment":[{"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/media?parent=58457"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/categories?post=58457"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/tags?post=58457"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}