-
Notifications
You must be signed in to change notification settings - Fork 221
Open
Description
This on Windows 11 ARM.
S C:\Windows\System32> Install-Module -Name invoke-atomicredteam,powershell-yaml -Scope CurrentUser -Force
PS C:\Windows\System32> Invoke-AtomicTest T1003 -ShowDetailsBrief
Resolve-Path : Cannot find path 'C:\AtomicRedTeam\atomics' because it does not exist.
At C:\Users\admin\Documents\WindowsPowerShell\Modules\Invoke-AtomicRedTeam\2.1.0\Public\Invoke-AtomicTest.ps1:130 char:33
+ ... $PathToAtomicsFolder = (Resolve-Path $PathToAtomicsFolder).Path
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\AtomicRedTeam\atomics:String) [Resolve-Path], ItemNotFoundException
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.ResolvePathCommand
PathToAtomicsFolder =
Join-Path : Cannot bind argument to parameter 'Path' because it is an empty string.
At C:\Users\admin\Documents\WindowsPowerShell\Modules\Invoke-AtomicRedTeam\2.1.0\Public\Invoke-AtomicTest.ps1:342 char:37
+ $pathToYaml = Join-Path $PathToAtomicsFolder "\$AT\$AT.ya ...
+ ~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidData: (:) [Join-Path], ParameterBindingValidationException
+ FullyQualifiedErrorId : ParameterArgumentValidationErrorEmptyStringNotAllowed,Microsoft.PowerShell.Commands.JoinPathC
ommand
Test-Path : Cannot bind argument to parameter 'Path' because it is null.
At C:\Users\admin\Documents\WindowsPowerShell\Modules\Invoke-AtomicRedTeam\2.1.0\Public\Invoke-AtomicTest.ps1:343 char:33
+ if (Test-Path -Path $pathToYaml) { $AtomicTechniqueHash = ...
+ ~~~~~~~~~~~
+ CategoryInfo : InvalidData: (:) [Test-Path], ParameterBindingValidationException
+ FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.TestPathCommand
Found 0 atomic tests applicable to windows platform for Technique
Metadata
Metadata
Assignees
Labels
No labels