TeamFiltration
TeamFiltration is an open-source tool for Microsoft Entra ID and Microsoft 365 designed for enumeration, password spraying, and exfiltration. The provided content describes it as a penetration testing framework publicly released by Melvin "Flangvik" Langvik in August 2022 at DEF CON, and notes that defenders detect it via characteristic user-agent strings in Azure/M365 sign-in and audit logs. TeamFiltration has been linked to large-scale account takeover activity against Microsoft cloud environments, including a campaign reported by Proofpoint as UNK_SneakyStrike. In that activity, attackers used TeamFiltration together with the Microsoft Teams API and geographically distributed AWS infrastructure to enumerate users and conduct password spraying against Microsoft Entra ID accounts. The campaign targeted more than 80,000 users across hundreds of organizations or nearly 100 cloud tenants beginning in December 2024. Successful compromises resulted in access to Microsoft cloud resources and native applications including Microsoft Teams, OneDrive, and Outlook. High-confidence indicators mentioned in the content include TeamFiltration-specific user-agent strings observed in Entra ID sign-in and audit logs.
Techniques & procedures
16 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
2 techniques
Initial Access
"All 7 successfully compromised accounts were unmanaged functional/service accounts" and the attacker authenticated to Microsoft Teams after password spraying.
“The campaign compromised 7 accounts – all of which were unmanaged functional or service accounts rather than individual employee accounts.”
Persistence
3 techniques
Persistence
"All 7 successfully compromised accounts were unmanaged functional/service accounts" and the attacker authenticated to Microsoft Teams after password spraying.
“The campaign compromised 7 accounts – all of which were unmanaged functional or service accounts rather than individual employee accounts.”
“Backdooring” via OneDrive: Enables persistent access and potential lateral movement by uploading malicious files to the target’s OneDrive and replacing existing files (e.g., on the desktop) with lookalikes.
Privilege Escalation
3 techniques
Privilege Escalation
"All 7 successfully compromised accounts were unmanaged functional/service accounts" and the attacker authenticated to Microsoft Teams after password spraying.
“The campaign compromised 7 accounts – all of which were unmanaged functional or service accounts rather than individual employee accounts.”
“Backdooring” via OneDrive: Enables persistent access and potential lateral movement by uploading malicious files to the target’s OneDrive and replacing existing files (e.g., on the desktop) with lookalikes.
Stealth
3 techniques
Stealth
This unexpected behavior indicates user agent spoofing and is meant to obfuscate the real client or device from which the intrusion originated.
"All 7 successfully compromised accounts were unmanaged functional/service accounts" and the attacker authenticated to Microsoft Teams after password spraying.
“The campaign compromised 7 accounts – all of which were unmanaged functional or service accounts rather than individual employee accounts.”
Credential Access
3 techniques
Credential Access
"...high volume of failed interactive or non-interactive authentication attempts... indicative of password spraying, credential stuffing, or password guessing."
“Evidence indicates that the threat actor likely sprayed accounts with default passwords, including credentials provisioned by IT teams and never rotated.”
Those refresh tokens can then be exchanged for valid bearer tokens, like any other client in the family, and subsequently leveraged for access exploitation.
Discovery
3 techniques
Discovery
TeamFiltration is designed for “enumerating, spraying, exfiltrating, and backdooring” Entra ID accounts and “allows an operator to validate email accounts [and] test common or targeted passwords across enumerated accounts.”
After compromise, the attacker accessed "Azure Portal," "OfficeHome," and "SharePoint Online."
The post-access sequence included "Azure Portal access" and "M365 Portal access."
Collection
3 techniques
Collection
TeamFiltration's Exfiltrate module "harvests email, Teams chats, OneDrive/SharePoint files," and Microsoft Office access was identified as "Email and calendar exfiltration (Outlook REST)."
TeamFiltration can collect "Teams chats" and accessed Microsoft Teams across all seven compromised accounts.
“Across most of the compromised accounts, the threat actor leveraged the foothold to access Microsoft Office, OneDrive, and Teams, potentially indicative of data harvesting and exfiltration. That said, sign-in events alone cannot be taken as evidence of exfiltration.”
Command and Control
1 technique
Command and Control
“Less than 2 minutes after successful compromise, the operator has been observed pivoting to a German VPN node to probe the corporate VPN, access Azure Portal, browse SharePoint Online, and initiate Microsoft Graph API token requests.”
Exfiltration
1 technique
Exfiltration
Data exfiltration: Extracts information such as emails, files, and other valuable data.
Impact
1 technique
Impact
TeamFiltration's Backdoor module can "silently replace files," allowing an attacker to plant malicious files in place of legitimate ones and trigger execution when opened.
Observables
15 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
4 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.