Apache thread assertion error in error.log
Flags Apache error log entries that include a pthread thread-priority assertion failure message.
- Service
- apache
- Author
- Florian Roth (Nextron Systems) (SigmaHQ), DRL 1.1
- Published
- 2019-01-22
- Updated
- 2026-07-31
ATT&CK techniques
Initial Access → Lateral MovementRecon
Resource Dev
Initial Access
Execution
Persistence
Priv Esc
Defense Evasion
Cred Access
Discovery
Lateral Movement
Collection
C2
Exfiltration
Impact
What it detects
This rule matches Apache error log entries containing a specific pthread thread priority assertion message. Such messages indicate failures in threading-related operations within the Apache process, which attackers may leverage as part of triggering abnormal server behavior. The detection relies on keyword hits in Apache error logs, specifically the exact assertion string reported by the underlying threading code.
Reporting behind it
Changelog
v2- v2Candidate ingested via manual entry.2026-07-31
- v1No changelog recorded for this version.2026-07-30
Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.
title: Apache thread assertion error in error.log
id: bf3ef5eb-1a36-4d1f-a975-7f344a9fddfd
status: test
description: This rule matches Apache error log entries containing a specific pthread thread priority assertion message. Such messages indicate failures in threading-related operations within the Apache process, which attackers may leverage as part of triggering abnormal server behavior. The detection relies on keyword hits in Apache error logs, specifically the exact assertion string reported by the underlying threading code.
references:
- https://github.com/hannob/apache-uaf/blob/da40f2be3684c8095ec6066fa68eb5c07a086233/README.md
- https://github.com/SigmaHQ/sigma/blob/master/rules/web/product/apache/web_apache_threading_error.yml
author: Florian Roth (Nextron Systems), Huntrule Team
date: 2019-01-22
modified: 2021-11-27
tags:
- attack.initial-access
- attack.lateral-movement
- attack.t1190
- attack.t1210
logsource:
service: apache
definition: "Requirements: Must be able to collect the error.log file"
detection:
keywords:
- "__pthread_tpp_change_priority: Assertion `new_prio == -1 || (new_prio >= fifo_min_prio && new_prio <= fifo_max_prio)"
condition: keywords
falsepositives:
- 3rd party apache modules - https://bz.apache.org/bugzilla/show_bug.cgi?id=46185
level: medium
license: DRL-1.1
related:
- id: e9a2b582-3f6a-48ac-b4a1-6849cdc50b3c
type: derived