This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env pwsh | |
| <# | |
| .SYNOPSIS | |
| Tunnel-vision | |
| .DESCRIPTION | |
| Discovers and analyses the DNS environment to ensure it's ripe for Canary communication. | |
| Canaries don't communicate directly with a Canary Console and instead make use of DNS Tunnelling. | |
| This means that they exclusively generate DNS lookups (UDP/53) in order to alert, update and get new settings. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Sensitive Command Manager | |
| # Note : This script must be run with administrative permissions. | |
| Param ( | |
| [string]$Action, | |
| [string]$Executable, | |
| [string]$Domain, | |
| [string]$ApiKey, | |
| [string]$IgnoreUser, |