Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/akashrpatil/awesome-offensive-security-skillsnpx agentmods add skills/akashrpatil/awesome-offensive-security-skills/windows-event-logs-analysisWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/akashrpatil/awesome-offensive-security-skills/windows-event-logs-analysis)<a href="https://agentmods.dev/skills/akashrpatil/awesome-offensive-security-skills/windows-event-logs-analysis"><img src="https://agentmods.dev/badge/skills/akashrpatil/awesome-offensive-security-skills/windows-event-logs-analysis/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/akashrpatil/awesome-offensive-security-skills/windows-event-logs-analysis"><img src="https://agentmods.dev/badge/skills/akashrpatil/awesome-offensive-security-skills/windows-event-logs-analysis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00064 | $0.04308 |
| Opus 5 | $0.00032 | $0.02154 |
| Sonnet 5 | $0.00013 | $0.00862 |
| Haiku 4.5 | $0.00006 | $0.00431 |
Grade A, and why
windows-event-logs-analysis scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 353 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Windows Event Logs Analysis
When to Use
- When responding to a security incident involving compromised Windows systems.
- When performing threat hunting across Active Directory environments for signs of lateral movement.
- When conducting post-breach forensic analysis to reconstruct attacker activity timeline.
- When investigating suspected credential theft (Pass-the-Hash, Kerberoasting, DCSync).
- When analyzing persistence mechanisms (services, scheduled tasks, WMI subscriptions).
When NOT to use: For Linux/macOS log analysis, use appropriate syslog/auditd skills. For memory forensics, use volatility-memory-forensics.
Prerequisites
- Access to Windows Event Log files (.evtx) — either live system or acquired forensic images
- Chainsaw, Hayabusa, or EvtxECmd for automated parsing
- Sigma rules repository for threat detection
- PowerShell 5.1+ for manual investigation
- Sysmon installed (recommended for enhanced logging)
Workflow
Phase 1: Understanding Critical Event IDs
# === AUTHENTICATION EVENTS (Security.evtx) ===
Event ID 4624 — Successful Logon
Logon Type 2: Interactive (physical keyboard/KVM)
Logon Type 3: Network (SMB share access, PSExec, WMI)
Logon Type 7: Unlock (screen unlock)
Logon Type 9: NewCredentials (RunAs /netonly — creds used for remote access)
Logon Type 10: RemoteInteractive (RDP)
Event ID 4625 — Failed Logon (brute force indicator)
Watch for: Multiple 4625 followed by 4624 = successful brute force
Event ID 4648 — Explicit Credential Logon (RunAs, PassTheHash indicator)
Event ID 4672 — Special Privileges Assigned (admin/SYSTEM logon)
Alert: When unexpected users receive SeDebugPrivilege, SeTcbPrivilege
Event ID 4776 — NTLM Authentication (local SAM validation)
Watch for: "Error Code: 0xC0000064" = username doesn't exist
Watch for: "Error Code: 0xC000006A" = bad password
# === KERBEROS EVENTS (Security.evtx) ===
Event ID 4768 — TGT Request (AS-REQ)
AS-REProast indicator: Encryption type 0x17 (RC4) for accounts with SPN
Event ID 4769 — Service Ticket Request (TGS-REQ)
Kerberoasting indicator: Encryption type 0x17 (RC4) targeting service accounts
Event ID 4771 — Kerberos Pre-Auth Failed
Password spray indicator: Multiple failures across different accounts
# === PROCESS & EXECUTION EVENTS ===
Event ID 4688 — New Process Created (Security.evtx)
Enable "Include command line in process creation events" GPO
Watch for: powershell.exe -enc, cmd.exe /c, wmic, certutil, bitsadmin
Sysmon Event ID 1 — Process Creation (detailed command line + hashes)
Gold standard for process tracking — includes ParentImage, Hashes, User
# === LATERAL MOVEMENT INDICATORS ===
Event ID 7045 — New Service Installed (System.evtx)
PSExec indicator: Service name "PSEXESVC" with ImagePath pointing to remote executable
Watch for: Services with random names, Base64 in service paths
Event ID 5140 — Network Share Accessed (Security.evtx)
Watch for: \\*\ADMIN$, \\*\C$, \\*\IPC$ access from unexpected sources
Event ID 5145 — Network Share Object Access (detailed file-level access)
# === PERSISTENCE INDICATORS ===
Event ID 4698 — Scheduled Task Created (Security.evtx)
Event ID 4699 — Scheduled Task Deleted
Sysmon Event ID 19/20/21 — WMI Event Filter/Consumer/Binding created
Event ID 7040 — Service startup type changed (auto-start persistence)
# === POWERSHELL LOGGING ===
Event ID 4104 — Script Block Logging (PowerShell/Operational)
Captures deobfuscated script content — PRIMARY forensic source
Event ID 4103 — Module Logging
Event ID 400/403 — PowerShell engine start/stop
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 8d ago First seen · 353 lines · 64 tokens per session scan A e77aa2aa27f3
windows-event-logs-analysis is a skill published in the GitHub repository akashrpatil/awesome-offensive-security-skills (4 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 64 tokens to every session and 4,308 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other skills, from other repositories
forensics-osquery
SQL-powered forensic investigation and system interrogation using osquery to query operating systems as relational databases. Enables rapid evidence collection, threat hunting, and incident response across Linux, macOS, and Windows endpoints. Use when: (1) Investigating security incidents and collecting forensic…
ir-velociraptor
Endpoint visibility, digital forensics, and incident response using Velociraptor Query Language (VQL) for evidence collection and threat hunting at scale. Use when: (1) Conducting forensic investigations across multiple endpoints, (2) Hunting for indicators of compromise or suspicious activities, (3) Collecting…
performing-cloud-forensics-with-aws-cloudtrail
Perform forensic investigation of AWS environments using CloudTrail logs to reconstruct attacker activity, identify compromised credentials, and analyze API call patterns.
Incident Response & Digital Forensics
IR playbook execution, evidence collection, forensic timeline analysis, memory forensics, and post-incident reporting following NIST SP 800-61 and SANS PICERL methodology.
analyzing-windows-event-logs-in-splunk
Analyzes Windows Security, System, and Sysmon event logs in Splunk to detect authentication attacks, privilege escalation, persistence mechanisms, and lateral movement using SPL queries mapped to MITRE ATT&CK techniques. Use when SOC analysts need to investigate Windows-based threats, build detection queries, or…
collecting-volatile-evidence-from-compromised-host
Collect volatile forensic evidence from a compromised system following order of volatility, preserving memory, network connections, processes, and system state before they are lost.