-
Notifications
You must be signed in to change notification settings - Fork 397
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
schtask_as Improvement - Options for custom task, file, and location. #342
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR, nice addition!
I wanted to document this here as well. An unintended side effect of being able to customize the location now is that you can set the location to be an SMB share. Unfortunately this does not allow you to save the output file to the share (at least not with my current changes) but it does allow you to capture an NTLM callback of the impersonated user. For example, a scenario were commands might get flagged for being in a task, you could put some garbage or something benign that wont get caught and set the location to be your host, capture the hash, and relay / crack. Example command:
|
Signed-off-by: Kahvi-0xFF <46513413+Kahvi-0@users.noreply.github.com>
Signed-off-by: Kahvi-0xFF <46513413+Kahvi-0@users.noreply.github.com>
Signed-off-by: Kahvi-0xFF <46513413+Kahvi-0@users.noreply.github.com>
Signed-off-by: Kahvi-0xFF <46513413+Kahvi-0@users.noreply.github.com>
Signed-off-by: Kahvi-0xFF <46513413+Kahvi-0@users.noreply.github.com>
Signed-off-by: Kahvi-0xFF <46513413+Kahvi-0@users.noreply.github.com>
Signed-off-by: Kahvi-0xFF <46513413+Kahvi-0@users.noreply.github.com>
Signed-off-by: Kahvi-0xFF <46513413+Kahvi-0@users.noreply.github.com>
Signed-off-by: Kahvi-0xFF <46513413+Kahvi-0@users.noreply.github.com>
066223e
to
755113d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added following options to try and avoid detection when using this module:
TASK Set a name for the scheduled task name
FILE Set a name for the command output file
LOCATION Set a location for the command output file
Example: