<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:webfeeds="http://webfeeds.org/rss/1.0"><channel><title>Office-Add-In - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/tags/office-add-in/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Thu, 03 Sep 2026 13:41:05 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/tags/office-add-in/feed.xml" rel="self" type="application/rss+xml"/><image><url>https://feed.craftedsignal.io/favicon-32x32.png</url><title>CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/</link><width>32</width><height>32</height></image><webfeeds:icon>https://feed.craftedsignal.io/favicon.svg</webfeeds:icon><item><title>Abuse of Microsoft Office Add-in XLL Files for Persistence</title><link>https://feed.craftedsignal.io/briefs/2026-09-office-xll-persistence/</link><pubDate>Thu, 03 Sep 2026 13:41:05 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-09-office-xll-persistence/</guid><description>Adversaries leverage the RegisterXLL COM method via PowerShell to execute malicious add-ins and achieve persistence within Microsoft Office environments.</description><content:encoded><![CDATA[<p>Adversaries abuse the Microsoft Office Add-in architecture to establish persistence on compromised systems. By utilizing the COM interface, specifically the RegisterXLL method, attackers can load arbitrary dynamic link libraries (DLLs) disguised as Office add-ins into the memory space of Office applications. This technique is often executed via PowerShell scripts, allowing for stealthy code execution that persists across sessions or is triggered upon the initiation of Office processes. This method is documented in the Atomic Red Team framework under T1137.006, highlighting its utility for maintaining a foothold in environments where Office applications are regularly used. Detection relies on monitoring PowerShell script block activity for specific COM object instantiation and method invocation, necessitating that Script Block Logging (Event ID 4104) is enabled across the endpoint environment.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Attacker gains initial code execution on a target endpoint via phishing or secondary exploit.</li>
<li>Attacker writes a malicious DLL (XLL) file to a local directory.</li>
<li>Attacker executes a PowerShell script to interact with the Office COM interface.</li>
<li>The script initializes an Office application (e.g., Excel) via <code>New-Object -ComObject</code>.</li>
<li>The PowerShell script invokes the <code>.RegisterXLL</code> method on the initialized application object.</li>
<li>The Office application loads the malicious XLL file from the specified path.</li>
<li>The code within the XLL executes within the context of the Office process.</li>
<li>Malicious code establishes long-term persistence or communicates with an attacker-controlled C2 server.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation allows for stealthy, process-resident persistence within Microsoft Office, enabling attackers to execute arbitrary code, perform credential harvesting, or exfiltrate sensitive data whenever the user interacts with the compromised Office application.</p>
<h2 id="recommendation">Recommendation</h2>
<ol>
<li>Enable PowerShell Script Block Logging (Event ID 4104) on all Windows endpoints to ensure the execution of RegisterXLL commands is captured.</li>
<li>Deploy the provided Sigma rule to detect the specific COM object registration pattern in PowerShell logs.</li>
<li>Implement endpoint controls to restrict the loading of unsigned or non-standard add-ins in Office applications.</li>
<li>Monitor for unauthorized or suspicious DLL creation and modification in Office-related directories.</li>
</ol>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>persistence</category><category>office-add-in</category><category>powershell</category><category>windows</category><category>threat-detection</category></item></channel></rss>