🛡 VULNERABILIDADES 🛡

Explotación de PHP2Shell afecta a entidad gubernamental en medio de escaneos globales y señales de hacking asistido por IA

🛡CyberObservatorio
Explotación de PHP2Shell afecta a entidad gubernamental en medio de escaneos globales y señales de hacking asistido por IA
Idioma

Explotación de PHP2Shell afecta a entidad gubernamental en medio de escaneos globales y señales de hacking asistido por IA

Fuente: The Hacker News

**El uso de inteligencia artificial en ciberataques: Un análisis de las vulnerabilidades PHP2Shell**

En un contexto donde la digitalización se ha convertido en el núcleo de las operaciones empresariales y gubernamentales, la seguridad cibernética ha adquirido una relevancia sin precedentes. Los ataques informáticos no solo amenazan la integridad de la información crítica, sino que también pueden comprometer la confianza del público en las instituciones. Recientemente, se ha observado que actores maliciosos han estado utilizando plataformas de inteligencia artificial (IA) para llevar a cabo actividades post-explotación tras abusar de las vulnerabilidades PHP2Shell, identificadas como CVE-2026-109618 y CVE-2026-109619. Este fenómeno no solo destaca la evolución de las técnicas de ataque, sino que también subraya la importancia de estar alerta frente a las nuevas capacidades que ofrecen las herramientas tecnológicas.

Según un informe de Palo Alto Networks, a través de su unidad Unit 42, los atacantes se dirigieron a una entidad gubernamental en Europa y, en un lapso de dos horas desde la explotación inicial, lograron acceder a hashes de contraseñas y secretos de autenticación multifactor. Este asalto no se limitó a la obtención de credenciales, ya que también establecieron un túnel de retransmisión NT LAN Manager (NTLM) hacia Active Directory, intentando escalar privilegios a nivel de administrador de dominio. Tales acciones revelan un nivel de sofisticación que podría haber sido potenciado por el uso de algoritmos de IA para la automatización de tareas.

Los detalles técnicos de estos ataques son inquietantes. Se ha documentado que el atacante desconocido enumeraba el punto final comprometido, ejecutando comandos que sugieren la actividad de un atacante "agente". Estos comandos permiten la realización de reconocimientos en la base de datos de autenticación utilizando credenciales robadas, la exploración de Active Directory mediante consultas LDAP anónimas, y la búsqueda de integración DNS/AD, hosts internos, grupos privilegiados y usuarios interactivos. Cada lote de comandos se encuentra delimitado por encabezados de sección, como ==SHELLUSER== y ==PASSWD==, lo que produce una salida que puede ser fácilmente interpretada por un modelo de IA.

El contexto se vuelve más complejo al considerar que CYFIRMA ha descubierto una campaña sospechosa vinculada a Corea del Norte que utiliza PHP2Shell para escanear la infraestructura PHP global desde 21 nodos comprometidos. El CEO de CYFIRMA, Kumar Ritesh, destacó que el escaneo se realiza de forma deliberadamente de bajo volumen y ritmo, lo que dificulta su detección por sistemas de alerta basados en umbrales. Los blancos de esta campaña incluyen un conjunto de 216 hosts no parcheados o parcialmente mitigados en países como Estados Unidos, Japón, Corea del Sur, y varios otros, abarcando sectores críticos como el gubernamental, financiero y logístico.

La actividad de estos actores ha sido atribuida, con un grado moderado de confianza, a un operario que habla coreano y que se considera vinculado con el ecosistema del grupo Lazarus. Este grupo ha sido conocido por sus operaciones encubiertas que incluyen la explotación de servidores PHP y WordPress, así como por su enfoque en instituciones gubernamentales y plataformas de transacciones en línea, alineándose con su historial de robos financieros y de criptomonedas. Las conversaciones capturadas en un canal cerrado de I2P revelan un vocabulario específico que denota su origen norcoreano, lo que refuerza la conexión con el Lazarus Group.

