Cyber Defense: Author - Jason Fossen

PowerShell 7-Zip Module Versus Compress-Archive with Encryption

A free PowerShell module makes 7-Zip archives very easy to use, especially when encrypting 7z and Zip archives with 256-bit AES encryption. 7-Zip is much better than the built-in Compress-Archive and Expand-Archive cmdlets, and can be combined with KeePass. Continue reading PowerShell 7-Zip Module Versus Compress-Archive with Encryption


PowerShell Function to Send UDP SYSLOG Message Packets

Simple PowerShell function to send syslog message packets to UDP 514, including facility, severity and custom payloads. Continue reading PowerShell Function to Send UDP SYSLOG Message Packets


Launch PowerShell Script From Within KeePass And Include Password Secure String Credential

Run PowerShell scripts and commands from within KeePass by double-clicking, securely sending passwords from KeePass into PowerShell using DPAPI. Continue reading Launch PowerShell Script From Within KeePass And Include Password Secure String Credential


New Course SEC505 Update: Securing Windows and PowerShell Automation

New update to SEC505 includes PowerShell Just Enough Admin (JEA) and Desired State Configuration (DSC). Continue reading New Course SEC505 Update: Securing Windows and PowerShell Automation


PowerShell Protect-CmsMessage Example Code, Limitations and Errors

PowerShell Protect-CmsMessage and Unprotect-CmsMessage provide an easy way to use RFC 5652 public key encryption of your data. This article gives example PowerShell code, and talks about limitations, issues, problems, error messages, and how to get around some of them. Continue reading PowerShell Protect-CmsMessage Example Code, Limitations and Errors