Sysmon process creation analysis

From ShulkwiSEC/bb-huge · View interactive version

Sysmon process creation analysis is an AI agent skill from the GitHub repository ShulkwiSEC/bb-huge. Analyze Sysmon Event ID 1 (Process Creation) logs to identify malicious executions, living-off-the-land binaries (LOLBins), command-line obfuscation, and suspicious parent-child process relationships.

How to use this skill

Skill file

Sysmon Process Creation Analysis (Event ID 1)

When to Use

Prerequisites

Workflow

Phase 1: Understanding Event ID 1 Fields

# Concept: Sysmon Event ID 1 ```

### Phase 2: Hunting for Suspicious Parent-Child Relationships

Get-WinEvent -LogName "Microsoft-Windows-Sysmon/Operational" | Where-Object {

$_.Id -eq 1 -and $_.Message -match "ParentImage:.winword.exe" -and $_.Message -match "Image:.(?:powershell\.exe|cmd\.exe|wscript\.exe|cscript\.exe)"

} | Select-Object TimeCreated, Message | Format-List


### Phase 3: Detecting Command-Line Obfuscation and Encoding

index=sysmon EventCode=1 (CommandLine="*-e*" OR CommandLine="*-enc*" OR CommandLine="*-EncodedCommand*") Image="*\\powershell.exe"

| table _time, User, ParentImage, Image, CommandLine


### Phase 4: Hunting for Known LOLBins (Living Off The Land)

index=sysmon EventCode=1 (Image="*\\certutil.exe" AND (CommandLine="*-urlcache*" OR CommandLine="*-f*" OR CommandLine="*-split*"))

| stats count by CommandLine, User, Computer


#### Decision Point 🔀

flowchart TD

A[Analyze Event ] --> B{Suspicious Indicator? ]}

B -->|Yes| C[Investigate Context ]

B -->|No| D[Log as Benign ]

C --> E[Extract Artifacts ]


## 🔵 Blue Team Detection & Defense
- **Filter Tuning**: **Contextual Baselines**: - **Correlation Rules**: Key Concepts
| Concept | Description |
|---------|-------------|
## Output Format

Sysmon Process Creation Analysis — Assessment Report

============================================================

Target: [Target identifier]

Assessor: [Operator name]

Date: [Assessment date]

Scope: [Authorized scope]

MITRE ATT&CK: [Relevant technique IDs]

Findings Summary:

[Finding 1]: [Severity] — [Brief description]

[Finding 2]: [Severity] — [Brief description]

Detailed Results:

Phase 1: [Phase name]

Phase 2: [Phase name]

Risk Rating: [Critical/High/Medium/Low/Informational]

Recommendations:

1. [Immediate remediation step]

2. [Long-term hardening measure]

3. [Monitoring/detection improvement]

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.