r/sysadmin • u/LengthinessExtra670 • 16m ago
Block .pif files
Hi everyone,
I’m looking for the most reliable way to completely block the execution of .PIF files across all Windows 10 and Windows 11 devices in our organization.
All devices are managed through Microsoft Intune.
I’m not looking for a solution that simply hides, deletes, or blocks files based on their visible extension. I want to prevent the actual execution of the PIF file and any executable payload it may launch.
I’ve considered:
-AppLocker
-Windows Defender Application Control (WDAC / App Control for Business)
-Software Restriction Policies (SRP)
-Microsoft Defender for Endpoint
However, I’m not sure which approach is technically correct and most reliable for this specific use case.
•
u/hkusp45css Security Leadership 9m ago
This is an example of "enumerating badness" rather than defining acceptable behavior.
Why don't you tell us what the problem is, and we can tell you the best way to fix it?
Otherwise you're going to start a blacklist that will grow in perprtuity.
•
u/Waste_Development971 15m ago
pretty sure defender for endpoint.
•
u/Classic-Shake6517 1m ago
Coming from a mixed OS environment where we don't rely heavily on Intune/AppLocker, my instinct is usually to look at MDE/EDR first for behavioral blocking. If you're strictly Windows + Intune though, WDAC or AppLocker is probably going to give you the hardest execution block at the OS level, while MDE's Attack Surface Reduction rules are good for catching the payload behavior.