Phillipp

Phillipp

Hey,

for a long long time now, I think about strategies for building a Twitter botnet (just4fun).

Not only the setup and management of such a botnet are interesting but also the different ways to “hide” the fact that there is a botnet.

Now, one could argue that it’s not that nice to create yet another fleet of fake Twitter accounts and let them do random stuff, but it’s still a very nice project suited for Elixir and to be honest, no one would even notice yet another botnet there :smiley:

There are also some nice things you could do like querying the Twitter API and bypass the ridiculous small rate limit by balancing the requests over all accounts.

So, my question is, if people are interested in reading about my ideas. Most things can also be used outside of the Twitter scope I guess.

Showing Posts 1 to 10

ibarch

ibarch

It’s definitely something new and inspiring. Go fo it!

datadrover

datadrover

It sounds interesting and fun idea. With regard to writing a book, you may want to think about widening the scope. So could your book cover cooperating bots and the notion of agency more generally? One reason for encouraging you is that Elixir/Erlang/OTP ecosystem provides an excellent foundation for this kind of work (happy to discuss that further and support the argument).

Phillipp

Phillipp OP

Yeah, I would implement some functionality like “let 40% of my bots retweet this tweet” and many other things. There are a ton of things you can do. Beside the botnet features itself, one could build a whole web control panel where you can control each bot individually etc.

Another big topic is obscurity. There are researchers out there who analyse social networks and try to find bots and botnets. And on the other side, there is Twitter who tries to identify bot accounts.
And there are some ways to make these things harder.

dimitarvp

dimitarvp

With regards to it being a book it should definitely be self-published because IMO no publisher will agree to sign their name under such a topic with a potential for service abuse.

I would prefer such a material to be slightly skewed towards a more general solution, namely how can a fleet of bots be managed efficiently and with minimal effort while it provides certain benefits out of the box? Example: not hitting API limits, as you pointed out. Or even having some of the bots do more requests (but still not hit limits) because they are in a faster network compared to another part of the group – so I mean a distributed code that can dynamically readjust where it runs more work depending on conditions like network speed, CPU speed, available memory. Almost like a true AI. :slight_smile:

IMO most Twitter botnets are used to game the advertising and marketing game which is immoral but I will admit I am not very much into marketing anyway so my point of view might not be objective.

Phillipp

Phillipp OP

I would definitely go with Leanpub.com, the best platform for self publisher.

Functionality wise, I will focus on Twitter, BUT all of it can be used for other things too. The concepts are pretty much the same, just different API calls and slightly different behavior for other platforms.

The real interesting part is everything around. A botnet is fine, but it shouldn’t look like one.

Yeah, there are many single bot accounts who just tweet links to random pages where the victim is supposed to get spammed by advertisement. And of course, the normal “retweet” bots.

dimitarvp

dimitarvp

So may I ask why you opted for Twitter? You want to be sure the botnet is not caught and thus your algorithms to conceal the fact that it’s a net are successful and correct?

Phillipp

Phillipp OP

Twitter is the easiest I guess and it’s the social network I use the most. I don’t use Facebook or Google+ anymore. And Instagram is going to remove their API.

dimitarvp

dimitarvp

Well, I would read it. Curious how would you recommend running it from a multitude of IP addresses especially if you target hobbyist programmers (proxy services that can utilize millions of IPs aren’t very cheap).

Truthfully, computing as a whole – not only in BEAM VM land – desperately needs the next step in bulletproof distributed consensus and self-adjusting / adaptive fleets of machines. It really is about time some of us to actually move this forward. It’s complex, yes, but the IT world needs it badly, with all the Kubernetes and Docker hype and everybody wanting to have a nuclear-strike-resistant app infrastructure.

Phillipp

Phillipp OP

Have to look at it myself. But this only becomes important once you reach a certain size.

I have not yet found out my preferred way for distributed Elixir. I am waiting for firenest to become some sort of stable/usable.

Phillipp

Phillipp OP

I have setup the book on Leanpub already to collect some feedback if people are interested.

https://leanpub.com/twitter-botnet-elixir

(Yes, I need to add some info text there, I am lazy, don’t judge me :P)

Where Next? Top

Trending in Discussions Top

AstonJ
As the title says, please share what you’ve been up to with Elixir. Whether that’s been learning it, looking into it, making stuff with i...
2977 94592 917
New
cblavier
Hey there, It’s been more than a year since we started using LiveView as our main UI library and building a whole library of UI componen...
New
mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
heathen
Quite interesting article Google brought me. Didn’t find any mentions about it here. What do you think in general? Would you use togethe...
New
mhanberg
Hi everyone! The first release candidate for the Expert language server project is now available! We’ve published a press release detai...
New
axelson
Hi there! :wave: @frigidcode and I (but mostly him) have been running an Elixir Book club, we’re almost done with Designing Elixir Syste...
New
budgie
A little off-topic, but I feel like people here have a good head on their shoulders. I used to be quite good at making software. Was luc...
New

Other Trending Topics Top

GenericJam
Edit: 2026 May 15 - This post is archived. Mob is alive!! Main docs: mob v0.7.11 — Documentation A bit of explanation for the slightly c...
New
JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
marciok
Hi there! We created Gust: A task orchestrator inspired by Airflow. For those who have never heard about Aiflow, it’s a Python-based wor...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
georgeguimaraes
Just published claude-code-elixir, a plugin marketplace for Claude Code with Elixir support. These are the plugins I’ve been using for my...
New
Dmk
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews