feat(entries): Snowflake data-cloud platform — 3 companion-only pairs#20
Merged
Conversation
…irs) Mirrors the 2024 Snowflake credential-attack TTPs, detected via ACCOUNT_USAGE.QUERY_HISTORY (product: snowflake, query_type/query_text). Three companion-only red↔blue pairs: - snowflake-exfil-stage ↔ snowflake-exfil-audit: COPY INTO an external stage to unload whole tables; detect QUERY_TYPE=UNLOAD (T1567.002). - snowflake-rogue-user ↔ snowflake-user-audit: create a backdoor user + grant ACCOUNTADMIN; detect CREATE_USER / privileged GRANT (T1136.003). - snowflake-network-policy ↔ snowflake-network-policy-audit: open/drop the IP allowlist so stolen creds work from anywhere; detect NETWORK POLICY changes (T1562.007). Red side is Snowflake SQL; blue side is QUERY_HISTORY Splunk SPL. Corpus is now 56 paired concepts + 1 unpaired recon entry. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011spYcGfeP4a3RNQQVDrGtW
There was a problem hiding this comment.
Pull request overview
Adds a Snowflake “data cloud” platform slice to the htpx red↔blue paired corpus, modeling 3 credential-attack TTPs and corresponding detections using ACCOUNT_USAGE.QUERY_HISTORY.
Changes:
- Introduces 3 new Snowflake attack (red) entries: external-stage unload exfil, rogue user +
ACCOUNTADMIN, and network-policy allowlist tampering. - Introduces 3 new Snowflake detection (blue) entries using
snowflake:query_historytelemetry patterns (QUERY_TYPE/QUERY_TEXT). - Updates the corpus summary/table in
README.mdand notes the addition in[Unreleased]inCHANGELOG.md.
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| README.md | Updates corpus counts/tactic span and adds the 3 Snowflake pairs to the main red↔blue table. |
| CHANGELOG.md | Documents the new Snowflake platform and the updated corpus size under [Unreleased]. |
| entries/red/snowflake-exfil-stage.md | Adds the Snowflake exfiltration attack entry (external unload via COPY INTO). |
| entries/red/snowflake-rogue-user.md | Adds the Snowflake persistence attack entry (backdoor user + ACCOUNTADMIN). |
| entries/red/snowflake-network-policy.md | Adds the Snowflake defense-evasion attack entry (network policy tampering). |
| entries/blue/snowflake-exfil-audit.md | Adds the companion-only detection entry for QUERY_TYPE=UNLOAD. |
| entries/blue/snowflake-user-audit.md | Adds the companion-only detection entry for CREATE_USER and privileged grants in query history. |
| entries/blue/snowflake-network-policy-audit.md | Adds the companion-only detection entry for network policy changes via query text matching. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…view) - network-policy: also match the underscore form `NETWORK_POLICY` so `ALTER ACCOUNT/USER SET NETWORK_POLICY = ...` is caught, not just the spaced `CREATE/ALTER/DROP NETWORK POLICY`. - user-audit: the SPL matched only `ACCOUNTADMIN`; add `SECURITYADMIN` to match the stated invariant (both high-power roles). - all three blue entries: use Splunk's normalized `_time` in the `| table` (the corpus convention) instead of Snowflake's source-specific `start_time`. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011spYcGfeP4a3RNQQVDrGtW
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Snowflake data cloud
Mirrors the 2024 Snowflake credential-attack TTPs (no-MFA access → bulk data theft), detected via
ACCOUNT_USAGE.QUERY_HISTORY(product: snowflake,query_type/query_text). Three companion-only red↔blue pairs, distinct tactics:snowflake-exfil-stage—COPY INTOan external stage to unload whole tablessnowflake-exfil-audit—QUERY_TYPE=UNLOADsnowflake-rogue-user— backdoor user +ACCOUNTADMINgrantsnowflake-user-audit—CREATE_USER/ privGRANTsnowflake-network-policy— open/drop the IP allowlist so stolen creds work anywheresnowflake-network-policy-audit—NETWORK POLICYchangeVerification
./gen-views.sh --check— clean (companion-only)smb-enum-nxcunpaired)[Unreleased]updated🤖 Generated with Claude Code
Generated by Claude Code