# Internet Exposure of a Vulnerable Keycloak Server: No Java4Shell (CVE-2026-114938) Exploitation Observed, ASUS Router Authentication-Bypass Botnet Activity Dominant

> SANS ISC handler Johannes Ullrich exposed a Keycloak instance vulnerable to Java4Shell (CVE-2026-114938, a memory-corruption flaw in the OpenJDK accelerated BASE64 decoder) behind mitmproxy. Of about 30,000 requests, none were Java4Shell exploits; the most common attack targeted ASUS routers with an authentication bypass, including SETROOTCERTIFICATE requests attributed to a self-replicating botnet.

- **Author:** Threadlinqs Team
- **Published:** 2026-12-04T17:45:47Z
- **Last updated:** 2026-12-04T17:45:47Z
- **Canonical:** https://intel.threadlinqs.com/threat/TL-2026-7532
- **Card image:** https://intel.threadlinqs.com/og/threat/TL-2026-7532.png
- **ID:** TL-2026-7532
- **Severity:** MEDIUM (CVSS 8.1)
- **Category:** VULNERABILITY
- **Status:** ACTIVE
- **Detections:** 9 (1 shown free below) · **IOCs:** 9 (1 shown free below)
- **CVEs:** CVE-2026-114938, CVE-2025-2492

## Description

On 2026-12-04 SANS Internet Storm Center handler Johannes Ullrich published a diary describing an experiment in which a Keycloak server vulnerable to Java4Shell (CVE-2026-114938) was exposed to the internet behind mitmproxy, which logged requests as JSON and offered TLS to attackers. Java4Shell was announced and patched roughly two weeks before the diary. Per the Keycloak advisory (published 2026-11-18, updated 2026-11-19), the root cause is a flaw in OpenJDK's accelerated Base64 decoder: a malformed value that Keycloak decodes before authentication can corrupt the Java process's memory. Exposure requires an x86-64 host exposing the avx512vbmi CPU feature, a JVM with Base64 intrinsics enabled (not limited to AVX2 via -XX:UseAVX=2), and an unpatched OpenJDK build (17.0.6 or later, including 21 and 25). Keycloak container images 26.8.2-1 and 26.8.2-2 bundle an affected OpenJDK 21.0.13 build. Keycloak researchers demonstrated pre-authentication remote code execution in their own testing. Press coverage (The Hacker News) rates it CVSS 8.1 (Dark Reading cites 9.2 under CVSS 4.0), and lists other affected products under default settings, including Jira, Confluence, Artifactory, Jenkins and PingFederate (unauthenticated) and Kafka, Solr, Elasticsearch, Gerrit and Spinnaker (authenticated). The Hacker News also reports, as an update, watchTowr observing initial exploitation attempts (including a 'java4shell-recon' User-Agent) and Previdian recording nine attempts against five sensors from six IPs; these are third-party reports and not part of the SANS observation.

In the SANS honeypot, about 30,000 requests were received, of which 1,532 were Keycloak-specific (1,252 console/realm/asset recon, 276 /auth and /keycloak recon, and 4 admin-cli password-guess attempts). Zero were Java4Shell exploits. Thirteen distinct BASE64 payloads were captured, none indicating Java4Shell; some requests appeared to use BASE64 to brute-force authentication headers, and some Next.js/React Server payloads were seen. Other traffic categories were vulnerability scans (10,797), generic fingerprinting of /, favicon and robots (7,078), ASUS router CVE/brute-force (6,454), Citrix/Fortinet/Exchange/VPN probes (1,957), secrets/config hunting such as .env and .git (1,187), CMS/admin-panel hunting such as WordPress and cPanel (988), API/debug/framework probing such as GraphQL and actuator (977), and odd HTTP verbs (91). Many recon requests came from internet-wide research scanning, including Palo Alto's Cortex Xpanse.

