Description
Change the callback interval and jitter for the session.
Overview
This script will change the callback interval and jitter to the user specified values. The interval and jitter are TimeSpan objects where the default constructor takes in (hours, inutes, seconds).
Arguments
- Interval: The minimum time until the callback window in dd:hh:mm:ss or hh:mm:ss format.
- Window: The length of the callback window in dd:hh:mm:ss or hh:mm:ss format.
Example
This example changes the callback interval to 4 hours 20 minutes with a 1 hour 10 minute window after that, so the implant will call back between 4 hours and 20 minutes and 5 hours and 30 minutes from now.
Script
Set-CallbackInterval -Interval (New-Object TimeSpan(4,20,0)) -Jitter (New-Object TimeSpan(1, 10, 0))
Get-CallbackInterval
Ouput Text
Interval Jitter
-------- ------
04:20:00 01:10:00
Ouput JSON
{
"Interval": "04:20:00",
"Jitter": "01:10:00"
}