TL;DR: Exposed authentication services can let an anonymous application token escalate into administrator access, then into code execution and data exfiltration, according to Forescout's analysis of the BankWeaver campaign targeting Temenos Fabric deployments. Once trust is misplaced at the token boundary, the platform’s own extension model becomes the attacker’s execution path.
At a glance
What this is: NHI Mgmt Group's analysis, drawing on Forescout's report: BankWeaver abused an internet-exposed authentication service to turn anonymous access into administrator privileges and then deploy malicious Java components.
Why it matters: This matters because application and identity boundaries can collapse when management services accept anonymous contexts, giving attackers a direct route into platform trust, data access, and runtime control.
Context
BankWeaver shows what happens when a management or authentication service is reachable from the internet and treats anonymous access as acceptable. The platform then turns a public request into a privileged token, which means the security boundary is enforced by configuration rather than by strong identity proofing or private network placement.
In middleware and banking platforms, that design mistake is more than a login issue. It becomes an identity governance failure because the same service that should validate administrative intent can instead mint authority for anyone who can reach it.
This starting position is atypical only in its visibility, not in its mechanics: exposed control-plane services are common enough that the abuse pattern is repeatable wherever access checks are too permissive.
Key questions
Q: How should teams stop anonymous tokens from becoming privileged access?
A: Prevent anonymous tokens from being exchanged into stronger credentials without explicit policy checks, audience restriction and caller authentication. A secure token exchange flow should mint a new token with narrower scope, short lifetime and a verified subject or workload identity, rather than passing through bearer access unchanged. Log every exchange and revoke the source token if its origin is unknown.
Q: Why do exposed APIs create such a high security risk for enterprise environments?
A: Exposed APIs are risky because they often provide direct access to application logic, sensitive data, databases, and underlying services. They are also easier to deploy than they are to track, which makes shadow, zombie, and rogue APIs easy to miss. Once an API is unmanaged, attackers can probe for data exposure, abuse logic flaws, or disrupt service.
Q: How do attackers use software extensions?
A: Attackers use software extensions to run additional code inside legitimate applications, often to persist, collect data, or alter normal behaviour without creating a separate obvious process. They may abuse plug-ins, add-ons, or extension points that load automatically. Defenders should review installed extensions, allow only approved modules, and monitor for unexpected loads or updates.
Q: What should teams do when middleware hosts start spawning shells?
A: Treat shell spawning on middleware hosts as a potential compromise and contain the host immediately. Preserve volatile evidence, isolate the process, review parent-child process chains, and check for code execution paths such as unsafe command calls, injected scripts or abused service accounts. Then reimage the host, rotate exposed credentials and close the execution route.
Technical breakdown
How anonymous tokens became privileged identities
The core failure is a trust boundary mismatch. A public application flow issued an anonymous JWT, and a backend authentication service accepted that context as sufficient to mint a higher-privilege token. In effect, the service treated application reachability as proof of legitimacy. That is a classic identity boundary problem: the token exchange path becomes the real control point, not the front-end login screen. Once the attacker holds an administrative token, normal platform functions such as service creation, publication, and integration management become available under valid session semantics. See the NHI Authentication Guide.
Practical implication: Treat token exchange and privilege elevation as the control boundary, and block any path where an anonymous context can obtain administrative authority.
Why platform extension mechanisms become execution paths
Many middleware and application platforms allow administrators to upload extensions, register services, or publish Java components as part of normal operations. That flexibility is useful for integration, but it also creates a trusted execution surface. If an attacker reaches administrative functions, the extension mechanism can be abused to import payloads, register malicious services, and execute commands in the same runtime context as the application. In this case, the platform’s own service framework became the vehicle for shell execution, database querying, and persistence. The technical risk is not merely code upload, but code execution inside a legitimate lifecycle.
Practical implication: Restrict service publication, JAR import, and integration update paths to tightly controlled administrative workflows.
How attacker command-and-control blended into application traffic
Once the malicious Java components were in place, the operators used standard web requests, HTTP headers, and application endpoints to carry commands and return output. One component handled command execution and SQL queries, while the other performed host discovery and staged results locally before exfiltration. That pattern is effective because it hides inside expected application behavior: process spawning, outbound POSTs, and nonstandard ports stand out only if defenders watch the server’s runtime posture rather than just the perimeter. This is a strong example of application-layer abuse that crosses into NHI governance when credentials, service accounts, and backend privileges are inherited by the implant. See the Web Shell Response Playbook.
Practical implication: Monitor runtime behavior from middleware hosts, not just inbound requests, and alert on shell spawning, unusual outbound sessions, and service-account use.
Threat narrative
Attacker objective: The objective was to turn exposed platform trust into durable administrative access, remote command execution, and controlled data collection inside bank middleware deployments.
- Entry occurred when attackers reached a public application flow and obtained an anonymous token from an exposed authentication service.
- Escalation followed when that token was accepted by a backend service and exchanged for an administrator token without valid credentials.
- Persistence and impact came from uploading malicious Java services that executed commands, queried databases, collected host data, and exfiltrated results to command-and-control infrastructure.
Breaches seen in the wild
- Uber breach 2022: A contractor's stolen password and MFA fatigue gave a Lapsus$-linked attacker Uber's internal tools; Uber rotated keys to many services.
- ToolShell SharePoint exploitation 2025: ToolShell attackers exploited on-premises SharePoint and stole ASP.NET machine keys, keeping code execution alive after patching.
Read and download The State of NHI & AI Agent Breach Report 2026, covering 200+ breaches impacting Non-Human Identities including AI Agents.
NHI Mgmt Group analysis
Exposed management services create privilege without proof: BankWeaver shows that internet-facing administration and authentication paths become a governance failure when anonymous requests can be transformed into privileged identities. The problem is not just exposure, but exposure combined with a service that accepts weak context as if it were authenticated authority. Practitioners should treat token issuance paths as high-risk control points, not routine application plumbing.
Identity-to-administration collapse is the named failure mode here: the campaign illustrates a specific control gap where a public application context was allowed to inherit administrative capabilities inside the platform. That collapse matters because it bypasses normal IAM assumptions about user intent, credential possession, and approval boundaries. Non-human identity authentication and administrative token paths need different trust rules than user-facing login flows, or the platform will mint power for untrusted callers.
Extensible middleware needs lifecycle controls, not just code controls: once the attackers reached the service layer, the platform’s extension mechanism gave them a legitimate-looking way to execute arbitrary Java and query data. That means security cannot stop at web access or patching. Administrators need to govern service registration, publication, and import operations as privileged change events, because those operations can become the attacker’s execution layer.
Runtime visibility matters more than perimeter assumptions: the campaign used process spawning, outbound connections, and host discovery from application servers to hide in ordinary platform behavior. That shifts the defender’s focus from static indicators to runtime governance over what middleware is allowed to spawn, reach, and export. The right response is to treat application hosts as active identity-bearing systems whose behavior must be continuously constrained.
Banking middleware now sits at the intersection of IAM and platform abuse: the campaign is a reminder that identity governance extends into integration layers when authentication services, back-office consoles, and custom service frameworks share the same trust domain. If a platform can mint privilege from anonymous context, then account management, service authorization, and network exposure are all part of the same failure surface. Security teams should review these systems as identity infrastructure, not just application middleware.
What this signals
Middleware identity governance is now a control-plane problem: the exposed service in BankWeaver shows that administrative trust can be minted from application context if the backend accepts the wrong proof. That means security programmes need to govern token issuance, service registration, and management exposure together instead of treating them as separate layers.
Service publication is the new privilege boundary: when a platform allows imported code to run under trusted application identity, the real security question becomes who can register what, not just who can log in. Teams should assume that service publication, JAR import, and integration workflows deserve the same scrutiny as privileged account changes.
Host behaviour becomes the best indicator of compromise: once attackers move through middleware, the meaningful signals are process creation, outbound sessions, and unexpected database activity from application servers. Control requirements should therefore shift toward runtime monitoring and egress governance, especially where application servers can reach sensitive back ends.
For practitioners
- Audit anonymous-to-privileged token paths Trace every service that can exchange an anonymous application context for a higher privilege token, then require explicit authentication and policy checks before privilege elevation.
- Restrict administrative and authentication exposure Remove direct internet access from management consoles, workspace routes, import and export endpoints, and token-issuing services unless a documented business need exists.
- Monitor service registration and package import events Alert on ZIP imports, JAR registration, service publication, and integration update operations because those are the change points attackers abused to install code.
- Harden middleware egress and process spawning Block or investigate Java and Tomcat processes that launch shells, downloaders, archive tools, or unusual network utilities, especially when they use long-lived sessions or nonstandard ports.
- Rotate every credential touched by the platform Invalidate sessions, client credentials, service-account secrets, database passwords, and any values found in logs or compiled artifacts after exposure is confirmed.
Key takeaways
- BankWeaver shows that a public authentication path can become an administrative back door when anonymous context is treated as valid authority.
- The campaign combined privileged token abuse, malicious Java service deployment, and data collection from compromised middleware hosts.
- Preventing this class of abuse requires private management services, strict token validation, and tight control over service registration and outbound activity.
Related NHI Mgmt Group resources: NHI Authentication Guide · Web Shell Response Playbook · Website Defacement Playbook
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Non-Human Identity Top 10 and MITRE ATT&CK address the attack and risk surface, while NIST CSF 2.0 and CIS Controls v8 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Non-Human Identity Top 10 | NHI-04 — Insecure Authentication | Anonymous token acceptance is the central authentication failure in BankWeaver. |
| NHI-05 — Overprivileged NHI | The attack converted a low-trust application context into administrative power. | |
| NHI-06 — Insecure Cloud Deployment Configurations | Public exposure of management and authentication routes enabled the compromise path. | |
| Recommendation — Enforce strong authentication before any token exchange that can elevate privilege. Limit token scope so no application context can inherit admin-level access by default. Remove internet exposure from identity and management services unless strictly required. | ||
| MITRE ATT&CK | TA0006; TA0008 — Credential Access; Lateral Movement | The campaign abused token exchange and then moved through trusted platform functions. |
| Recommendation — Map token abuse and platform movement to credential-access and lateral-movement detections. | ||
| NIST CSF 2.0 | PR.AA-05 — Access Permissions, Entitlements and Authorizations | The breach depended on incorrect authorization at the service layer. |
| Recommendation — Verify that entitlement checks prevent anonymous contexts from gaining administrative permissions. | ||
| CIS Controls v8 | CIS-5 — Account Management | Privileged identities and sessions were abused after the initial token exchange. |
| Recommendation — Review account and session lifecycles for privileged middleware services and revoke what is unnecessary. | ||
Key terms
- Authentication Service: An authentication service is a system that verifies a user, device or service identity before granting access. It typically validates credentials such as passwords, certificates, tokens or assertions, then issues an authenticated session or security token for later use in access control decisions.
- Anonymous Token: An anonymous token is a token that does not carry a named user identity and is used for unauthenticated or low-trust access. It may still represent a session, client or workload, but it should not be accepted as proof of privilege unless it is explicitly exchanged for a bound identity and scoped rights.
- Administrative Token: An administrative token is a credential that carries elevated permissions for management actions. It can authorise changes to configuration, access control, data or system settings, so it is usually tightly scoped, short-lived and protected with stronger controls than ordinary user tokens.
- Java Service: A Java service is a server-side application or process written in Java that exposes business logic, APIs or background jobs. It typically runs on a JVM, uses application configuration and may authenticate to databases, queues or other services with service accounts or secrets.
Deepen your knowledge
NHI Mgmt Group covers identity security, NHI governance, and agentic AI through independent research, practitioner guides, and the NHI Foundation Level course. Explore the course when you need to connect identity governance to service accounts, tokens, and workload trust.
Published by the NHIMG editorial team on November 25, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org