[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C321EM4YAH3X6V148M21SN":3,"skill-same:01M6C321EM4YAH3X6V148M21SN":83},{"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":50,"linkOnly":51,"markdownContent":52,"markdownBody":53,"frontMatter":54,"refName":59,"commitSha":60,"skillDirectory":61,"forksCount":62,"repositoryHtmlUrl":63,"repositoryHomepageUrl":64,"ownerHtmlUrl":65,"ownerBlogUrl":66,"ownerDescription":67,"updatedAt":68,"install":69,"resources":82},"01M6C321EM4YAH3X6V148M21SN","target-profiling","SSH 目标系统画像构建","Research and build a target system profile via SSH — discovers OS, services, users, network baseline, and security stack","通过 SSH 调研并构建目标系统画像——发现操作系统、服务、用户、网络基线与安全栈。","jmagly\u002Faiwg","jmagly","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1159087?v=4","01M6C10AK8N2WCSQN11FYGTJWN","Joseph Magly","01M6C10AQ8A2RMED1Y1BSVY7NF",229,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fforensics\u002Fskills\u002Ftarget-profiling\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BR4MYFKGCC4WCWVJ50KJ2C","安全工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C7NMKVVN7CCC4BCVAW8B18","渗透测试与红队行动","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49],"target profiling","profiling","users","security","via","os","build","profile","write","read","grep","system","stack","Bash","ssh","baseline","network","services","research","2026-11-10 10:12:30",false,"---\nnamespace: aiwg\nname: target-profiling\ndescription: \"Research and build a target system profile via SSH — discovers OS, services, users, network baseline, and security stack\"\ntools: Bash, Read, Write, Glob, Grep\nplatforms: [all]\n\n---\n\n# target-profiling\n\nConnects to a target system over SSH and constructs a structured baseline profile covering operating system details, running services, user accounts, network configuration, and installed security tooling. The profile serves as the foundation for all subsequent forensic work.\n\n## Triggers\n\n\nAlternate expressions and non-obvious activations (primary phrases are matched automatically from the skill description):\n\n- \"OSINT [target]\" → open-source intelligence gathering\n- \"footprint [domain]\" → attack surface mapping\n- \"recon [system]\" → system reconnaissance\n\n## Purpose\n\nBefore any investigation can proceed, examiners need a documented understanding of what the system looks like in its current state. This skill produces a structured `.aiwg\u002Fforensics\u002Fprofiles\u002F\u003Chostname>.md` file that records point-in-time system state, making deviations visible during analysis.\n\n## Behavior\n\nWhen triggered, this skill:\n\n1. **Parse connection string**:\n   - Accepts `user@host`, `user@host:port`, or a named SSH config alias\n   - Validates connectivity before starting collection\n   - Example: `ssh -o ConnectTimeout=10 user@192.0.2.10 'echo ok'`\n\n2. **Collect OS identity**:\n   - Read `\u002Fetc\u002Fos-release` for distro and version\n   - Capture kernel version with `uname -r`\n   - Record architecture with `uname -m`\n   - Capture system uptime and last reboot time\n\n3. **Enumerate running services**:\n   - Use `systemctl list-units --type=service --state=running` (systemd systems)\n   - Fall back to `service --status-all` or `rc-status` on non-systemd systems\n   - Record enabled-at-boot services separately from currently active\n\n4. **Enumerate local user accounts**:\n   - Parse `\u002Fetc\u002Fpasswd` for non-system accounts (UID >= 1000)\n   - Check `\u002Fetc\u002Fsudoers` and `\u002Fetc\u002Fsudoers.d\u002F` for privilege grants\n   - List accounts with active login shells\n   - Record last login times from `lastlog` or `last`\n\n5. **Capture network baseline**:\n   - Active interfaces and addresses: `ip addr show`\n   - Routing table: `ip route show`\n   - Listening ports and owning processes: `ss -tlnp` or `netstat -tlnp`\n   - Current established connections: `ss -tnp state established`\n\n6. **Identify security tooling**:\n   - Check for presence of auditd, SELinux\u002FAppArmor, fail2ban, crowdstrike, osquery, wazuh, filebeat\n   - Record firewall type (iptables, nftables, ufw, firewalld) and active ruleset summary\n\n7. **Write profile document**:\n   - Save to `.aiwg\u002Fforensics\u002Fprofiles\u002F\u003Chostname>.md`\n   - Include collection timestamp and SSH user used\n\n## Usage Examples\n\n### Example 1 — Basic profile\n```\nprofile target user@webserver-01.example.com\n```\nConnects as the specified user and writes `.aiwg\u002Fforensics\u002Fprofiles\u002Fwebserver-01.md`.\n\n### Example 2 — Non-standard port\n```\nprofile target ops@192.0.2.55:2222\n```\nConnects on port 2222, derives hostname from the target's `hostname` command.\n\n### Example 3 — Named alias\n```\nsystem reconnaissance prod-db-01\n```\nResolves `prod-db-01` via `~\u002F.ssh\u002Fconfig`.\n\n## Output Locations\n\n- Profile: `.aiwg\u002Fforensics\u002Fprofiles\u002F\u003Chostname>.md`\n- Raw collection log: `.aiwg\u002Fforensics\u002Fprofiles\u002F\u003Chostname>-raw.txt`\n\n## Configuration\n\n```yaml\ntarget_profiling:\n  ssh_timeout: 10\n  min_uid: 1000\n  include_security_tools:\n    - auditd\n    - apparmor\n    - selinux\n    - fail2ban\n    - crowdstrike\n    - osquery\n    - wazuh\n    - filebeat\n  output_format: markdown\n```\n\n## References\n\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Frules\u002Fresearch-before-decision.md — Validate SSH connectivity before starting collection; document what is and is not accessible\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fforensics-complete\u002Frules\u002Fnon-destructive.md — Profile using read-only commands only; do not alter target system state\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fforensics-complete\u002Frules\u002Fevidence-integrity.md — Record collection timestamp and SSH user with the profile for forensic traceability\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fforensics-complete\u002Fskills\u002Flinux-forensics\u002FSKILL.md — Target profile feeds as baseline context for subsequent Linux forensic investigation\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fforensics-complete\u002Fskills\u002Fevidence-preservation\u002FSKILL.md — Profile documents collected after target profiling feed the evidence preservation workflow\n","# target-profiling\n\nConnects to a target system over SSH and constructs a structured baseline profile covering operating system details, running services, user accounts, network configuration, and installed security tooling. The profile serves as the foundation for all subsequent forensic work.\n\n## Triggers\n\n\nAlternate expressions and non-obvious activations (primary phrases are matched automatically from the skill description):\n\n- \"OSINT [target]\" → open-source intelligence gathering\n- \"footprint [domain]\" → attack surface mapping\n- \"recon [system]\" → system reconnaissance\n\n## Purpose\n\nBefore any investigation can proceed, examiners need a documented understanding of what the system looks like in its current state. This skill produces a structured `.aiwg\u002Fforensics\u002Fprofiles\u002F\u003Chostname>.md` file that records point-in-time system state, making deviations visible during analysis.\n\n## Behavior\n\nWhen triggered, this skill:\n\n1. **Parse connection string**:\n   - Accepts `user@host`, `user@host:port`, or a named SSH config alias\n   - Validates connectivity before starting collection\n   - Example: `ssh -o ConnectTimeout=10 user@192.0.2.10 'echo ok'`\n\n2. **Collect OS identity**:\n   - Read `\u002Fetc\u002Fos-release` for distro and version\n   - Capture kernel version with `uname -r`\n   - Record architecture with `uname -m`\n   - Capture system uptime and last reboot time\n\n3. **Enumerate running services**:\n   - Use `systemctl list-units --type=service --state=running` (systemd systems)\n   - Fall back to `service --status-all` or `rc-status` on non-systemd systems\n   - Record enabled-at-boot services separately from currently active\n\n4. **Enumerate local user accounts**:\n   - Parse `\u002Fetc\u002Fpasswd` for non-system accounts (UID >= 1000)\n   - Check `\u002Fetc\u002Fsudoers` and `\u002Fetc\u002Fsudoers.d\u002F` for privilege grants\n   - List accounts with active login shells\n   - Record last login times from `lastlog` or `last`\n\n5. **Capture network baseline**:\n   - Active interfaces and addresses: `ip addr show`\n   - Routing table: `ip route show`\n   - Listening ports and owning processes: `ss -tlnp` or `netstat -tlnp`\n   - Current established connections: `ss -tnp state established`\n\n6. **Identify security tooling**:\n   - Check for presence of auditd, SELinux\u002FAppArmor, fail2ban, crowdstrike, osquery, wazuh, filebeat\n   - Record firewall type (iptables, nftables, ufw, firewalld) and active ruleset summary\n\n7. **Write profile document**:\n   - Save to `.aiwg\u002Fforensics\u002Fprofiles\u002F\u003Chostname>.md`\n   - Include collection timestamp and SSH user used\n\n## Usage Examples\n\n### Example 1 — Basic profile\n```\nprofile target user@webserver-01.example.com\n```\nConnects as the specified user and writes `.aiwg\u002Fforensics\u002Fprofiles\u002Fwebserver-01.md`.\n\n### Example 2 — Non-standard port\n```\nprofile target ops@192.0.2.55:2222\n```\nConnects on port 2222, derives hostname from the target's `hostname` command.\n\n### Example 3 — Named alias\n```\nsystem reconnaissance prod-db-01\n```\nResolves `prod-db-01` via `~\u002F.ssh\u002Fconfig`.\n\n## Output Locations\n\n- Profile: `.aiwg\u002Fforensics\u002Fprofiles\u002F\u003Chostname>.md`\n- Raw collection log: `.aiwg\u002Fforensics\u002Fprofiles\u002F\u003Chostname>-raw.txt`\n\n## Configuration\n\n```yaml\ntarget_profiling:\n  ssh_timeout: 10\n  min_uid: 1000\n  include_security_tools:\n    - auditd\n    - apparmor\n    - selinux\n    - fail2ban\n    - crowdstrike\n    - osquery\n    - wazuh\n    - filebeat\n  output_format: markdown\n```\n\n## References\n\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Frules\u002Fresearch-before-decision.md — Validate SSH connectivity before starting collection; document what is and is not accessible\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fforensics-complete\u002Frules\u002Fnon-destructive.md — Profile using read-only commands only; do not alter target system state\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fforensics-complete\u002Frules\u002Fevidence-integrity.md — Record collection timestamp and SSH user with the profile for forensic traceability\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fforensics-complete\u002Fskills\u002Flinux-forensics\u002FSKILL.md — Target profile feeds as baseline context for subsequent Linux forensic investigation\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fforensics-complete\u002Fskills\u002Fevidence-preservation\u002FSKILL.md — Profile documents collected after target profiling feed the evidence preservation workflow\n",{"name":5,"tools":55,"namespace":56,"platforms":57,"description":7},"Bash, Read, Write, Glob, Grep","aiwg",[58],"all","main","6754967c344ccb087a8de06972f55a41067b291b","agentic\u002Fcode\u002Fplugins\u002Fforensics\u002Fskills\u002Ftarget-profiling",36,"https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg","https:\u002F\u002Faiwg.io","https:\u002F\u002Fgithub.com\u002Fjmagly","https:\u002F\u002Fintegrolabs.io","ml\u002Fai, industrial automation, safety\u002Fsecurity, ssi\r\n\r\nmagly.net\r\nintegrolabs.io\r\naiwg.io\r\nfortemi.com\r\npagenary.com\r\nbytecask.com","2026-11-14 10:46:34",{"source":9,"skillName":5,"commands":70,"prompt":80,"zipAvailable":81},[71,74,77],{"tool":72,"command":73},"npx","npx skills add jmagly\u002Faiwg --skill target-profiling",{"tool":75,"command":76},"bunx","bunx skills add jmagly\u002Faiwg --skill target-profiling",{"tool":78,"command":79},"pnpm","pnpm dlx skills add jmagly\u002Faiwg --skill target-profiling","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fforensics\u002Fskills\u002Ftarget-profiling\u002FSKILL.md",true,[],[84,92,97,122,141,146],{"skillNo":85,"name":86,"nameZh":17,"description":87,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":91},"01M78KW7PZJ9YQZQMW84SN2YD4","plugin-search","Search marketplaces for plugins using configured local manifests and directory caches; rank matching plugins by observed installs, review tier and cache dates without installing or fetching anything","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Futils\u002Fskills\u002Fplugin-search\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":93,"name":86,"nameZh":17,"description":87,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":91},"01M78KSEZS9ZNNFESY9ANW22S0","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Fskills\u002Fplugin-search\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":17,"description":100,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":50},"01M70QA0BSYJ49EES9V4RE8QH1","host-hardening","Read-only system hardening baseline and plan-first host hardening recommendations for SSH, Docker bind addresses, firewall persistence, datastores, exporters and audit retention.","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fsecurity-engineering\u002Fskills\u002Fhost-hardening\u002FSKILL.md",[],[104,105,106,107,108,40,109,110,111,112,113,114,115,44,116,117,118,119,120,121],"hardening","host","host hardening","verification","secrets","request","remediation","recommendations","audit","plan","port","bind","access","only","retention","re","never","firewall",{"skillNo":123,"name":124,"nameZh":17,"description":125,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":126,"categories":127,"keywords":128,"publishedAt":50},"01M70PNT2Z4HMZPRBTAF6073NN","exposure-analysis","Read-only firewall analysis and effective host exposure reconstruction for Docker published ports, UFW bypass, stale rules, CDN scope, IPv6 asymmetry and external probe allowlists.","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fforensics\u002Fskills\u002Fexposure-analysis\u002FSKILL.md",[],[129,130,131,132,133,39,40,134,114,120,44,135,105,136,117,137,138,121,139,140],"analysis","exposure analysis","collection","reconstruction","operator","credentials","unknown","internet","local","scope","ports","ufw",{"skillNo":142,"name":99,"nameZh":17,"description":100,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":143,"categories":144,"keywords":145,"publishedAt":50},"01M70P8QATMPKA78E4FT5D2TNA","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsecurity-engineering\u002Fskills\u002Fhost-hardening\u002FSKILL.md",[],[104,105,106,119,120,121,115,118,111,108,40,109,110,112,113,114,107,44,116,117],{"skillNo":147,"name":124,"nameZh":17,"description":125,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":148,"categories":149,"keywords":150,"publishedAt":50},"01M70NMPVJ5H0JH131P60FW4R8","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fforensics-complete\u002Fskills\u002Fexposure-analysis\u002FSKILL.md",[],[129,130,140,139,133,138,137,117,132,39,40,134,114,131,44,135,105,121,120,136]]