Hunt timeline

From op7ic/amphunt · View interactive version

Hunt timeline is an AI agent skill from the GitHub repository op7ic/amphunt. Extract and analyze complete event timelines from Cisco Secure Endpoints. Use this skill when an analyst needs to understand the full sequence of events on one or more endpoints - file executions, net

How to use this skill

Skill file

Hunt: Timeline Analysis

Description

Extract and analyze complete event timelines from Cisco Secure Endpoints. Use this skill when an analyst needs to understand the full sequence of events on one or more endpoints - file executions, network connections, threat detections, and process activity.

Scripts

Usage

Full Environment Timeline

# Extract timelines for all endpoints
python3 timeliner.py -c config.txt -o ./timelines/

# Limit to N endpoints for initial triage
python3 timeliner.py -c config.txt -o ./timelines/ --limit 10

Single Endpoint Deep-Dive

# Investigate a specific endpoint by UUID
python3 surround.py -c config.txt -o ./output/ -u <computer_uuid>

API Limitation

The AMP trajectory API returns a maximum of 500 events per endpoint. For endpoints with heavy activity, the timeline may be truncated. If you suspect missing events, correlate with hunt-events for specific event types or check the AMP console directly.

Post-Extraction Analysis

After generating timeline files, search for indicators:

# Suspicious process execution
grep -A 10 -B 10 -i "cmd\.exe\|rundll32\.exe\|powershell\.exe" timelines/*.txt

# Newly created files
grep 'Created by' timelines/*.txt

# File executions
grep 'Executed by' timelines/*.txt

# Threat detections
grep 'Threat' timelines/*.txt

# Network connections
grep 'NFM' timelines/*.txt

# Document activity (potential data staging)
grep -E '\.doc|\.xls|\.pdf|\.ppt' timelines/*.txt

When to Use

Follow-Up Skills

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.