Detecting Shadow It Cloud Usage

Detect unauthorized SaaS and cloud service usage (shadow IT) by analyzing proxy logs, DNS query logs, and netflow data using Python pandas for traffic pattern analysis and domain classification.

Published by @mukul975·0 agent reads / 30d·0 saves·

Detecting Shadow IT Cloud Usage

Overview

Shadow IT refers to unauthorized SaaS applications and cloud services used without IT approval. This skill analyzes proxy logs, DNS query logs, and firewall/netflow data to identify unauthorized cloud service usage, classify discovered domains against known SaaS categories, measure data transfer volumes, and flag high-risk services based on security posture and compliance requirements.

When to Use

  • When investigating security incidents that require detecting shadow it cloud usage
  • When building detection rules or threat hunting queries for this domain
  • When SOC analysts need structured procedures for this analysis type
  • When validating security monitoring coverage for related attack techniques

Prerequisites

  • Python 3.9+ with pandas, tldextract
  • Proxy logs (Squid, Zscaler, or Palo Alto format) or DNS query logs
  • SaaS application catalog/blocklist for classification
  • Network firewall logs with FQDN resolution (optional)

Steps

  1. Parse proxy access logs and extract destination domains with traffic volumes
  2. Parse DNS query logs to identify resolved cloud service domains
  3. Aggregate traffic by domain using pandas — total bytes, request counts, unique users
  4. Classify domains against known SaaS categories (storage, email, dev tools, AI)
  5. Flag unauthorized services not on the approved application list
  6. Calculate risk scores based on data volume, user count, and service category
  7. Generate shadow IT discovery report with remediation recommendations

Expected Output

  • JSON report listing discovered cloud services with traffic volumes, user counts, risk scores, and approval status
  • Top unauthorized services ranked by data exfiltration risk

Bundled with this artifact

5 files

Reference files that ship alongside this artifact. Agents pull these in only when the task needs them.

More on the bench

SKILL0

Dependency Audit

Audits project dependencies for security vulnerabilities, license compliance issues, outdated packages, and transitive dependency risk. Use when asked to audit dependencies, review package security, check license compliance, assess dependency health, or produce a vulnerability report. Produces a vulnerability findings table, license compliance matrix, update priority matrix, dependency health score, and 30-day remediation plan.

software-engineering+2
0
SKILL0

Isms Audit Expert

Information Security Management System (ISMS) audit expert for ISO 27001 compliance verification, security control assessment, and certification support. Use when the user mentions ISO 27001, ISMS audit, Annex A controls, Statement of Applicability (SOA), gap analysis, nonconformity management, internal audit, surveillance audit, or security certification preparation. Helps review control implementation evidence, document audit findings, classify nonconformities, generate risk-based audit plans, map controls to Annex A requirements, prepare Stage 1 and Stage 2 audit documentation, and support corrective action workflows.

compliance+2
0
SKILL0

Env Secrets Manager

Manage environment-variable hygiene and secrets safety across local development and production. Practical auditing, drift awareness, rotation readiness. Use when auditing .env files for committed secrets, planning a credential rotation, debugging missing-env-var production incidents, or hardening a new project against secrets leakage.

software-engineering+2
0