Co-authored-by: Carrie Roberts <clr2of8@gmail.com>
This commit is contained in:
frack113
2022-04-11 17:32:29 +02:00
committed by GitHub
parent 23d30f599d
commit 80b1e0e591
+33
View File
@@ -0,0 +1,33 @@
attack_technique: T1195
display_name: Supply Chain Compromise
atomic_tests:
- name: Octopus Scanner Malware Open Source Supply Chain
auto_generated_guid: 3c73d728-75fb-4180-a12f-6712864d7421
description: |
This test simulates an adversary Octupus drop the RAT dropper ExplorerSync.db
[octopus-scanner-malware-open-source-supply-chain](https://securitylab.github.com/research/octopus-scanner-malware-open-source-supply-chain/)
[the-supreme-backdoor-factory](https://www.dfir.it/blog/2019/02/26/the-supreme-backdoor-factory/)
supported_platforms:
- windows
input_arguments:
rat_payload:
description: RAT dropper ExplorerSync.db
type: Path
default: $env:TEMP\ExplorerSync.db
dependency_executor_name: powershell
dependencies:
- description: |
ExplorerSync.db must exist on disk at specified location (#{rat_payload})
prereq_command: |
if (Test-Path #{rat_payload}) {exit 0} else {exit 1}
get_prereq_command: |
Out-File -FilePath "#{rat_payload}"
executor:
command: |
copy %temp%\ExplorerSync.db %temp%\..\Microsoft\ExplorerSync.db
schtasks /create /tn ExplorerSync /tr "javaw -jar %temp%\..\Microsoft\ExplorerSync.db" /sc MINUTE /f
cleanup_command: |
schtasks /delete /tn ExplorerSync /F 2>null
del %temp%\..\Microsoft\ExplorerSync.db 2>null
del %temp%\ExplorerSync.db 2>null
name: command_prompt