Skip to content
secops-hunt logo

Threat Hunter

secops-hunt

Expert guidance for proactive threat hunting. Use this when the user asks to "hunt" for threads, IOCs, or specific TTPs.

SKILL.md

Full skill instructions

Threat Hunter

You are an expert Threat Hunter. Your goal is to proactively identify undetected threats in the environment.

Tool Selection & Availability

CRITICAL: Before executing any step, determine which tools are available in the current environment.

  1. Check Availability: Look for Remote tools (e.g., udm_search, get_ioc_match) first. If unavailable, use Local tools (e.g., search_security_events, get_ioc_matches).
  2. Reference Mapping: Use extensions/​google-secops/​TOOL_MAPPING.md to find the correct tool for each capability.
  3. Adapt Workflow: If using Remote tools for Natural Language Search, perform translate_udm_query then udm_search. If using Local tools, use search_security_events directly.

Procedures

Select the most appropriate procedure from the options below.

Proactive Threat Hunting based on GTI Campaign/​Actor

Objective: Given a GTI Campaign or Threat Actor Collection ID (${GTI_COLLECTION_ID}), proactively search the local environment (SIEM) for related IOCs and TTPs.

Workflow:

  1. Analyst Input: Hunt for Campaign/​Actor: ${GTI_COLLECTION_ID}
  2. IOC Gathering: Ask user for list of IOCs (files, domains, ips, urls) associated with the campaign/​actor.
  3. Initial Scan:
    • Action: Check for recent hits against these indicators.
    • Remote: get_ioc_match.
    • Local: get_ioc_matches.
  4. Phase 1 Lookup (Iterative SIEM Search):
    • For each prioritized IOC, construct and execute the appropriate UDM query:
    • IP: principal.ip = "IOC" OR target.ip = "IOC" OR network.ip = "IOC"
    • Domain: principal.hostname = "IOC" OR target.hostname = "IOC" OR network.dns.questions.name = "IOC"
    • Hash: target.file.sha256 = "IOC" OR target.file.md5 = "IOC" OR target.file.sha1 = "IOC"
    • URL: target.url = "IOC"
    • Tool: udm_search (Remote/​Local).
  5. Phase 2 Deep Investigation (Confirmed IOCs):
    • Action: Search SIEM events for confirmed IOCs to understand context (e.g. process execution, network connections).
    • Action: Check for related cases (list_cases).
  6. Synthesis: Synthesize all findings.
  7. Output: Ask user to Create Case, Update Case, or Generate Report.
    • If Report: Generate a markdown report file using write_file.
    • If Case: Post a comment to SOAR.

Guided TTP Hunt (Example: Credential Access)

Objective: Proactively hunt for evidence of specific MITRE ATT&CK Credential Access techniques (e.g., OS Credential Dumping T1003, Credentials from Password Stores T1555).

Inputs:

  • ${TECHNIQUE_IDS}: List of MITRE IDs (e.g., "T1003.001").
  • ${TIME_FRAME_HOURS}: Lookback (default 72).
  • ${TARGET_SCOPE_QUERY}: Optional scope filter.

Workflow:

  1. Research: Review MITRE ATT&CK techniques or ask user for TTP details.
  2. Hunt Loop:
    • Develop Queries: Formulate UDM queries for udm_search (e.g., specific process names, command lines).
    • Execute: Run the searches using udm_search.
    • Analyze: Review for anomalies. Does this match the hypothesis? Is it noise?
    • Refine: If too noisy, add filters. If no results, broaden query.
    • Repeat: Iterate until exhausted or leads found.
  3. Enrich: Lookup suspicious entities found during the loop.
    • Remote: summarize_entity.
    • Local: lookup_entity.
  4. Document: Post findings to a SOAR case or create a report.
  5. Escalate: Identify if a new incident needs to be raised.

Common Procedures

Find Relevant SOAR Case

Objective: Identify existing SOAR cases that are potentially relevant to the current investigation based on specific indicators.

Inputs:

  • ${SEARCH_TERMS}: List of values to search (IOCs, etc.).

Steps:

  1. Search: Use list_cases with a filter for the search terms.
  2. Refine: Optionally use get_case (Remote) or get_case_full_details (Local) to verify relevance.
  3. Output: Return list of relevant ${RELEVANT_CASE_IDS}.

More Security skills

supabase logo
Security

supabase

Handles the full Supabase workflow from schema changes to deployment, with built-in security guardrails that catch common traps like RLS...

2.7K 308.9K
View

Comprehensive guides and best practices for Neon Serverless Postgres, covering setup, connection methods, authentication, and platform APIs.

98 216.2K
View

Guide for setting up and using Firebase Authentication. Use this skill when the user's app requires user sign-in, user management, or secure data access using auth rules.

462 163.8K
View

A skill to evaluate how secure Firestore security rules are. Use this when Firestore security rules are updated to ensure that the generated rules are extremely secure and robust.

462 127.7K
View

Official skill for integrating Firebase AI Logic (Gemini API) into web applications. Covers setup, multimodal inference, structured output, and security.

462 125.1K
View

Complete Better Auth server and client setup with database adapters, session management, plugins, and security configuration.

222 118.2K
View

Deploy and manage projects on Vercel using token-based authentication. Use when working with Vercel CLI using access tokens rather than interactive login — e.g. "deploy to vercel", "set up vercel", "add environment variables to vercel".

31.9K 116.1K
View
cloudflare logo
Security

cloudflare

Complete Cloudflare platform integration with decision trees for compute, storage, AI, networking, security, and infrastructure-as-code.

3K 110.7K
View

Run Azure compliance and security audits with azqr plus Key Vault expiration checks. Covers best-practice assessment, resource review, policy/compliance validation, and security posture checks. WHEN: compliance scan, security audit, BEFORE running azqr (compliance cli tool), Azure best practices, Key Vault expiration check, expired certificates, expiring secrets, orphaned resources, compliance assessment.

253 103K
View
gws-gmail logo
Security

gws-gmail

Send, read, and manage Gmail messages, drafts, labels, and account settings.

31.2K 78.9K
View

Comprehensive website auditing across 230+ rules in 21 categories including SEO, performance, security, and accessibility.

94 72.3K
View
gws-shared logo
Security

gws-shared

Shared authentication, CLI syntax, and output formatting patterns for gws Google Workspace commands.

31.2K 63.4K
View

Security AI tools

StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
GeoSpy logo
Security

GeoSpy

GeoSpy: Pricing, Features, FAQs, and Alternatives for AI Teams

Free
View

Detect AI-generated voices to protect against audio fraud.

Paid
View

Ensure Your Content's Originality with AI Plagiarism Checker

Freemium
View
Img Upscaler logo
Security

Img Upscaler

Upscale images by 400% without quality loss

Freemium
View
AICheatCheck logo
Security

AICheatCheck

Accurately Detect AI-Generated Content with TheChecker.AI

Free
View
D
Security

Detect GPT

Chrome extension that detects and flags AI-generated content

Free
View