PowerAL
A Powershell module that helps you identify AppLocker weaknesses
Install / Use
/learn @api0cradle/PowerALREADME
PowerAL
Current version: 0.95
Version control will not be 100% until I have reached version 1.0. I use this area as my work area to commit my code. After version 1.0 I will be using a DEV branch instead for rolling changes.
PowerAL is a Powershell module for interacting with AppLocker rules. Module is designed to be able to run in Constrained language mode. The goal with the module is to easily be able to identify AppLocker weaknesses/config flaws. This module is a work in progress. First version (0.63) was released at DerbyCon.
- Run Powershell -ep unrestricted
- Import-module PowerAL.psd1
Current list of functions:
- Expand-PALPath
- Get-PALPathStatus
- Get-PALPoshV2Installed
- Get-PALPublisherStatus
- Get-PALRules
- Get-PALRuleSectionStatus
- Get-PALServiceStatus
- Get-PALMissingADSRules
- Get-PALMissingAllowedPaths
- Get-PALWriteableAllowedPaths
- Get-PALWriteablePaths
- Invoke-PALAllInfo
- Invoke-PALBypassPwn
- Invoke-PALCLMTempBypass
- Invoke-PALExploitableRules
- Invoke-PALKnownBypasses <- Not working
Change log
version 0.95:
- Added ExceptionsAsDeny to Get-PALRules
- Created Get-PALMissingADSRules
- Adjustment of functions to use ExceptionsAsDeny to handle exceptions
- Refactored Get-PALPathStatus
version 0.90:
- Allowed pipe to expand-palpath
- Get-PALRulesNative created - Must still be used for OfflineXML checking
- Added rerun to Get-PALWriteableAllowedPaths
- Changed Get-PALWriteAblePaths to keep previous scans in Global variables (memory). Also it is optimalized to not scan the same area twice.
- Removed Invoke-PALRemoveCachedPath since all is done in memory
- ADS support on Expand-PALPath
- Changed name from Get-PALRulesStatus to Get-PALRuleSectionStatus
- Wrote Get-PALRules by getting AppLocker rules from Registry instead of using the native way leveraging Get-AppLockerPolicy
- Added support for multiple paths to Expand-palpath
- Get-PALMissingAllowedPaths created
- Rewrote Get-PALEXploitablerules, added check for ADS and some other stuff
-
- many more things I forgot to write down
Related Skills
node-connect
344.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
96.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
344.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
344.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
