skip to content

Why does command and control tunnelled through a trusted SaaS app clear EDR, proxy and identity checks alike?

level: middleimportance: should knowfreq 52%

answer

  1. three verdicts, one shared assumption
  2. signed client, allowed category, valid session
  3. overlap is not depth
  4. blind spots must differ, not agree
  5. the platform's own audit trail sits inside the channel

basics

~20 s

Because all three decide on the same assumption: a signed client, a business-categorised destination and a valid session look like work. Their blind spots overlap instead of covering each other, so three benign verdicts add no independent evidence.

solid answer

~50 s

Each control decides on a different input, but the three inputs share one assumption. The endpoint product sees a genuine signed client with an ordinary process tree and nothing dropped, so no rule matches. The web proxy decides on the destination: the domain is categorised as collaboration and permitted, and without interception the observer sees the server name and byte counts, never the request bodies. The identity provider judges the sign-in, and a valid session — or a workspace hosted entirely in the adversary's own tenant — gives it almost nothing to score. Depth comes from controls whose blind spots differ, not from controls whose verdicts agree. What would actually see this is the SaaS platform's own audit trail — which account, which OAuth-granted app, from where — and asset context: a build agent has no business holding a conversation with a collaboration workspace at all.

go deeper

for a junior

Know what each control class looks at: the endpoint agent at host telemetry, the proxy at the destination and policy, identity protection at the sign-in. Say that none of them inspects the contents of a trusted vendor's encrypted API traffic.

for a middle

Explain the shared assumption that defeats all three at once, and be precise that an unintercepted TLS observer sees the server name and byte counts but no payload at all.

for a senior

Demonstrate the pivot: name the surface the technique must touch — the platform's own audit trail, app-consent records, asset context — and argue why agreement between correlated controls carries almost no information.

for a principal

Frame independence as the acquisition criterion. Ask of any candidate product which surface it observes that nothing you own can see, rather than whether it detects the technique in a vendor demonstration.

## The technique, stated plainly An adversary carries tasking and results inside a legitimate software-as-a-service application's own API — messages, threads or file uploads in a collaboration workspace. ATT&CK groups this as web-service command and control (`T1102`, with bidirectional variants). Nothing exotic happens on the wire: it is HTTPS to a well-known vendor domain, often from the vendor's own genuine, signed client or via a valid API token. ## What each control class actually decides on **The endpoint product** decides over host telemetry: process creation with command line and parent image, module loads, file and registry writes, connection metadata. Here the process is the vendor's real client or a legitimate scripting host with a valid token; nothing unsigned is dropped, no injection is needed, the parent-child chain is ordinary. No rule matches, and the verdict is `clean`. That verdict is true within its surface. **The web proxy or secure web gateway** decides on the destination and the policy attached to it. The domain is categorised as business collaboration and permitted, because the organisation genuinely uses it. Where TLS is not intercepted for that category — common, both for performance and because vendors pin or the platform's client refuses interception — a passive observer sees the TLS server name, the certificate subject, timestamps and byte counts, and **no payload whatsoever**. The verdict `allowed` is not even an opinion about maliciousness; it is a policy decision about a category. Even where interception is in place, the traffic is well-formed API calls to that vendor's real endpoints, indistinguishable in shape from the same client doing work. **The identity provider's protection** decides about the authentication: is this sign-in consistent with what it knows about the principal. If the adversary is using a valid session or a token they already hold, there may be no new sign-in to judge. If the workspace being used for tasking lives in the adversary's *own* tenant rather than yours, your identity provider never sees the account involved at all. It can only score events it is party to. ## The real answer: correlated blindness Three products, three decision inputs, one shared assumption — *traffic from a signed client, to a trusted business domain, under a valid session, is work*. The technique is built precisely on that assumption, so it defeats all three at once. This is the difference between **overlap** and **depth**: - **Overlap** is two controls that would both catch the same technique. It buys resilience against one product being down, misconfigured or bypassed, and it costs licence, integration, an extra queue and reconciliation time when the two disagree. - **Depth** is controls whose *blind spots differ*, so a technique that clears one still runs into another. Three consoles that share a blind spot are not defence in depth; they are one control with three invoices. Agreement between controls therefore carries far less information than analysts assume. Two `benign` verdicts from products that never observed the behaviour in question are **silence, not corroboration**, and silence should not outvote a single control that did observe the relevant surface. ## What would actually have a chance here Ask which surface the behaviour has to touch, then find a control that watches that surface: | What the technique must do | Surface that records it | | --- | --- | | Authenticate to a workspace or tenant | The SaaS platform's own audit trail: account, app, OAuth grant, source address | | Get an application authorised in your tenant | Consent and app-grant records in the identity platform | | Reach the platform from a host | Asset context — which host classes have any business talking to it | | Move data through the platform | The platform's own file and export records, and egress volume from that host class | The most useful of these is the platform's own audit trail, because it is the one observer that sits *inside* the trusted channel: it is not defeated by the traffic being encrypted, to a trusted domain, from a signed client. The second most useful is asset context. A finance laptop talking to a collaboration workspace is unremarkable; a build agent or a domain controller doing it is a claim worth testing regardless of what any of the three consoles concluded. ## The trap to avoid in the answer Do not answer "the products are bad, buy a better one". Each control returned a correct verdict about the thing it observes. The gap is not accuracy; it is **independence**. When you next evaluate a control, the question is not "does it detect malicious traffic" but "which surface does it observe that my existing controls cannot, and which technique would it therefore decide correctly when the others are blind".

  • Would TLS interception on that category have changed the outcome?
    Rarely. It converts the proxy from a metadata observer into a content observer, but the content is well-formed API calls to the vendor's real endpoints, carrying messages and file uploads that look exactly like work. You gain a parsing surface and pay in breakage, pinning failures and privacy exposure, for a signal that still needs the platform's own audit trail to interpret.
  • What is the difference between overlap and defence in depth, in one sentence each?
    Overlap is two controls that would catch the same technique, which buys resilience against one being down or misconfigured and costs licence, integration and reconciliation. Depth is controls whose blind spots differ, so a technique that clears one meets another. Three consoles that share an assumption are one control with three invoices.
  • Why is the SaaS platform's own audit trail more valuable here than any of the three consoles?
    Because it observes from inside the trusted channel. Encryption, a trusted destination domain and a genuine signed client all defeat outside observers, but none of them hide the account, the authorised application, the source address or the file operations from the platform that performed them.

saying these in an interview costs you the question

  • Says the products are simply bad and a better one exists
  • Counts three benign verdicts as three pieces of evidence
  • Calls overlapping products defence in depth
  • Thinks a proxy record can reveal request contents without interception
  • Assumes identity risk scoring sees activity after the sign-in

context