Cyber Defense: Author - Jason Fossen

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


PowerShell for KeePass Password Manager

KeePass is a free, open source password manager for Windows, Linux and Mac OS X. KeePass can be scripted with PowerShell to view, add, edit or remove entries. This makes it easy to store secrets like passwords and encryption keys in KeePass for use in PowerShell scripts that need to use these secrets. This little article is just some sample PowerShell code to get you started. Continue reading PowerShell for KeePass Password Manager


TrueRNG Random Numbers with PowerShell and Math.NET Numerics

TrueRNG and TrueRNGpro are a hardware-based true random number generators with a USB interface. PowerShell and C# can easily access TrueRNG as a COM port. Random bytes from TrueRNG can be fed into the various classes of Math.NET Numerics, including the pseudo random number generators built into Math.NET, for high-speed output. Continue reading TrueRNG Random Numbers with PowerShell and Math.NET Numerics