Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Tools/GitHubGitHub/manishrawat21/detection-rules
Vulnerability AnalysisIntrusion DetectionPapers & ResearchLearning & EducationCurated ResourcesLog AnalysisLabs & Practice
GitHubmanishrawat21/detection-rules

Detection-Rules

This repository contains validated detection rules for adversary behaviors observed during APT29 simulation. Each rule was tested against the actual attack data, converted to Splunk SPL, and validated for false positives.

View Repository
425 days agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

APT29 Detection Engineering

Production-ready Sigma detection rules developed from analysis of 196,071 Sysmon events in the MITRE ATT&CK Evaluations APT29 dataset.

Overview

This repository contains validated detection rules for adversary behaviors observed during APT29 simulation. Each rule was tested against the actual attack data, converted to Splunk SPL, and validated for false positives.

Analysis published at: Detection Desk

Detection Coverage

MITRE TechniqueRule NameSeverityStatus
T1003.001LSASS Process Access with Full PermissionsHighTested
T1059.001, T1027Suspicious PowerShell Execution PatternsHighTested
T1547, T1059.006Abnormal DLL LoadsHighTested

Rules

Credential Access

LSASS Process Access with Full Permissions

  • Detects: PowerShell or cmd.exe accessing lsass.exe with GrantedAccess 0x1fffff
  • MITRE: T1003.001 (Credential Dumping)
  • Validated Against: APT29 credential dumping at 23:05:16, ProcessID 3852
  • False Positives: Low (security tools, antivirus)

Splunk Query: View SPL

Execution

Suspicious PowerShell Execution Patterns

  • Detects: PowerShell with encoding, Office-spawned PowerShell with evasion or network activity
  • MITRE: T1059.001 (PowerShell), T1027 (Obfuscation), T1566.001 (Phishing)
  • Validated Against: APT29 dataset EventID 1 PowerShell executions
  • False Positives: Medium (legitimate automation, software deployment)

Splunk Query: View SPL

Abnormal DLL Loads

  • Detects: Detects unsigned executables in Temp loading modules or DLLs
  • MITRE: T1574(Hijacking Execution), T1059.006(Command & Scripting: Python)
  • Validated Against: APT29 dataset EventID 7 Malicious DLL Loading
  • False Positive: Low (Legitimate files in TEMP dir, Python development env )

Splunk Query: View SPL

Usage

Convert to Splunk

root@kitploit:~
sigma convert -t splunk -p sysmon https://github.com/Manishrawat21/SOC_Detection_Rules/blob/main/Suspicious_Powershell_Commands/Detection_Rule.yaml

Convert to Elastic

root@kitploit:~
sigma convert -t elasticsearch -p sysmon https://github.com/Manishrawat21/SOC_Detection_Rules/blob/main/Suspicious_Powershell_Commands/Detection_Rule.yaml

Test in Your Environment

  1. Deploy to SIEM test environment
  2. Monitor for 7 days
  3. Document false positives
  4. Add exclusions as needed
  5. Promote to production

Validation Methodology

Each rule was tested using:

  • MITRE ATT&CK Evaluations APT29 dataset (196,071 events)
  • Splunk Free Tier with Sysmon logs
  • ProcessID and ProcessGuid correlation
  • Network traffic validation
  • Parent-child process tree analysis

About This Project

I analyzed the complete APT29 attack simulation to understand how advanced persistent threats operate in real environments. The goal was to write detection rules that catch actual adversary behavior, not theoretical attacks.

Analysis series:

  • Part 1: Initial Access and Steganography
  • Part 2: Credential Dumping and Collection
  • Part 3: Complete Execution Chain
  • Part 4: Lateral Movement via PsExec

Contributing

These rules are shared for the security community. If you:

  • Find false positives in your environment
  • Improve detection logic
  • Add conversions for other SIEMs

Submit a pull request or open an issue.

Author

Manish Rawat

  • LinkedIn: linkedin.com/in/rawat-manish
  • Substack: Detection Desk
  • Email: [email protected]

Detection Engineer | Threat Hunter | CompTIA Security+ & CEH Certified

License

MIT License - Use freely, attribution appreciated# SOC_Detection_Rules Written some detection rules to catch some abnormal activites. These are writen after my APT29 detection series, I hope these works for as they did for myself.

Download Tool