New Red Teamers Tool to Execute System Commands Via Microsoft Teams

Share:

A groundbreaking tool has emerged in the realm of red teaming, offering a sophisticated method to execute system commands on compromised hosts through Microsoft Teams.

This innovative Command and Control (C2) infrastructure, known as convoC2, leverages the popular collaboration platform to infiltrate and exfiltrate data, making detection significantly more challenging for blue teams.

The convoC2 tool operates by embedding commands into hidden span tags within Microsoft Teams messages.

These commands are then executed on the compromised host, with the output cleverly disguised in Adaptive Cards image URLs. This triggers out-of-bound requests to a C2 server, effectively establishing a covert communication channel.

What makes this tool particularly stealthy is its lack of direct communication between the attacker and the victim.

Security analyst, Fabio Cinicolo (cxnturi0n) observed that all HTTP requests from the victim are sent exclusively to Microsoft servers, and since most antivirus solutions don’t scrutinize Microsoft Teams log files, the malicious activity often goes unnoticed.

Leveraging 2024 MITRE ATT&CK Results for SME & MSP Cybersecurity Leaders – Attend Free Webinar

Technica Analysis

  1. Cross-Platform Compatibility: The tool has been demonstrated to work on both the new Teams version on Windows 11 and the old Teams version on Windows 10.
  2. External Org Attack: Notably, the attacker doesn’t need to be in the same organization as the victim, expanding its potential reach.
  3. Preemptive Command Execution: Even if the victim hasn’t accepted or visualized a chat from an external attacker, commands are still received and executed due to message caching in the log file.
red%20teamers%20tools
convoC2 Architecture (Source – GitHub)

The convoC2 infrastructure consists of two main components: a server and an agent. The server, which can be easily set up on a public-facing host, manages the C2 operations.

The agent, deployed on the victim’s machine, interacts with the Teams log file and executes the received commands.

To utilize this tool, red teamers need to:-

  1. Create a Teams channel with a Workflow Incoming Webhook
  2. Fetch necessary IDs and authentication tokens
  3. Ensure the victim’s host is running Teams (even in the background)

While this tool represents a significant advancement in red team capabilities, it’s crucial to emphasize that it should only be used in authorized, ethical hacking scenarios.

The potential for misuse underscores the importance of robust security measures and continuous monitoring of collaboration platforms like Microsoft Teams.

The convoC2 tool exemplifies the evolving landscape of cybersecurity, where even trusted platforms can become vectors for sophisticated attacks.

As red teams adopt such advanced techniques, blue teams must remain vigilant, adapting their detection and prevention strategies to counter these emerging threats.

Source

Leave a Comment

Your email address will not be published. Required fields are marked *

loader-image
London, GB
12:01 am, Mar 27, 2025
weather icon 8°C
L: 6° | H: 9°
scattered clouds
Humidity: 81 %
Pressure: 1024 mb
Wind: 5 mph SW
Wind Gust: 0 mph
UV Index: 0
Precipitation: 0 mm
Clouds: 37%
Rain Chance: 0%
Visibility: 10 km
Sunrise: 5:49 am
Sunset: 6:22 pm
DailyHourly
Daily ForecastHourly Forecast
Today 9:00 pm
weather icon
6° | 9°°C 0 mm 0% 9 mph 89 % 1024 mb 0 mm/h
Tomorrow 9:00 pm
weather icon
7° | 12°°C 1 mm 100% 13 mph 93 % 1015 mb 0 mm/h
Sat Mar 29 9:00 pm
weather icon
4° | 12°°C 0 mm 0% 9 mph 78 % 1023 mb 0 mm/h
Sun Mar 30 9:00 pm
weather icon
7° | 17°°C 0 mm 0% 10 mph 82 % 1024 mb 0 mm/h
Mon Mar 31 9:00 pm
weather icon
8° | 15°°C 0 mm 0% 8 mph 86 % 1028 mb 0 mm/h
Today 12:00 am
weather icon
8° | 10°°C 0 mm 0% 5 mph 81 % 1024 mb 0 mm/h
Today 3:00 am
weather icon
8° | 9°°C 0 mm 0% 4 mph 85 % 1024 mb 0 mm/h
Today 6:00 am
weather icon
8° | 8°°C 0 mm 0% 4 mph 89 % 1023 mb 0 mm/h
Today 9:00 am
weather icon
11° | 11°°C 0 mm 0% 6 mph 69 % 1023 mb 0 mm/h
Today 12:00 pm
weather icon
16° | 16°°C 0 mm 0% 7 mph 51 % 1021 mb 0 mm/h
Today 3:00 pm
weather icon
17° | 17°°C 0 mm 0% 9 mph 47 % 1018 mb 0 mm/h
Today 6:00 pm
weather icon
15° | 15°°C 0 mm 0% 7 mph 60 % 1017 mb 0 mm/h
Today 9:00 pm
weather icon
12° | 12°°C 0 mm 0% 6 mph 78 % 1017 mb 0 mm/h
Name Price24H (%)
Bitcoin(BTC)
€80,942.67
-0.69%
Ethereum(ETH)
€1,870.10
-2.92%
Tether(USDT)
€0.93
-0.01%
XRP(XRP)
€2.19
-4.24%
Solana(SOL)
€127.54
-4.85%
USDC(USDC)
€0.93
0.00%
Dogecoin(DOGE)
€0.181357
1.97%
Shiba Inu(SHIB)
€0.000013
2.40%
Pepe(PEPE)
€0.000008
6.05%
Peanut the Squirrel(PNUT)
€0.214428
7.85%
Scroll to Top