8 ms·
The most popular curl download – by a malware
- Robadob 11y agoWouldn't the obvious solution be to throw a captcha in-front of the download? Or am I missing the fact that this exact download path needs to be directly accessible by package managers or something?
- ch0wn 11y agoAutomated downloads don't have to be malicious. I'm sure there are tons of legitimate scripts out there that fetch curl via those URLs.
- Robadob 11y agoThe fact the article states they've already changed the url for downloading the file, suggested to me that it wasn't intended to be automatically downloaded (I realise that automation does not imply malicious).
- rogeryu 11y agoThere is no front-end. Curl downloads similar to a commandline script. If necessary it can handle logins, but a (graphical) captcha won't work.
- nkozyra 11y agoAre you talking about how cURL works or how one downloads (Windows) cURL in the first place, as is the topic of this post? It may not be ideal but you could certainly put some form of authentication in front of the Windows downloads or force token generation via the Web site to download the executable. The question is whether that's a good idea - as mentioned, it's not cURL's responsibility to prevent malicious usage, but perhaps being a little more cautious about the acquisition of cURL in the first place for Windows users might not be seen as an intrusion.
- swiley 11y agoCaptcha'd downloads are the worst: no restarting, no automation, no direct linking.
- tyho 11y agoI guess substituting the existing file served at that URL with a curl that when called by the particular malware in question (I guess you could detect this fairly easily) warns the user graphically of the infection would be considered going too far.
- syntheticnature 11y agoDetection would wind up being an arms race, I expect; if you were going to do this, better to replace it with an application that just does the warning, with a hint for valid users blindly downloading. Of course, then there's checking MD5s, etc.
- fsaintjacques 11y agoI would be more evil, I would make a custom version of curl package that randomly corrupt bytes only served to this malware. Let the malware developper have fun debugging this issue.
- werid 11y agoYou would not end up wasting any time of the malware developer, as the article states: "an updated version of the malware comes bundled with the curl library"
- fabulist 11y agoIt would be more like, "let the script kiddies using this tool shrug their shoulders when it stops working and switch to another (of which there are legion)."
- smcl 11y agoI'm not even sure you could reliably detect that - the article says they didn't have any special/identifying headers. But yeah you're right if they could detect then supplying an exe that warned the user would still feel sorta weird IMO, and how many users are likely to trust a random popup or notification seemingly from out of the blue?
- petecooper 11y agoGoogle cache (OP URL not loading for me at all): http://webcache.googleusercontent.com/search?q=cache:y8oR2pTNdzUJ:daniel.haxx.se/blog/2015/11/16/the-most-popular-curl-download-by-a-malware/+&cd=1&hl=en&ct=clnk&gl=uk http://webcache.googleusercontent.com/search?q=cache:y8oR2pT...
- t0mk 11y agoAs somebody else mentioned - this is a great honeypot opportunity! By serving malicious builds based on referer and user-agent, they might be able to gather really interesting data.
- deleted 11y ago[deleted]
- hatsunearu 11y agoWouldn't it accidentally serve malicious builds to unsuspecting non-botnet users?
- sbierwagen 11y agoChange the links on cURL's website to point at a different file.
- pavel_lishin 11y agoIsn't that rather hard to do ethically? How would you make this "malicious build", given that it's probably going to be running on my dad's laptop at some point?
- kej 11y agoYou could make it harmless but not a valid cURL, also. Something that just prints to the screen that there's a good chance it was downloaded by the original malware and points you to a page on haxx.se where you can get the real version.
- too_late 11y agoP2P-sharing would be a really great solution to this from the malware developer's point of view. I don't harbor any ill-will towards malware devs, especially not when they're going after windoze machines :^) But yeah, the curl website could really come up with a lot of data, so it seems like a very immature solution to what is really a critical component of the app to just blindly reach out for some predefined url. It'd be way smarter to run a CC machine somewhere and start pairing some peers. curl is somewhat small, right? I think they'll probably just keep renaming the file for now, and updating the URL. It'll just be cat and mouse, and newer versions ship with it, so there's really no point for the curl maintainers to be wasting too much time on it since it's a limited-time issue that will more than likely sort itself out later.
- Brotkrumen 11y agoYeah! Them people that don't share our hobbies and choices can get fucked, right? I mean transitioning to linux is so easy and relearning a new ecosystem so painless. Them scam victims deserve whats coming for them! I also agree that malware devs are dumb. Instead of using that curl download in a way they know works, they could just add a p2p module to their malware, open up a few ports on infected machines and hide all that from av. Easy right? I mean them archive urls change all the time! And updating that via the cc is just too unelegant!
- too_late 11y agoIf I can do it, anybody can. It is hilariously easy to hide arbitrary code from antivirus. I can tell that you don't actually know what you're talking about, but suffice it to say that escaping some AV product is no mean feat in anyone's book. Who gives a fuck about people who can't be bothered to learn about the tools they use? I have as much sympathy for inept windows users as I have for people on the side of the road that break down and don't know how their own car works. The curl download that 'just works' has just been broken by a simple 'mv arch1.zip arch2.zip' basically. It doesn't take a hacker to come to the conclusion that maybe there's a smarter way. Most of the highly-advanced botnets that I've seen are capable of p2p communication or some such similar functionality.
- kristofferR 11y agoWhy aren't curl binary downloads (and other binaries for that matter) served over HTTPS? HTTP seems like a fantastic man-in-the-middle opportunity.
- mh- 11y agothey display an MD5 of the file right next to the download link, but that page is also served over plain HTTP.
- beefhash 11y agoMD5 isn't considered secure anymore in the first place; collisions have been found. See http://merlot.usc.edu/csac-f06/papers/Wang05a.pdf http://merlot.usc.edu/csac-f06/papers/Wang05a.pdf and http://www.win.tue.nl/~bdeweger/CollidingCertificates/ http://www.win.tue.nl/~bdeweger/CollidingCertificates/
- herbst 11y agoAltering a file that it still has the same MD5 hash is still rather unrealistic.
- zokier 11y agoThe word "MD5" does not appear anywhere on curl download page http://curl.haxx.se/download.html http://curl.haxx.se/download.html
- mh- 11y agoI somehow ended up getting sent to a mirror page when I went to download, which does have it. http://www.magicermine.com/demos/curl/curl/curl.html http://www.magicermine.com/demos/curl/curl/curl.html
- zokier 11y ago> The cURL project only provides source packages. All other packages are kindly provided by external persons and organizations. Some of the binaries are served over HTTPS, such as these https://bintray.com/vszakats/generic/curl/#files https://bintray.com/vszakats/generic/curl/#files
- poizan42 11y agoBut why does the malware need curl in the first place? It seems perfectly capable of downloading things without. And it's running on windows where it's guarenteed to have a http library available anyways.
- miahi 11y agoIt probably contains already-written scripts that invoke curl. Re-usability is a plus :).
- barkingcat 11y agomalware users often purchase exploits and scripts - it's not like they will rewrite their scripts to take advantage of http libraries or even care about efficiency. I suspect it's just part of a package that someone bought and is using.
- fla 11y agobandwidth evaluation ?
- giancarlostoro 11y agoMost antivirus software will probably account for direct Windows API usage and maybe using CURL doesn't set off such flags? Not sure, I don't make antivirus software, nor do I use it.
- rnovak 11y agoWhere in the post did it say it was running on windows? It was stated that the User Agent string wasn't identifiable, nor did it send any identifiable headers. edit: thanks for the clarification, I totally missed the file name
- cypres 11y agoIt's downloading a curl release based on mingw32, aka gnu for windows.
- bobbyi_settv 11y agoThe malware must already have a way to make http requests because it is downloading curl via http.
- deleted 11y ago[deleted]
- nathancahill 11y agoNot sure if troll. I can use closed source MS Word to write ransom notes. I can use closed source iPhones to make drug deals. Are people ideologically ready for that?
- robin_reala 11y agohttp://www.json.org/license.html http://www.json.org/license.html The Software shall be used for Good, not Evil. (of course, that didn’t stop IBM: https://news.ycombinator.com/item?id=3693388 https://news.ycombinator.com/item?id=3693388 )
- nathancahill 11y agoI love that IBM story.
- mbrock 11y agoIt's funny, but a little tame of Crockford to so easily give out a special evil-allowing license to IBM. He doesn't seem very convinced of his own Manichean license.
- samstave 11y agoIs curl block able for outbound requests?