Reach out to C2 Pointer URLs via command line (#644)
* add urls and create test folder * make test more realistic, cleanup command still broken * use C drive instead of Temp because of permissions * update paths * update descriptions
This commit is contained in:
committed by
Tony M Lambert
parent
08fddb3940
commit
aeeba08bbc
@@ -0,0 +1,34 @@
|
||||
---
|
||||
attack_technique: T1102
|
||||
display_name: Web Service
|
||||
|
||||
atomic_tests:
|
||||
- name: Reach out to C2 Pointer URLs via command_prompt
|
||||
description: |
|
||||
Download data from a public website using command line
|
||||
supported_platforms:
|
||||
- windows
|
||||
executor:
|
||||
name: command_prompt
|
||||
elevation_required: false
|
||||
command: |
|
||||
bitsadmin.exe /transfer "DonwloadFile" http://www.stealmylogin.com/ %TEMP%\bitsadmindownload.html
|
||||
cleanup_command: |
|
||||
del %TEMP%\bitsadmindownload.html
|
||||
|
||||
|
||||
- name: Reach out to C2 Pointer URLs via powershell
|
||||
description: |
|
||||
Multiple download methods for files using powershell
|
||||
supported_platforms:
|
||||
- windows
|
||||
executor:
|
||||
name: powershell
|
||||
elevation_required: false
|
||||
command: |
|
||||
Invoke-WebRequest -Uri www.twitter.com
|
||||
$T1102 = (New-Object System.Net.WebClient).DownloadData("https://www.reddit.com/")
|
||||
$wc = New-Object System.Net.WebClient
|
||||
$T1102 = $wc.DownloadString("https://www.aol.com/")
|
||||
cleanup_command: |
|
||||
Clear-Variable T1102
|
||||
Reference in New Issue
Block a user