Threat reportMalwareTL-2026-7132
Guardrail-Free LLM Used to Generate Ransomware (Python/Go) Evading 65 of 73 Legacy AV Engines on VirusTotal
Deep Instinct reports a live Black Hat demonstration in which a guardrail-free LLM generated ransomware in Python, later recompiled in Go, that most legacy AV engines on VirusTotal did not flag (Python: 8/73 detected; Go: 13/73 detected). The claims are vendor-sourced and the demo malware is not attributed to any threat actor. First disclosed .
Key facts
| Identifiers | TL-2026-7132 |
|---|---|
| Severity | MEDIUM |
| First disclosed | |
| Affected products | Multiple Signature-based and reactive-ML endpoint AV/EDR on Windows |
| Malware | LLM-generated Go ransomware recompile (unnamed demo sample), LLM-generated Python ransomware (unnamed demo sample), Python |
| Tools | EDRKillShifter, Guardrail-free ('Dark AI') LLM |
| MITRE ATT&CK techniques | T1027.013 Obfuscated Files or Information: Encrypted/Encoded File, T1027.014 Obfuscated Files or Information: Polymorphic Code, T1059.006 Command and Scripting Interpreter: Python, T1497.003 Virtualization/Sandbox Evasion: Time Based Checks, T1587.001 Develop Capabilities: Malware, T1588.007 Obtain Capabilities: Artificial Intelligence, T1685 Disable or Modify Tools |
| Motivation | UNKNOWN |
| Detection rules | 9 (1 shown free) |
| Sources | 8 cited sources |
Detection coverage
As of 2026-12-01, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-7132 across Splunk SPL, Microsoft KQL and Sigma, covering 6 indicator(s) of compromise. The whole corpus is readable without an account. Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Paid plans add a larger daily allowance, correlation and the MCP server. Threadlinqs MCP server · View plans.
Free detection: TL-2026-7132 LLM-Generated Python Ransomware - Python Interpreter Execution From User-Writable Path or With Crypto/File-Walk/Sleep Arguments
Detects the Python interpreter (python.exe, pythonw.exe, py.exe) launched from user-writable locations (AppData, ProgramData, Windows\Temp, Users\Public) or with command-line arguments typical of a file-encrypting script: os.walk directory traversal (file and directory discovery, T1083), cryptography/Crypto.Cipher/Fernet usage, and time.sleep delays. This is the execution stage of the LLM-generated Python ransomware demo sample described in TL-2026-7132 (T1059.006) and the sandbox-evading sleep behaviour DIANNA attributed to it (T1497.003). The sample is unnamed and has no published hashes, so the rule is behaviour-first. Vendor-sourced claim; the demo is not attributed to any actor.
- Languages: Splunk SPL, Microsoft KQL, Sigma
- ATT&CK: T1059.006, T1497.003, T1083
- Data sources: sysmon, microsoft_defender_xdr
- Severity: medium
- Confidence: medium
Splunk SPL
index=sysmon sourcetype="XmlWinEventLog:Microsoft-Windows-Sysmon/Operational" EventCode=1 earliest=-24h
| eval img=lower(Image), cmd=lower(CommandLine)
| where match(img,"[^a-z0-9]python[0-9]*w?[.]exe$") AND (match(img,"(appdata|programdata|windows.temp|users.public)") OR match(cmd,"(os[.]walk|cryptography|crypto[.]cipher|fernet|time[.]sleep)"))
| stats count min(_time) as first_seen max(_time) as last_seen values(ParentImage) as parents values(CommandLine) as cmdlines by Computer User Image
| eval first_seen=strftime(first_seen,"%Y-%m-%d %H:%M:%S"), last_seen=strftime(last_seen,"%Y-%m-%d %H:%M:%S")
| table first_seen last_seen Computer User Image parents cmdlines countMicrosoft KQL
DeviceProcessEvents
| where Timestamp > ago(24h)
| where FileName in~ ('python.exe','pythonw.exe','py.exe')
| where FolderPath has_any ('appdata','programdata','temp','public') or ProcessCommandLine matches regex '(?i)(os[.]walk|cryptography|crypto[.]cipher|fernet|time[.]sleep)'
| project Timestamp, DeviceName, AccountName, FileName, FolderPath, ProcessCommandLine, InitiatingProcessFileName, InitiatingProcessCommandLine, SHA256
| order by Timestamp descSigma
title: Python Interpreter Executing From User-Writable Path Or With Crypto/File-Walk/Sleep Arguments
id: 3f6a1c52-8d47-4b19-9e0a-5c7d21b8a401
status: experimental
description: Detects python.exe, pythonw.exe or py.exe launched from user-writable directories or with arguments typical of a file-encrypting script (os.walk, cryptography, Crypto.Cipher, Fernet, time.sleep). Behavioural coverage for LLM-generated Python ransomware (TL-2026-7132).
references:
- https://www.deepinstinct.com/blog/black-hat-hacker-uses-guardrail-free-LLM-to-create-malware-that-evades-legacy-cyber
author: Threadlinqs Team
date: 2026-12-01
tags:
- attack.execution
- attack.t1059.006
- attack.defense-evasion
- attack.t1497.003
- attack.discovery
- attack.t1083
logsource:
category: process_creation
product: windows
detection:
selection_img:
Image|endswith:
- '\python.exe'
- '\pythonw.exe'
- '\py.exe'
selection_path:
Image|contains:
- '\AppData\'
- '\ProgramData\'
- '\Windows\Temp\'
- '\Users\Public\'
selection_cmd:
CommandLine|contains:
- 'os.walk'
- 'cryptography'
- 'Crypto.Cipher'
- 'Fernet'
- 'time.sleep'
condition: selection_img and (selection_path or selection_cmd)
falsepositives:
- Developers and data scientists running Python from per-user installs under AppData
- Legitimate automation or backup scripts that use the cryptography library
level: medium
Known false positives:
- Developers and data scientists running Python from per-user installs under AppData
- Legitimate automation or backup scripts that use the cryptography library or os.walk
Tuning notes: Per-user Python installs (AppData\Local\Programs\Python) are noisy on developer hosts; exclude those hosts or known script paths, or require both the path and the command-line condition. Sleep and CPU-tick evasion happen inside the process and are not visible in process telemetry, so time.sleep and os.walk only appear when passed on the command line (python -c). Replace the sysmon index with the local Sysmon index name.
- TL-2026-7132 Executable Variant Churn - Same User-Writable Path Executed With 3+ Distinct SHA256 Hashes in 24h · unlock with TL Creds
- TL-2026-7132 Microsoft Defender Protection Disabled via Registry Policy or Preference Value · unlock with TL Creds
- TL-2026-7132 Ransomware File Rename Burst - 100+ Files Renamed to a New Extension per Minute Across Multiple Directories · unlock with TL Creds
- TL-2026-7132 PyInstaller-Frozen Python Payload Extracting Crypto Libraries to _MEI Temp Directory · unlock with TL Creds
- TL-2026-7132 Kernel Driver Loaded From User-Writable Path (EDRKillShifter-Style EDR Killer Driver) · unlock with TL Creds
- TL-2026-7132 Delay Command (timeout, ping -n, Start-Sleep) Spawned by Python or User-Path Executable (Sandbox Time-Evasion Proxy) · unlock with TL Creds
- TL-2026-7132 Security-Tool Process/Service Termination via taskkill, sc, net, wmic or PowerShell · unlock with TL Creds
- TL-2026-7132 Mass File Creation or Overwrite Burst Across Many Directories by Non-System Process (Ransomware Encryption) · unlock with TL Creds
Indicators of compromise
As of 2026-12-01, Threadlinqs Intelligence tracks 6 indicators of compromise for TL-2026-7132.
Technical analysis
A Deep Instinct blog post dated 2025-10-08, written by Brian Black (VP Cloud Technology & Ecosystem), describes a live Black Hat demonstration run by senior solutions engineer Ryan Heath. In the demo, a guardrail-free ('Dark AI') LLM was prompted to produce fully executable ransomware in Python, reportedly in about 30 seconds. The prompt asked for strong encryption, self-exclusion from encryption, skipping files the process lacks permission to touch, and AV-evasion techniques such as those used by EDRKillShifter. The post does not name the LLM.
The resulting sample was uploaded to VirusTotal. Per the post, 8 of 73 engines flagged the Python build and 65 did not. A second version recompiled in Go was flagged by 13 engines. The post says the engines that caught one build tended to miss the other, so only Deep Instinct's deep learning engine (DSX Brain) detected both. Deep Instinct says its engine flagged the Python build immediately after compilation.
Deep Instinct's DIANNA malware-explainability assistant (DSX Companion) attributed these behaviors to the sample: sleep calls intended to evade sandbox analysis, CPU tick monitoring to detect increased AV scanning activity, termination of other security-tool processes, and encrypted sections that hide imports. The author also claims to have produced more than 700 working variants of a single exploit within 24 hours, each bypassing legacy AV in their test environment.
The post cites Check Point Research's Nimbus Manticore report (Iran-linked, targeting European aerospace, defense, manufacturing and telecom) only as an example of low initial VirusTotal detection of real-world malware. Nimbus Manticore is not linked to the demo ransomware. The post cites a Forescout statistic that 55% of AI models failed to create working exploits; Forescout's own study reports that figure as the failure rate for a basic vulnerability research task, and 93% failing the harder exploit development task.
Caveats: single vendor source with marketing framing; no CVEs, hashes, network indicators, malware family name, LLM name or in-the-wild exploitation are stated; independent verification of the 65/73 result was not found. The defensive relevance is that LLM-generated ransomware and rapid variant generation can erode signature- and reactive-ML-based detection, which favors behavioral detection, pre-execution prevention and consistency of detection across rebuilds in different languages.
MITRE ATT&CK techniques by tactic:
Defense Evasion
T1027.013 Obfuscated Files or Information: Encrypted/Encoded File; T1027.014 Obfuscated Files or Information: Polymorphic Code; T1497.003 Virtualization/Sandbox Evasion: Time Based Checks
Execution
T1059.006 Command and Scripting Interpreter: Python
Resource Development
T1587.001 Develop Capabilities: Malware; T1588.007 Obtain Capabilities: Artificial Intelligence
defense-impairment
Remediation
Immediate actions
- Enable behavioral and pre-execution prevention on endpoints rather than relying on signature-only detection
- Alert on processes that terminate or tamper with security-tool processes
- Alert on mass file modification and rename activity by newly created Python or Go executables
- Restrict execution of unsigned, newly compiled binaries from user-writable paths
Workarounds
- Enable tamper protection on EDR and AV agents to resist process termination
- Apply application allowlisting to block unapproved executables and interpreters
Longer-term hardening
- Measure detection consistency across rebuilds of the same payload in different languages, not only single-sample efficacy
- Prioritize explainability tooling so SOC analysts can quickly assess why a file was blocked
- Maintain tested offline backups and ransomware recovery procedures
- Include LLM-generated and rapidly mutated variants in purple-team detection validation
Affected and fixed versions
- Multiple — Signature-based and reactive-ML endpoint AV/EDR on Windows
Vulnerable versions: Legacy AV engines that did not flag the demo samples on VirusTotal (65 of 73 for Python, 60 of 73 for Go)
Timeline
- Deep Instinct launches DIANNA, its generative-AI malware-analysis assistant, which later produced the behavioral analysis of the demo sample.
- Deep Instinct publishes 'Uncovering Obfuscated Malware', a DIANNA analysis post cited in related coverage.
- Check Point Research's Nimbus Manticore report is covered by the press; Deep Instinct later cites it as an example of low early VirusTotal detection. The group is not linked to the demo malware.
- As reported in the post, the Go recompile is flagged by 13 VirusTotal engines; the engines detecting each build differ, and only Deep Instinct detected both. The author also claims 700+ working variants of one exploit in 24 hours.
- As reported in the post, the Python ransomware build is flagged by 8 of 73 VirusTotal engines (65 did not detect it); Deep Instinct's engine flagged it immediately after compilation.
- Deep Instinct publishes the post describing the Black Hat live demo of guardrail-free LLM ransomware generation (exact demo date not stated in the source).
Sources cited
- Watch a Black Hat Hacker Use a Guardrail-Free LLM to Create Malware That Evades 65 of 73 Legacy Cyber Tools deepinstinct.com · Vendor report · 2025-10-08
- Deep Instinct: Uncovering Obfuscated Malware with DIANNA deepinstinct.com · Vendor report · 2025-05-22
- Meet DIANNA: Your Expert AI Cyber Analyst deepinstinct.com · Vendor report
- Check Point Research: Nimbus Manticore Deploys New Malware Targeting Europe Check Point Research · Research · 2025-09-23
- Forescout: Artificial Exploits, Real Limitations - How AI Cyber Attacks Fall Short forescout.com · Research
- AWS Machine Learning Blog: Build AI-powered malware analysis using Amazon Bedrock with Deep Instinct aws.amazon.com · Blog
- The Register: Iran targeting European aerospace The Register · News · 2025-09-23
- Help Net Security: Deep Instinct DIANNA provides malware analysis for unknown threats Help Net Security · News · 2024-05-02
Previous and next in malware
AI-drafted from 8 cited sources; published ; last updated —.