Modification of ld.so.preload
Identifies modification of ld.so.preload for shared object injection. This technique is used by attackers to load arbitrary code into processes.
Sigma rule (View on GitHub)
 1title: Modification of ld.so.preload
 2id: 4b3cb710-5e83-4715-8c45-8b2b5b3e5751
 3status: test
 4description: Identifies modification of ld.so.preload for shared object injection. This technique is used by attackers to load arbitrary code into processes.
 5references:
 6    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1574.006/T1574.006.md
 7    - https://eqllib.readthedocs.io/en/latest/analytics/fd9b987a-1101-4ed3-bda6-a70300eaf57e.html
 8author: E.M. Anhaus (originally from Atomic Blue Detections, Tony Lambert), oscd.community
 9date: 2019-10-24
10modified: 2021-11-27
11tags:
12    - attack.privilege-escalation
13    - attack.persistence
14    - attack.defense-evasion
15    - attack.t1574.006
16logsource:
17    product: linux
18    service: auditd
19detection:
20    selection:
21        type: 'PATH'
22        name: '/etc/ld.so.preload'
23    condition: selection
24falsepositives:
25    - Unknown
26level: high
References
Related rules
- Code Injection by ld.so Preload
 - APT27 - Emissary Panda Activity
 - AWS IAM S3Browser LoginProfile Creation
 - AWS IAM S3Browser Templated S3 Bucket Policy Creation
 - AWS IAM S3Browser User or AccessKey Creation