This example shows how to create a secure string from user input, convert the secure string to an encrypted standard string, and then convert the encrypted standard string back to a secure string. The ...
author = "Teymur Kheirkhabarov (idea), Vasiliy Burov (rule), oscd.community, Tim Shelton" description = "Detects usage of the \"ConvertTo-SecureString\" cmdlet via the commandline. Which is fairly ...
Hard-coding credentials in script is considered cardinal sin and been the source of countless breaches. No matter, big or small script, no matter if it's protected by ACL or running on a server, where ...