Threat reportThreat IntelligenceTL-2026-3765
Fox-IT Research: EDR Evasion via Custom Bytecode Virtual Machine (Malware Virtualisation)
Fox-IT (NCC Group) red-team research describes a custom bytecode virtual machine that runs payloads as encrypted, polymorphic VM instructions instead of native x86-64 code to evade EDR. It is offensive technique research, not an observed in-the-wild campaign; no CVEs, IOCs or attribution are stated in the source. First disclosed .
Key facts for Malware Virtualisation
| Identifiers | TL-2026-3765 |
|---|---|
| Also known as | Malware Virtualisation, Bytecode VM EDR Evasion |
| Severity | MEDIUM |
| First disclosed | |
| Exploitation status | No known exploitation |
| Affected products | Various Endpoint Detection and Response (EDR) products |
| Tools | Centurion, Fox-IT malware virtualisation tool, iced-x86 |
| MITRE ATT&CK techniques | T1021 Remote Services, T1027 Obfuscated Files or Information, T1027.013 Encrypted/Encoded File, T1027.014 Polymorphic Code, T1071.001 Web Protocols, T1071.004 DNS, T1087.002 Domain Account, T1106 Native API, T1140 Deobfuscate/Decode Files or Information, T1547 Boot or Logon Autostart Execution, T1587.001 Malware, T1620 Reflective Code Loading and 1 more in the attack flow |
| Motivation | UNKNOWN |
| Detection rules | 9 (1 shown free) |
| Sources | 7 cited sources |
Detection coverage for Malware Virtualisation
As of 2026-10-16, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-3765 across Splunk SPL, Microsoft KQL and Sigma, covering 3 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: Bytecode VM Loader - Unbacked-Memory Process Access (TL-2026-3765 / T1620)
Behaviour-first detection of native API calls (T1106) issued from unbacked memory with write-capable access to another process. A custom bytecode VM (Fox-IT malware virtualisation, Centurion) executes payload logic through a small interpreter stub in anonymous memory, so Sysmon call traces show UNKNOWN frames. Static signatures fail against the polymorphic bytecode; this keys on the in-memory execution side effect instead.
- Languages: Splunk SPL, Microsoft KQL, Sigma
- ATT&CK: T1620, T1106, T1027
- Data sources: sysmon
- Severity: medium
- Confidence: medium
Splunk SPL
index=sysmon sourcetype="XmlWinEventLog:Microsoft-Windows-Sysmon/Operational" EventCode=10 CallTrace="*UNKNOWN*" earliest=-24h
```comment: TL-2026-3765 bytecode-VM loader - native API calls issued from unbacked (non-module) memory, T1620/T1106```
| where SourceImage!=TargetImage
| search GrantedAccess IN ("0x1F3FFF","0x1FFFFF","0x1F0FFF","0x143A")
| search NOT SourceImage IN ("C:\\Windows\\System32\\*","C:\\Windows\\SysWOW64\\*","C:\\Program Files\\Windows Defender\\*","*\\MsMpEng.exe")
| stats count dc(TargetImage) as target_count values(TargetImage) as target_images values(GrantedAccess) as access_masks min(_time) as first_seen max(_time) as last_seen by Computer SourceImage
| where count>=3
| convert ctime(first_seen) ctime(last_seen)Microsoft KQL
DeviceEvents
| where Timestamp > ago(24h)
| where ActionType in ("NtAllocateVirtualMemoryRemoteApiCall", "WriteProcessMemoryApiCall", "CreateRemoteThreadApiCall", "QueueUserApcRemoteApiCall", "SetThreadContextRemoteApiCall", "NtMapViewOfSectionRemoteApiCall")
| where InitiatingProcessFolderPath !startswith @"C:\Windows\System32" and InitiatingProcessFolderPath !startswith @"C:\Program Files"
| summarize ApiTypes=dcount(ActionType), Actions=make_set(ActionType), TargetProcesses=make_set(FileName, 10), FirstSeen=min(Timestamp), LastSeen=max(Timestamp) by DeviceName, InitiatingProcessFileName, InitiatingProcessFolderPath, InitiatingProcessSHA256
| where ApiTypes >= 3
| project DeviceName, InitiatingProcessFileName, InitiatingProcessFolderPath, InitiatingProcessSHA256, Actions, TargetProcesses, FirstSeen, LastSeenSigma
title: Bytecode VM Loader - Process Access From Unbacked Memory (TL-2026-3765)
id: 4c1e7a52-9b3d-4f0a-8e61-2d7a5b9c3f10
status: experimental
description: Detects process access with full or write-capable rights where the call trace contains UNKNOWN frames, meaning native API calls issued from memory not backed by a module. Matches the in-memory interpreter stubs of malware-virtualisation loaders (Fox-IT, Centurion).
references:
- https://blog.fox-it.com/2024/09/25/red-teaming-in-the-age-of-edr-evasion-of-endpoint-detection-through-malware-virtualisation/
- https://attack.mitre.org/techniques/T1620/
author: AII-Detector — ThreadLinqs Intelligence
date: 2026/10/16
tags:
- attack.defense-evasion
- attack.t1620
- attack.execution
- attack.t1106
- attack.t1027
logsource:
category: process_access
product: windows
detection:
selection:
CallTrace|contains: 'UNKNOWN'
GrantedAccess:
- '0x1F3FFF'
- '0x1FFFFF'
- '0x1F0FFF'
- '0x143A'
filter_main_system:
SourceImage|startswith:
- 'C:\Windows\System32\'
- 'C:\Windows\SysWOW64\'
- 'C:\Program Files\Windows Defender\'
condition: selection and not 1 of filter_main_*
falsepositives:
- JIT-compiled runtimes (.NET, Java, browsers) and some security or DRM products legitimately call from unbacked memory
- Legitimate debuggers and game anti-cheat software
level: medium
Known false positives:
- JIT runtimes (.NET, Java, Chromium) and AV/EDR or DRM products making calls from unbacked memory
- Debuggers and game anti-cheat drivers opening processes with full access
Tuning notes: Baseline SourceImage values for 7 days and add a lookup allow-list of known JIT or security vendors; raise the count threshold on noisy hosts; scope to servers and high-value workstations first.
- Executable Memory Allocate/Protect Bursts - VM Dispatch Decrypt/Re-encrypt Cycling (TL-2026-3765 / T1140) · unlock with TL Creds
- AV/EDR Tampering - Service Control and Defender Preference Changes (TL-2026-3765 / T1562.001) · unlock with TL Creds
- Low-Jitter Periodic HTTP(S) Beaconing By Non-Browser Process (TL-2026-3765 / T1071.001) · unlock with TL Creds
- iced-x86 Library Loaded Outside Developer Context (TL-2026-3765 / T1587.001) · unlock with TL Creds
- LDAP Enumeration From User-Writable Binary (TL-2026-3765 / T1087.002) · unlock with TL Creds
- Lateral Movement Protocols From User-Writable Binary (TL-2026-3765 / T1021) · unlock with TL Creds
- Run-Key Persistence Launching From User-Writable Paths (TL-2026-3765 / T1547) · unlock with TL Creds
- DNS Beacon Fan-Out With Long Encoded Subdomains (TL-2026-3765 / T1071.004) · unlock with TL Creds
Indicators of compromise for Malware Virtualisation
As of 2026-10-16, Threadlinqs Intelligence tracks 3 indicators of compromise for TL-2026-3765.
How Malware Virtualisation works
Fox-IT authors Boudewijn Meijer and Rick Veldhoven published (2024-09-25, page updated 2026-05-21) the evolution of an in-house evasive payload-delivery tool used in red-team engagements. Moving beyond in-memory execution of native payloads, the tool executes malicious logic as bytecode in a custom virtual machine so that real native instructions of the payload never exist in memory in recognizable form.
VM design: a simple, position-independent interpreter with a fixed 18-byte instruction format (opcode, operand types, two 64-bit operands), 17 registers (x86-64 general-purpose registers plus GS), and a virtual stack separate from the real thread stack to avoid stack-inspection heuristics. A context structure holds the instruction pointer, flags, registers, bytecode buffer pointer and stack. Instructions are encrypted in place: the dispatch loop decrypts each instruction before execution and re-encrypts it afterwards, so the instruction size must stay constant and no fully decrypted bytecode image exists at rest.
Evasion features: (1) a polymorphic engine, in use at Fox-IT since 2015, with instruction substitution, basic-block reordering, basic-block creation via jumps/push-ret chains and NOP insertion, whose output can be fed back into itself for iterative mutation; (2) concurrent execution of several VMs on the same thread (a malicious VM interleaved with a VM generating benign events) to disrupt behavioural, event-pattern-based detection; (3) a transpiler that compiles C/C++ to x86 and uses the iced-x86 disassembly library to convert instructions into the custom bytecode, allowing existing position-independent code tools and Beacon Object Files to be ported. Native API calls are made through variadic C++ templates that place the argument count in RCX; callbacks use tagged function pointers (0xDEADBEEF markers) to distinguish bytecode from native targets; DLL entry follows DllMain semantics; user arguments are passed as an encrypted key-value structure.
Reported results: the approach was used successfully in heavily monitored environments with state-of-the-art EDR, delivering persistence modules, lateral-movement tools, shellcode/bytecode executors, AV/EDR patchers, HTTP(S) and DNS beacons and Active Directory query tools. Stated limitations: no dynamic control flow (indirect calls/jumps, RET), position-independent code only, no static variables, globals, strings or library dependencies.
Defender relevance: the source gives no detection guidance. Related public research (Praetorian Centurion, 2026-06-09; Splunk analysis of Vidar's virtualized code, 2026-09-08) shows the same concept of VM-protected payloads; defenders should focus on behavioural and memory-structure detection (small interpreter stubs, fixed-width dispatch loops, anomalous in-memory executable regions with high-entropy data, hidden VM infrastructure) rather than static signatures. No atomic IOCs exist for this technique; the IOC list contains technique/tool artifacts documented in the source. Severity is an analyst estimate.
MITRE ATT&CK techniques by tactic:
Lateral Movement
Defense Evasion
T1027 Obfuscated Files or Information; T1027.013 Encrypted/Encoded File; T1027.014 Polymorphic Code; T1140 Deobfuscate/Decode Files or Information; T1620 Reflective Code Loading
Command and Control
T1071.001 Web Protocols; T1071.004 DNS
Discovery
Execution
Persistence
T1547 Boot or Logon Autostart Execution
Resource Development
defense-impairment
Remediation for Malware Virtualisation
Immediate actions
- Validate EDR coverage for in-memory execution and anonymous executable memory regions using red-team or purple-team exercises
- Review detections that rely only on static signatures or single-event patterns; add behavioural correlation
Workarounds
- Application allow-listing to limit unsigned loaders and unknown executables that could host an in-memory VM
Longer-term hardening
- Develop memory-scanning and behavioural detections for interpreter/dispatch-loop structures and fixed-width custom instruction streams
- Correlate process telemetry across a single thread for interleaved benign and suspicious API activity
- Enable memory-integrity and exploit-protection features (e.g. restricting dynamic code generation) where operationally feasible
Affected and fixed versions
- Various — Endpoint Detection and Response (EDR) products
Timeline of Malware Virtualisation
- Fox-IT states its polymorphic engine has been in use since 2015 (year only stated in source)
- Fox-IT publishes 'Red Teaming in the age of EDR: Evasion of Endpoint Detection Through Malware Virtualisation' by Boudewijn Meijer and Rick Veldhoven
- Fox-IT blog post shown as updated on 2026-05-21
- Praetorian publishes locked-ioc-2, a virtualized loader running payloads as bytecode in a custom 18-byte-instruction VM
- Splunk Threat Research Team publishes analysis of Vidar malware using virtualized code for string encryption
- Threat record researched and added to the Threadlinqs platform as technique research
Sources cited for Malware Virtualisation
- MITRE ATT&CK T1027 Obfuscated Files or Information MITRE · Advisory
- MITRE ATT&CK T1027.014 Polymorphic Code MITRE · Advisory
- MITRE ATT&CK T1620 Reflective Code Loading MITRE · Advisory
- Red Teaming in the age of EDR: Evasion of Endpoint Detection Through Malware Virtualisation (Fox-IT) blog.fox-it.com · Research · 2024-09-25
- Centurion: virtualized loader (Praetorian) praetorian.com · Research · 2026-06-09
- Peeling Back the Layers: Inside Vidar - From Virtualized Code to Stolen Credentials (Splunk) splunk.com · Vendor report · 2026-09-08
- iced-x86 disassembler/assembler library GitHub · Code repository
Previous and next in threat intel
Drafted by the Threadlinqs research pipeline from 7 sources; published ; last updated —.