Generate docs from job=validate_atomics_generate_docs branch=master
This commit is contained in:
parent
b2d25ea9bc
commit
60a8bb70ba
@@ -10,7 +10,7 @@ Interactive command shells may be used, and common functionality within [cmd](ht
|
||||
|
||||
- [Atomic Test #2 - Stage data from Discovery.sh](#atomic-test-2---stage-data-from-discoverysh)
|
||||
|
||||
- [Atomic Test #3 - Zip a Folder with PowerShell](#atomic-test-3---zip-a-folder-with-powershell)
|
||||
- [Atomic Test #3 - Zip a Folder with PowerShell for Staging in Temp](#atomic-test-3---zip-a-folder-with-powershell-for-staging-in-temp)
|
||||
|
||||
|
||||
<br/>
|
||||
@@ -47,21 +47,21 @@ curl -s https://raw.githubusercontent.com/redcanaryco/atomic-red-team/master/ato
|
||||
<br/>
|
||||
<br/>
|
||||
|
||||
## Atomic Test #3 - Zip a Folder with PowerShell
|
||||
use living off the land tools to encrypt and zip a file for exfiltration
|
||||
## Atomic Test #3 - Zip a Folder with PowerShell for Staging in Temp
|
||||
Use living off the land tools to zip a file and stage it in the Windows temporary folder for later exfiltration.
|
||||
|
||||
**Supported Platforms:** Windows
|
||||
|
||||
|
||||
#### Run it with `powershell`!
|
||||
```
|
||||
Compress-Archive -Path $PathToAtomicsFolder\T1074\bin\Folder_to_encrypt -DestinationPath $env:TEMP\Folder_to_encrypt.zip
|
||||
Compress-Archive -Path $PathToAtomicsFolder\T1074\bin\Folder_to_zip -DestinationPath $env:TEMP\Folder_to_zip.zip
|
||||
```
|
||||
|
||||
|
||||
#### Cleanup Commands:
|
||||
```
|
||||
Remove-Item -Path $env:TEMP\Folder_to_encrypt.zip
|
||||
Remove-Item -Path $env:TEMP\Folder_to_zip.zip
|
||||
```
|
||||
|
||||
<br/>
|
||||
|
||||
+1
-1
@@ -886,7 +886,7 @@
|
||||
- [T1074 Data Staged](./T1074/T1074.md)
|
||||
- Atomic Test #1: Stage data from Discovery.bat [windows]
|
||||
- Atomic Test #2: Stage data from Discovery.sh [linux, macos]
|
||||
- Atomic Test #3: Zip a Folder with PowerShell [windows]
|
||||
- Atomic Test #3: Zip a Folder with PowerShell for Staging in Temp [windows]
|
||||
- T1530 Data from Cloud Storage Object [CONTRIBUTE A TEST](https://atomicredteam.io/contributing)
|
||||
- T1213 Data from Information Repositories [CONTRIBUTE A TEST](https://atomicredteam.io/contributing)
|
||||
- [T1005 Data from Local System](./T1005/T1005.md)
|
||||
|
||||
+6
-5
@@ -25644,8 +25644,9 @@ collection:
|
||||
| bash -s > /tmp/discovery.log
|
||||
|
||||
'
|
||||
- name: Zip a Folder with PowerShell
|
||||
description: 'use living off the land tools to encrypt and zip a file for exfiltration
|
||||
- name: Zip a Folder with PowerShell for Staging in Temp
|
||||
description: 'Use living off the land tools to zip a file and stage it in the
|
||||
Windows temporary folder for later exfiltration.
|
||||
|
||||
'
|
||||
supported_platforms:
|
||||
@@ -25653,11 +25654,11 @@ collection:
|
||||
executor:
|
||||
name: powershell
|
||||
elevation_required: false
|
||||
command: 'Compress-Archive -Path $PathToAtomicsFolder\T1074\bin\Folder_to_encrypt
|
||||
-DestinationPath $env:TEMP\Folder_to_encrypt.zip
|
||||
command: 'Compress-Archive -Path $PathToAtomicsFolder\T1074\bin\Folder_to_zip
|
||||
-DestinationPath $env:TEMP\Folder_to_zip.zip
|
||||
|
||||
'
|
||||
cleanup_command: 'Remove-Item -Path $env:TEMP\Folder_to_encrypt.zip
|
||||
cleanup_command: 'Remove-Item -Path $env:TEMP\Folder_to_zip.zip
|
||||
|
||||
'
|
||||
'':
|
||||
|
||||
@@ -556,7 +556,7 @@
|
||||
- Atomic Test #2: PowerShell [windows]
|
||||
- [T1074 Data Staged](./T1074/T1074.md)
|
||||
- Atomic Test #1: Stage data from Discovery.bat [windows]
|
||||
- Atomic Test #3: Zip a Folder with PowerShell [windows]
|
||||
- Atomic Test #3: Zip a Folder with PowerShell for Staging in Temp [windows]
|
||||
- T1213 Data from Information Repositories [CONTRIBUTE A TEST](https://atomicredteam.io/contributing)
|
||||
- [T1005 Data from Local System](./T1005/T1005.md)
|
||||
- T1039 Data from Network Shared Drive [CONTRIBUTE A TEST](https://atomicredteam.io/contributing)
|
||||
|
||||
Reference in New Issue
Block a user