News for hackers. Stuff that matters.
Re:Block Adware and Malware with /etc/hosts by star-glider on Monday June 12, 2023 @01:31PM (#36297479)
This is the default list used by the pihole project as well; it's a very good list.

FWIW, something like ublock origin is going to be better for in-browser blocking (for example, DNS poisoning won't work with youtube ads, which are served from youtube.com, but addins like UBO can remove them because they can hook into the actual traffic).

The ultimate adblocking solution is to use UBO in your browsers AND spin up a pihole to block ads on your entire network: https://pi-hole.net/

Re:Block Adware and Malware with /etc/hosts by wnevets on Monday June 12, 2023 @01:36PM (#36297579)
pi-hole also makes it super easy to block .zip and .mov TLDs.
Re:Block Adware and Malware with /etc/hosts by ozim on Monday June 12, 2023 @02:02PM (#36298089)
Don't forget .com which is executable extension.
Re:Block Adware and Malware with /etc/hosts by Kazrath on Monday June 12, 2023 @02:36PM (#36298724)
To be fair all extensions are potentially executable. Extensions are just a mapping to an application maintained by the OS. .com is just mapped to a program that executes by default. File type is a whole different ball of yarn to untangle.
Re:Block Adware and Malware with /etc/hosts by wnevets on Monday June 12, 2023 @02:12PM (#36298260)
I'm not worried about the non-techies being tricked into thinking .com is an executable, I doubt they even know its possible. They almost certainly know about .zips
Re:Block Adware and Malware with /etc/hosts by eli on Monday June 12, 2023 @03:38PM (#36299726)
I still don't understand the threat model here. Is there an example of how this could be used as part of an attack?
Re:Block Adware and Malware with /etc/hosts by wnevets on Monday June 12, 2023 @03:57PM (#36300024)
https://thehackernews.com/2023/05/dont-click-that-zip-file-p...

edit: HN is actually erroring out if I post an example .zip domain of the problem

Re:Block Adware and Malware with /etc/hosts by eli on Monday June 12, 2023 @04:38PM (#36300692)
I'm not doubting you can trick people into engaging with a phishing site that looks like WinRAR. I just don't think the domain makes any difference.
Re:Block Adware and Malware with /etc/hosts by wnevets on Monday June 12, 2023 @04:56PM (#36300987)
You don't think a url like those in this article [1] makes any difference? You have more faith stopping phishing than I.

[1] https://medium.com/@bobbyrsec/the-dangers-of-googles-zip-tld...

Re:Block Adware and Malware with /etc/hosts by eli on Monday June 12, 2023 @05:29PM (#36301437)
If I hover over the link like my phishing training says to do, Chrome correctly shows it as "https://v1271.zip"

If I don't bother hovering over the link then the domain never mattered at all. Could have hosted the file anywhere since the link text in HTML (including HTML email) need not have any relation to the destination. You can simply write a legitimate github.com link but the href goes somewhere else.

Any situation where you're relying on users to visually inspect every link and decide if the domain looks plausible is already a security failure.

If I'm downloading and executing files that are randomly in a Medium article or in my inbox from an untrusted source then we're in trouble whether they are hosted on github or not.

Re:Block Adware and Malware with /etc/hosts by wnevets on Monday June 12, 2023 @05:44PM (#36301617)
> If I hover over the link like my phishing training says to do

How do you hover on mobile? Instead of training my family members to hover on their phone's I will continue to just block these TLDs.

Re:Block Adware and Malware with /etc/hosts by eli on Monday June 12, 2023 @05:55PM (#36301774)
I’m confused what you’re advocating. If your family isn’t checking the domain before downloading and executing files then the .zip tld doesn’t matter. They’re just as vulnerable to phishing without it.
Re:Block Adware and Malware with /etc/hosts by wnevets on Monday June 12, 2023 @06:27PM (#36302176)
> I’m confused what you’re advocating.

I'm advocating using a pi-hole to block problematic domains on your network using list like the one from StevenBlack and entire TLDs that could be confusing. If you don't think .zip & .mov could be confusing then feel free to not block them.

Re:Block Adware and Malware with /etc/hosts by Beldin on Tuesday June 13, 2023 @02:14AM (#36306201)
The explanation I've seen is that certain programs (mail, chat, forums, etc) automatically recognise urls that are not hyperlinked and convert them into a hyperlink.

E.g. "example.com" becomes "<a href="http://example.com/">example.com</a>".

Such features would now (potentially) also work on mentions of zip files, i.e. on messages that state "download install.zip from github".

Edit: ghi, HN actually does this. Not yet with zip TLDs though.

Re:Block Adware and Malware with /etc/hosts by yonatan8070 on Tuesday June 13, 2023 @12:35AM (#36305370)
As I understand, the attack is preformed by when someone mentions attaching a file to an email (i.e. "I've attached invoice.zip"), then that filename becomes a clickable link, and the user clicks it expecting to download the file, but is actually taken to the attacker's website which looks like WinRAR, and download malware from there.

To me this attack sounds too convoluted to actually get people, since you'll need to buy a lot of domains to match someone's email's contents

Re:Block Adware and Malware with /etc/hosts by hulitu on Tuesday June 13, 2023 @02:55AM (#36306528)
attachment.zip ?
Re:Block Adware and Malware with /etc/hosts by eli on Tuesday June 13, 2023 @09:31AM (#36309968)
Re:Block Adware and Malware with /etc/hosts by eli on Tuesday June 13, 2023 @09:31AM (#36309960)
Which email client automatically creates links? Virtually everyone uses HTML email, which can link any text to any destination. If your users are clicking links to download files that they got via email from untrusted sources...then the domain doesn't really matter.
Re:Block Adware and Malware with /etc/hosts by yonatan8070 on Tuesday June 13, 2023 @09:48AM (#36310192)
I just tried emailing myself a few links and they all got automatically hyperlinked by Outlook on Android. Here are the links I tried

testlink.com link.gov abc.zip test.xyz

I agree about being able to hyperlink pretty much anything having the same effect, that's why I don't think the .zip TLD is a big issue

Re:Block Adware and Malware with /etc/hosts by afruitpie on Monday June 12, 2023 @02:08PM (#36298211)
Pi-Hole and PiVPN [0] is a great setup for DNS filtering on-the-go. The setup for PiVPN makes it foolproof as well.

When my Pi stopped working and I couldn’t find a new one, I gave up and moved to NextDNS [1] and have been very happy.

[0] https://www.pivpn.io/ [1] https://nextdns.io/

Re:Block Adware and Malware with /etc/hosts by fullspectrumdev on Monday June 12, 2023 @07:31PM (#36302926)
Extra fun: measure bandwidth use before and after implementing, the savings are fucking nuts. All that adtech webshit loading in hundreds of mb of obfuscated JS and assets to sell you widgets…