We know 15k websites are infected. how do we tell them?

Posted by speckx 1 hour ago

Counter62Comment40OpenOriginal

Comments

Comment by baby_souffle 50 minutes ago

Report each domain to the major browser vendors so they can update their list of suspicious sites?

I believe the default configuration for suspected spam and phishing and other malicious sites is that the user gets a red warning page that they have to click through first. Website owner would either get notifications from users or notice the drop off in traffic?

Comment by phyzome 44 minutes ago

Yeah, this is probably the right answer. Immediately protects users, and website owners would quickly find out as well. :-)

Primary obligation is to the users, not the owners of websites that got themselves infected.

Comment by bragr 2 minutes ago

Unfortunately, this is how I found out 10 years ago when someone hacked a 3rd party dependency I was using on my site.

Comment by warkdarrior 10 minutes ago

Bingo. Protect the users first. For example, you can report the websites to Google Safebrowsing: https://safebrowsing.google.com/safebrowsing/report_phish/

Comment by sublinear 34 minutes ago

Quote from TFA:

> Supply chain - a third-party script file that a site loads is infected with malware, and is then loaded on to the site, exposing all visitors.

I already know many will disagree, but this is far too vague for your answer to make much sense. The list of 15k websites isn't given.

Most websites have at least one analytics script. Some of the biggest vendor names in that space have known XSS issues via nonce reuse that they aren't going to fix because it threatens their entire business model.

You usually get the whole clown car as soon as you allow one 3rd-party script for relatively innocent use cases like wanting a heatmap of user interaction.

You should fully expect that such a blacklist would take out most, if not all, of the websites you use every day. The security model for 3rd party scripts tends to be "trust me bro, we're $bigname"

Comment by telebub 28 minutes ago

Are you replying to something else? I don't see the connection to a problem affecting a small number of websites or the suggestion of reporting them all to a browser maker to indirectly inform them.

Comment by sublinear 23 minutes ago

No. This is a very old debate I'm bringing up. The criteria for being listed as an "infected site" is not clear enough.

Comment by 306bobby 15 minutes ago

Your example is how the site got infected. The types of infection is listed 2 or so paragraphs above that

Comment by akerl_ 2 minutes ago

If I’m about to enter my credit card information on a site that’s compromised, I don’t care if it’s because of infected first party code or infected third party code. I want my browser to say “bro this site is fishy, maybe don’t”.

Comment by athrowaway3z 3 minutes ago

I think something has gone very wrong for you to be doubting the answer.

Responsible disclosure is to prevent harm. You think about your disclosure options and pick the one that is best overall weighing the impact and harm.

They're already infected - or so you claim.

I get that companies want to use responsible disclosure as a mechanism so it can save face and their reputation, and if both are possible at the same time then sure.

But if you think you're right, you have to pick one and live with the consequences; and its not that hard to pick the right choice.

In fact, if you don't make the right choice you need stop misusing the word “responsible disclosure”.

Publish the URLs that prove they're infected. Auto update it whenever one get's fixed.

Comment by ryan_glass 2 minutes ago

Email them - many sites have a contact page with an email address. Tell them what the issue is up front. Be specific and give all the details they need to confirm the issue. Don't ask them to follow up or for payment. These are both red flags as there are so many spammers and scammers out there.

Comment by theamk 46 minutes ago

Work to add them to Google Safe Browsing blocklist (Why are they not on the list anyway? Surely Google will be interested in their technique)

Google, Facebook, Bing, other large platforms will get those websites blocked. Their traffic falls almost to zero. Then:

either web admin notices and fixes website

or people stop visiting yhem

either way, no more infected people, win for everyone.

Comment by Guestmodinfo 58 minutes ago

Make a website, name it 15579infected.com and name everywebsite. Most of the website owners would soon wise up by word of mouth and visit your website and most probably contact you and you tell them what vulnerability each one has so they can rectify. You can charge them for your service.

Comment by henearkr 31 minutes ago

This is the right move. Contrary to what the other comment says, this is not "name and shame". Instead, this is a database, useful to check for website owners to see if their site is listed inside.

This would be an idea very similar to haveibeenpwned.com, which is immensely helpful.

Comment by ajjahs 12 minutes ago

[dead]

Comment by sampaio96 51 minutes ago

Don't do that dude.

Comment by auslegung 7 minutes ago

Why not?

Comment by ryandrake 53 minutes ago

Exactly. This is not rocket science. Name and shame. Sort by estimated traffic.

Comment by testplzignore 23 minutes ago

He should just put up a txt file on his blog and call it a day.

I don't get why he brings "responsible disclosure" into this. That is appropriate when you find a door lock that is easily picked; that is not appropriate when you are watching from across the street while a house gets looted.

Comment by lacoolj 15 minutes ago

Are you trying to get a bounty or something or just want to be responsible?

You can list them all out, with the specific pages/methods that are compromised and shouldn't get much backlash from the owners.

This is a different situation than a CVE

If you want to be paid for your efforts, I dunno :\

Comment by teekert 8 minutes ago

Is there no "have I been powned" for websites?

Comment by thaumaturgy 36 minutes ago

Tangential but related: can anyone point me towards what tools are being used to identify this kind of malicious JS?

