r/threatlocker • u/PatrickWellbutrin • 13h ago
How are you managing your allow list for developers and scripting?
Curious how others are managing their allowlist in relation to Devs/Sys-Admins/Helpdesk writing and testing scripts. I'm having a hard time finding a balance between security and functionality.
For production programs and scripts that have been tested, verified and deployed it's easy enough to permit them, but how do you manage the testing and development phase where hashes change frequently, or they're using virtual environments?
- Custom rule - whitelist a specific directory with * wildcards for the filetypes the user works with, restrict to specific user and processes? e.g. python.exe and .py files are permitted from C:\Scripts when run as 'xyzuser'?
- Separate dev workspace/VM that's locked down from the rest of the network, allow all scripting/ language filetypes e.g. .py, .ps1, .bat?
And what about sys-admins or helpdesk users who are scripting on the fly for troubleshooting?
And lastly VS Code extensions, I know there are some built-ins but not for others e.g. Claude spawns temp files in the user appdata directory that can't reliably be whitelisted unless adding filetype wildcards in the temp directory.
I've got a session booked with our TL tech but not until after Christmas so just exploring what other people have managed to come up with