with-agents

Cloud Security Basics

How to use Cloud Logging to detect security breaches

Shared responsibility, identity, data, platform, logging, and audit foundations

Ten 2020–2021 episodes explaining how provider protections and customer controls fit together: identity, data access, hardware, service accounts, security logging, and audit trails.

Google Cloud Tech 9 of 10
In this collection Browse 10 summaries 9 of 10

An attacker claims to have compromised a server and urges the administrator to intervene. The episode's fictional investigation shows why that reaction can be a trap: signing in may expose administrator credentials. Logs stored in a separate project offer another way to examine what happened.

Key Points Covered

  • Do not rush into a suspected host: Logging directly into a possibly compromised server can expose administrator credentials to an attacker anticipating that response 01:03–02:06(opens in a new tab).
  • Keep forensic evidence outside the affected environment: A separate monitoring project lets responders inspect activity without depending on or modifying the suspected system 02:06–03:09(opens in a new tab).
  • Route logs before they are needed for an investigation: A sink is a filtered export of log entries. The demonstration creates one in the application project and sends matching logs to a Cloud Logging bucket in a monitoring project. Unlike the Cloud Storage destination it compares, Cloud Logging indexes the entries for analysis 02:06–04:14(opens in a new tab).
  • The investigation concludes there was no full breach: The logs show no suspicious activity, and the scenario's claimed attacker admits the objective was to capture administrator credentials during an attempted login 03:09–04:14(opens in a new tab).

Full video: https://www.youtube.com/watch?v=dLOyUy1BlIs(opens in a new tab)

Search

Search field guides and resources across the site.

    Keyboard shortcuts

    Press ? to open this guide (usually Shift + /). Close it before using other site shortcuts.

    Show keyboard shortcuts
    ?
    Search site
    Ctrl + K
    Close the current dialog or menu
    Esc

    Site shortcuts are ignored while typing. Browser and extension shortcuts may take priority.