Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
fragmede
on July 29, 2018
|
parent
|
context
|
favorite
| on:
Detecting the use of "curl | bash" server-side
If binaries are being downloaded, then the dynamically generated malicious script could pretend it's a checksum when really it's a unique tracking URL.
curl www.example.com/downloads/fooprogram/builds/D41D8CD98F00B204E9800998ECF8427E.tgz
If the time between the script being downloaded and that file being requested is large, serve the clean copy, else download the malicious binary.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: