Este repositorio contiene código para investigación de seguridad autorizada y propósitos exclusivamente educativos. Está basado en un análisis de amenazas reales publicado por Palo Alto Networks Unit42 (junio 2026) con el objetivo de:
- Entender cómo funcionan las infraestructuras C2 basadas en LLMs
- Desarrollar mejores defensas y capacidades de detección
- Educar a profesionales de seguridad sobre vectores de ataque emergentes
Está estrictamente prohibido usar este código para:
- Acceder a sistemas informáticos sin autorización explícita y por escrito
- Instalar este software en sistemas que no sean de tu propiedad
- Realizar operaciones de vigilancia, espionaje o exfiltración no autorizadas
- Cualquier actividad que viole leyes locales, nacionales o internacionales
- Usar este código como base para desarrollar malware funcional
Este código sólo debe usarse en:
- Entornos de laboratorio aislados y controlados (VMs, redes sin conexión)
- Operaciones de red team con contrato firmado y alcance definido
- Investigación académica con aprobación institucional
- Entrenamiento en ciberseguridad en plataformas dedicadas (HackTheBox, TryHackMe, etc.)
- Análisis defensivo para desarrollar firmas de detección (IDS/EDR/SIEM)
Al clonar o usar este repositorio, el usuario acepta que:
- Es el único responsable del uso que haga del código
- Tiene autorización legal para cualquier sistema donde ejecute este software
- KONDOR DEV SECURITY CORP no asume ninguna responsabilidad por usos indebidos
El acceso no autorizado a sistemas informáticos es ilegal en prácticamente todas las jurisdicciones, incluyendo pero no limitado a:
- México: Código Penal Federal, Art. 211bis (acceso ilícito a sistemas)
- España: Código Penal, Art. 197 bis (intromisión ilegítima)
- EE.UU.: Computer Fraud and Abuse Act (CFAA)
- UE: Directiva 2013/40/UE sobre ataques a sistemas de información
- Internacional: Convenio de Budapest sobre Cibercrimen
This repository contains code for authorized security research and exclusively educational purposes. It is based on a real threat intelligence analysis published by Palo Alto Networks Unit42 (June 2026) with the goal of:
- Understanding how LLM-based C2 infrastructures work
- Developing better defenses and detection capabilities
- Educating security professionals about emerging attack vectors
It is strictly forbidden to use this code to:
- Access computer systems without explicit written authorization
- Install this software on systems you do not own
- Conduct unauthorized surveillance, espionage, or data exfiltration
- Any activity that violates local, national, or international laws
- Use this code as a basis for developing functional malware
This code should only be used in:
- Isolated, controlled lab environments (VMs, air-gapped networks)
- Red team operations with a signed contract and defined scope
- Academic research with institutional approval
- Cybersecurity training on dedicated platforms (HackTheBox, TryHackMe, etc.)
- Defensive analysis to develop detection signatures (IDS/EDR/SIEM)
By cloning or using this repository, the user agrees that:
- They are solely responsible for how they use the code
- They have legal authorization for any system where they run this software
- KONDOR DEV SECURITY CORP assumes no liability for misuse
Unauthorized access to computer systems is illegal in virtually all jurisdictions, including but not limited to:
- Mexico: Federal Criminal Code, Art. 211bis (illegal system access)
- Spain: Criminal Code, Art. 197 bis (illegitimate intrusion)
- USA: Computer Fraud and Abuse Act (CFAA)
- EU: Directive 2013/40/EU on attacks against information systems
- International: Budapest Convention on Cybercrime
If you discover a vulnerability in this PoC code itself, please contact:
KONDOR DEV SECURITY CORP GitHub: https://github.com/KONDORDEVSECURITYCORP
Para defensores que deseen detectar variantes de este vector de ataque:
Network IoCs:
- Conexiones salientes recurrentes a
api.telegram.org(long-polling de bots) - Conexiones a
api.groq.comdesde hosts no autorizados - User-Agent
python-requests/x.x.xen tráfico hacia APIs de LLM
Host IoCs:
- Proceso Python ejecutando polling continuo de red
- Archivo de log
llm_telegram_poc.logen el filesystem - Variables de entorno
TELEGRAM_BOT_TOKEN,GROQ_API_KEYen el proceso
MITRE ATT&CK Mapping:
| Técnica | ID | Descripción |
|---|---|---|
| Command and Control | T1071.001 | Web Protocols (Telegram HTTPS) |
| Exfiltration Over C2 | T1041 | Exfil via Telegram sendDocument |
| System Information Discovery | T1082 | Host fingerprinting |
| Command Execution | T1059 | Shell command execution |
| LLM Abuse | T1588 | Obtain Capabilities (LLM as translator) |
Última actualización / Last updated: 2026-07-25