Skip to content

DefCon 2019 proof of concept demonstrating how to use SaaS for CnC

License

Notifications You must be signed in to change notification settings

netskopeoss/saasy_boi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

saas_cnc

This is a project for the Cloud Village at DefCon 27, demonstrating just how easy it is for attackers and malware authors to use SaaS and social media services as command and control vectors.

This code is a proof of concept intended for research purposes only. It does not contain any payloads. It is not weaponized.

Design was in no small part influenced by:

We leverage the following apps/services:

Retrieving API keys

  • Github Gist
  • Pastebin

Command and Control

  • Slack
  • Twitter
  • Github

File Exfiltration

  • Slack
  • Imgur (images only)
  • Dropbox
  • File.io

saasy_boi offers file upload and download/execute functionality, reverse shell functionality, and can take and upload screenshots of the active screen.
They key here is that we're looking to be robust to changing API keys, getting banned from platforms, and from IDS/IPS. The weakness that can be exploited is that the initial fetching of API keys from Github and Pastebin necessitates that those locations be hard-coded. There are some potential workarounds there (including maybe just hard-coding the API keys for Slack from the start!).

Note that this code works on my configuration of my machines and even though I've successfully tested it on Mac, Linux (Ubuntu 18.04), and Windows, it may require some work to run in your particular environment. No guarantee of this code working or warranty of any kind is implied.

Again, this code is a proof of concept intended for research purposes only. It does not contain any payloads. It is not weaponized.

About

DefCon 2019 proof of concept demonstrating how to use SaaS for CnC

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages