Skip to content

AgeOfMarcus/TwitterC2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Notice!

I have paused development of TwitterC2 as I got kinda bored. I am currently working on RTC2, amongst other side projects. Once RTC2 is finished, I will completely re-write TwitterC2 as either TCNC or TC2 (Twitter Command 'N' Control, Twitter C2) with a more interactive interface, a command-line interface, and better functionality.

TwitterC2

A Command&Control server using Twitter's API.

Disclaimer/ Warning

I do not intend for this to be used illegally and do not take any responsibility for whatever happens. This is still a work-in-progress so expect some bugs.

Setup

For this, you will need preferably two Twitter accounts. One for the server (controller), and one for the agents (infected computers). On each account, create an app (by going to https://apps.twitter.com/app/create). Then, change each apps permissions to allow them to access direct messages. Next, edit the "keys.txt" file in the main folder. Replace as follows:

consumer_key=XXXX where "XXXX" is the server's Consumer Key

consumer_secret=XXXX where "XXXX" is the serevr's Consumer Secret

access_token=XXXX where "XXXX" is the server's Access Token (you will need to click the "generate access tokens" button for this)

access_secret=XXXX where "XXXX" is the server's Access Secret

username=XXXX where "XXXX" is the server's username

agent_user=XXXX where "XXXX" is the username of the agents account

Now, for the "keys.txt" file in the "templates" folder, replace each line with their respective values.

And that's it! Just run the "twitterc2.py" file to begin. To generate a payload, use the "genPayload" command.

About

A Command&Control server using Twitter's API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages