News for hackers. Stuff that matters.
Re:The most popular curl download – by a malware by poizan42 on Monday November 16, 2015 @10:32AM (#10574955)
But 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.
Re:The most popular curl download – by a malware by miahi on Monday November 16, 2015 @10:55AM (#10575084)
It probably contains already-written scripts that invoke curl. Re-usability is a plus :).
Re:The most popular curl download – by a malware by giancarlostoro on Monday November 16, 2015 @03:37PM (#10576972)
Most 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.
Re:The most popular curl download – by a malware by barkingcat on Monday November 16, 2015 @11:12AM (#10575201)
malware 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.

Re:The most popular curl download – by a malware by rnovak on Monday November 16, 2015 @03:42PM (#10577000)
Where 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

Re:The most popular curl download – by a malware by cypres on Monday November 16, 2015 @03:47PM (#10577034)
It's downloading a curl release based on mingw32, aka gnu for windows.
Re:The most popular curl download – by a malware by SixSigma on Monday November 16, 2015 @04:42PM (#10577420)
Curl is more than an http client or else wget would. Raw sockets would work just fine when you control the Web server
Re:The most popular curl download – by a malware by bobbyi_settv on Monday November 16, 2015 @03:07PM (#10576793)
The malware must already have a way to make http requests because it is downloading curl via http.
Re:The most popular curl download – by a malware by staz on Monday November 16, 2015 @08:49PM (#10578693)
Making an http request for an hardcorded path (and no https) is quite easy, you just need to open a socket and send a two lines header. curl can do more advanced and intelligent things than that.
Re:The most popular curl download – by a malware by fla on Monday November 16, 2015 @12:39PM (#10575770)
bandwidth evaluation ?
Re:The most popular curl download – by a malware by tyho on Monday November 16, 2015 @08:02AM (#10574140)
I 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.
Re:The most popular curl download – by a malware by smcl on Monday November 16, 2015 @08:35AM (#10574298)
I'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?
Re:The most popular curl download – by a malware by rplnt on Monday November 16, 2015 @08:44AM (#10574334)
There are "indicators of compromise" listed at the end of the slides. So you could use that. But that's not curl's job... disabling some old versions by changing the url is more than enough in my opinion.
Re:The most popular curl download – by a malware by annnnd on Monday November 16, 2015 @09:01AM (#10574425)
They don't need to trust it - the fact it is there is a good enough indicator that the machine was compromised. :P
Re:The most popular curl download – by a malware by tyho on Monday November 16, 2015 @08:49AM (#10574362)
Detect the malware in the binary served by the webserver when running on the infected machine, not on the webserver. i.e. always serve the `compromised` binary for that URL.
Re:The most popular curl download – by a malware by syntheticnature on Monday November 16, 2015 @08:18AM (#10574215)
Detection 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.

Re:The most popular curl download – by a malware by fsaintjacques on Monday November 16, 2015 @09:10AM (#10574469)
I 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.

Re:The most popular curl download – by a malware by werid on Monday November 16, 2015 @09:18AM (#10574522)
You 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"

Re:The most popular curl download – by a malware by fabulist on Monday November 16, 2015 @09:38AM (#10574635)
It 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)."
Re:The most popular curl download – by a malware by qopp on Monday November 16, 2015 @06:54PM (#10578230)
How could you even tell the user that. The average user doesn't know what curl is so all they'd see is:

"!!!! Your computer is infected with MALWARE download this software now! !!!!"

Re:The most popular curl download – by a malware by t0mk on Monday November 16, 2015 @09:22AM (#10574548)
As 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.
Re:The most popular curl download – by a malware by throwaway7767 on Monday November 16, 2015 @11:17AM (#10575236)
> As 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.

They said the malware used no referer header and changing user-agent. If the user-agent were useful to segment these downloads from others, they most likely would have refused downloads based on that, because by renaming the file like they did, they're breaking build scripts for lots of downstream projects.

There's also the ethical issue of breaking into others machines, even if it's "for a good cause".

Re:The most popular curl download – by a malware by oxplot on Monday November 16, 2015 @11:23AM (#10575275)
Daniel mentions in the comments [1] that this is a binary build and implies that it's not meant to be hotlinked to.

[1]: http://daniel.haxx.se/blog/2015/11/16/the-most-popular-curl-...

Re:The most popular curl download – by a malware by pavel_lishin on Monday November 16, 2015 @10:16AM (#10574857)
Isn'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?
Re:The most popular curl download – by a malware by kej on Monday November 16, 2015 @11:31AM (#10575330)
You 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.
Re:The most popular curl download – by a malware by hatsunearu on Monday November 16, 2015 @10:15AM (#10574848)
Wouldn't it accidentally serve malicious builds to unsuspecting non-botnet users?
Re:The most popular curl download – by a malware by sbierwagen on Monday November 16, 2015 @10:38AM (#10574997)
Change the links on cURL's website to point at a different file.
Re:The most popular curl download – by a malware by eli on Monday November 16, 2015 @11:23AM (#10575277)
Even if the intentions are good, I would prefer that no malware be intentionally served from cURL's official site.
Re:The most popular curl download – by a malware by Aardwolf on Monday November 16, 2015 @10:44AM (#10575027)
What if someone fetches it with curl (yay meta!) and not through links on the website?
Re:The most popular curl download – by a malware by petecooper on Monday November 16, 2015 @09:01AM (#10574426)
Google cache (OP URL not loading for me at all):

http://webcache.googleusercontent.com/search?q=cache:y8oR2pT...

Re:The most popular curl download – by a malware by kristofferR on Monday November 16, 2015 @09:56AM (#10574723)
Why aren't curl binary downloads (and other binaries for that matter) served over HTTPS? HTTP seems like a fantastic man-in-the-middle opportunity.
Re:The most popular curl download – by a malware by mh- on Monday November 16, 2015 @10:00AM (#10574751)
they display an MD5 of the file right next to the download link, but that page is also served over plain HTTP.
Re:The most popular curl download – by a malware by zokier on Monday November 16, 2015 @11:23AM (#10575272)
The word "MD5" does not appear anywhere on curl download page http://curl.haxx.se/download.html
Re:The most popular curl download – by a malware by mh- on Thursday November 19, 2015 @02:13PM (#10596853)
I 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

Re:The most popular curl download – by a malware by beefhash on Monday November 16, 2015 @10:59AM (#10575106)
MD5 isn't considered secure anymore in the first place; collisions have been found. See http://merlot.usc.edu/csac-f06/papers/Wang05a.pdf and http://www.win.tue.nl/~bdeweger/CollidingCertificates/
Re:The most popular curl download – by a malware by herbst on Wednesday November 18, 2015 @05:38AM (#10586970)
Altering a file that it still has the same MD5 hash is still rather unrealistic.
Re:The most popular curl download – by a malware by zokier on Monday November 16, 2015 @11:17AM (#10575238)
> 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

Re:The most popular curl download – by a malware by Robadob on Monday November 16, 2015 @09:13AM (#10574484)
Wouldn'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?

Re:The most popular curl download – by a malware by ch0wn on Monday November 16, 2015 @09:15AM (#10574506)
Automated downloads don't have to be malicious. I'm sure there are tons of legitimate scripts out there that fetch curl via those URLs.
Re:The most popular curl download – by a malware by Robadob on Monday November 16, 2015 @11:39AM (#10575387)
The 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).
Re:The most popular curl download – by a malware by swiley on Monday November 16, 2015 @11:00AM (#10575113)
Captcha'd downloads are the worst: no restarting, no automation, no direct linking.
Re:The most popular curl download – by a malware by rogeryu on Monday November 16, 2015 @09:48AM (#10574681)
There is no front-end. Curl downloads similar to a commandline script. If necessary it can handle logins, but a (graphical) captcha won't work.
Re:The most popular curl download – by a malware by nkozyra on Monday November 16, 2015 @10:02AM (#10574767)
Are 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.

[deleted]
Re:The most popular curl download – by a malware by nathancahill on Monday November 16, 2015 @11:12AM (#10575198)
Not 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?

Re:The most popular curl download – by a malware by robin_reala on Monday November 16, 2015 @11:17AM (#10575241)
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 )

Re:The most popular curl download – by a malware by nathancahill on Monday November 16, 2015 @11:19AM (#10575246)
I love that IBM story.
Re:The most popular curl download – by a malware by mbrock on Monday November 16, 2015 @12:14PM (#10575602)
It'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.
Re:The most popular curl download – by a malware by samstave on Monday November 16, 2015 @02:26PM (#10576517)
Is curl block able for outbound requests?
Re:The most popular curl download – by a malware by too_late on Monday November 16, 2015 @09:51AM (#10574697)
P2P-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.

Re:The most popular curl download – by a malware by Brotkrumen on Monday November 16, 2015 @11:25AM (#10575290)
Yeah! 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!

[dead]
Re:The most popular curl download – by a malware by zajd on Monday November 16, 2015 @11:57AM (#10575500)
> 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.

You sound like fun at a party

Re:The most popular curl download – by a malware by dang on Monday November 16, 2015 @03:17PM (#10576849)
Please don't feed trolls or respond with personal attacks.