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
4:50 am, Jan 18, 2025
weather icon 3°C
L: 2° | H: 3°
overcast clouds
Humidity: 88 %
Pressure: 1031 mb
Wind: 3 mph ESE
Wind Gust: 0 mph
UV Index: 0
Precipitation: 0 mm
Clouds: 100%
Rain Chance: 0%
Visibility: 10 km
Sunrise: 7:56 am
Sunset: 4:24 pm
DailyHourly
Daily ForecastHourly Forecast
Today 9:00 pm
weather icon
2° | 3°°C 0 mm 0% 4 mph 92 % 1031 mb 0 mm/h
Tomorrow 9:00 pm
weather icon
1° | 5°°C 0 mm 0% 7 mph 91 % 1023 mb 0 mm/h
Mon Jan 20 9:00 pm
weather icon
2° | 6°°C 0 mm 0% 4 mph 97 % 1020 mb 0 mm/h
Tue Jan 21 9:00 pm
weather icon
4° | 7°°C 0 mm 0% 5 mph 97 % 1019 mb 0 mm/h
Wed Jan 22 9:00 pm
weather icon
4° | 8°°C 0.2 mm 20% 9 mph 97 % 1013 mb 0 mm/h
Today 6:00 am
weather icon
1° | 3°°C 0 mm 0% 1 mph 88 % 1031 mb 0 mm/h
Today 9:00 am
weather icon
2° | 2°°C 0 mm 0% 2 mph 89 % 1031 mb 0 mm/h
Today 12:00 pm
weather icon
4° | 5°°C 0 mm 0% 3 mph 76 % 1030 mb 0 mm/h
Today 3:00 pm
weather icon
6° | 6°°C 0 mm 0% 3 mph 65 % 1027 mb 0 mm/h
Today 6:00 pm
weather icon
4° | 4°°C 0 mm 0% 4 mph 86 % 1026 mb 0 mm/h
Today 9:00 pm
weather icon
3° | 3°°C 0 mm 0% 4 mph 92 % 1025 mb 0 mm/h
Tomorrow 12:00 am
weather icon
2° | 2°°C 0 mm 0% 3 mph 85 % 1023 mb 0 mm/h
Tomorrow 3:00 am
weather icon
2° | 2°°C 0 mm 0% 3 mph 87 % 1022 mb 0 mm/h
Name Price24H (%)
Bitcoin(BTC)
€100,675.00
2.12%
Ethereum(ETH)
€3,282.59
0.12%
XRP(XRP)
€3.13
-2.93%
Tether(USDT)
€0.97
0.00%
Solana(SOL)
€223.04
7.79%
Dogecoin(DOGE)
€0.395837
5.17%
USDC(USDC)
€0.97
0.01%
Shiba Inu(SHIB)
€0.000023
3.82%
Pepe(PEPE)
€0.000019
4.62%
Peanut the Squirrel(PNUT)
€0.54
-8.63%
Scroll to Top