The most common attack targeted ASUS routers rather than Keycloak. The diary describes a 'simple authentication-bypass vulnerability that is currently being heavily exploited' and shows 'GET /SETTINGS.CFG' with User-Agent 'asusrouter--' and Cookie 'asus_token=\0Invalid; clickedItem_tab=0'. A second example, 'SETROOTCERTIFICATE /favicon.ico/ HTTP/1.0' (Content-Length 935) with host 73.148.200.126, is described as affecting ASUS routers running AiCloud and as a self-replicating botnet unrelated to Java; its payload pipes decoded BASE64 into a shell ('echo ...|base64 -d|sh'). The diary does not give an ASUS CVE ID, a malware name, or attribution. Publicly documented, related ASUS AiCloud authentication bypasses exist (for example CVE-2025-2492, and the Operation WrtHug campaign reported by SecurityScorecard), but the source does not tie the observed traffic to them, so they are listed as context only. The author's takeaway is that an old, forgotten ASUS router is more likely to cause harm than Java4Shell hype. No BeaconBeagle data was available for 73.148.200.126 (the API returned HTTP 404).

## MITRE ATT&CK

- T1595.002 Vulnerability Scanning
- T1592 Gather Victim Host Information
- T1584.008 Network Devices
- T1190 Exploit Public-Facing Application
- T1059.004 Unix Shell
- T1140 Deobfuscate/Decode Files or Information
- T1110 Brute Force
- T1552.001 Credentials In Files

## Free detection (Splunk SPL, Microsoft KQL, Sigma)

**ASUS AiCloud Botnet SETROOTCERTIFICATE Request — Exploitation** (`TL-2026-7532-SPL-001`)

Detects HTTP requests using the non-standard SETROOTCERTIFICATE method (observed as 'SETROOTCERTIFICATE /favicon.ico/ HTTP/1.0', Content-Length 935) used by an unnamed self-replicating ASUS AiCloud botnet described in the SANS ISC honeypot diary for TL-2026-7532. The request body carries an 'echo <base64>|base64 -d|sh' one-liner, flagged by the b64_shell field. No standard web client or application uses this method, so any hit warrants investigation of the targeted router or edge host.

- **Languages:** Splunk SPL, Microsoft KQL, Sigma
- **ATT&CK:** T1190, T1584.008
- **Data sources:** stream:http, web_proxy_logs
- **Severity:** high
- **Confidence:** high

### Splunk SPL

```spl
index=network sourcetype="stream:http" earliest=-24h http_method="SETROOTCERTIFICATE"
| eval b64_shell=if(match(coalesce(form_data,request_body,""),"(?i)base64 +(-d|--decode) *[|] *(ba|da|a)?sh"),1,0)
| stats count min(_time) as first_seen max(_time) as last_seen values(uri_path) as uri_path values(http_user_agent) as user_agent values(dest_port) as dest_port max(b64_shell) as b64_shell by src_ip dest_ip
| convert ctime(first_seen) ctime(last_seen)
| table first_seen last_seen src_ip dest_ip dest_port uri_path user_agent b64_shell count
```

### Microsoft KQL

```kql
CommonSecurityLog
| where TimeGenerated > ago(24h)
| where RequestMethod =~ "SETROOTCERTIFICATE"
| summarize Hits=count(), Urls=make_set(RequestURL, 10), UserAgents=make_set(RequestClientApplication, 5), FirstSeen=min(TimeGenerated), LastSeen=max(TimeGenerated) by SourceIP, DestinationIP, DestinationPort
| project FirstSeen, LastSeen, SourceIP, DestinationIP, DestinationPort, Hits, Urls, UserAgents
```

### Sigma

```yaml
title: ASUS AiCloud Botnet SETROOTCERTIFICATE HTTP Method (TL-2026-7532)
id: 3b6f1c52-8e4a-4d37-9a15-6c0e2f7d41a8
status: experimental
description: Detects the non-standard SETROOTCERTIFICATE HTTP method used by a self-replicating botnet targeting ASUS routers with AiCloud enabled.
references:
  - https://isc.sans.edu/diary/rss/33576
author: Threadlinqs Team
date: 2026-12-04
tags:
  - attack.initial-access
  - attack.t1190
  - attack.resource-development
  - attack.t1584.008
logsource:
  category: webserver
detection:
  selection:
    cs-method: 'SETROOTCERTIFICATE'
  condition: selection
falsepositives:
  - Custom internal applications that define a SETROOTCERTIFICATE verb (very rare)
level: high
```

