
Hunting for Unusual Service Installations
FreeDetect and analyze suspicious Windows service installations.
Free · Opens the source repo
What Hunting for Unusual Service Installations does
The 'Hunting for Unusual Service Installations' skill is designed to assist security professionals in identifying potentially malicious Windows services that may have been installed by attackers. By focusing on MITRE ATT&CK technique T1543.003, this skill leverages Event ID 7045 from the Windows System event log to detect new service installations. It systematically parses .evtx log files to extract relevant data, such as service names, binary paths, and the accounts under which these services are running. This information is crucial for identifying persistence mechanisms that attackers might use to maintain access to compromised systems.
The skill flags suspicious binary paths, particularly those pointing to temporary directories, PowerShell scripts, or encoded commands, which are common indicators of malicious activity. Additionally, it correlates the findings with known attack patterns, providing a structured approach to threat hunting. This capability is particularly useful during incident response scenarios where understanding the nature of newly installed services can shed light on the extent of a compromise.
Security operations center (SOC) analysts can utilize this skill to build detection rules and threat hunting queries tailored to their environments. By validating security monitoring coverage against the techniques outlined in the MITRE ATT&CK framework, analysts can enhance their incident response strategies and improve overall security posture. The output generated includes a comprehensive JSON report that details new service installations, assigns risk scores, and offers remediation recommendations, making it a valuable tool for any security team.
In summary, this skill is essential for those involved in cybersecurity, particularly in roles focused on threat hunting and incident response. It provides a methodical way to uncover and analyze unusual service installations that could indicate a security breach.
When to use it
Use this skill when investigating security incidents or when you need to validate detection coverage for service-based persistence techniques.
When not to use it
This skill is not suitable for environments that do not utilize Windows services or for general-purpose threat detection outside of service installations.
What you can build with it
Incident Response
Use this skill during incident response to identify newly installed services that may indicate a security breach.
Threat Hunting
Employ this skill to hunt for unusual service installations as part of a proactive security strategy.
Monitoring Compliance
Utilize the skill to validate that your security monitoring covers the techniques outlined in the MITRE ATT&CK framework.
How to install Hunting for Unusual Service Installations
View source1. Install with the skills CLI
npx skills add mukul975/anthropic-cybersecurity-skills/hunting-for-unusual-service-installations --agent claude-code2. Or install it manually
Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.
Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs
Inside SKILL.md
Written by mukul975Hunting 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
- Parse System.evtx for Event ID 7045 (new service installed)
- Extract service name, binary path, service type, and account
- Flag services with suspicious binary paths (temp dirs, encoded commands)
- Detect PowerShell-based service creation patterns
- Identify services running as LocalSystem with unusual paths
- Cross-reference with known legitimate service baselines
- 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
Frequently asked questions about Hunting for Unusual Service Installations
Similar skills
Asset Criticality Scoring for Vulns
Prioritize vulnerabilities based on asset criticality.
Performing Alert Triage with Elastic SIEM
Streamline alert triage processes in Elastic Security.
Active Directory Vulnerability Assessment
Secure your Active Directory with comprehensive assessments.
Active Directory Investigation
Streamline your Active Directory compromise investigations.
Parsing Artifacts with Eric Zimmerman Tools
Efficiently parse Windows forensic artifacts for analysis.
Operationalizing MISP Threat Feeds
Enhance threat detection with curated MISP feeds.
