Cybersecurity researchers have disclosed TWINLOOT, a modular Python implant framework that operates command-and-control infrastructure entirely within Microsoft SharePoint Online and Teams services. The malware leverages these trusted collaboration platforms to evade detection while stealing credentials and moving laterally across networks.

TWINLOOT employs PyArmor hardening to obfuscate its Python code, making reverse engineering substantially more difficult. The framework's architecture routes tasking and communications through SharePoint and Teams, exploiting the implicit trust organizations place in Microsoft services to bypass perimeter security and cloud access controls.

The implant's modular design enables operators to deploy custom functionality for credential harvesting, lateral movement, and persistence. By operating within legitimate Microsoft infrastructure, TWINLOOT minimizes forensic indicators that traditional endpoint detection systems flag. Organizations rarely scrutinize traffic within SharePoint or Teams for malicious activity, creating a blind spot threat actors actively exploit.

The disclosure reveals a significant shift in attack methodology. Rather than establishing external command servers or using public infrastructure, adversaries now hide operational traffic inside enterprise-sanctioned communication platforms. This approach reduces infrastructure costs, avoids IP reputation systems, and leverages existing network trust relationships.

The risk to organizations spans multiple attack phases. Initial compromise likely involves credential theft or phishing. Once inside, TWINLOOT harvests authentication tokens and user credentials through SharePoint access. The malware then uses compromised accounts to navigate networks, access sensitive documents, and establish persistent footholds without triggering standard security alerts.

Detection requires security teams to monitor unusual PowerShell execution, SharePoint file downloads that appear out of pattern, and Teams integration abuse. Endpoint detection systems should flag PyArmor-obfuscated Python processes, particularly those accessing Office 365 services. Network monitoring should correlate SharePoint and Teams activity with lateral movement signals.

Organizations should enforce strict