Atomic Runbook: Search User Process Activity in Chronicle
SkillSearchUse when searching Chronicle endpoint logs for process launches initiated
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the Atomic Runbook: Search User Process Activity in Chronicle skill
What this skill tells your AI
The instructions your AI receives, as published by dandye/adk_runbooks in skills/atomic/user-search-process-activity-chronicle/SKILL.md and read by ahel’s review.
ID: RB-ATOM-USER-003
Version: 1.0
Last_Updated: 2025-05-30
Purpose: To perform a detailed search for process launch events associated with a specific username in Chronicle SIEM using search_security_events. This helps identify what applications and commands a user has executed.
Parent_Runbook(s)/Protocol(s): rules-bank/indicator_handling_protocols.md#user-indicator, rb_user_lookup_entity_chronicle.md
Trigger: When detailed process activity for a user is required, often after an initial entity lookup or if suspicious account behavior (e.g., unusual logins) is noted.
Inputs Required
username: string - The username whose process activity is to be searched (e.g.,jdoe,admin@example.com).hours_back(optional): integer - How many hours of historical data. Defaults to 24.max_events(optional): integer - Max event records. Defaults to 100.target_hostname(optional): string - Filter process activity to a specific host.process_name_filter(optional): string - Filter for specific process names (e.g., "powershell.exe", "cmd.exe").
Execution Steps
- Tool Selection:
- Primary_Tool_MCP_Server:
secops-mcp - Primary_Tool_Name:
search_security_events
- Primary_Tool_MCP_Server:
- Query Construction (for
textparameter):- Base query: "Process launch events for user '{username}'"
- Hostname filter (if
target_hostnameprovided): " on host '{target_hostname}'" - Process name filter (if
process_name_filterprovided): " involving process '{process_name_filter}'" - Append time window: "... in the last {hours_back} hours"
- Example: "Process launch events for user 'jdoe' on host 'workstation123' involving process 'powershell.exe' in the last 24 hours"
- Parameter Mapping:
- Map constructed query to
text. - Map
hours_back,max_events.
- Map constructed query to
- Execute Tool: Call
search_security_events.- AI Agent Note: Ensure username format matches UDM
principal.user.userid.
- AI Agent Note: Ensure username format matches UDM
- Data Transformation/Extraction:
- Focus on
events.events. Extractmetadata.event_timestamp,principal.user.userid,principal.hostname,principal.process.file.full_path,principal.process.command_line,principal.process.parent_process.file.full_path.
- Focus on
Outputs Expected
process_events: list - List of UDM process launch event records.translated_udm_query: string.total_events_matched: integer.executed_commands: list - Uniqueprincipal.process.command_linefrom events.involved_hosts: list - Uniqueprincipal.hostnamewhere processes were launched.output_status: string - ["Success", "NoEventsFound", "Failure"]output_message: string (if Failure).
Decision Logic / Next Steps (If Applicable)
- IF
output_statusis "Success":- Log key findings (e.g., list of commands, hosts involved).
- Analyze
executed_commandsfor suspicious activity (e.g., use of hacking tools, unusual scripts, reconnaissance commands). - Correlate with
analytical_query_patterns.mdfor known malicious command patterns. - If suspicious commands or processes are found, escalate or proceed to deeper investigation of affected hosts or related IOCs (file hashes from processes, network connections).
- IF
output_statusis "NoEventsFound":- Log "No process launch events found for user {username} matching criteria in Chronicle for the last {hours_back} hours."
- ELSE (
output_statusis "Failure"):- Log error:
output_message. - Escalate: "Failed to search process events for user {username} in Chronicle."
- Log error:
AI Agent Execution Notes
- If
process_name_filteris used, ensure it's specific enough or use wildcards appropriately if the tool's natural language processing supports it well for process names. - This runbook is powerful when combined with login activity; e.g., investigate processes launched after a suspicious login.
Metrics Collection Points
- Log execution time.
- Log
output_status, number ofprocess_eventsreturned. - (Reference
rules-bank/ai_performance_logging_requirements.md)
References
rules-bank/mcp_tool_best_practices.mdrules-bank/indicator_handling_protocols.md(future User section)rules-bank/analytical_query_patterns.mdrules-bank/ai_performance_logging_requirements.md
Signals
- GitHub stars
- 84
- Forks
- 14
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Gateway key
user-search-process-activity-chronicle- Source
- github.com/dandye/adk_runbooks