Techniques
Sample rules
Potential Third-Party Cloud Storage Client Execution
- source: elastic
- technicques:
- T1530
- T1537
- T1567
Description
Identifies execution of a third-party S3 or object-storage client (S3 Browser, s5cmd, s3cmd, MinIO mc, rclone, Cyberduck, s3fs, goofys, juicefs) launched by a script interpreter, a shell one-liner, or from a temporary or user-writable path. After stealing cloud credentials, adversaries switch from the AWS CLI to these clients to enumerate and drain buckets in bulk. Gating on a scripted context separates post-exploitation automation from interactive developer use.
Detection logic
event.category : "process" and event.type : "start" and
process.name : (
Cyberduck or S3Browser.exe or aws-shell or cyberduck or duck or duck.exe or
goofys or juicefs or mc or mc.exe or rclone or rclone.exe or
s3browser-con.exe or s3browser.exe or s3cmd or s3cmd.exe or s3fs or s5cmd or s5cmd.exe or
*bucketexplorer* or *cloudberry* or *s3browser*
) and not (
process.name : (mc or mc.exe) and not
process.args : (admin or alias or cat or cp or du or find or get or ls or mb or mirror or mv or pipe or put or rb or rm or share or stat or tree)
) and not process.executable : (/opt/Elastic/Agent/* or /usr/lib/systemd/*) and
not process.args : (--help or --version or -h or selfupdate or version) and
(
process.parent.name : (
bun or bun.exe or cscript.exe or deno or deno.exe or mshta.exe or node or node.exe or nodejs or
perl* or php* or python* or ruby* or wscript.exe
) or
(
process.parent.name : (bash or bash.exe or cmd.exe or dash or fish or ksh or powershell.exe or pwsh or pwsh.exe or sh or zsh) and
process.parent.args : ("-Command" or "-EncodedCommand" or "-enc" or "-e" or "-c" or "-ilc" or "-lc" or "/c")
) or
process.executable : (
*\\Users\\*\\AppData\\Local\\Temp\\* or *\\Users\\Public\\* or *\\Windows\\Temp\\* or
/Users/Shared/* or /dev/shm/* or /private/tmp/* or /tmp/* or /var/tmp/*
) or
process.parent.executable : (
*\\Users\\*\\AppData\\Local\\Temp\\* or *\\Users\\Public\\* or *\\Windows\\Temp\\* or
/Users/Shared/* or /dev/shm/* or /private/tmp/* or /tmp/* or /var/tmp/*
)
)