-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Problem: Remote GetPreq Command Failure #2879
Comments
Hello @jj-cmyk . I ran this on a Win11Pro machine and this seems to work fine. Can you provide me the versions of powershell-yaml and invoke-atomicredteam you are using ?
|
One thing that I have found with elevated prompts is that they do not seem to inherit the PowerShell profile. If you put something like this into your profile
I have found that if I open an elevated PowerShell prompt those settings do not appear to be imported. I have take to opening the elevate PowerShell prompt and then running
After sourcing the profile I have found that the downloading of prereqisites is much more reliable ... locally. I have yet to run Atomic Red Team against a remote system so I do not know what requirements may exist when doing that. |
Hi @cyberbuff please see the below output when running Get-Module invoke-atomicredteam, powershell-yaml Script 2.1.0 Invoke-AtomicRedTeam {Get-AtomicTechnique, Get-PreferredIPAddress, Get-Schedule, Invoke-AtomicRunner...} |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
What did you do?
Attempting to remotely run atomic tests specifically for the -GetPrereqs command which fails.
ℹ Please replace this with what you did.
Invoke-AtomicTest T1567.002-1 -Session $artws -GetPrereqs -TimeoutSeconds 180
Tried with other atomic tests for the GetPrereqs command
What did you expect to happen?
Expected pre-requisites to be successfully met on target host.
What happened instead?
Please see attachment.
(https://github.com/user-attachments/assets/062cb597-961f-4276-a3be-d43ac71eaccc)
Your Environment
Windows Server 2019
Tried with Elevated prompt
Tried various atomic tests that have pre-requisite
[1]: https://github.com/redcanaryco/atomic-red-team/tree/master/atomics "atomic tests"
[2]: https://github.com/redcanaryco/atomic-red-team/tree/master/execution-frameworks "execution frameworks"
The text was updated successfully, but these errors were encountered: