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
11:56 am, Apr 22, 2025
weather icon 15°C
L: 14° | H: 16°
broken clouds
Humidity: 59 %
Pressure: 1017 mb
Wind: 9 mph WSW
Wind Gust: 0 mph
UV Index: 0
Precipitation: 0 mm
Clouds: 80%
Rain Chance: 0%
Visibility: 10 km
Sunrise: 5:49 am
Sunset: 8:07 pm
DailyHourly
Daily ForecastHourly Forecast
Today 10:00 pm
weather icon
14° | 16°°C 0 mm 0% 11 mph 76 % 1017 mb 0 mm/h
Tomorrow 10:00 pm
weather icon
8° | 11°°C 1 mm 100% 12 mph 94 % 1018 mb 0 mm/h
Thu Apr 24 10:00 pm
weather icon
8° | 16°°C 0.71 mm 71% 5 mph 91 % 1023 mb 0 mm/h
Fri Apr 25 10:00 pm
weather icon
8° | 17°°C 0.2 mm 20% 7 mph 90 % 1023 mb 0 mm/h
Sat Apr 26 10:00 pm
weather icon
11° | 18°°C 1 mm 100% 7 mph 98 % 1023 mb 0 mm/h
Today 1:00 pm
weather icon
15° | 16°°C 0 mm 0% 8 mph 59 % 1017 mb 0 mm/h
Today 4:00 pm
weather icon
16° | 16°°C 0 mm 0% 10 mph 53 % 1017 mb 0 mm/h
Today 7:00 pm
weather icon
14° | 14°°C 0 mm 0% 11 mph 57 % 1016 mb 0 mm/h
Today 10:00 pm
weather icon
10° | 10°°C 0 mm 0% 7 mph 76 % 1016 mb 0 mm/h
Tomorrow 1:00 am
weather icon
10° | 10°°C 0 mm 0% 7 mph 77 % 1014 mb 0 mm/h
Tomorrow 4:00 am
weather icon
9° | 9°°C 1 mm 100% 10 mph 94 % 1012 mb 0 mm/h
Tomorrow 7:00 am
weather icon
8° | 8°°C 1 mm 100% 11 mph 93 % 1011 mb 0 mm/h
Tomorrow 10:00 am
weather icon
8° | 8°°C 1 mm 100% 9 mph 93 % 1012 mb 0 mm/h
Name Price24H (%)
Bitcoin(BTC)
€76,802.18
1.40%
Ethereum(ETH)
€1,412.36
-0.29%
Tether(USDT)
€0.87
0.00%
XRP(XRP)
€1.82
-1.00%
Solana(SOL)
€121.27
0.00%
USDC(USDC)
€0.87
0.00%
Dogecoin(DOGE)
€0.142269
1.53%
Shiba Inu(SHIB)
€0.000011
-0.79%
Pepe(PEPE)
€0.000007
3.30%
Scroll to Top