P.K. SHARMA

Cyber security intelligence, AI governance, practitioner analysis

Cloud and subscribed services

Connected app (OAuth application): what it is and how it is attacked

An outside program that somebody has allowed to reach company data on their behalf.

Also known as

  • OAuth application
  • app registration
  • enterprise application
  • app consent
  • add-in

Typing any of them into the editor finds this object.

Why it matters on a security diagram

Its access survives a password change and usually survives the second factor as well, because the permission was granted deliberately rather than stolen. It appears on almost no diagrams, and it is frequently the one thing still connected after everything else has been shut down.

How it gets attacked, and what reduces it

How it gets attacked

  • Permission granted by a member of staff in no position to judge what was being asked for
  • Applications registered by an attacker and left in place as a way back
  • Requests that copy the name and appearance of a familiar product

What reduces it

  • Turn off user consent and route requests through an administrator
  • Include connected apps in incident response, because resetting passwords does not remove them
  • Review the registered list on a schedule; nobody notices an addition otherwise

Where it sits

Group
Cloud and subscribed services · Things that only exist because somebody else runs the platform underneath them.
Whose side, by default
Bystander · No relationship with us and no choice in the matter: an unwitting hosting provider, a stranger's compromised machine.
Catalogue identifier
connected-app

Reviewed . CC BY 4.0.

Others in cloud and subscribed services

The cloud and subscribed services group lists all 12 of them side by side.

Connected app on your own diagram

Open the editor, press N, and type OAuth application. The object is placed and connected to whatever was selected, and Tab adds the next one already joined to it. Nothing is uploaded: the page is served with a Content Security Policy that forbids the browser from making any outbound request at all.

Open the diagram maker