Ambas vulnerabilidades, CVE-2026-109618 y CVE-2026-109619, son clasificadas como críticas, ya que pueden permitir la ejecución remota de código en configuraciones predeterminadas de PHP. Tras su divulgación pública, se han registrado millones de intentos de explotación. Según Datadog, los atacantes enfrentan dos restricciones principales: deben dimensionar una solicitud para que falle en el momento adecuado y eludir la aleatorización de direcciones de memoria (ASLR) para encontrar direcciones válidas. Este proceso implica un uso ingenioso de los errores de asignación de memoria, lo que permite a los atacantes aprovechar las vulnerabilidades en el manejo de campos de formulario.

ReliaQuest, en una actualización publicada el 22 de octubre de 2026, logró reproducir CVE-2026-109618 en un laboratorio controlado, identificando secuencias de errores que pueden ayudar a los defensores a detectar intentos de explotación. La investigación subrayó la importancia de prestar atención a la secuencia de eventos en los registros de error de PHP, Apache y del sistema, que podrían indicar un compromiso inminente.

Recientemente, la PHP Foundation ha advertido sobre una tercera vulnerabilidad crítica de ejecución remota de código (CVE-2026-115560), que se activaría solo bajo una combinación inusual de configuración y código de aplicación. Esta vulnerabilidad se espera que sea abordada en el ciclo de lanzamiento habitual del software.

La situación se agrava al considerar que Bitsight ha detectado casi 37 millones de sistemas expuestos a Internet que ejecutan PHP o software relacionado. Dada la prevalencia de PHP en la web, desde sistemas de gestión de contenido hasta aplicaciones internas, una vulnerabilidad en el runtime no puede ser resuelta cambiando simplemente el código de la aplicación. Solo la actualización del propio PHP en el host puede cerrar esta brecha crítica.

Frente a estos desafíos, es fundamental que las organizaciones implementen medidas de protección adecuadas. Se recomienda realizar auditorías de seguridad regulares, aplicar parches de manera oportuna, y emplear sistemas de detección de intrusiones que puedan identificar patrones de comportamiento anómalos. La concienciación sobre la seguridad entre los empleados también resulta esencial para mitigar el riesgo de explotación exitosa de estas vulnerabilidades. En un mundo donde la ciberseguridad se ha convertido en un campo de batalla, la proactividad y la adaptación son clave para salvaguardar la integridad de las operaciones digitales.

PHP2Shell Exploitation Hits Government Entity Amid Global Scanning and Signs of AI-Assisted Hacking

Source: The Hacker News

