News for hackers. Stuff that matters.
Re:Twitter accounts are being hijacked for spam by tacosx on Sunday May 26, 2019 @03:33PM (#20016948)
21 years ago was the first time I saw malware delivered over advertising on the web. 1998. I started blocking ads by manually managing my hosts file that day, for the most part I haven't look at ads since.

I'm still not sure why we're now basing our entire economy around advertising crap to people that they don't want or need, the web was ad free and worked great for many years before all this nonsense.

The fact that most all of the smart people in tech have been subsumed into ad tech is one of the most depressing things I could have possibly imagined 21 years ago. What a massive misuse of resources.

Re:Twitter accounts are being hijacked for spam by sandworm101 on Sunday May 26, 2019 @05:51PM (#20017785)
The people seeing the adds aren't the consumer, they are the commodity. The value of an ad isn't just in selling a product. Ad networks are great at collecting behavioral data. That data is quickly becoming more valuable than the products in the ads.

If I click on an ad for funeral services I might buy something but probably won't. But I may have just confirmed that a close relative just died. That factoid is worth something to a great many people beyond the local funeral parlor who paid for the ad. I should expect real estate agents and quack financial advisers to be knocking on my door by the end of the day.

Re:Twitter accounts are being hijacked for spam by EForEndeavour on Sunday May 26, 2019 @04:32PM (#20017317)
Re:Twitter accounts are being hijacked for spam by larrybeck on Sunday May 26, 2019 @05:14PM (#20017560)
Too funny, but sooo TRUE!! What has the world come to, or better yet, what have we allowed?
Re:Twitter accounts are being hijacked for spam by Thorrez on Sunday May 26, 2019 @06:25PM (#20017960)
>I'm still not sure why we're now basing our entire economy around advertising

I see 3 models for websites: completely donation based, advertising based, or subscription based. Many sites would have trouble getting the donations they would need to operate. Subscription based means only rich people can afford to use it. Advertising means poor people get the same functionality as rich people.

Re:Twitter accounts are being hijacked for spam by sandworm101 on Sunday May 26, 2019 @07:55PM (#20018425)
There have been some very interesting experiments in this area. Going back to the 90s, smaller website once gathered together to form communities under a single subscription fee. In some advanced groups each website was given a share based on traffic. This allowed a single reasonable subscription to back a great many independent websites.

As with most things on the internet, the porn industry did it first.

Re:Twitter accounts are being hijacked for spam by Thorrez on Sunday May 26, 2019 @09:06PM (#20018705)
>a single reasonable subscription

That subscription might be reasonable for a middle class person in the US, but way too expensive for the average person in a poorer country. Ads put everyone on the same footing.

And if you want to do research on a topic across many different websites, it'll happen that they won't all be in the same community, so you'll have to pay subscription fees to many different communities, sometimes just for a single page view.

Re:Twitter accounts are being hijacked for spam by rch on Sunday May 26, 2019 @08:45PM (#20018623)
Google Contributor is (was?) a good idea, and for a while I really enjoyed using it. It was nice to visit a page and see the "thanks for being a contributor" messages instead of visually aggressive ads.

Of course it was canceled at some point, and now it looks like there is some meager effort to require sites to opt-in somehow.... I can't tell if any sites have actually done so.

Too bad, because I really liked the old experience.

Re:Twitter accounts are being hijacked for spam by Zelphyr on Sunday May 26, 2019 @01:14PM (#20016012)
I had two accounts (done because at the time I didn’t realize you could change your account handle); one I rarely used and one I used daily. I went to log in to the rarely used one and the password didn’t work nor did recovery. It had been hacked. Nothing I did could get it back and Twitter just shrugged and said sucks to be me. So I cancelled the daily use one. Not just because of that mind you. Twitter has become a cesspool anymore and I realized it was making me unhappy more than it was contributing to my life. If, by some miracle I manage to get the other account back I’ll cancel it too.
Re:Twitter accounts are being hijacked for spam by noitsnot on Sunday May 26, 2019 @02:29PM (#20016538)
Maybe I'm doing it wrong, but I don't have time to find and filter out decent followers. I signed up back in 2005 and couldn't tell you when it wasn't a cesspool for awful posts and comments.
Re:Twitter accounts are being hijacked for spam by EForEndeavour on Sunday May 26, 2019 @04:37PM (#20017344)
It depends on how you use Twitter.

Using it to keep up with politics or news can quickly lead you to some of the most highly concentrated cesspools of humanity's worst thoughts. There will be abject ignorance or just plain noise among the top replies to pretty much any tweet by The Economist, the New York Times, Barack Obama (actually any politician), ...

However, I've found it healthy and helpful to tap into active communities built around certain computer science topics, like machine learning, or "ML Twitter."

Re:Twitter accounts are being hijacked for spam by tomjakubowski on Sunday May 26, 2019 @06:26PM (#20017964)
Twitter didn't launch until 2006, I thought. —an '07
Re:Twitter accounts are being hijacked for spam by noitsnot on Sunday May 26, 2019 @07:31PM (#20018287)
You're right. I verified what my profile displays, so I can correct my signup date as 2008. 10+ years isn't too shabby, though.
Re:Twitter accounts are being hijacked for spam by OrgNet on Sunday May 26, 2019 @10:23PM (#20018968)
I also lost access to my first account, but who cares? I also lost my first ICQ account... oh well.
Re:Twitter accounts are being hijacked for spam by beager on Sunday May 26, 2019 @10:49AM (#20015174)
One thing which I didn’t see clarified here was the deceptive CNN domain. Either the preview card can be exploited to spoof CNN (bad on twitter) or CNN.com has an open redirect (bad on CNN).
Re:Twitter accounts are being hijacked for spam by simongr3dal on Sunday May 26, 2019 @11:04AM (#20015253)
As I understood it, twitter is following redirects to show the user the final destination in the card. The problem is the scammers recognise when twitter is generating the card and redirects twitter to a different domain than the what the actual user will be redirected to.

The problem is that twitter follows the redirects to show the final URL, presumably to support advertising companies that use third-party link tracking software like bit.ly, if they just showed the actual link they wouldn't have this problem.

Re:Twitter accounts are being hijacked for spam by edent on Sunday May 26, 2019 @10:56AM (#20015209)
The preview card can be exploited by Twitter.

Visit https://cards-dev.twitter.com/validator and paste in the spam URL there. You'll see that the validator warns that it is being redirected, but follows it anyway.

CNN is blameless (as far as I can tell).

Re:Twitter accounts are being hijacked for spam by beager on Sunday May 26, 2019 @11:07AM (#20015271)
So the exploit is fake site -> user-agent specific redirector -> CNN. That would clear CNN.

I’m thinking through how Twitter would combat something like this. IMO they would flag new domains for manual approval (or hey, require TFA for self-serve ad accounts!) but both of these add to the cost and friction of their adtech.

Always a bummer when good security practice gets overruled by the need to squeeze every cent of revenue they can.

Re:Twitter accounts are being hijacked for spam by jdietrich on Sunday May 26, 2019 @11:37AM (#20015432)
>I’m thinking through how Twitter would combat something like this.

Display the real link domain by default, but offer custom domains for manually verified advertisers. That obviously involves some degree of cost, but it's worthwhile to preserve trust in the platform.

Re:Twitter accounts are being hijacked for spam by rubyfan on Sunday May 26, 2019 @11:25AM (#20015366)
Maybe twitter could show something on the card “CNN.com via malicious.example.com”? Personally I like knowing when I’m clicking a tracked or affiliate link anyway.
Re:Twitter accounts are being hijacked for spam by liability on Sunday May 26, 2019 @11:33AM (#20015412)
I'm not sure how many people that would work for. If malicious.example.com were some pithy little domain on a trendy ccTLD like bit.ly, I think most twitter users would ignore it, assuming it was yet another URL shortener.
Re:Twitter accounts are being hijacked for spam by nkozyra on Sunday May 26, 2019 @11:28AM (#20015378)
This is probably the only viable choice other than randomizing user agents, which is dicey enough on its own.
Re:Twitter accounts are being hijacked for spam by leeoniya on Sunday May 26, 2019 @11:17AM (#20015318)
> I’m thinking through how Twitter would combat something like this.

twitter's bot can pull the link via Tor with a randomized UA

Re:Twitter accounts are being hijacked for spam by rubyfan on Sunday May 26, 2019 @11:23AM (#20015351)
Can’t you just time the redirect so that when you create the card you point to CNN then change the redirect to something malicious afterward?
Re:Twitter accounts are being hijacked for spam by Sephr on Sunday May 26, 2019 @12:31PM (#20015736)
The list of Tor exit nodes is public.

I can detect public Tor IP addresses and give them a different redirect with Zerodrop: https://eligrey.com/blog/zerodrop/

Re:Twitter accounts are being hijacked for spam by lozenge on Sunday May 26, 2019 @12:57PM (#20015891)
For ads they can verify domain ownership (TXT dns record, or verification file or HTML meta tag served from your domain).

For links in Tweets, they can show the actual URL (domain part at least) instead of the t.co shortened URL.

Re:Twitter accounts are being hijacked for spam by JetSpiegel on Sunday May 26, 2019 @03:08PM (#20016785)
But not using t.co means Twitter doesn't track every single click on their platform, defeating the purpose.
Re:Twitter accounts are being hijacked for spam by caffeinewriter on Sunday May 26, 2019 @12:03PM (#20015593)
This isn't a new problem. Cloaking[1] has been around for a long time. Google[2], and Facebook[3] have been fighting this problem for years. Even Google hasn't had perfect luck with fighting off cloakers[4].

[1]: https://charlesngo.com/cloaking/ [2]: https://support.google.com/adspolicy/answer/6020954?hl=en#31... [3]: http://fortune.com/2017/08/09/facebook-cloaking-spam-adverti... [4]: https://wp.josh.com/2019/05/06/breaking-news-google-adwords-...

Re:Twitter accounts are being hijacked for spam by TazeTSchnitzel on Sunday May 26, 2019 @12:45PM (#20015824)
There is a proper solution, and that is to show the actual URL. If that hurts URL shorteners and trackers, so be it.
Re:Twitter accounts are being hijacked for spam by avian on Sunday May 26, 2019 @11:04AM (#20015250)
Very likely this is the same issue that was recently discussed in the context of Google ads.

Ad campaigns commonly use tracking redirects and it may be an intentional Twitter feature that the preview card hides intermediate domains.

https://news.ycombinator.com/item?id=19858552

Re:Twitter accounts are being hijacked for spam by akersten on Sunday May 26, 2019 @10:56AM (#20015208)
The malicious webserver is probably redirecting the Twitter crawler based on its user-agent to CNN, and Twitter's redirect-busting is helpfully pulling in the "final" destination.
Re:Twitter accounts are being hijacked for spam by hombre_fatal on Sunday May 26, 2019 @06:43PM (#20018049)
It's a good reminder that you can't just build the registration and on-boarding processes to filter out spammers.

You have to ensure that the damage is limited and reversible even if your trusted users (or worse, staff) are hacked or turn malicious. Though this system is usually harder to build and generalize.

Re:Twitter accounts are being hijacked for spam by paulpauper on Sunday May 26, 2019 @01:26PM (#20016105)
It's not that twitter is not doing anything , but that scamming people out of crpyo currency and money is very lucrative owing to human gullibility and the viralness of the twitter platform, so scammers have an incentive to keep finding loopholes after twitter closes existing ones. And most scmamers fail to bypass twitter security measures, so all you're seeing the ones who succeeded. if 90 scammer fail and 10 find a loophole, then those 10 will proliferate until twitter fixes it again. It's sorta like a virus that acquires drug persistence.
Re:Twitter accounts are being hijacked for spam by amingilani on Sunday May 26, 2019 @10:12PM (#20018918)
The guy whose tweets are being used as examples is still hacked and while this discussion is going on has no idea how to fix his account.

The author could've used screenshots, but he wanted to use a live example, so instead of giving the non-technical person a straight link to ads.twitter.com, he just told him he'd written an article on the problem [0]

[0]: https://twitter.com/Fishblogger/status/1132737507827834885?s...

Re:Twitter accounts are being hijacked for spam by Sephr on Sunday May 26, 2019 @12:27PM (#20015722)
This vulnerability is an intentional "feature" in Bing, Google, and Twitter.

1. https://twitter.com/sephr/status/1056626456770428929

2. https://twitter.com/sephr/status/1055751684146655232

Re:Twitter accounts are being hijacked for spam by anonymous5133 on Sunday May 26, 2019 @07:54PM (#20018411)
The big problem here is that people create accounts on multiple sites and then reuse the username/passwords on many sites. Then, one of the sites gets hacked, the database gets leaked with unencrypted passwords. Eventually this database gets passed around the internet for anyone to use. Now people simply go down the list trying to log in with these username/password combos on every site.
Re:Twitter accounts are being hijacked for spam by alfiedotwtf on Sunday May 26, 2019 @10:27PM (#20018988)
My account has been suspended in the past 2 weeks. Having gone through their support page a few times, I have yet to receive an email about the reasoning.

I'll be setting up a Mastodon machine soon, deleting my Twitter account, and making sure that my posts are forever owned by myself and my online voice can't ever be taken away from me again.

Re:Twitter accounts are being hijacked for spam by CheckBlanket on Sunday May 26, 2019 @10:43AM (#20015145)
The images are of type .webp which may fail to load in Safari (at least for me), maybe have them in a more accessible format?
Re:Twitter accounts are being hijacked for spam by edent on Sunday May 26, 2019 @10:47AM (#20015160)
My server is designed to serve webp only to devices which accept them. So Safari should show jpg / png.

Obviously, if you load the image directly, it'll still be webp.

Re:Twitter accounts are being hijacked for spam by scrollaway on Sunday May 26, 2019 @10:59AM (#20015228)
How do you do it? Looking at the code, it doesn't seem to be based on the Accept headers or on figure/imageset tricks. UA sniffing?
Re:Twitter accounts are being hijacked for spam by edent on Sunday May 26, 2019 @11:03AM (#20015246)
I'm using LiteSpeed Cache Management plugin for WordPress.

It has fiddled my .htaccess to

RewriteCond %{HTTP_ACCEPT} "image/webp" [or] RewriteCond %{HTTP_USER_AGENT} "Page Speed" RewriteRule .* - [E=Cache-Control:vary=%{ENV:LSCACHE_VARY_VALUE}+webp]

But... now I think about it, I probably still have CloudFlare cacheing on. Which means that won't get hit some of the time. Hmmmm.... Let's see if my server can survive HN without a CDN.

Re:Twitter accounts are being hijacked for spam by nitrogen on Sunday May 26, 2019 @12:23PM (#20015696)
You should be able to send a Vary: Accept header to the cache to have it cache all image types.
Re:Twitter accounts are being hijacked for spam by judge2020 on Sunday May 26, 2019 @02:49PM (#20016670)
Re:Twitter accounts are being hijacked for spam by joshu on Sunday May 26, 2019 @10:50AM (#20015177)
fails on mobile safari too
Re:Twitter accounts are being hijacked for spam by paul7986 on Sunday May 26, 2019 @01:47PM (#20016269)
I had a twitter account from 2007 to 2016; enjoyed using it. Though the email attached to it I lost access to and Twitter doesn't care to help you get your account back. I haven't used Twitter since!
Re:Twitter accounts are being hijacked for spam by toephu2 on Sunday May 26, 2019 @03:03PM (#20016751)
To be fair, how could they if you lost access to the only verifiable point of contact associated with your Twitter account?
Re:Twitter accounts are being hijacked for spam by simonebrunozzi on Sunday May 26, 2019 @01:04PM (#20015953)
Something similar happened to me on May 23rd, 2019 (three days ago) [0], where I ended up losing my Twitter account.

Essentially, my t-mobile mobile phone number was hijacked (despite I had a PIN, which the attacker didn't need - poor security practice by t-mobile), and after that they proceed to change the password of my Twitter account using the phone.

Thankfully I was close to a t-mobile shop in San Francisco, and ~40 minutes later I regained control of my SIM card. Nothing else has been affected so far.

FYI, T-mobile can't be sued for damage resulting from something like this. We have to "thank" judge Scalia for this.

As of now, Twitter is slowly responding to my issue, despite I had a few friends there try to help.

[0]: https://news.ycombinator.com/item?id=19998553

Re:Twitter accounts are being hijacked for spam by mieseratte on Sunday May 26, 2019 @01:07PM (#20015967)
> We have to "thank" judge Scalia for this.

Thank your legislature, not your judiciary.