ppcore.dll
There are executables that allowppcore.dll to be DLL hijacked.Expected Locations
The fileppcore.dll is normally found in the following paths:
%PROGRAMFILES%\Microsoft Office\OFFICE%VERSION%%PROGRAMFILES%\Microsoft Office\Root\OFFICE%VERSION%%PROGRAMFILES%\Microsoft Office %VERSION%\ClientX86\Root\Office%VERSION%%PROGRAMFILES%\Microsoft Office %VERSION%\ClientX64\Root\Office%VERSION%
Vulnerable Executables
DLL Sideloading (4 EXEs)
By copying (and optionally renaming) any of the following vulnerable applications to a user-writeable folder, alongside a malicious
ppcore.dll, arbitrary code can be executed through it.
Detection
Below a sample Sigma rule that will find processes that loadedppcore.dll located in a folder that is not one of the expected locations (see above).
title: Possible DLL Hijacking of ppcore.dll
id: 5961131b-2351-48a3-2815-5b9ff8263220
status: experimental
description: Detects possible DLL hijacking of ppcore.dll by looking for suspicious image loads, loading this DLL from unexpected locations.
references:
- https://hijacklibs.net/entries/microsoft/external/ppcore.html
author: "Swachchhanda Shrawan Poudel"
date: 2025-04-23
tags:
- attack.defense_evasion
- attack.T1574.001
logsource:
product: windows
category: image_load
detection:
selection:
ImageLoaded: '*\ppcore.dll'
filter:
ImageLoaded:
- 'c:\program files\Microsoft Office\OFFICE*\\*'
- 'c:\program files (x86)\Microsoft Office\OFFICE*\\*'
- 'c:\program files\Microsoft Office\Root\OFFICE*\\*'
- 'c:\program files (x86)\Microsoft Office\Root\OFFICE*\\*'
- 'c:\program files\Microsoft Office *\ClientX86\Root\Office*\\*'
- 'c:\program files (x86)\Microsoft Office *\ClientX86\Root\Office*\\*'
- 'c:\program files\Microsoft Office *\ClientX64\Root\Office*\\*'
- 'c:\program files (x86)\Microsoft Office *\ClientX64\Root\Office*\\*'
condition: selection and not filter
falsepositives:
- False positives are likely. This rule is more suitable for hunting than for generating detections.title: Possible preparation for ppcore.dll DLL Hijacking
id: 5961132b-2351-48a3-2815-5b9ff8263220
status: experimental
description: Detects possible DLL hijacking of ppcore.dll by looking for suspicious file writes of this DLL, to unexpected locations.
references:
- https://hijacklibs.net/entries/microsoft/external/ppcore.html
author: "Swachchhanda Shrawan Poudel"
date: 2025-04-23
tags:
- attack.defense_evasion
- attack.T1574.001
logsource:
product: windows
category: file_event
detection:
selection:
TargetFileName: '*\ppcore.dll'
filter:
TargetFileName:
- 'c:\program files\Microsoft Office\OFFICE*\\*'
- 'c:\program files (x86)\Microsoft Office\OFFICE*\\*'
- 'c:\program files\Microsoft Office\Root\OFFICE*\\*'
- 'c:\program files (x86)\Microsoft Office\Root\OFFICE*\\*'
- 'c:\program files\Microsoft Office *\ClientX86\Root\Office*\\*'
- 'c:\program files (x86)\Microsoft Office *\ClientX86\Root\Office*\\*'
- 'c:\program files\Microsoft Office *\ClientX64\Root\Office*\\*'
- 'c:\program files (x86)\Microsoft Office *\ClientX64\Root\Office*\\*'
condition: selection and not filter
falsepositives:
- False positives are likely. This rule is more suitable for hunting than for generating detections.Note that this rule is also included in the Detection Content Feeds that comprise all DLL Hijacking entries part of HijackLibs.
FAQs
Why should I care about this?
DLL Hijacking enables the execution of malicious code through a signed and/or trusted executable. Defensive measures such as AV and EDR solutions may not pick up on this activity out of the box, and allow-list applications such as AppLocker may not block the execution of the untrusted code. There are numerous examples of threat actors that have been observed to leaverage DLL Hijacking to achieve their objectives. As such, this project wants to encourage you to monitor for unusual activity involvingppcore.dll.
How do I abuse this vulnerability?
As a red teamer, you will have to compile your own version ofppcore.dll. There are various guides on how this can be achieved.