Skip to content

Latest commit

 

History

History
163 lines (143 loc) · 5.68 KB

C2_abusing_API_services.md

File metadata and controls

163 lines (143 loc) · 5.68 KB

C2 Hiding in plain sight

also published on https://mthcht.medium.com/c2-hiding-in-plain-sight-7a83963b9344 Understanding your environment with the applications used and allowed will enhances the effectiveness of your hunt here

Telegram API usage

Twitter API usage

Gmail API usage

Slack API usage

Discord API usage

Google Sheet/Google Drive API usage

Google Calendar

Github API usage

Youtube API usage

Pastebin API usage

Reddit API usage

Dropbox API usage

Instagram API usage

Zoom API usage

Virustotal API usage

Zulip API usage

  • C2 projects:
  • API detection:
    • Requests to:
      • https://*.zulipchat.com/api/v1/messages*
      • https://*.zulipchat.com/api/v1/user_uploads*
      • https://*.zulipchat.com/api/v1/users/me/subscriptions*
      • https://*.zulipchat.com/api/v1/get_stream_id?stream=*

Notion API usage

Matrix API usage

  • C2 projects:
  • API detection:
    • POST Requests to https://matrix.org/_matrix/client/r0/rooms/*/send/m.room.message
    • GET Requests to https://matrix.org/_matrix/client/r0/rooms/*/messages

OPENAI API usage

  • C2 projects:
  • API detection:
    • POST & GET Requests to https://api.openai.com/v1/files*
    • POST Requests to https://api.openai.com/v1/files/*
    • GET Requests to https://api.openai.com/v1/files/*/content*