Skip to content
Skillpedia
Agents35k · #5815

hunting-for-unusual-service-installations

Helps your agent detect suspicious Windows service installations. It's useful for finding new ways attackers maintain access to a system.

What it does

This tool looks for malicious programs that install themselves as 'services' on Windows to stay active. It analyzes system logs to find new and suspicious services.

When to use it

  • ✓When you suspect a computer has been compromised and want to see what was installed.
  • ✓When a new, strange service appears in the system logs.
  • ✓During a security investigation to list all installed services.

Example of what to ask your AI

“Analyze my Windows logs and tell me if there are any suspicious services installed.”

Want more? Open the sections below.

How to use

The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.

Skill link

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/hunting-for-unusual-service-installations/SKILL.md

Ready-to-paste message

Use this skill to help me: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/hunting-for-unusual-service-installations/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
How it works

The tool reads Windows log files (System.evtx) and looks for a specific code (ID 7045) that indicates a new service installation. It checks if the location where the service was installed is common or suspicious.

Installation

Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.

In the terminal (Claude Code, Codex, Cursor), in your project folder:

npx skills add mukul975/Anthropic-Cybersecurity-Skills --skill hunting-for-unusual-service-installations

Or download just the file:

curl -L https://raw.githubusercontent.com/mukul975/Anthropic-Cybersecurity-Skills/main/skills/hunting-for-unusual-service-installations/SKILL.md -o SKILL.md
Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Hunting for Unusual Service Installations

Overview

Attackers frequently install malicious Windows services for persistence and privilege escalation (MITRE ATT&CK T1543.003 — Create or Modify System Process: Windows Service). Event ID 7045 in the System event log records every new service installation. This skill parses .evtx log files to extract service installation events, flags suspicious binary paths (temp directories, PowerShell, cmd.exe, encoded commands), and correlates with known attack patterns.

When to Use

  • When investigating security incidents that require hunting for unusual service installations
  • 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 python-evtx, lxml
  • Windows System event log (.evtx) files
  • Access to live System event log (optional, for real-time monitoring)
  • Sysmon logs for enhanced process tracking (optional)

Steps

  1. Parse System.evtx for Event ID 7045 (new service installed)
  2. Extract service name, binary path, service type, and account
  3. Flag services with suspicious binary paths (temp dirs, encoded commands)
  4. Detect PowerShell-based service creation patterns
  5. Identify services running as LocalSystem with unusual paths
  6. Cross-reference with known legitimate service baselines
  7. Generate threat hunting report with MITRE ATT&CK T1543.003 mapping

Expected Output

  • JSON report listing all new service installations with risk scores, suspicious indicators, and remediation recommendations
  • Timeline of service installation events with binary path analysis
FAQ

What is a 'service' in Windows?

A service is a program that runs in the background on Windows without direct user interaction. Many legitimate programs use services, but attackers can also use them to hide.

What is 'MITRE ATT&CK T1543.003'?

It's a code that describes a tactic used by attackers: installing malicious programs as Windows services to maintain presence on a system.

Do I need to be a computer expert to use this?

No. The tool is designed to help identify suspicious activities without requiring you to understand technical programming details.

Details

Original description by the author

Detects suspicious Windows service installations (MITRE ATT&CK T1543.003) by parsing System event log Event ID 7045, analyzing service binary paths, and flagging indicators of persistence mechanisms via Sysmon/EDR telemetry. Use when hunting for new-service persistence after a suspected compromise, when Event ID 7045 fires for an unfamiliar service, or during incident response to enumerate service

repo: mukul975/Anthropic-Cybersecurity-Skills

Popularity

GitHub stars
35k
Ranking position
#5815
License
Apache-2.0
Updated
8/31/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills