BrokerSiphon Uses Teams Vishing to Deploy Gentlemen Ransomware
Summary
A threat actor, likely operating as a Gentlemen ransomware affiliate, uses Microsoft Teams vishing and Quick Assist to deploy the Nimbus RAT (EmailWizardFlow). The attacker establishes a SOCKS5 proxy through Microsoft Teams TURN relays to evade network inspection and deploys BrokerSiphon to steal Microsoft Entra ID tokens. These tokens enable unauthorized access to OneDrive, SharePoint, and Teams data for large-scale exfiltration to an attacker-controlled Microsoft 365 tenant.
Investigation
Researchers traced the intrusion from initial social engineering through Microsoft Teams calls to the deployment of specialized Java-based modules and the BrokerSiphon data theft tool. The investigation identified Google Drive and Google Sheets being used as C2 channels and revealed a WebRTC-based tunneling technique that abuses Microsoft Teams infrastructure. Analysts also examined how the tooling bypasses MFA by targeting the Windows token broker cache.
Mitigation
Organizations should restrict Microsoft Teams external access through allowlists and disable or tightly control Quick Assist. Enabling token protection and Continuous Access Evaluation (CAE) can reduce the impact of stolen Entra ID tokens. Security teams should also monitor for unauthorized Java processes executing from non-standard locations such as ProgramData.
Response
When malicious activity is detected, security teams should immediately revoke active refresh tokens and user sessions, since password resets alone may not invalidate stolen tokens. Hunt for unusual Java process activity and suspicious connections to Microsoft Teams relay infrastructure. Investigate bulk file download activity in SharePoint and OneDrive audit logs for signs of unauthorized exfiltration.
Attack Flow
We are still updating this part.
Detections
Possible Persistence Points [ASEPs – Software/NTUSER Hive] (via registry_event)
Suspicious Binary / Scripts in Autostart Location (via file_event)
Java App Execution from Suspicious Location (via process_creation)
LOLBAS Conhost (via cmdline)
Possible Google Docs Domain Being Resolved By Uncommon Process (via dns_query)
IOCs (HashSha256) to detect: Grand Theft Token: Inside BrokerSiphon’s Path from Teams Vishing to Gentlemen Ransomware
IOCs (SourceIP) to detect: Grand Theft Token: Inside BrokerSiphon’s Path from Teams Vishing to Gentlemen Ransomware
IOCs (DestinationIP) to detect: Grand Theft Token: Inside BrokerSiphon’s Path from Teams Vishing to Gentlemen Ransomware
Detect Suspicious Java Process and Teams Relay Connection [Windows Network Connection]
Detection of Malicious Nimbus RAT Activity [Windows Process Creation]
Simulation Execution
Prerequisite: The Telemetry & Baseline Pre-flight Check must have passed.
Rationale: This section details the precise execution of the adversary technique (TTP) designed to trigger the detection rule. The commands and narrative MUST directly reflect the TTPs identified and aim to generate the exact telemetry expected by the detection logic. Abstract or unrelated examples will lead to misdiagnosis.
-
Attack Narrative & Commands: An adversary has gained initial access and is attempting to deploy the Nimbus RAT. To evade detection, they avoid
C:Program Files. Instead, they drop a portable JDK intoC:ProgramDatajdk-malicious. They then use this Java instance to run a malicious payload (payload.jar). Finally, to cover their tracks, they launch a command prompt that waits for 2 seconds and then recursively deletes the entire directory used for the staging of the RAT. -
Regression Test Script:
# 1. Create the 'malicious' directory structure $stagingPath = "C:ProgramDatajdk-malicious" $javaPath = "$stagingPathbin" New-Item -ItemType Directory -Force -Path "$javaPathjavaw.exe" | Out-Null New-Item -ItemType Directory -Force -Path "$javaPathjava.exe" | Out-Null New-Item -ItemType File -Force -Path "$javaPathjava.exe" New-Item -ItemType File -Force -Path "$stagingPathpayload.jar" # 2. Simulate Java Chaining (Triggering selection_java_chaining) # We use Start-Process to simulate the parent-child relationship Start-Process -FilePath "$javaPathjava.exe" -ArgumentList "-jar $stagingPathpayload.jar" -WindowStyle Hidden # 3. Simulate Self-Deletion (Triggering selection_self_deletion) # This command mimics the exact string pattern in the detection rule Start-Process "cmd.exe" -ArgumentList "/c timeout /t 2 & RD /S /Q $stagingPath" -WindowStyle Hidden Write-Host "Simulation commands sent. Check SIEM for alerts." -
Cleanup Commands:
# Remove the staged files and directories Remove-Item -Path "C:ProgramDatajdk-malicious" -Recurse -Force -ErrorAction SilentlyContinue