Security operations centers must immediately pivot defensive posture toward AI infrastructure. In a concerning evolution of threat actor TTPs, the operator tracked as JADEPUFFER has launched a second wave of attacks targeting Langflow servers. This campaign introduces ENCFORGE, a novel compiled Go malware specifically engineered to encrypt AI assets, including model weights, vector indexes, and training datasets.
This is not a standard ransomware event; it is a targeted strike on the intellectual property core of modern organizations—Large Language Models (LLMs) and AI pipelines. The active exploitation of a critical code execution flaw in Langflow to deliver ENCFORGE indicates a high level of sophistication and intent. Defenders must act now to identify vulnerable instances and hunt for indicators of this AI-specific encryption activity.
Technical Analysis
Affected Products & Platforms:
- Platform: Langflow (Python-based flow orchestration tool for LLMs). Typical deployment environments include Linux servers hosting AI workloads (CUDA environments, Jupyter hubs).
- Malware: ENCFORGE (Compiled Go binary). The use of Go provides cross-platform capabilities and complicates static analysis.
The Vulnerability & Attack Chain: While the specific CVE identifier is not yet publicly disclosed in this reporting, the attack vector relies on a critical code execution flaw within the Langflow server.
- Initial Access: The attacker exploits the Langflow vulnerability to achieve Remote Code Execution (RCE) on the host server.
- Payload Deployment: The JADEPUFFER operator deploys the ENCFORGE binary.
- Execution & Encryption: ENCFORGE scans the filesystem for AI-specific artifacts and encrypts them. Targeted file types likely include:
- Model weights (
.bin,.pt,.pth,.safetensors,.h5) - Vector indexes (
.faiss,.index,.pkl) - Training datasets (
.csv,.,.parquetwithin ML directories)
- Model weights (
- Impact: The encryption of model weights is functionally irreversible without the attacker's key, rendering the AI model useless and causing significant operational downtime and IP loss.
Exploitation Status:
- Confirmed Active Exploitation: Sysdig researchers have confirmed active in-the-wild exploitation linked to the JADEPUFFER operator.
Detection & Response
To successfully defend against ENCFORGE, security teams must monitor for unusual process activity spawned by the Langflow application and bulk file modifications on AI storage volumes.
SIGMA Rules
---
title: Potential Langflow RCE Exploitation Spawning Shell
id: 9a8b7c6d-5e4f-3a2b-1c0d-9e8f7a6b5c4d
status: experimental
description: Detects potential exploitation of Langflow leading to code execution via shell spawning.
references:
- https://thehackernews.com/2026/07/new-encforge-ransomware-targets-ai.html
author: Security Arsenal
date: 2026/07/15
tags:
- attack.initial_access
- attack.t1190
logsource:
category: process_creation
product: linux
detection:
selection_parent:
ParentImage|endswith: '/langflow'
OR ParentCommandLine|contains: 'langflow'
selection_child:
Image|endswith:
- '/sh'
- '/bash'
- '/dash'
- '/python'
condition: all of them
falsepositives:
- Legitimate administrative debugging via Langflow
level: high
---
title: ENCFORGE Ransomware - AI File Encryption Pattern
id: b1c2d3e4-f5a6-7b8c-9d0e-1f2a3b4c5d6e
status: experimental
description: Detects bulk modification or renaming of AI model file extensions, characteristic of ENCFORGE behavior.
references:
- https://thehackernews.com/2026/07/new-encforge-ransomware-targets-ai.html
author: Security Arsenal
date: 2026/07/15
tags:
- attack.impact
- attack.t1486
logsource:
category: file_change
product: linux
detection:
selection_target:
TargetFilename|endswith:
- '.bin'
- '.pt'
- '.pth'
- '.pkl'
- '.h5'
- '.index'
selection_suspicious_process:
Image|contains:
- '/tmp/'
- '/dev/shm/'
- '/var/tmp/'
condition: selection_target and selection_suspicious_process
falsepositives:
- Legitimate model training or re-saving processes
level: critical
KQL (Microsoft Sentinel / Defender)
// Hunt for suspicious process activity related to Langflow exploitation
// Join Process Creation with File Events to identify binaries modifying AI artifacts
DeviceProcessEvents
| where Timestamp > ago(7d)
| where ProcessCommandLine contains "langflow" or ProcessVersionInfoOriginalFileName contains "langflow"
| join kind=inner (
DeviceFileEvents
| where Timestamp > ago(7d)
| where ActionType in ("FileCreated", "FileModified", "FileRenamed")
| where FileName has_any (".bin", ".pt", ".pkl", ".h5", ".index")
) on InitiatingProcessSHA1, DeviceId
| project Timestamp, DeviceName, InitiatingProcessFileName, InitiatingProcessCommandLine, FileName, FolderPath, ActionType
| order by Timestamp desc
Velociraptor VQL
-- Hunt for suspicious Go binaries or recent file modifications in AI directories
-- 1. Identify processes with high entropy or unsigned Go binaries running from /tmp
SELECT Pid, Name, Exe, CommandLine, Username
FROM pslist()
WHERE Exe =~ '/tmp/'
OR Name =~ 'encforge'
-- 2. Hunt for recently modified AI model weights (last 24 hours)
SELECT FullPath, Mtime, Size, Mode
FROM glob(globs='/**/*')
WHERE Mtime > now() - 24 * 3600
AND (FullPath =~ '\.bin$'
OR FullPath =~ '\.pt$'
OR FullPath =~ '\.pkl$'
OR FullPath =~ '\.index$')
Remediation Script (Bash)
#!/bin/bash
# Security Arsenal - ENCFORGE / Langflow Incident Response Script
# Usage: sudo ./remediate_encforge.sh
# 1. Isolate the Host: Stop Langflow and block external access immediately
echo "[+] Stopping Langflow services..."
systemctl stop langflow 2>/dev/null || pkill -f "langflow"
# 2. Kill Suspicious Processes (ENCFORGE indicators)
# Look for processes spawned from /tmp, /dev/shm or matching random hex patterns typical of Go malware
echo "[+] Terminating suspicious processes from /tmp or /dev/shm..."
ps aux | awk '/\/tmp\/|\/dev\/shm\/ {print $2}' | xargs -r kill -9
# 3. Identify and Preserve Encrypted/Modified Artifacts
# Create a forensic directory
FORENSIC_DIR="/var/log/encforge_forensic_$(date +%Y%m%d_%H%M%S)"
mkdir -p "$FORENSIC_DIR"
echo "[+] Preserving recent AI file changes to $FORENSIC_DIR..."
# Find recently modified AI files in common directories (last 48 hours)
find /home /var /opt /data -type f \( -name "*.bin" -o -name "*.pt" -o -name "*.pkl" -o -name "*.h5" -o -name "*.index" \) -mtime -2 -exec ls -lah {} \; > "$FORENSIC_DIR/modified_ai_files.txt"
# 4. Patch Langflow
# NOTE: Replace 'latest_version' with the specific patched version provided by the vendor advisory
echo "[!] Checking for Langflow updates..."
# Logic to update pip package (example)
# pip install --upgrade langflow
echo "[ACTION REQUIRED] Manually verify Langflow is updated to the latest patched version from the official vendor repository."
echo "[+] Isolation complete. Preserve the $FORENSIC_DIR for forensic analysis."
Remediation
- Immediate Patching: Apply the critical security patch for Langflow immediately. Check the official Langflow repository or vendor advisory for the latest release addressing the code execution flaw. If an upgrade is not immediately possible, disable public access to the Langflow interface and restrict it to localhost only.
- Network Segmentation: AI model storage and vector databases should be placed in strict network segments. The application server (Langflow) should not have unrestricted write access to model storage directories unless explicitly required for fine-tuning operations.
- Immutable Backups: Ensure that AI model weights and datasets are backed up using immutable storage solutions (WORM storage). ENCFORGE specifically targets these files; without immutable backups, recovery is impossible without the decryption key.
- Runtime Security: Implement eBPF-based security monitoring (e.g., Cilium, Tetragon) on AI infrastructure servers to detect and block unauthorized process execution (like the Go binary used by ENCFORGE) immediately upon spawn.
Related Resources
Security Arsenal Penetration Testing Services AlertMonitor Platform Book a SOC Assessment vulnerability-management Intel Hub
Is your security operations ready?
Get a free SOC assessment or see how AlertMonitor cuts through alert noise with automated triage.