**Known false positives:**

- Internal vulnerability scanners or fuzzers that send arbitrary HTTP verbs
- Custom device-management software that defines a SETROOTCERTIFICATE verb

**Tuning notes:** Adjust index/sourcetype to wherever HTTP request lines are captured (Splunk Stream, WAF, reverse proxy, mitmproxy JSON). Allowlist known internal scanner IPs. Prioritise hits where b64_shell=1 or the destination is an ASUS router or port-forwarded edge host. Also review traffic involving 73.148.200.126, which appeared as the host in the observed request; its scanner-versus-victim role is not established.

### 8 more detection rules (Splunk SPL, Microsoft KQL, Sigma), unlock with TL Creds

- Java4Shell Keycloak Probing and java4shell-recon User-Agent — Exploitation (locked: unlock with TL Creds)
- Java or Web Service Spawning Shell With Download or Decode Command — Post-Exploitation (locked: unlock with TL Creds)
- ASUS Botnet Fan-Out Scanning Across Multiple Targets — Lateral Spread (locked: unlock with TL Creds)
- Secrets and Config File Hunting (.env, .git) — Credential Discovery (locked: unlock with TL Creds)
- Long Base64 Blob Decoded and Executed via echo Pipeline — Post-Exploitation (locked: unlock with TL Creds)
- ASUS Router SETTINGS.CFG Authentication-Bypass Probe — Exploitation (locked: unlock with TL Creds)
- Base64 Decode Piped to Shell on Linux — Post-Exploitation (locked: unlock with TL Creds)
- Keycloak admin-cli Password Guessing — Brute Force (locked: unlock with TL Creds)

Sign up free to unlock the detection rules: https://threadlinqs.com/?modal=signup

## Sample indicators (1 of 9)

Defanged, TLP:CLEAR.

- IP address: `73.148.200[.]126`

Full set of 9 indicators unlocks with TL Creds: https://threadlinqs.com/tl-creds

## Sources

- [SANS ISC Diary: Exposing a Vulnerable Keycloak Server to the Internet](https://isc.sans.edu/diary/rss/33576)
- [Java4Shell: What Keycloak admins need to do (CVE-2026-114938)](https://www.keycloak.org/2026/11/java4shell-vulnerability-cve-2026-114938)
- [CVE-2026-114938 (Java4Shell) - Impact on Red Hat Single Sign-On 7.6 and Red Hat build of Keycloak](https://access.redhat.com/kb/7150203)
- [The Hacker News: CISA urges immediate patching of Java4Shell](https://thehackernews.com/2026/11/cisa-urges-immediate-patching-of.html)
- [Cloud Security Alliance research note: Java4Shell CVE-2026-114938](https://labs.cloudsecurityalliance.org/wp-content/uploads/2026/11/CSA_research_note_java4shell_cve_2026_114938_20261119-csa-styled.pdf)
- [Java4Shell Base64 flaw reaches Keycloak and PingFederate before login](https://startwithidentity.com/blog/2026-11-17-java4shell-base64-flaw-reaches-keycloak-and-pingfederate-before-login/)
- [BleepingComputer: ASUS warns of critical auth bypass flaw in routers using AiCloud (CVE-2025-2492, related context)](https://www.bleepingcomputer.com/news/security/asus-warns-of-critical-auth-bypass-flaw-in-routers-using-aicloud/)
- [The Hacker News: WrtHug exploits six ASUS WRT flaws (related context)](https://thehackernews.com/2025/11/wrthug-exploits-six-asus-wrt-flaws-to.html)

## Full data

The other 8 detection rules (Splunk SPL / Microsoft KQL / Sigma) unlock with TL Creds; a free account includes daily creds: https://threadlinqs.com/?modal=signup
Indicator values unlock with TL Creds, at a lower price on Red and Purple; AI agents can query rules and IOCs through the Threadlinqs MCP server (Purple and Gold in full, 2 calls a day on a free account): https://intel.threadlinqs.com/mcp

Canonical: https://intel.threadlinqs.com/threat/TL-2026-7532
