[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6AECVDSJEJZK22N90BSYQTE":3,"skill-same:01M6AECVDSJEJZK22N90BSYQTE":160},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":51,"linkOnly":52,"markdownContent":53,"markdownBody":54,"frontMatter":55,"refName":77,"commitSha":78,"skillDirectory":79,"forksCount":80,"repositoryHtmlUrl":81,"repositoryHomepageUrl":82,"ownerHtmlUrl":83,"ownerBlogUrl":84,"ownerDescription":85,"updatedAt":86,"install":87,"resources":100},"01M6AECVDSJEJZK22N90BSYQTE","detecting-evasion-techniques-in-endpoint-logs","终端日志规避技术检测","Detects defense evasion techniques used by adversaries in endpoint logs including log tampering, timestomping, process injection, and security tool disabling. Use when investigating suspicious endpoint behavior, building detection rules for evasion tactics, or conducting threat hunting for stealthy adversary activity. Activates for requests involving evasion detection, defense evasion analysis, log tampering detection, or MITRE ATT&CK TA0005.","检测攻击者在终端日志中使用的防御规避技术，包括日志篡改、时间戳伪造、进程注入和安全工具禁用。用于调查可疑终端行为、构建规避策略检测规则，或对隐蔽攻击者活动进行威胁狩猎。针对涉及规避检测、防御规避分析、日志篡改检测或 MITRE ATT&CK TA0005 的请求激活。","mukul975\u002FAnthropic-Cybersecurity-Skills","mukul975","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F42860185?v=4","01M6ADEQR8T5M4EEG6C67BQCWF","Mahipal","01M6ADJPMYWG1E5GM1FWBE3128",36146,"Apache-2.0",null,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fdetecting-evasion-techniques-in-endpoint-logs\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BR4MYFKGCC4WCWVJ50KJ2C","安全工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSJ8FPTACYEEYRWQRNFXKY","安全检测工程","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50],"detecting evasion techniques in endpoint logs","logs","endpoint","endpoint-security","defense-evasion","defense","edr","detection","ATT&CK","detection-engineering","hardening","suspicious","MITRE-ATT&CK","threat-hunting","file","verification","validation","pr","threat hunting","cybersecurity","2026-11-10 10:12:30",false,"---\nname: detecting-evasion-techniques-in-endpoint-logs\ndescription: 'Detects defense evasion techniques used by adversaries in endpoint logs\n  including log tampering, timestomping, process injection, and security tool disabling.\n  Use when investigating suspicious endpoint behavior, building detection rules for\n  evasion tactics, or conducting threat hunting for stealthy adversary activity. Activates\n  for requests involving evasion detection, defense evasion analysis, log tampering\n  detection, or MITRE ATT&CK TA0005.\n\n  '\ndomain: cybersecurity\nsubdomain: endpoint-security\ntags:\n- endpoint\n- edr\n- threat-hunting\n- defense-evasion\n- MITRE-ATT&CK\n- detection-engineering\nversion: 1.0.0\nauthor: mahipal\nlicense: Apache-2.0\nd3fend_techniques:\n- File Metadata Consistency Validation\n- Content Format Conversion\n- File Content Analysis\n- Platform Hardening\n- File Format Verification\nnist_csf:\n- PR.PS-01\n- PR.PS-02\n- DE.CM-01\n- PR.IR-01\nmitre_attack:\n- T1055\n- T1547\n- T1059\n- T1036\n- T1027\n---\n# Detecting Evasion Techniques in Endpoint Logs\n\n## When to Use\n\nUse this skill when:\n- Hunting for adversary defense evasion techniques (MITRE ATT&CK TA0005) in endpoint telemetry\n- Building detection rules for common evasion methods (process injection, timestomping, log clearing)\n- Investigating incidents where adversaries disabled or bypassed security tools\n- Analyzing endpoint logs for indicators of living-off-the-land binary (LOLBin) abuse\n\n**Do not use** this skill for network-level evasion (use network traffic analysis) or for malware reverse engineering.\n\n## Prerequisites\n\n- Sysmon installed and configured with comprehensive logging rules (SwiftOnSecurity or Olaf Hartong config)\n- Windows Security Event Log with advanced audit policy enabled\n- EDR telemetry (CrowdStrike, SentinelOne, Microsoft Defender for Endpoint)\n- SIEM platform for log correlation (Splunk, Elastic, Sentinel)\n- MITRE ATT&CK Enterprise matrix for technique reference\n\n## Workflow\n\n### Step 1: Detect Log Tampering (T1070)\n\n**Windows Event Log clearing (T1070.001)**:\n```\n# Sysmon Event ID 1 (Process Create) for wevtutil\nEventID: 1\nCommandLine contains: \"wevtutil cl\" OR \"wevtutil clear-log\"\n\n# Security Event ID 1102 - Audit log was cleared\nEventID: 1102\nSource: Microsoft-Windows-Eventlog\n\n# System Event ID 104 - Event log was cleared\nEventID: 104\n\n# PowerShell log clearing\nEventID: 1 (Sysmon)\nCommandLine contains: \"Clear-EventLog\" OR \"Remove-EventLog\"\n\n# Splunk query:\nindex=windows (EventCode=1102 OR EventCode=104)\n  OR (EventCode=1 CommandLine=\"*wevtutil*cl*\")\n  OR (EventCode=1 CommandLine=\"*Clear-EventLog*\")\n| table _time host user CommandLine EventCode\n```\n\n**Timestomping (T1070.006)**:\n```\n# Sysmon Event ID 2 - File creation time changed\nEventID: 2\n# Look for creation times set far in the past on recently-written files\n# Correlate with Event ID 11 (FileCreate) - if FileCreate is recent but\n# creation time in Event ID 2 is old, timestomping is likely\n\n# MDE Advanced Hunting (KQL):\nDeviceFileEvents\n| where ActionType == \"FileTimestampModified\"\n| where Timestamp > ago(7d)\n| extend TimeDiff = datetime_diff('day', Timestamp, ReportedFileCreationTime)\n| where TimeDiff > 30\n| project Timestamp, DeviceName, FileName, FolderPath,\n    ReportedFileCreationTime, InitiatingProcessFileName\n```\n\n### Step 2: Detect Process Injection (T1055)\n\n```\n# Sysmon Event ID 8 - CreateRemoteThread\nEventID: 8\n# Alert when source process is unusual (not system processes)\n# Filter out known legitimate: antivirus, debugging tools\nSourceImage NOT IN (\"C:\\Windows\\System32\\csrss.exe\",\n                     \"C:\\Windows\\System32\\lsass.exe\")\n\n# Sysmon Event ID 10 - ProcessAccess with suspicious access masks\nEventID: 10\nGrantedAccess contains: \"0x1F0FFF\" OR \"0x1FFFFF\" OR \"0x001F0FFF\"\n# PROCESS_ALL_ACCESS = 0x1F0FFF (common in injection)\n# Filter legitimate: AV accessing all processes\n\n# Sysmon Event ID 25 - Process Tampering\nEventID: 25\nType: \"Image is replaced\"  # Process hollowing indicator\n\n# Splunk detection:\nindex=sysmon EventCode=8\n| where NOT match(SourceImage, \"(?i)(csrss|svchost|MsMpEng|defender)\")\n| stats count by SourceImage TargetImage host\n| where count \u003C 5\n| sort - count\n```\n\n### Step 3: Detect Security Tool Disabling (T1562)\n\n```\n# Service stopped events for security services\nEventID: 7045 (new service) OR 7036 (service state change)\nServiceName IN (\"WinDefend\", \"Sense\", \"CrowdStrike Falcon Sensor\",\n                 \"SentinelAgent\", \"csagent\", \"MBAMService\")\n\n# Sysmon Event ID 1 - Processes that disable Defender\nCommandLine contains: \"Set-MpPreference -DisableRealtimeMonitoring\"\n  OR \"sc stop WinDefend\"\n  OR \"sc config WinDefend start= disabled\"\n  OR \"net stop\" AND (\"windefend\" OR \"sense\" OR \"csagent\")\n\n# Registry modification to disable security features\n# Sysmon Event ID 13 - Registry value set\nTargetObject contains: \"DisableAntiSpyware\"\n  OR \"DisableRealtimeMonitoring\"\n  OR \"DisableBehaviorMonitoring\"\nDetails: \"DWORD (0x00000001)\"\n\n# MDE KQL:\nDeviceRegistryEvents\n| where RegistryValueName in (\"DisableAntiSpyware\", \"DisableRealtimeMonitoring\")\n| where RegistryValueData == \"1\"\n| project Timestamp, DeviceName, RegistryKey, InitiatingProcessFileName\n```\n\n### Step 4: Detect Masquerading (T1036)\n\n```\n# Sysmon Event ID 1 - Process with legitimate name from unusual path\nEventID: 1\nImage contains: \"svchost.exe\" AND Image NOT starts with: \"C:\\Windows\\System32\\\"\nImage contains: \"csrss.exe\" AND Image NOT starts with: \"C:\\Windows\\System32\\\"\nImage contains: \"lsass.exe\" AND Image NOT starts with: \"C:\\Windows\\System32\\\"\n\n# Process name mismatch (original filename vs. current name)\n# Sysmon captures OriginalFileName from PE header\nEventID: 1\nOriginalFileName != (parsed filename from Image path)\n\n# Double extension files\nEventID: 11 (FileCreate)\nTargetFilename matches: \"*\\.pdf\\.exe\" OR \"*\\.doc\\.exe\" OR \"*\\.jpg\\.exe\"\n\n# Splunk:\nindex=sysmon EventCode=1\n| eval process_name=mvindex(split(Image,\"\\\\\"),-1)\n| where (process_name=\"svchost.exe\" AND NOT match(Image,\"(?i)C:\\\\\\\\Windows\\\\\\\\System32\"))\n  OR (process_name=\"csrss.exe\" AND NOT match(Image,\"(?i)C:\\\\\\\\Windows\\\\\\\\System32\"))\n| table _time host Image ParentImage CommandLine User\n```\n\n### Step 5: Detect LOLBin Abuse (T1218, T1127)\n\n```\n# Common LOLBin abuse patterns:\n\n# mshta.exe executing remote content\nEventID: 1\nImage ends with: \"mshta.exe\"\nCommandLine contains: \"http\" OR \"javascript:\" OR \"vbscript:\"\n\n# certutil.exe downloading files\nEventID: 1\nImage ends with: \"certutil.exe\"\nCommandLine contains: \"-urlcache\" OR \"-decode\" OR \"-encode\"\n\n# regsvr32.exe executing scriptlets\nEventID: 1\nImage ends with: \"regsvr32.exe\"\nCommandLine contains: \"\u002Fs \u002Fn \u002Fu \u002Fi:\" OR \"scrobj.dll\"\n\n# rundll32.exe with unusual DLLs\nEventID: 1\nImage ends with: \"rundll32.exe\"\nCommandLine contains: \"javascript:\" OR \".js\" OR \"http:\"\n\n# MSBuild executing inline tasks\nEventID: 1\nImage contains: \"MSBuild.exe\"\nCommandLine NOT contains: \".sln\" AND NOT contains: \".csproj\"\n```\n\n### Step 6: Build Detection Rule Correlation\n\n```\n# Combine multiple weak signals into high-confidence detection:\n\n# Rule: Potential post-exploitation evasion chain\n# Trigger when 3+ evasion techniques observed on same host within 1 hour\n\n# Splunk correlation search:\nindex=sysmon host=*\n| eval technique=case(\n    EventCode=2, \"timestomping\",\n    EventCode=8 AND NOT match(SourceImage,\"csrss|svchost\"), \"process_injection\",\n    EventCode=1 AND match(CommandLine,\"(?i)wevtutil.*cl\"), \"log_clearing\",\n    EventCode=13 AND match(TargetObject,\"DisableRealtimeMonitoring\"), \"security_disable\",\n    EventCode=1 AND match(CommandLine,\"(?i)(mshta|certutil.*urlcache|regsvr32.*\u002Fs.*\u002Fn)\"), \"lolbin_abuse\",\n    true(), NULL\n)\n| where isnotnull(technique)\n| bin _time span=1h\n| stats dc(technique) as technique_count values(technique) as techniques by host _time\n| where technique_count >= 3\n| sort - technique_count\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|-----------|\n| **Defense Evasion (TA0005)** | MITRE ATT&CK tactic where adversaries attempt to avoid detection during operations |\n| **Process Injection (T1055)** | Technique of injecting code into another process's memory space to execute in a trusted context |\n| **Timestomping (T1070.006)** | Modifying file timestamps to make malicious files appear old and blend with legitimate files |\n| **Masquerading (T1036)** | Naming malicious files or processes to match legitimate system files to avoid detection |\n| **LOLBin** | Living Off the Land Binary; legitimate Windows tool repurposed by adversaries |\n| **Indicator Removal (T1070)** | Clearing logs, deleting files, or modifying artifacts to remove evidence of compromise |\n\n## Tools & Systems\n\n- **Sysmon**: Advanced Windows system monitoring with kernel-level visibility\n- **Microsoft Defender for Endpoint**: EDR with advanced hunting (KQL) for evasion detection\n- **CrowdStrike Falcon**: IOA-based behavioral detection for evasion techniques\n- **Elastic Security**: SIEM with prebuilt detection rules for ATT&CK evasion techniques\n- **Sigma Rules**: Vendor-agnostic detection rule format with extensive evasion rule library\n\n## Common Pitfalls\n\n- **Alert fatigue from process injection rules**: Many legitimate tools (AV, accessibility) perform process injection. Maintain an allowlist of known-good source processes.\n- **Missing Sysmon Event ID 8\u002F10**: Default Sysmon configurations may not capture CreateRemoteThread or ProcessAccess. Use a comprehensive Sysmon config.\n- **Ignoring parent process context**: A suspicious command line from cmd.exe is concerning only if the parent of cmd.exe is unusual (e.g., Excel spawning cmd.exe).\n- **Not correlating across event types**: Single events are often benign. Combine multiple weak signals (process creation + network connection + file creation) for high-confidence detections.\n","# Detecting Evasion Techniques in Endpoint Logs\n\n## When to Use\n\nUse this skill when:\n- Hunting for adversary defense evasion techniques (MITRE ATT&CK TA0005) in endpoint telemetry\n- Building detection rules for common evasion methods (process injection, timestomping, log clearing)\n- Investigating incidents where adversaries disabled or bypassed security tools\n- Analyzing endpoint logs for indicators of living-off-the-land binary (LOLBin) abuse\n\n**Do not use** this skill for network-level evasion (use network traffic analysis) or for malware reverse engineering.\n\n## Prerequisites\n\n- Sysmon installed and configured with comprehensive logging rules (SwiftOnSecurity or Olaf Hartong config)\n- Windows Security Event Log with advanced audit policy enabled\n- EDR telemetry (CrowdStrike, SentinelOne, Microsoft Defender for Endpoint)\n- SIEM platform for log correlation (Splunk, Elastic, Sentinel)\n- MITRE ATT&CK Enterprise matrix for technique reference\n\n## Workflow\n\n### Step 1: Detect Log Tampering (T1070)\n\n**Windows Event Log clearing (T1070.001)**:\n```\n# Sysmon Event ID 1 (Process Create) for wevtutil\nEventID: 1\nCommandLine contains: \"wevtutil cl\" OR \"wevtutil clear-log\"\n\n# Security Event ID 1102 - Audit log was cleared\nEventID: 1102\nSource: Microsoft-Windows-Eventlog\n\n# System Event ID 104 - Event log was cleared\nEventID: 104\n\n# PowerShell log clearing\nEventID: 1 (Sysmon)\nCommandLine contains: \"Clear-EventLog\" OR \"Remove-EventLog\"\n\n# Splunk query:\nindex=windows (EventCode=1102 OR EventCode=104)\n  OR (EventCode=1 CommandLine=\"*wevtutil*cl*\")\n  OR (EventCode=1 CommandLine=\"*Clear-EventLog*\")\n| table _time host user CommandLine EventCode\n```\n\n**Timestomping (T1070.006)**:\n```\n# Sysmon Event ID 2 - File creation time changed\nEventID: 2\n# Look for creation times set far in the past on recently-written files\n# Correlate with Event ID 11 (FileCreate) - if FileCreate is recent but\n# creation time in Event ID 2 is old, timestomping is likely\n\n# MDE Advanced Hunting (KQL):\nDeviceFileEvents\n| where ActionType == \"FileTimestampModified\"\n| where Timestamp > ago(7d)\n| extend TimeDiff = datetime_diff('day', Timestamp, ReportedFileCreationTime)\n| where TimeDiff > 30\n| project Timestamp, DeviceName, FileName, FolderPath,\n    ReportedFileCreationTime, InitiatingProcessFileName\n```\n\n### Step 2: Detect Process Injection (T1055)\n\n```\n# Sysmon Event ID 8 - CreateRemoteThread\nEventID: 8\n# Alert when source process is unusual (not system processes)\n# Filter out known legitimate: antivirus, debugging tools\nSourceImage NOT IN (\"C:\\Windows\\System32\\csrss.exe\",\n                     \"C:\\Windows\\System32\\lsass.exe\")\n\n# Sysmon Event ID 10 - ProcessAccess with suspicious access masks\nEventID: 10\nGrantedAccess contains: \"0x1F0FFF\" OR \"0x1FFFFF\" OR \"0x001F0FFF\"\n# PROCESS_ALL_ACCESS = 0x1F0FFF (common in injection)\n# Filter legitimate: AV accessing all processes\n\n# Sysmon Event ID 25 - Process Tampering\nEventID: 25\nType: \"Image is replaced\"  # Process hollowing indicator\n\n# Splunk detection:\nindex=sysmon EventCode=8\n| where NOT match(SourceImage, \"(?i)(csrss|svchost|MsMpEng|defender)\")\n| stats count by SourceImage TargetImage host\n| where count \u003C 5\n| sort - count\n```\n\n### Step 3: Detect Security Tool Disabling (T1562)\n\n```\n# Service stopped events for security services\nEventID: 7045 (new service) OR 7036 (service state change)\nServiceName IN (\"WinDefend\", \"Sense\", \"CrowdStrike Falcon Sensor\",\n                 \"SentinelAgent\", \"csagent\", \"MBAMService\")\n\n# Sysmon Event ID 1 - Processes that disable Defender\nCommandLine contains: \"Set-MpPreference -DisableRealtimeMonitoring\"\n  OR \"sc stop WinDefend\"\n  OR \"sc config WinDefend start= disabled\"\n  OR \"net stop\" AND (\"windefend\" OR \"sense\" OR \"csagent\")\n\n# Registry modification to disable security features\n# Sysmon Event ID 13 - Registry value set\nTargetObject contains: \"DisableAntiSpyware\"\n  OR \"DisableRealtimeMonitoring\"\n  OR \"DisableBehaviorMonitoring\"\nDetails: \"DWORD (0x00000001)\"\n\n# MDE KQL:\nDeviceRegistryEvents\n| where RegistryValueName in (\"DisableAntiSpyware\", \"DisableRealtimeMonitoring\")\n| where RegistryValueData == \"1\"\n| project Timestamp, DeviceName, RegistryKey, InitiatingProcessFileName\n```\n\n### Step 4: Detect Masquerading (T1036)\n\n```\n# Sysmon Event ID 1 - Process with legitimate name from unusual path\nEventID: 1\nImage contains: \"svchost.exe\" AND Image NOT starts with: \"C:\\Windows\\System32\\\"\nImage contains: \"csrss.exe\" AND Image NOT starts with: \"C:\\Windows\\System32\\\"\nImage contains: \"lsass.exe\" AND Image NOT starts with: \"C:\\Windows\\System32\\\"\n\n# Process name mismatch (original filename vs. current name)\n# Sysmon captures OriginalFileName from PE header\nEventID: 1\nOriginalFileName != (parsed filename from Image path)\n\n# Double extension files\nEventID: 11 (FileCreate)\nTargetFilename matches: \"*\\.pdf\\.exe\" OR \"*\\.doc\\.exe\" OR \"*\\.jpg\\.exe\"\n\n# Splunk:\nindex=sysmon EventCode=1\n| eval process_name=mvindex(split(Image,\"\\\\\"),-1)\n| where (process_name=\"svchost.exe\" AND NOT match(Image,\"(?i)C:\\\\\\\\Windows\\\\\\\\System32\"))\n  OR (process_name=\"csrss.exe\" AND NOT match(Image,\"(?i)C:\\\\\\\\Windows\\\\\\\\System32\"))\n| table _time host Image ParentImage CommandLine User\n```\n\n### Step 5: Detect LOLBin Abuse (T1218, T1127)\n\n```\n# Common LOLBin abuse patterns:\n\n# mshta.exe executing remote content\nEventID: 1\nImage ends with: \"mshta.exe\"\nCommandLine contains: \"http\" OR \"javascript:\" OR \"vbscript:\"\n\n# certutil.exe downloading files\nEventID: 1\nImage ends with: \"certutil.exe\"\nCommandLine contains: \"-urlcache\" OR \"-decode\" OR \"-encode\"\n\n# regsvr32.exe executing scriptlets\nEventID: 1\nImage ends with: \"regsvr32.exe\"\nCommandLine contains: \"\u002Fs \u002Fn \u002Fu \u002Fi:\" OR \"scrobj.dll\"\n\n# rundll32.exe with unusual DLLs\nEventID: 1\nImage ends with: \"rundll32.exe\"\nCommandLine contains: \"javascript:\" OR \".js\" OR \"http:\"\n\n# MSBuild executing inline tasks\nEventID: 1\nImage contains: \"MSBuild.exe\"\nCommandLine NOT contains: \".sln\" AND NOT contains: \".csproj\"\n```\n\n### Step 6: Build Detection Rule Correlation\n\n```\n# Combine multiple weak signals into high-confidence detection:\n\n# Rule: Potential post-exploitation evasion chain\n# Trigger when 3+ evasion techniques observed on same host within 1 hour\n\n# Splunk correlation search:\nindex=sysmon host=*\n| eval technique=case(\n    EventCode=2, \"timestomping\",\n    EventCode=8 AND NOT match(SourceImage,\"csrss|svchost\"), \"process_injection\",\n    EventCode=1 AND match(CommandLine,\"(?i)wevtutil.*cl\"), \"log_clearing\",\n    EventCode=13 AND match(TargetObject,\"DisableRealtimeMonitoring\"), \"security_disable\",\n    EventCode=1 AND match(CommandLine,\"(?i)(mshta|certutil.*urlcache|regsvr32.*\u002Fs.*\u002Fn)\"), \"lolbin_abuse\",\n    true(), NULL\n)\n| where isnotnull(technique)\n| bin _time span=1h\n| stats dc(technique) as technique_count values(technique) as techniques by host _time\n| where technique_count >= 3\n| sort - technique_count\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|-----------|\n| **Defense Evasion (TA0005)** | MITRE ATT&CK tactic where adversaries attempt to avoid detection during operations |\n| **Process Injection (T1055)** | Technique of injecting code into another process's memory space to execute in a trusted context |\n| **Timestomping (T1070.006)** | Modifying file timestamps to make malicious files appear old and blend with legitimate files |\n| **Masquerading (T1036)** | Naming malicious files or processes to match legitimate system files to avoid detection |\n| **LOLBin** | Living Off the Land Binary; legitimate Windows tool repurposed by adversaries |\n| **Indicator Removal (T1070)** | Clearing logs, deleting files, or modifying artifacts to remove evidence of compromise |\n\n## Tools & Systems\n\n- **Sysmon**: Advanced Windows system monitoring with kernel-level visibility\n- **Microsoft Defender for Endpoint**: EDR with advanced hunting (KQL) for evasion detection\n- **CrowdStrike Falcon**: IOA-based behavioral detection for evasion techniques\n- **Elastic Security**: SIEM with prebuilt detection rules for ATT&CK evasion techniques\n- **Sigma Rules**: Vendor-agnostic detection rule format with extensive evasion rule library\n\n## Common Pitfalls\n\n- **Alert fatigue from process injection rules**: Many legitimate tools (AV, accessibility) perform process injection. Maintain an allowlist of known-good source processes.\n- **Missing Sysmon Event ID 8\u002F10**: Default Sysmon configurations may not capture CreateRemoteThread or ProcessAccess. Use a comprehensive Sysmon config.\n- **Ignoring parent process context**: A suspicious command line from cmd.exe is concerning only if the parent of cmd.exe is unusual (e.g., Excel spawning cmd.exe).\n- **Not correlating across event types**: Single events are often benign. Combine multiple weak signals (process creation + network connection + file creation) for high-confidence detections.\n",{"name":5,"tags":56,"author":57,"domain":50,"license":16,"version":58,"nist_csf":59,"subdomain":34,"description":64,"mitre_attack":65,"d3fend_techniques":71},[33,37,44,35,43,40],"mahipal","1.0.0",[60,61,62,63],"PR.PS-01","PR.PS-02","DE.CM-01","PR.IR-01","Detects defense evasion techniques used by adversaries in endpoint logs including log tampering, timestomping, process injection, and security tool disabling. Use when investigating suspicious endpoint behavior, building detection rules for evasion tactics, or conducting threat hunting for stealthy adversary activity. Activates for requests involving evasion detection, defense evasion analysis, log tampering detection, or MITRE ATT&CK TA0005.\n",[66,67,68,69,70],"T1055","T1547","T1059","T1036","T1027",[72,73,74,75,76],"File Metadata Consistency Validation","Content Format Conversion","File Content Analysis","Platform Hardening","File Format Verification","main","54a798831d2266a3ca61ce68a7acb80b81160d57","skills\u002Fdetecting-evasion-techniques-in-endpoint-logs",4425,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills","https:\u002F\u002Fmahipal.engineer\u002FAnthropic-Cybersecurity-Skills\u002F","https:\u002F\u002Fgithub.com\u002Fmukul975","Mahipal.engineer","🔐 Cybersecurity | 💻 Dev | 📷 Street Photographer\r\n🎓 MSc | 📚 Research & AI Security","2026-08-31 12:32:44",{"source":9,"skillName":5,"commands":88,"prompt":98,"zipAvailable":99},[89,92,95],{"tool":90,"command":91},"npx","npx skills add mukul975\u002FAnthropic-Cybersecurity-Skills --skill detecting-evasion-techniques-in-endpoint-logs",{"tool":93,"command":94},"bunx","bunx skills add mukul975\u002FAnthropic-Cybersecurity-Skills --skill detecting-evasion-techniques-in-endpoint-logs",{"tool":96,"command":97},"pnpm","pnpm dlx skills add mukul975\u002FAnthropic-Cybersecurity-Skills --skill detecting-evasion-techniques-in-endpoint-logs","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fdetecting-evasion-techniques-in-endpoint-logs\u002FSKILL.md",true,[101,107,112,118,122,126,130,134,138,142,146,150,156],{"path":102,"resourceType":103,"resourceTypeDesc":104,"sizeBytes":105,"sourceHtmlUrl":106},"assets\u002Ftemplate.md","ASSET","资产文件",833,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fdetecting-evasion-techniques-in-endpoint-logs\u002Fassets\u002Ftemplate.md",{"path":108,"resourceType":108,"resourceTypeDesc":109,"sizeBytes":110,"sourceHtmlUrl":111},"LICENSE","许可证",11255,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fdetecting-evasion-techniques-in-endpoint-logs\u002FLICENSE",{"path":113,"resourceType":114,"resourceTypeDesc":115,"sizeBytes":116,"sourceHtmlUrl":117},"references\u002Fapi-reference.md","REFERENCE","参考文档",1713,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fdetecting-evasion-techniques-in-endpoint-logs\u002Freferences\u002Fapi-reference.md",{"path":119,"resourceType":114,"resourceTypeDesc":115,"sizeBytes":120,"sourceHtmlUrl":121},"references\u002Fconformers_module.md",5022,"https:\u002F\u002Fgithub.com\u002Fdavila7\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Fdatamol\u002Freferences\u002Fconformers_module.md",{"path":123,"resourceType":114,"resourceTypeDesc":115,"sizeBytes":124,"sourceHtmlUrl":125},"references\u002Fcore_api.md",4242,"https:\u002F\u002Fgithub.com\u002Fdavila7\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Fdatamol\u002Freferences\u002Fcore_api.md",{"path":127,"resourceType":114,"resourceTypeDesc":115,"sizeBytes":128,"sourceHtmlUrl":129},"references\u002Fdescriptors_viz.md",7366,"https:\u002F\u002Fgithub.com\u002Fdavila7\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Fdatamol\u002Freferences\u002Fdescriptors_viz.md",{"path":131,"resourceType":114,"resourceTypeDesc":115,"sizeBytes":132,"sourceHtmlUrl":133},"references\u002Ffragments_scaffolds.md",5808,"https:\u002F\u002Fgithub.com\u002Fdavila7\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Fdatamol\u002Freferences\u002Ffragments_scaffolds.md",{"path":135,"resourceType":114,"resourceTypeDesc":115,"sizeBytes":136,"sourceHtmlUrl":137},"references\u002Fio_module.md",4315,"https:\u002F\u002Fgithub.com\u002Fdavila7\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Fdatamol\u002Freferences\u002Fio_module.md",{"path":139,"resourceType":114,"resourceTypeDesc":115,"sizeBytes":140,"sourceHtmlUrl":141},"references\u002Freactions_data.md",6656,"https:\u002F\u002Fgithub.com\u002Fdavila7\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Fdatamol\u002Freferences\u002Freactions_data.md",{"path":143,"resourceType":114,"resourceTypeDesc":115,"sizeBytes":144,"sourceHtmlUrl":145},"references\u002Fstandards.md",1635,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fdetecting-evasion-techniques-in-endpoint-logs\u002Freferences\u002Fstandards.md",{"path":147,"resourceType":114,"resourceTypeDesc":115,"sizeBytes":148,"sourceHtmlUrl":149},"references\u002Fworkflows.md",2246,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fdetecting-evasion-techniques-in-endpoint-logs\u002Freferences\u002Fworkflows.md",{"path":151,"resourceType":152,"resourceTypeDesc":153,"sizeBytes":154,"sourceHtmlUrl":155},"scripts\u002Fagent.py","SCRIPT","脚本",6092,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fdetecting-evasion-techniques-in-endpoint-logs\u002Fscripts\u002Fagent.py",{"path":157,"resourceType":152,"resourceTypeDesc":153,"sizeBytes":158,"sourceHtmlUrl":159},"scripts\u002Fprocess.py",7300,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fdetecting-evasion-techniques-in-endpoint-logs\u002Fscripts\u002Fprocess.py",[161,192,220,250,280,312],{"skillNo":162,"name":163,"nameZh":164,"description":165,"descriptionZh":166,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":167,"categories":168,"keywords":173,"publishedAt":51},"01M6AGDM3HJXTKXX15ZZ0ZVCJ3","verifying-build-provenance-with-slsa-sigstore","SLSA 构建来源验证","Verifies artifact signatures and SLSA provenance using Sigstore's cosign (verify, verify-attestation, verify-blob-attestation) and slsa-verifier (verify-artifact), enforcing keyless OIDC builder identity and source repo against SLSA Build levels. Use in CI\u002FCD before deploying artifacts, when consuming third-party attestations, establishing a SLSA Build L3 pipeline, or confirming provenance during incident response or admission control.","使用 Sigstore 的 cosign（verify、verify-attestation、verify-blob-attestation）和 slsa-verifier（verify-artifact）验证工件签名和 SLSA 来源（provenance），强制校验 keyless OIDC 构建者身份和源仓库是否符合 SLSA Build 级别。适用于 CI\u002FCD 中部署工件前、消费第三方证明时、建立 SLSA Build L3 管道，或在事件响应或准入控制期间确认来源的场景。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fverifying-build-provenance-with-slsa-sigstore\u002FSKILL.md",[169,170],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":171,"categoryName":172,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C32Q37WAMK06SGMFC02VFP","软件供应链安全",[174,175,176,177,178,50,179,180,48,181,182,183,184,185,186,187,188,189,190,191],"sigstore","provenance","slsa","verifying build provenance with slsa sigstore","security","incident response","identity","code","artifacts","ci","supply-chain","pipeline","supply-chain-security","t1195","attestation","code-signing","cosign","keyless",{"skillNo":193,"name":194,"nameZh":195,"description":196,"descriptionZh":197,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":198,"categories":199,"keywords":204,"publishedAt":51},"01M6AGDGBPWYVZ2F11GFKJ4HZ9","validating-tpm-measured-boot-attestation","TPM 测量启动验证","Verifies TPM 2.0 measured-boot integrity and remote attestation with tpm2-tools -- reading PCRs (tpm2_pcrread), replaying the boot event log, generating and checking signed quotes (tpm2_quote\u002Ftpm2_checkquote), and sealing secrets to a PCR policy. Use to confirm a system booted trusted firmware\u002Fkernel for Zero Trust device posture, detect boot-chain tampering via PCR drift, or build a golden-value baseline for fleet attestation.","使用 tpm2-tools 验证 TPM 2.0 测量启动（measured boot）的完整性和远程证明：读取 PCR（tpm2_pcrread）、重放启动事件日志、生成并检查签名报价（tpm2_quote\u002Ftpm2_checkquote），以及将机密封印（seal）到 PCR 策略。适用于确认系统已启动可信固件\u002F内核以实现零信任（Zero Trust）设备状态、通过 PCR 漂移检测启动链篡改，或构建黄金值基线用于机群（fleet）证明。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fvalidating-tpm-measured-boot-attestation\u002FSKILL.md",[200,201],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":202,"categoryName":203,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C89JJEXGGRGHS6XVXDA46K","终端安全加固",[205,188,206,207,178,208,50,48,46,209,210,211,212,213,214,215,216,217,218,219],"boot","TPM","validating tpm measured boot attestation","policy","ZeRO","firmware","Tools","measured-boot","PCR","integrity","secrets","remote-attestation","tpm2-tools","integrity-verification","trusted-computing",{"skillNo":221,"name":222,"nameZh":223,"description":224,"descriptionZh":225,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":226,"categories":227,"keywords":234,"publishedAt":51},"01M6AGDCW0Y4FXZ3362GT1941M","validating-backup-integrity-for-recovery","备份完整性验证","Validates backup integrity through cryptographic hash verification, automated restore testing, corruption detection, and recoverability checks to confirm backups are reliable for disaster recovery and ransomware response. Use before relying on backups for recovery, when building post-backup validation pipelines, auditing backup infrastructure for compliance, or checking immutable\u002Fair-gapped backups for silent corruption or tampering.","通过加密哈希验证、自动化恢复测试、损坏检测和可恢复性检查来验证备份完整性，确认备份对于灾难恢复和勒索软件响应是可靠的。适用于在依赖备份进行恢复之前、构建备份后验证管道、审计备份基础设施以满足合规要求，或检查不可变\u002Fair-gapped（气隙）备份是否存在静默损坏或篡改的场景。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fvalidating-backup-integrity-for-recovery\u002FSKILL.md",[228,231],{"categoryNo":229,"categoryName":230,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD4WETX0HM3SM9QKQ15B","SRE 工程师",{"categoryNo":232,"categoryName":233,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSSTY86MWS6W5GDQWB1ADQ","备份与灾难恢复",[214,235,236,237,238,50,239,47,46,240,241,242,243,244,38,245,246,247,248,249],"backup","recovery","validating backup integrity for recovery","testing","infrastructure","compliance","hash-verification","incident-response","ransomware","cryptocurrency","t1078","t1490","immutable","disaster-recovery","restore-testing",{"skillNo":251,"name":252,"nameZh":253,"description":254,"descriptionZh":255,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":256,"categories":257,"keywords":262,"publishedAt":51},"01M6AGD9GBG2KZ336AE763J3WH","triaging-windows-with-kape","KAPE Windows 取证收集","Runs KAPE (Kroll Artifact Parser and Extractor) to collect targeted forensic artifacts (registry hives, $MFT, event logs, prefetch, browser data) via Targets and parse them with Modules wrapping Eric Zimmerman's EZ Tools (PECmd, MFTECmd, RECmd). Use during early incident containment\u002Ftriage when full disk imaging is impractical but a defensible, parseable Windows artifact set is needed quickly, including at-scale remote collection.","运行 KAPE（Kroll Artifact Parser and Extractor），通过 Targets 收集目标取证工件（注册表配置单元、$MFT、事件日志、prefetch、浏览器数据），并使用封装 Eric Zimmerman 的 EZ Tools（PECmd、MFTECmd、RECmd）的 Modules 进行解析。适用于事件遏制\u002F分诊早期阶段——此时完整磁盘镜像不切实际，但需要快速获得可采信、可解析的 Windows 工件集，包括大规模远程收集。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Ftriaging-windows-with-kape\u002FSKILL.md",[258,259],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":260,"categoryName":261,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C9JZH3GWXPJ6CQG5P7J48Y","数字取证与电子证据分析",[263,264,265,50,266,267,32,268,269,270,271,272,273,274,275,276,211,277,278,279],"windows","kape","triaging windows with kape","registry","browser","windows-forensics","dfir","mft","mftecmd","data","prefetch","eric-zimmerman","digital-forensics","SET","collection","pecmd","artifact-collection",{"skillNo":281,"name":282,"nameZh":283,"description":284,"descriptionZh":285,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":286,"categories":287,"keywords":292,"publishedAt":51},"01M6AGD5PW5J4EVZM958WD74ZQ","triaging-vulnerabilities-with-ssvc-framework","SSVC 漏洞优先级分诊","Triages and prioritizes vulnerabilities with CISA's Stakeholder-Specific Vulnerability Categorization (SSVC) decision tree, weighing exploitation status (via the CISA KEV catalog and FIRST EPSS API), technical impact, automatability, and mission prevalence to output Track\u002FTrack*\u002FAttend\u002FAct decisions. Use when prioritizing vulnerability scan results (OpenVAS, Nessus, Qualys) for remediation planning beyond raw CVSS scores.","使用 CISA 的 Stakeholder-Specific Vulnerability Categorization（SSVC，利益相关方特定漏洞分类）决策树对漏洞进行分诊和优先级排序，权衡利用状态（通过 CISA KEV 目录和 FIRST EPSS API）、技术影响、自动化程度和任务普遍性，输出 Track\u002FTrack*\u002FAttend\u002FAct 决策。适用于对漏洞扫描结果（OpenVAS、Nessus、Qualys）进行优先级排序以制定修复计划，而不局限于原始 CVSS 分数的场景。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Ftriaging-vulnerabilities-with-ssvc-framework\u002FSKILL.md",[288,291],{"categoryNo":289,"categoryName":290,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQV98CYQ7TEW2D1MRQ00TE","安全公告与漏洞管理",{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},[293,294,295,50,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311],"vulnerabilities","framework","triaging vulnerabilities with ssvc framework","status","planning","CISA","vulnerability-management","risk-management","nessus","qualys","openvas","cvss","remediation","risk","vulnerability","api","prioritization","ssvc","decision-tree",{"skillNo":313,"name":314,"nameZh":315,"description":316,"descriptionZh":317,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":318,"categories":319,"keywords":324,"publishedAt":51},"01M6AGD24TTQQM4CXG69E3B9TJ","triaging-security-incident","安全事件初步分诊","Performs initial triage of security incidents using the NIST SP 800-61r3 and SANS PICERL frameworks, classifying incident type, assigning priority by business impact, and routing to the appropriate response team. Use when a SIEM\u002FEDR alert needs human classification, concurrent alerts must be prioritized, or a user report or threat-intel IOC match requires initial incident categorization.","使用 NIST SP 800-61r3 和 SANS PICERL 框架对安全事件进行初步分诊，分类事件类型、按业务影响分配优先级，并路由到相应的响应团队。适用于 SIEM\u002FEDR 告警需要人工分类、并发告警必须确定优先级，或用户报告或威胁情报 IOC 匹配需要初步事件分类的场景。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Ftriaging-security-incident\u002FSKILL.md",[320,321],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":322,"categoryName":323,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BTHYSJPJ500X64JJ5CH06D","安全事件响应与威胁狩猎",[178,325,50,326,45,327,328,329,330,331,37,245,332,246,333,334,335,336,337,338],"triaging security incident","siem","ioc","soc","NIST-800-61","NIST","severity","execution","analysis","classification","severity-classification","incident-triage","SANS-PICERL","SOC-operations"]