News for hackers. Stuff that matters.
Re:Twitter to label 'good' bot accounts by timvdalen on Friday September 10, 2021 @04:53AM (#28479171)
How does Twitter tell which accounts are bots?
Re:Twitter to label 'good' bot accounts by sangnoir on Friday September 10, 2021 @01:41PM (#28484841)
There are a lot of heuristics Twitter could use to estimate likelihood of bot accounts:

1) Source IP range + number of accounts linked

2) interaction speed (some actions are too fast to be human, or show coordination like tweeting exact same tweet as a different account withing .2 seconds)

3) interaction times in a rolling window (individual humans need sleep, and usually around the same time)

4) IP packet fingerprinting: can flag discrepancies like a client seemingly tweeting from "Twitter for iPhone" but originating from a Linux/*BSD/windows host

Re:Twitter to label 'good' bot accounts by maharajatever on Sunday September 12, 2021 @04:00PM (#28504364)
Isn't it really amazing that no malicious bot author thought about these before...
Re:Twitter to label 'good' bot accounts by sangnoir on Monday September 13, 2021 @12:17PM (#28513317)
I'm sure they have, but not all of them have the means (and time) to bypass some of the measures, defeating single-source-IP[1] bots and script-kiddies can cut down on the amount of bots.

It's an arms-race that I've fought on both sides of: deploying anti-abuse measures and writing a very well-behaved scraper; unfortunately some sites block all scrapers despite their behavior, and you have to figure out how the detection is done empirically and enjoy your short-lived victories while they last. On the defensive side, you continually have to update your detection heuristics, and the short-lived victories.

1. I also have a read-only Twitter archiving bot that doesn't hide its nature (the handle is "${NOUN}bot"). It runs from a single VPS at regular cron intervals. It'd be trivial for Twitter to detect this and make it not worth my while.

Re:Twitter to label 'good' bot accounts by pjc50 on Friday September 10, 2021 @05:28AM (#28479349)
They can't, but repetitiveness of content and hours of posting are fairly good heuristics.
Re:Twitter to label 'good' bot accounts by optimalsolver on Friday September 10, 2021 @08:25AM (#28480536)
Those heuristics apply to company twitter accounts controlled by humans.
Re:Twitter to label 'good' bot accounts by throwawayay02 on Friday September 10, 2021 @04:56AM (#28479185)
I'm sure they have an API bots can use.
Re:Twitter to label 'good' bot accounts by marcan_42 on Friday September 10, 2021 @05:10AM (#28479262)
The API doesn't know whether there's a human behind it or not. It's the same API used for third-party clients.
Re:Twitter to label 'good' bot accounts by zodiakzz on Friday September 10, 2021 @05:16AM (#28479289)
Easily detected by IP ranges.
Re:Twitter to label 'good' bot accounts by zimpenfish on Friday September 10, 2021 @07:41AM (#28480145)
If I'm using my VPN, my Twitter bots will be coming from the same IP range as me using Tweetbot or the Twitter website.

Even without the VPN, I occasionally have a bot that posts from a home machine with the same IP range as Tweetbot et al.

Re:Twitter to label 'good' bot accounts by cerved on Friday September 10, 2021 @06:26AM (#28479653)
because obviously there's no way to obfuscate an IP address

/s

Re:Twitter to label 'good' bot accounts by timvdalen on Friday September 10, 2021 @05:33AM (#28479378)
How would you differentiate between a human sending a tweet via the API and a bot?
Re:Twitter to label 'good' bot accounts by capableweb on Friday September 10, 2021 @05:45AM (#28479440)
User-agents
Re:Twitter to label 'good' bot accounts by hnlmorg on Friday September 10, 2021 @06:06AM (#28479561)
- User-Agent is an optional HTTP header

- RESTful APIs don't even expect a User-Agent

- User-Agent is customisable (ie bad bots can trivially use an array of seemingly authentic strings)

- Even Google are moving away from using User-Agent for identification.

Re:Twitter to label 'good' bot accounts by hihihihi1234 on Friday September 10, 2021 @05:28AM (#28479348)
Politics
Re:Twitter to label 'good' bot accounts by Applejinx on Friday September 10, 2021 @07:43AM (#28480160)
That does help at times, yes. When politics encompasses propaganda messaging to achieve a specific outcome or condition, it's possible to study the social media output and see when political messages all pop up in a coordinated way. And map out the network, particularly if you can sort out the provenance of key accounts and know where they're coming from, and identify which accounts are most disciplined about amplifying and laundering the messaging.

As such, you can indeed spot bots through political agenda :)