Skip to navigation

Threat reportThreat IntelligenceTL-2026-7299

Bishop Fox Research: Obfuscated Mythic Apollo (.NET) Agent Forks Evading EDR/AV Static and Heuristic Detection

lowMONITORING

Bishop Fox (Rob Antonucci) describes forking Mythic's Apollo .NET agent and building a custom .NET obfuscation pipeline that, per the authors, evaded Elastic YARA rule Multi_Trojan_Mythic_4beb7e17 and Microsoft Defender's Wacatac heuristic in their tests. This is authorized red-team tooling research; no threat-actor activity is attributed and no CVE is involved. First disclosed .

By

Key facts

IdentifiersTL-2026-7299
Also known asObfuscated Apollo fork, From Fork to Framework
SeverityLOW
First disclosed
Affected productsMythic / MythicAgents Apollo agent (Windows, C#, .NET Framework 4.0)
MalwareApollo, DeathRansom, GetMythicUUID, IMythicMessage, Multi_Trojan_Mythic_4beb7e17, Mythic Apollo, c2_profile, file_browser, get_tasking, is_file, is_screenshot, post_response
MITRE ATT&CK techniquesT1027 Obfuscated Files or Information, T1027.004 Compile After Delivery, T1027.013 Encrypted/Encoded File, T1036 Masquerading, T1055 Process Injection, T1071.001 Web Protocols, T1106 Native API, T1127.001 MSBuild, T1574.014 AppDomainManager, T1587.001 Malware, T1588.002 Tool, T1622 Debugger Evasion
MotivationUNKNOWN
Detection rules9 (1 shown free)
Sources6 cited sources

Detection coverage

As of 2026-12-02, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-7299 across Splunk SPL, Microsoft KQL and Sigma, covering 20 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: Mythic Apollo Fork - Suspicious MSBuild Inline Task Execution (Exploitation/Execution)

Detects MSBuild.exe started by scripting or Office parents, against project files in user-writable paths, or against non-project file extensions. This is the MSBuild XML payload execution pattern (T1127.001, T1027.004) described in the Bishop Fox research on obfuscated Mythic Apollo (.NET) forks (TL-2026-7299). Static signatures such as Elastic Multi_Trojan_Mythic_4beb7e17 are reported to miss these forks, so behavioural coverage of the execution proxy matters.

  • Languages: Splunk SPL, Microsoft KQL, Sigma
  • ATT&CK: T1127.001, T1027.004
  • Data sources: sysmon:process_creation (XmlWinEventLog:Microsoft-Windows-Sysmon/Operational EventCode=1), Microsoft Defender for Endpoint DeviceProcessEvents
  • Severity: medium
  • Confidence: medium

Splunk SPL

index=sysmon sourcetype="XmlWinEventLog:Microsoft-Windows-Sysmon/Operational" EventCode=1 OriginalFileName="MSBuild.exe" earliest=-24h NOT (ParentImage="*devenv.exe" OR ParentImage="*vcpkgsrv.exe")
```comment
Mythic Apollo forks (TL-2026-7299) abuse MSBuild inline task XML to run .NET payloads, T1127.001
```
| eval parent_l=lower(ParentImage), cmd_l=lower(CommandLine)
| eval susp_parent=if(match(parent_l,"(?i).(cmd|powershell|pwsh|wscript|cscript|mshta|rundll32|wmiprvse|winword|excel|outlook|wmic)[.]exe$"),1,0)
| eval susp_project=if(match(cmd_l,"(?i).(users.public|programdata|windows.temp|perflogs|appdata.local.temp|downloads)."),1,0)
| eval susp_ext=if(match(cmd_l,"[.](xml|tmp|dat|txt|log|png|jpg)([^a-z0-9]|$)"),1,0)
| where susp_parent=1 OR susp_project=1 OR susp_ext=1
| stats count min(_time) as first_seen max(_time) as last_seen values(CommandLine) as command_lines values(ParentImage) as parent_images max(susp_parent) as susp_parent max(susp_project) as susp_project max(susp_ext) as susp_ext by host User
| convert ctime(first_seen) ctime(last_seen)

Microsoft KQL

DeviceProcessEvents
| where Timestamp > ago(24h)
| where FileName =~ 'MSBuild.exe' or ProcessVersionInfoOriginalFileName =~ 'MSBuild.exe'
| where InitiatingProcessFileName !in~ ('devenv.exe', 'vcpkgsrv.exe', 'MSBuild.exe')
| extend SuspParent = InitiatingProcessFileName in~ ('cmd.exe', 'powershell.exe', 'pwsh.exe', 'wscript.exe', 'cscript.exe', 'mshta.exe', 'rundll32.exe', 'wmiprvse.exe', 'winword.exe', 'excel.exe', 'outlook.exe', 'wmic.exe')
| extend SuspPath = ProcessCommandLine matches regex @'(?i).(users.public|programdata|windows.temp|perflogs|appdata.local.temp|downloads).'
| extend SuspExt = ProcessCommandLine matches regex @'(?i)[.](xml|tmp|dat|txt|log|png|jpg)([^a-z0-9]|$)'
| where SuspParent or SuspPath or SuspExt
| project Timestamp, DeviceName, AccountName, FileName, ProcessCommandLine, InitiatingProcessFileName, InitiatingProcessCommandLine, InitiatingProcessFolderPath, SHA256, SuspParent, SuspPath, SuspExt

Sigma

title: Mythic Apollo Fork - Suspicious MSBuild Inline Task Execution
id: 6f1c2a54-3b7e-4d0a-9c5e-8a1d2f7b9e31
status: experimental
description: Detects MSBuild.exe launched from scripting or Office parents, against project files in user-writable paths, or against non-project file extensions. Matches the MSBuild XML payload execution pattern described for obfuscated Mythic Apollo forks (TL-2026-7299).
references:
  - https://bishopfox.com/blog/what-modifying-apollo-taught-us-about-agent-evasion
  - https://attack.mitre.org/techniques/T1127/001/
author: Threadlinqs Team
date: 2026-12-02
tags:
  - attack.defense-evasion
  - attack.t1127.001
  - attack.t1027.004
  - attack.s0699
logsource:
  category: process_creation
  product: windows
detection:
  sel_img:
    OriginalFileName: 'MSBuild.exe'
  susp_parent:
    ParentImage|endswith:
      - '\cmd.exe'
      - '\powershell.exe'
      - '\pwsh.exe'
      - '\wscript.exe'
      - '\cscript.exe'
      - '\mshta.exe'
      - '\rundll32.exe'
      - '\wmiprvse.exe'
      - '\winword.exe'
      - '\excel.exe'
      - '\outlook.exe'
      - '\wmic.exe'
  susp_path:
    CommandLine|re: '(?i).(users.public|programdata|windows.temp|perflogs|appdata.local.temp|downloads).'
  susp_ext:
    CommandLine|re: '(?i)[.](xml|tmp|dat|txt|log|png|jpg)([^a-z0-9]|$)'
  filter_dev:
    ParentImage|endswith:
      - '\devenv.exe'
      - '\vcpkgsrv.exe'
      - '\MSBuild.exe'
  condition: sel_img and 1 of susp_* and not filter_dev
falsepositives:
  - Build servers and developer workstations running MSBuild from scripts or CI agents
  - Software installers invoking MSBuild with generated project files
level: medium

Known false positives:

  • Build servers, CI agents and developer workstations legitimately launching MSBuild from scripts or from project paths under user profiles
  • Installers or packaging tools that invoke MSBuild with generated .xml/.tmp project files

Tuning notes: Restrict to non-developer hosts first (MSBuild should be rare on general endpoints, per the research workaround). Add known build-server hostnames and CI parent processes to an exclusion lookup. Tighten susp_ext/susp_path if developer source trees under C:\Users generate noise.

8 more detection rules (Splunk SPL, Microsoft KQL, Sigma) · unlock with TL Creds. Sign up free to unlock the detection rules or query them with the Threadlinqs MCP server (Purple and Gold in full, 2 calls a day on a free account)
  • Mythic Apollo - AppDomainManager Hijack via Environment Variable or exe.config (Exploitation/Persistence) · unlock with TL Creds
  • Mythic Apollo - Remote Process [indicator] API Chain from User-Path Process (Post-Exploitation) · unlock with TL Creds
  • Mythic Apollo - Periodic HTTP(S) Beaconing from User-Path Process (C2) · unlock with TL Creds
  • Mythic Apollo Fork - Unsigned Binary in User-Writable Path Loading the .NET CLR (Exploitation) · unlock with TL Creds
  • Mythic Apollo Fork - Obfuscation and Build Tooling Artifacts on Non-Developer Host (Post-Exploitation/Tooling) · unlock with TL Creds
  • Mythic Apollo Fork - MSBuild Outbound Network Connection to Non-Microsoft Public Host (C2) · unlock with TL Creds
  • Mythic Apollo - Sacrificial Process Spawned Without Arguments by User-Path Parent (Post-Exploitation) · unlock with TL Creds
  • Mythic Apollo - HTTP C2 Beaconing and Default Profile URI in Proxy Logs (C2) · unlock with TL Creds

Indicators of compromise

As of 2026-12-02, Threadlinqs Intelligence tracks 20 indicators of compromise for TL-2026-7299.

20 indicators of compromise · unlock with TL Creds. Compare plans

Technical analysis

Bishop Fox published 'From Fork to Framework: What Modifying Apollo Taught Us About Agent Evasion' on 2026-09-18. The authors forked Apollo, the Windows .NET agent for the open-source Mythic C2 framework, to meet red-team goals such as application allowlisting bypass, AppDomain injection and MSBuild XML payload execution against a well-known EDR product. Fork work ran from roughly July 2025 to February 2026, with commits dated 2025-08-07 to 2026-03-31. Later custom agents were tested from March to September 2026.

The authors built a custom obfuscator on dnlib (IL transformations) and AsmResolver (post-write PE patching) and replaced Costura.Fody with ILRepack so a single merged assembly could be processed. The article describes, at a high level: symbol and namespace renaming from a pool of over 450 enterprise-style names, per-build rolling-XOR string encryption, removal of compiler/debugger attributes and ILRepack/ILMerge/Costura artifacts, PE version resource rewriting, and further passes in a 16-step pipeline (dead code injection, control-flow flattening, anti-debug injection; some experimental passes disabled by default). The authors withhold the obfuscation map values.

Detections discussed: the Elastic YARA rule Multi_Trojan_Mythic_4beb7e17, which lists eleven Mythic protocol strings and fires at severity 100 when seven match (renamed fields included c2_profile, is_file, file_browser, get_tasking, post_response, is_screenshot); Microsoft Defender's Wacatac heuristic, which flagged the binary because of linked Injection and DInvokeResolver assemblies and a hardcoded User-Agent string; and SentinelOne's static engine, which flagged the identifiers IMythicMessage and GetMythicUUID (removed in a 2026-03-31 commit). The authors report the newer custom agents were not detected by Elastic, Microsoft Defender, Defender for Endpoint, CrowdStrike or SentinelOne in the environments they encountered. These are vendor-agnostic first-party claims and were not independently verified.

The article is written for red-team developers and contains little explicit defensive guidance. The defensive takeaway is that static signatures keyed on Mythic protocol field names, framework identifiers and structural patterns are brittle against rebuilt forks, so defenders should add behavioral coverage (process injection, AppDomainManager hijacking, MSBuild abuse, anomalous .NET assembly loads, HTTP C2 beaconing patterns) and treat obfuscation artifacts as a signal. No file hashes, domains or IPs are published; the IOCs below are tooling, detection-name and static-string artifacts only.

MITRE ATT&CK techniques by tactic:

Defense Evasion

T1027 Obfuscated Files or Information; T1027.004 Compile After Delivery; T1027.013 Encrypted/Encoded File; T1036 Masquerading; T1127.001 MSBuild; T1622 Debugger Evasion

Privilege Escalation

T1055 Process Injection

Command and Control

T1071.001 Web Protocols

Execution

T1106 Native API

stealth

T1574.014 AppDomainManager

Resource Development

T1587.001 Malware; T1588.002 Tool

Remediation

Immediate actions

  • Do not rely solely on static signatures (Elastic Multi_Trojan_Mythic_4beb7e17, string-based rules) for Mythic Apollo detection; confirm behavioral coverage exists
  • Hunt for unsigned or unexpected .NET assemblies with enterprise-themed PE version resources that do not match a known software inventory

Workarounds

  • Restrict MSBuild.exe execution to developer hosts and alert on execution elsewhere
  • Enable ETW/AMSI-based .NET assembly load telemetry where available

Longer-term hardening

  • Deploy behavioral detections for process injection, AppDomainManager hijacking, MSBuild executing inline tasks and anomalous .NET reflective loads
  • Use application allowlisting with logging of bypass attempts and monitor MSBuild.exe and other trusted-binary child activity
  • Baseline HTTP beaconing (periodicity, User-Agent consistency) in proxy and network telemetry

Affected and fixed versions

  • Mythic / MythicAgents — Apollo agent (Windows, C#, .NET Framework 4.0)

Timeline

  • Bishop Fox begins forking Mythic's Apollo .NET agent (article states work began roughly July 2025; exact day not given)
  • Earliest commit in the Apollo fork's history referenced by the article
  • Fork-based work period ends (article states roughly February 2026; exact day not given); builds reported to evade Elastic YARA and Defender Wacatac heuristic in testing
  • Testing of later custom agents begins (article states March to September 2026; exact day not given)
  • Final fork commit removes IOC strings such as IMythicMessage and GetMythicUUID after SentinelOne static engine flagged them
  • Bishop Fox publishes 'From Fork to Framework: What Modifying Apollo Taught Us About Agent Evasion' by Rob Antonucci
  • Article metadata shows last modification date of 2026-12-02

Sources cited

Previous and next in threat intel

AI-drafted from 6 cited sources; published ; last updated —.

Threadlinqs Intelligence — Real-Time Threat Detection Platform

// threat_feed
$ sort --newest
Showing all threats

Live intelligence console

Threat level

Latest Threats