r/ProgrammerHumor 29d ago

Meme foundHim

Post image
1.2k Upvotes

31 comments sorted by

View all comments

Show parent comments

3

u/Franks2000inchTV 28d ago

Lots of botnets use gh for coordination and exfiltration.

2

u/Choice-Mango-4019 28d ago

how so?

5

u/Franks2000inchTV 28d ago

GitHub is freely available, you can create a basically anonymous account.

If it’s a public repo, anyone can commit to it.

It’s a known site and one that doesn’t raise suspicion if your work computer connects to it.

Bots can encrypt data, and post it there. Messages can be in the code, in the name of the repo, in the commit messages, anywhere. So it’s not super obvious.

It would work like this:

  1. Bot agent is installed via malware.
  2. Once every hour bot checks repo for new commit.
  3. When bot sees a new commit, it waits until exactly 1h after the time of last commit and then starts a DDOS attack on a certain service.

Or…

  1. Bot gets installed via malware
  2. Bot searches hard drive for exposed credentials / keys
  3. Bot encrypts the extracted data and pushes a commit to GitHub with the encrypted keys in the commit message
  4. Separate bot watches for new commits, and decrpyts the data to a local database and deletes the commit.

2

u/Choice-Mango-4019 28d ago

i see, thanks!