Threat actors have been observed using agentic artificial intelligence (AI) platforms for post-exploitation activity following the abuse of thePHP2Shellvulnerabilities tracked as CVE-2026-109618 and CVE-2026-109619. "In one case, the attackers targeted a government entity in Europe and within two hours of the initial exploitation they had successfully accessed password hashes and multi-factor authentication secrets," Palo Alto Networks Unit 42said. "They also established an NT LAN Manager (NTLM)-relay tunnel into Active Directory and attempted Domain Admin privilege escalation." The network security company said it also observed the unknown attacker enumerating the compromised endpoint, with commands and behavioral markers suggesting the work of an agentic attacker. These include commands to facilitate - Reconnaissance of the authentication database with stolen credentials, targeting password hashes and two-factor authentication (2FA) secrets. Active Directory (AD) reconnaissance via curl-based anonymous LDAP queries to the domain controller (DC) in an attempt to look for the administrator account. Reconnaissance of the host to hunt for DNS/AD integration, internal hosts, privileged groups, and interactive users. "Each command batch is wrapped in section-header delimiters, such as ==SHELLUSER== and ==PASSWD==," it added. "These delimiters produce machine-parseable output for an AI model to read." The disclosure comes as CYFIRMA said ituncovereda suspected North Korea-linked campaign employing PHP2Shell to actively probe global PHP infrastructure from 21 compromised nodes. "The scanning is deliberately low-volume and paced," Kumar Ritesh, CEO and founder of CYFIRMA, told The Hacker News. "Nodes are rotated and abandoned at the first sign of blocking or rate-limiting, so threshold-based alerting is unlikely to catch it." The targets comprise a set of 216 unpatched or partially mitigated hosts located across the U.S., Japan, South Korea, Thailand, Indonesia, Australia, Taiwan, India, Singapore, the U.A.E., Saudi Arabia, and the E.U. The hosts span government, financial institutions, logistics, airports and aviation, manufacturing, and online transaction platforms. "The campaign has moved from reconnaissance into active, low-and-slow scanning of a filtered target set," CYFIRMA said. "Organizations in the prioritised sectors and geographies should assume they are in scope for deliberate targeting." The activity, coordinated via a closed I2P channel, has been attributed with moderate confidence to a Korean-speaking operator assessed to be affiliated with the Lazarus Group ecosystem. According to CYFIRMA, the two handles (전창혁 2 aka Jeon Chang-hyuk 2) and (최아린 aka Choi A-rin) active in the I2P channel have previously been observed running covert operations for the threat actors. "Korean-speaking operators have used [the channel] to share target lists, exploit-hosting infrastructure, and tasking and prioritisation consistent with DPRK objectives," Ritesh said. "The captured conversation uses vocabulary and spelling specific to North Korean (Munhwaŏ) rather than the South Korean standard." Other primary indicators that link the campaign to the Lazarus cluster are below - Command-and-control (C2) infrastructure that Lazarus has previously used to exploit web assets. Lazarus Group's documented history of compromising PHP and WordPress servers for C2 and planting of PHP and ASP web shells, as observed in theSyncHole watering holecampaign. Prioritizing government agencies and banks, specifically online transaction platforms, which is in line with Lazarus Group's track record of breaching financial institutions for financial and cryptocurrency theft. "Exploitation is the next step," CYFIRMA said. "The operators said they would shortlist the most promising targets the same day and then choose which public exploits to adapt." In an October 25, 2026, postsharedon X, Defused Cyber said it's also seeing PHP2Shell probes targeting its Palo Alto Networks GlobalProtect honeypots. The activity originates from204.76.203[.]7, a known mass-exploit IP address. "The requests carry a PHP_SESSION_UPLOAD_PROGRESS marker ('p2s-rider') and a dummy file upload with no payload, which points to someone checking for the vulnerable upload-progress behavior and likely building a target list of Palo Alto devices," the threat intelligence company said. Both CVE-2026-109618 and CVE-2026-109619 arecritical vulnerabilitiesthat can lead to remote code execution in default PHP configurations. The security flaws havewitnessedwidespreadscanning efforts, with Cloudflare stating it detected millions of exploitation attempts after public disclosure. "An attacker faces two main constraints: they must size a request to fail allocation at the right moment, and they must defeat ASLR to find valid memory addresses," Datadogsaid. "The exploit needs one field name small enough to fit inside the accepted request body but large enough that copying its key exceeds memory_limit." "When PHP parses a form-field name, it makes several copies along the way. The attacker uses that extra memory to force an allocation failure while PHP copies the name into a hash table." ReliaQuest, in an update published on October 22, 2026, said it reproduced CVE-2026-109618 in a controlled lab and observed a sequence of errors that could help defenders identify exploitation. "This testing identified a specific sequence of artifacts across PHP error, Apache access, Apache error, and system logs that may help defenders detect exploitation," itsaid. "Defenders should focus on the sequence: a POST request returns a 500 error, PHP reports memory exhaustion and heap corruption, and the Apache worker handling the request crashes." The PHP Foundation has sincewarnedof a third remote code execution vulnerability (CVE-2026-115560), which can only "occur under an unusual combination of configuration and application code." The issue is expected to be addressed as part of the regular release cycle. "An application must set session.serialize_handler to php_binary or php_serialize in its configuration and then switch it to php at runtime with ini_set() before calling session_start()," the Foundation said. "Session upload progress must also still be enabled. Applications that never change the serialize handler at runtime can keep the feature enabled." Xint hasreleased a scannerto check if a host is exposed to PHP2Shell,statingremote code execution is possible in any PHP script regardless of the application and in applications where decoding occurs, such as with session_start() and unserialize(). Bitsight's internet-wide scans show that there are nearly37 million internet-facing systemsrunning PHP or PHP-related software, with most of the exposures in the U.S., Germany, France, the Netherlands, and Japan. "PHP runs a very large portion of the web, from content management systems and online shops to bespoke internal tools," Bitsight said. "A flaw in the runtime can't be repaired by changing application code, and a web application firewall or plugin update won’t remove it. Only updating PHP on the host itself closes the gap."

Explotación de PHP2Shell afecta a entidad gubernamental en medio de escaneos globales y señales de hacking asistido por IA | Ciberseguridad - NarcoObservatorio