A multi-stage campaign attributed with medium confidence to MexicanMafia aka PanchoVilla targeted critical infrastructure across Latin America using Kimera reconnaissance, exploit kits for Fortinet, Ivanti, Cisco, SAP, and Oracle, plus layered persistence through Neo-reGeorg, Chisel, and compromised Cisco routers. The staging server artifacts showed large-scale credential theft, Active Directory mapping, and data exfiltration against government and enterprise systems, including confirmed activity tied to 62.171.185[.]97 and 165.22.184.26. #MexicanMafia #PanchoVilla #Kimera #NeoReGeorg #Chisel #Fortinet #Ivanti #Cisco #SAP #Oracle
Keypoints
- The threat actor is assessed with medium confidence as MexicanMafia aka PanchoVilla, based on staging server artifacts and prior linked activity.
- The campaign targeted critical infrastructure in Latin America, with Mexico as the primary focus and additional activity in Ecuador, Portugal, and other regions.
- Kimera, a custom distributed reconnaissance framework, was used for high-speed subdomain enumeration, port scanning, vulnerability scanning, and host fingerprinting.
- Initial access leveraged public-facing application exploitation, including Fortinet FortiOS, Ivanti Connect Secure, Apache Tomcat AJP, GeoServer, Oracle, SAP, and SMB-related weaknesses.
- The actor maintained persistence through Neo-reGeorg webshells, Chisel reverse tunnels, GRE tunnels on compromised Cisco routers, and abused remote-access tools like AnyDesk and N-able.
- Credential access and collection included LSASS dumping, Kerberoasting, browser credential theft, SAP and Oracle abuse, and extraction of Active Directory datasets and cryptographic material.
- Exfiltration was performed through alternative protocols, web services, and C2 channels, with evidence of large-scale data theft including over 1.3 million PII records and a 407 MB BloodHound dataset.
MITRE Techniques
- [T1595.001 ] Active Scanning: Scanning IP Blocks â Used for high-velocity subdomain enumeration and broad discovery across targets using subfinder, assetfinder, findomain, gobuster, dnsx, and naabu (âparallelised subdomain enumerationâ, ânaabu port scanning at 5,000 ppsâ).
- [T1595.002 ] Active Scanning: Vulnerability Scanning â Automated CVE and misconfiguration scanning with Nuclei and dalfox (âNuclei fed all discovered URLsâ, âdalfox automated XSS huntingâ).
- [T1592 ] Gather Victim Host Information â Fingerprinted live hosts and technology stacks using httpx and whatweb (âfingerprint live hostsâ, âtechnology-stack fingerprintingâ).
- [T1589.001 ] Gather Victim Identity Information: Credentials â Extracted credentials and secrets from repositories with regex-based scanning (âextracting AWS keys, JWTs, bearer tokens, Base64 secrets, LDAP strings and SAP credentialsâ).
- [T1593.002 ] Search Open Websites/Domains: Search Engines â Used LinkFinder to uncover hidden endpoints and admin panels (âJavaScript endpoint extraction ⌠to uncover hidden APIs and administrative panelsâ).
- [T1590.001 ] Gather Victim Network Information: Domain Properties â Mapped DNS and subdomains using brute forcing and resolution (âSubdomain brute-forcing ⌠DNS resolution mapping across government and corporate domainsâ).
- [T1587.001 ] Develop Capabilities: Malware â Built custom tooling including Kimera, Xortigate variants, SMB handlers, and ZipSlip droppers (âCustom Kimera V1/V2 ⌠custom SMB protocol handlersâ).
- [T1588.006 ] Obtain Capabilities: Vulnerabilities â Pre-staged exploit chains for Fortinet, Ivanti, Zerologon, EternalBlue, and SMBGhost (âPre-staged CVE-specific exploit chainsâ).
- [T1583.003 ] Acquire Infrastructure: Virtual Private Server â Used a DigitalOcean VPS as primary C2, relay, and staging server (â62.171.185.97 used as the primary C2â).
- [T1608.001 ] Stage Capabilities: Upload Malware â Staged payloads and exploit tooling on the server (âCentralized exploit armory ⌠chunked payload deliveryâ).
- [T1190 ] Exploit Public-Facing Application â Exploited Fortinet, Ivanti, GhostCat, GeoServer, Oracle, and SAP services (âFortiGate SSL-VPN exploitationâ, âSAP RFC abuseâ).
- [T1133 ] External Remote Services â Used harvested credentials and configuration dumps for VPN and RDP access (âcredential-based VPN accessâ, âRDP access via harvested credentialsâ).
- [T1566.002 ] Phishing: Spearphishing Link â Maintained credential-harvesting phishing pages for tax and document-management users (âCustom phishing pages targeting tax-authority employeesâ).
- [T1059.004 ] Command and Scripting Interpreter: Unix Shell â Ran OS commands through DBMS_SCHEDULER, SAP RFC, and webshells (âexecuting OS commandsâ, âBash webshellsâ).
- [T1059.007 ] Command and Scripting Interpreter: JavaScript â Triggered Java execution via GeoServer WFS injection and JSP webshells (âRuntime.getRuntime() executionâ).
- [T1059.008 ] Command and Scripting Interpreter: Network Device CLI â Injected TCL scripts and configured GRE tunnels on Cisco routers (âCisco IOS TCL script injectionâ).
- [T1072 ] Software Deployment Tools â Used SAP function modules to execute OS commands (âSXPG_CALL_SYSTEM and SXPG_COMMAND_INSERTâ).
- [T1203 ] Exploitation for Client Execution â Delivered ysoserial Java deserialization payloads to vulnerable Java servers (âCommonsCollections5 Java deserialization payloadâ).
- [T1569.002 ] System Services: Service Execution â Achieved Oracle scheduler-based command execution (âDBMS_SCHEDULER job-based command executionâ).
- [T1505.003 ] Server Software Component: Web Shell â Deployed Neo-reGeorg and multiple PHP/JSP/CFM shells for persistence (âNeo-reGeorg JSPX/JSP webshellsâ).
- [T1572 ] Protocol Tunneling â Used Neo-reGeorg, Chisel, and GRE tunnels for layered tunneling (âTCP-over-HTTP reverse-proxy tunnellingâ, âGRE tunnel configured on a compromised Cisco routerâ).
- [T1546 ] Event Triggered Execution â Used malicious ZIP archives and ZipSlip extraction to deploy webshells (âdeploying webshells when extractedâ).
- [T1068 ] Exploitation for Privilege Escalation â Used PwnKit and FortiOS heap grooming for root/privileged code execution (âPwnKit CVE-2021-4034â).
- [T1210 ] Exploitation of Remote Services â Leveraged Zerologon, EternalBlue, SMBGhost, SambaCry, and MS08-067 for escalation and movement (âconfirm domain-controller compromiseâ).
- [T1078.002 ] Valid Accounts: Domain Accounts â Used domain admin and harvested credentials for access and movement (âdomain-admin accountsâ).
- [T1562.003 ] Impair Defenses: Impair Command History Logging â Suppressed forensic artifacts and cleaned up commands (âpost-exploitation cleanupâ).
- [T1036.005 ] Masquerading: Match Legitimate Name or Location â Used LNK files mimicking N-able RMM components (âmimicking the N-able RMM agentâ).
- [T1027 ] Obfuscated Files or Information â Hid payloads with Base64, AES encryption, chunking, and custom encoding (âBase64-encoded payloadsâ, âAES-encrypted Neo-reGeorg webshell channelâ).
- [T1090.002 ] Proxy: External Proxy â Routed traffic through external SOCKS5 relays and proxychains (âMulti-port SOCKS5 relayâ).
- [T1550.002 ] Use Alternate Authentication Material: Pass the Hash â Used Impacket tools for credential-free lateral movement (âpsexec.py, wmiexec.py and ntlmrelayx.pyâ).
- [T1205 ] Traffic Signaling â Bypassed WAFs with spoofed headers, user agents, and encoding tricks (âX-Forwarded-For localhost spoofingâ, âdouble URL encodingâ).
- [T1140 ] Deobfuscate/Decode Files or Information â Decrypted FortiGate, WebLogic, and Oracle credentials/configuration (âFortiGate AES-CBC configuration decryptionâ).
- [T1003.001 ] OS Credential Dumping: LSASS Memory â Used secretsdump and captured NTLM hashes (âNTLM-hash interceptionâ).
- [T1558.003 ] Steal or Forge Kerberos Tickets: Kerberoasting â Retrieved service-account hashes with GetUserSPNs.py (âKerberoastable service-account hashesâ).
- [T1552.001 ] Unsecured Credentials: Credentials in Files â Found cleartext credentials in configuration and text files (âFortiGate configuration extractionâ, âpgpass.confâ).
- [T1552.005 ] Unsecured Credentials: Cloud Instance Metadata API â Extracted cloud secrets and tokens from source code repositories (âAWS access keys, Azure secrets and JWT tokensâ).
- [T1555.003 ] Credentials from Password Stores: Credentials from Web Browsers â Collected Chrome credential stores (âLogin Data and Login Data For Account SQLite databasesâ).
- [T1110.002 ] Brute Force: Password Spraying â Used automated spray and cracking tools against victim accounts (âaggressive_spray.py, fast_brute.shâ).
- [T1212 ] Exploitation for Credential Access â Read passwd/shadow files and exfiltrated SSL private keys through database functions (âread /etc/passwd and /etc/shadow without OS rootâ).
- [T1082 ] System Information Discovery â Retrieved OS and system details using SAP and Oracle commands (âCHECK_OS and DIR_LIST command executionâ).
- [T1016 ] System Network Configuration Discovery â Extracted topology, routing tables, and subnet layouts from FortiGate and Cisco configs (âfull network topology, routing tables and internal subnet layoutsâ).
- [T1018 ] Remote System Discovery â Scanned subnets and ports to identify reachable systems (âscanning the 10.39.x.x subnetâ).
- [T1069.002 ] Permission Groups Discovery: Domain Groups â Enumerated AD groups and privileged roles (âidentifying SQL service users, Citrix administrators and CyberArk vault operatorsâ).
- [T1087.002 ] Account Discovery: Domain Account â Reconstructed hierarchy from account attributes and SAP roles (âPasswordLastSet and LastLogon attribute correlationâ).
- [T1135 ] Network Share Discovery â Probed SMB shares across internal subnets (âSMB port-445 probing across the 10.8.7.0/24 subnetâ).
- [T1526 ] Cloud Service Discovery â Assessed VMware AirWatch MDM for exploitation opportunities (âauthentication bypassâ).
- [T1046 ] Network Service Discovery â Performed high-speed port scanning and service validation (ânaabu port scanningâ).
- [T1021.002 ] Remote Services: SMB/Windows Admin Shares â Used PsExec and Impacket for remote execution over SMB (âpsexec.py and smbexec.pyâ).
- [T1021.001 ] Remote Services: Remote Desktop Protocol â Used harvested RDP credentials and config files for movement (âdefault.rdp, users_rdp.txt and pass_rdp.txtâ).
- [T1090.001 ] Proxy: Internal Proxy â Used SOCKS5 pivots and Chisel to access internal subnets (âSOCKS5 pivot through 165.22.184.26:5571â).
- [T1080 ] Taint Shared Content â Staged router-to-router pivoting and TFTP-based configuration staging (ârouter-to-router pivot using rt01_telnet_rt02.pyâ).
- [T1213 ] Data from Information Repositories â Accessed document repositories and Zabbix macros for credentials (âSeedDMS phishingâ, âZabbix global-macro extractionâ).
- [T1005 ] Data from Local System â Read local files and database outputs from victim systems (âOracle UTL_FILE reading output files from /tmpâ).
- [T1119 ] Automated Collection â Automated bulk extraction from Oracle and SAP data sources (âdump_batch.sh iterating through Oracle tablesâ).
- [T1114 ] Email Collection â Extracted email infrastructure passwords and credentials (âZimbra password extractionâ).
- [T1185 ] Browser Session Hijacking â Abused CORS and session tokens to hijack authenticated sessions (âreq.withCredentials=true CORS abuseâ).
- [T1071.001 ] Application Layer Protocol: Web Protocols â Used HTTP POST-based Neo-reGeorg C2 and web-like callbacks (âreverse shells on ports 80, 443 and 8080â).
- [T1090.003 ] Proxy: Multi-hop Proxy â Built a layered proxy chain through VPS, relay, and internal nodes (âLayered architecture using a public VPSâ).
- [T1132.002 ] Data Encoding: Non-Standard Encoding â Used BLV and custom Base64 encoding in C2 traffic (âBinary Length Value encodingâ).
- [T1001.001 ] Data Obfuscation: Junk Data â Hid payloads with AES-encrypted channels and compressed inner payloads (âGZIP-compressed inner payloadâ).
- [T1048.003 ] Exfiltration Over Alternative Protocol â Streamed SSL keys and metadata over Netcat, Wget, and PostgreSQL pipelines (âstreaming SSL private keys to 62.171.185.97:8888â).
- [T1030 ] Data Transfer Size Limits â Fragmented binaries into small chunks to evade detection (âELF binary divided into approximately 3.9 KB fragmentsâ).
- [T1567 ] Exfiltration Over Web Service â Exfiltrated through SOCKS5-tunnelled services and callback mechanisms (âSOCKS5-tunnelled exfiltrationâ).
- [T1041 ] Exfiltration Over C2 Channel â Used Oracle spooling, TFTP retrieval, and C2 channels for data removal (âcompressed 407 MB BloodHound Active Directory dataset exfiltrationâ).
- [T1485 ] Data Destruction â Altered MySQL configuration to bypass authentication and enable unrestricted manipulation (âskip-grant-tables injectionâ).
- [T1491 ] Defacement / Web Content Manipulation â Used archive-dropping techniques to re-establish access and manipulate web content (âembedding a JSP webshell in a path-traversal structureâ).
- [T1565.001 ] Data Manipulation: Stored Data Manipulation â Injected commands and altered procurement workflows using stolen credentials (âmanipulation of procurement workflowsâ).
Indicators of Compromise
- [IP address] Threat actor VPS, relay, and callback infrastructure â 62.171.185[.]97, 165.22.184[.]26, and 185.65.245[.]10:7227
- [IP address] Confirmed victim or callback hosts â 200.79.113[.]136, 201.144.122[.]60, and 135.237.122[.]202
- [Port / service] Tunneling and relay services â 1080, 5554, 5571, 8888, and 1389
- [File names] Webshells, scripts, and payloads on staging server â status.jsp, ver.jsp, sedema_proc.jsp, rev.sh, and shell.php
- [File names] Credential and tooling artifacts â anydesk_svc.conf, anydesk_usr.conf, cisco_creds.log, pgpass.conf, and kerberoast_tickets.hash
- [File / binary names] Offensive tooling and staged payloads â chisel.b64, pwnkit_b64, neo.jspx.b64, payload.b64, and chunk_aa through chunk_aj
- [Domain / service artifacts] Infrastructure and callback patterns â Neo-reGeorg HTTP POST C2, Cisco GRE tunnels, and MGLNDD_62.171.185.97_1389