Linux Suspicious GCC Invocation Building Init Shared Object
The following analytic detects compiler usage with flags commonly used to create shared libraries that auto-run initialization functions, which are often associated with local privilege escalation exploits.
Detection logic
Detection requirements
- Platform
- ContainersLinuxmacOSPREWindows
The rule states no platform. This is derived from the 4 ATT&CK techniques it maps to.
- Log source category
- sysmon_for_linux_eventid_1
Known benign triggers
- Legitimate developers may use these GCC flags when building shared libraries that require initialization functions. Filter based on known development environments and trusted users.
MITRE ATT&CK mappings
0 exclusive techniques.This is coverage no other published rule has; it is not this rule's total technique count.
References
| Reference | Cited by |
|---|---|
| github.com/pr0v3rbs/CVE-2025-32463_chwoot | 2 |
| www.bleepingcomputer.com/news/security/cisa-warns-of-critical-linux-sudo-flaw-exploited-in-attacks/ | 2 |
From the source
- At source
- Open at source
- Upstream identifier
- 9dbf4a61-0493-43bd-932c-532ba7671a7a
- Tagged by the source as
- Linux Persistence TechniquesLinux Post-ExploitationLinux Privilege EscalationEndpointendpointSplunk CloudSplunk EnterpriseSplunk Enterprise Securityendpoint
Licence
- Published under
- Apache License 2.0Read the licence
- Attribution
- Required
- Obtained under
- Apache-2.0Read the origin licence
Authorship
- Written by
- Published
- Aug 26, 2026
- Version
- 1