ByteRay CQL Hub
← All queries

IOC search | PTC Windchill & FlexPLM vulnerability

This query checks for Indicators of Compromise (IOCs) related to a critical Remote Code Execution vulnerability in PTC Windchill and FlexPLM. The query tracks the creation or modification of specific Java source files that an attacker may use to intercept requests, manipulate data streaming, or execute unauthorized system updates. https://support.eacpds.com/hc/en-us/article_attachments/47430019070996

CQL · Falcon Next-Gen SIEMCopy query
case{
  #event_simpleName = /.*FileWritten/i
  | FileName = /GW\.class/i or FileName = /Gen\.class/i or FileName = /dpr_.*\.jsp/i;
  #event_simpleName = /.*FileWritten/i
  | in(field="FileName",values=["Gen.java","GW.java","HTTPRequest.java","HTTPResponse.java","IXBCommonStreamer.java","IXBStreamer.java","MethodFeedback.java","MethodResult.java","WTContextUpdate.java"]);
}
| table(@timestamp,ComputerName,FileName,ContextBaseFileName)

This CQL query is designed to catch an attacker at two different stages of the PTC Windchill/FlexPLM exploitation lifecycle.

1. The Two Detection "Stages"

The case block splits the search into two specific scenarios:

  • Scenario A (Active Execution/Persistence): Looks for compiled Java files (.class) and web shells (.jsp). If these appear, the attacker has likely already triggered the exploit and is attempting to run code or maintain a backdoor.
  • Scenario B (Staging/Delivery): Looks for specific Java source files (.java) provided by PTC as known Indicators of Compromise. These are "payloads" that an attacker drops to overwrite core system functions.

2. Key Commands Used

  • #event_simpleName = /.*FileWritten/i: Monitors the exact moment a file is created or modified on the hard drive.
  • regex /.../i: Performs a case-insensitive search for file patterns (like the dpr_ prefix often used for malicious web shells).
  • in(field="FileName", values=[...]): Efficiently checks a list of "Known Bad" filenames against your environment.
  • table: Displays the Timestamp, Impacted Host, and the Specific File involved to allow for immediate incident response.
ioc_search_ptc_windchill_flexplm_vulnerability.yml
T1210
ByteRay GmbH
Hunting
Endpoint
Insight
2026-03-23
2026-03-24

Get this query running in your SIEM, with someone on call.

Our Managed SIEM team operates CrowdStrike Falcon Next-Gen SIEM in production, with over 350 battle-tested use cases and 24/7 incident response behind them.

Talk to the SIEM team