Describe the bug
Timestomping post breach action fail on Windows machine (victim). Running the timestomping.ps1 script passes when run from source. It was tried both with 1.10.0 and 1.11.0 agent binaries.
Issue #1419 has the same root cause as this issue.
To Reproduce
Steps to reproduce the behavior:
- Run Monkey Island
- Configure to run just Timestomping PBA
- Check Security report for PBA explanation
Expected behavior
Timestomping should execute timestomping.ps1 script which create temp file and changes the time of the file.
Screenshots

Machine version (please complete the following information):
Tasks
Describe the bug
Timestomping post breach action fail on Windows machine (victim). Running the
timestomping.ps1script passes when run from source. It was tried both with 1.10.0 and 1.11.0 agent binaries.Issue #1419 has the same root cause as this issue.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Timestomping should execute
timestomping.ps1script which create temp file and changes the time of the file.Screenshots
Machine version (please complete the following information):
Tasks
monkey/infection_monkey/post_breach/shell_startup_files/windows/modify_powershell_startup_file.ps1monkey/infection_monkey/post_breach/timestomping/windows/timestomping.ps1