guardicore / monkey

Infection Monkey - An open-source adversary emulation platform
https://www.guardicore.com/infectionmonkey/
GNU General Public License v3.0
6.62k stars 772 forks source link

Modify shell startup file PBA Windows #1844

Closed VakarisZ closed 1 year ago

VakarisZ commented 2 years ago

Describe the bug

Modify shell startup file PBA on Windows always returns success, because C:\Users\vzilius\Desktop\infection_monkey\monkey\infection_monkey\post_breach\shell_startup_files\windows\modify_powershell_startup_file.ps1 always exit with 0 even if error occurs

Screenshots

image

Machine version (please complete the following information):

cakekoa commented 1 year ago

PBAs are being removed in #2442