I host a modest pile of WordPress and other applications, and all traffic gets proxied by nginx. I've been occasionally sniffing around for something that I could use to monitor the JS of outbound traffic and give me a heads-up if it smells like one of the sites is delivering something it shouldn't be, but I haven't found a tool for this that I like yet.

Comment by wlkr 47 minutes ago

As someone in the UK, I'd expect something along the lines of (1) reporting to the website owner by email and if they don't respond then just (2) reporting it to the police. It used to be common to go to the hosting provider but I'm not sure if people still do that anymore. At this scale it would be kind to do (1) but also just jumping to (2) seems like more than enough to have 'done the right thing'.

https://www.ncsc.gov.uk/section/about-this-website/report-sc...

Comment by fusslo 11 minutes ago

> We continue to reach out directly to those sites that we identify as particularly high impact and try to notify them, though this is happening on an admittedly small scale. The process of responsible disclosure consumes a lot of resources, use of security.txt is low, and the vast majority of our emails and messages go unanswered. It's simply not possible for us to scale this up.

...why?

Some of the sites collect credit card information. Wouldn't they have a 'contact us' or some other legal identity information required for collecting and charging cc's?

Other than looking at security.txt what else have they tried? did they try programmatically checking for a 'contact us'? or the old trick of emailing 'webmaster@domain.com' or 'admin@domain.com'? did I miss those details in the article?

Maybe things have changed in the past 10 years, but it was a MASSIVE deal if a website ended up on some site claiming it has malware. Like, contract-ending, people-getting-fired, 10s of thousands of dollars in lawyer fees kinda deal.

I don't think 'it's hard' is a good excuse to ignore responsible disclosure

Comment by thesuitonym 20 minutes ago

Try abuse@[domain] or the admin contact listed in WHOIS.

Comment by eli 17 minutes ago

On smaller websites I’d be surprised if 1 in 100 of those goes to a person who reads the email sent there.

Comment by cubefox 9 minutes ago

> As these are sites we're crawling and identifying ourselves, we have no contact information like we would for a customer.

It does cost some money, but a possibile solution could be to spin up some cheap agents to search for contact details for each website individually. (For the subset of sites which don't have any findable contact details some other solution would be required.)

Comment by pizzafeelsright 43 minutes ago

You could send an interview request to their technical staff with an assignment that injects the fix into their production environment.

I suspect that these problems exist everywhere at this moment in all major systems.

Perhaps a bot to attempt to make contact and alert the staff.

Comment by brink 38 minutes ago

I like to imagine a rogue good-samaritan will go around "hacking" these websites to apply security fixes before logging out.

It's too bad that such a person would likely end up arrested if they don't mask their identity.

Comment by 0xbadcafebee 9 minutes ago

[delayed]

Comment by boothby 51 minutes ago

The old answer: communicate with major search engines and browser vendors. Dunno what to tell you now...

Comment by cpncrunch 37 minutes ago

Google already does that, and they warn users about malicious sites. The question is: are these sites already flagged by google?

Comment by notorandit 20 minutes ago

Whois on domain and IP.

Comment by zzzeek 44 minutes ago

oh by all means email them all directly saying you found a vulnerability.

im sure for 15,579 websites there will only be about 2500 of them that send the cops after you for "hacking their site", manageable

Comment by superkuh 48 minutes ago

In the old days you'd just do a whois of the domain name and email the system administrator or tech contact. But GDPR made whois data illegal and destroyed that system so now there is no way to contact anyone unless you both happen to be on the same corporate walled garden (facebook, twitter, etc) they might list on their site.

Comment by thesuitonym 21 minutes ago

Whois still works. Try it:

    > whois ycombinator.com
    Domain Name: ycombinator.com
    [snip]
    Admin Name: REDACTED FOR PRIVACY
    [snip]
    Admin Email: 1bd279b6ad24fb60b2e200db8f486c3f-2545852@contact.gandi.net
Gandi.net will get the message through to the person who would have been registered as the admin contact.

Comment by iagiagiag 38 minutes ago

It's still possible to use whois data. Most of the time it'll be an abuse@ email address from a provider and they can forward the message to the real admin, or they could directly block the website if you explain the issue.

Comment by vaylian 45 minutes ago

The problem is not the GDPR, but the fact that this public contact data was abused. If some assholes had not decided to spam people, we would probably still have public contact info.

Comment by phyzome 46 minutes ago

whois was effectively dead well before GDPR -- most people used registration privacy services to hide their mailing address, phone number, etc.

Comment by haukebri 33 minutes ago

[flagged]

Comment by ajjahs 11 minutes ago

[dead]

Comment by obummer 13 minutes ago

[dead]

Comment by Kenji 56 minutes ago

[dead]

Comment by DivingForGold 1 hour ago

Heh.

My primitive websites are FREE of all javascript, the tool by which advertisers and corporation anger us with Paywalls, Nag screens and the like.

Hope all of them explode.

Comment by zahlman 9 minutes ago

A fair position to take, but not really relevant here. Removing that attack vector from your own offerings doesn't un-compromise anyone else.

Comment by analog8374 49 minutes ago

Heck yes

Comment by 1 hour ago