[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C30YAWHS2JX1D21CCZATFA":3,"skill-same:01M6C30YAWHS2JX1D21CCZATFA":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":48,"linkOnly":49,"markdownContent":50,"markdownBody":51,"frontMatter":52,"refName":59,"commitSha":60,"skillDirectory":61,"forksCount":62,"repositoryHtmlUrl":63,"repositoryHomepageUrl":64,"ownerHtmlUrl":65,"ownerBlogUrl":66,"ownerDescription":67,"updatedAt":68,"install":69,"resources":82},"01M6C30YAWHS2JX1D21CCZATFA","forensics-profile","目标系统画像构建（SSH\u002F云 API）","Build target system profile via SSH or cloud API enumeration","通过 SSH 或云 API 枚举构建目标系统画像（profile）。","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\u002Fforensics-profile\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BR4MYFKGCC4WCWVJ50KJ2C","安全工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C9JZH3GWXPJ6CQG5P7J48Y","数字取证与电子证据分析","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47],"forensics","forensics profile","profile","api","path","output","via","deep","build","system","azure","ssh","enumeration","reconnaissance","gcp","aws","cloud","2026-11-10 10:12:30",false,"---\nnamespace: aiwg\nname: forensics-profile\nplatforms: [all]\ndescription: Build target system profile via SSH or cloud API enumeration\ncommandHint:\n  argumentHint: \"\u003Ctarget> [--output path] [--deep] [--cloud aws|azure|gcp]\"\n  category: forensics-reconnaissance\n---\n\n# \u002Fforensics-profile\n\nBuild a comprehensive system profile of the target by enumerating OS details, running services, user accounts, installed packages, network configuration, and security controls. The profile establishes a baseline for subsequent investigation stages.\n\n## Usage\n\n`\u002Fforensics-profile \u003Ctarget> [options]`\n\n## Arguments\n\n| Argument | Required | Description |\n|----------|----------|-------------|\n| target | Yes | SSH connection string (`ssh:\u002F\u002Fuser@host:port`) or cloud target (`aws:\u002F\u002Faccount-id\u002Fregion`) |\n| --output | No | Custom output directory (default: `.aiwg\u002Fforensics\u002Fprofiles\u002F\u003Chostname>-\u003Cdate>\u002F`) |\n| --deep | No | Perform deep enumeration including package inventory and kernel config |\n| --cloud | No | Cloud provider context: `aws`, `azure`, or `gcp` |\n| --no-network | No | Skip network enumeration (faster, less intrusive) |\n| --format | No | Output format: `markdown` (default) or `json` |\n\n## Behavior\n\nWhen invoked, this command:\n\n1. **Parse Target**\n   - Resolve hostname or IP from connection string\n   - Verify SSH connectivity or cloud API access\n   - Detect operating system family (Linux distro, version, kernel)\n   - Record target identifier for artifact naming\n\n2. **System Enumeration**\n   - Collect OS version, kernel version, architecture\n   - Enumerate running processes and services\n   - List installed packages and versions\n   - Check uptime and last reboot time\n   - Identify virtualization or container environment\n\n3. **User and Account Inventory**\n   - Enumerate local user accounts from `\u002Fetc\u002Fpasswd`\n   - Identify privileged users (UID 0, sudo group members)\n   - Check for recently created or modified accounts\n   - Review `\u002Fetc\u002Fsudoers` and sudoers.d entries\n   - List active login sessions and recent auth history\n\n4. **Network Baseline**\n   - Capture listening ports and bound services\n   - Document active network connections\n   - Record network interfaces and IP assignments\n   - Identify firewall rules (iptables, nftables, ufw)\n   - Note DNS resolver configuration\n\n5. **Security Control Assessment**\n   - Check for security tools (auditd, fail2ban, SELinux, AppArmor)\n   - Review SSH daemon configuration\n   - Identify logging configuration and log rotation\n   - Note enabled\u002Fdisabled security features\n\n6. **Save Profile Artifact**\n   - Write `system-profile.md` with structured findings\n   - Write `system-profile.json` for machine processing\n   - Generate SHA-256 hash of profile files\n   - Log acquisition metadata and timestamps\n\n## Examples\n\n### Example 1: Basic SSH profile\n```bash\n\u002Fforensics-profile ssh:\u002F\u002Fadmin@192.168.1.50:22\n```\n\n### Example 2: Deep profile with custom output\n```bash\n\u002Fforensics-profile ssh:\u002F\u002Froot@10.0.0.5 --deep --output .aiwg\u002Fforensics\u002Fprofiles\u002Fweb-server\u002F\n```\n\n### Example 3: Cloud target\n```bash\n\u002Fforensics-profile aws:\u002F\u002F123456789012\u002Fus-east-1 --cloud aws\n```\n\n### Example 4: JSON output for pipeline use\n```bash\n\u002Fforensics-profile ssh:\u002F\u002Fanalyst@host --format json\n```\n\n## Output\n\nArtifacts are saved to `.aiwg\u002Fforensics\u002Fprofiles\u002F\u003Chostname>-\u003Cdate>\u002F`:\n\n```\n.aiwg\u002Fforensics\u002Fprofiles\u002Fweb01-2026-02-27\u002F\n├── system-profile.md         # Human-readable profile\n├── system-profile.json       # Machine-readable profile\n├── acquisition-log.yaml      # Timing and metadata\n└── checksums.sha256          # Integrity hashes\n```\n\n### Sample Output\n\n```\nProfiling Target: 192.168.1.50\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n\nStep 1: Connecting to target\n  Connected via SSH (admin@192.168.1.50:22)\n  OS detected: Ubuntu 22.04.3 LTS (kernel 5.15.0-91)\n\nStep 2: System enumeration\n  Hostname: web01.internal\n  Uptime: 47 days, 3 hours\n  Architecture: x86_64\n  Running services: 23 active units\n  Installed packages: 412\n\nStep 3: User inventory\n  Total accounts: 28 (4 with shell access)\n  Privileged users: root, deploy\n  Sudo group members: admin, deploy\n  Active sessions: 2\n\nStep 4: Network baseline\n  Interfaces: eth0 (10.0.1.50\u002F24), lo\n  Listening ports: 22 (sshd), 80 (nginx), 443 (nginx), 3306 (mysqld)\n  Active connections: 14 established\n  Firewall: ufw active (12 rules)\n\nStep 5: Security controls\n  auditd: active\n  fail2ban: active (3 jails)\n  AppArmor: enforcing (18 profiles)\n  SSH: password auth disabled, key-only\n\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\nProfile complete.\n\nOutput: .aiwg\u002Fforensics\u002Fprofiles\u002Fweb01-2026-02-27\u002F\nNext Steps:\n  \u002Fforensics-triage ssh:\u002F\u002Fadmin@192.168.1.50    - Capture volatile data\n  \u002Fforensics-investigate ssh:\u002F\u002Fadmin@192.168.1.50 --scope full\n```\n\n## References\n\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fforensics-complete\u002Fagents\u002Frecon-agent.md - Recon Agent\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fforensics-complete\u002Ftemplates\u002Ftarget-profile.md - Profile template\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fforensics-complete\u002Fcommands\u002Fforensics-triage.md - Next stage\n","# \u002Fforensics-profile\n\nBuild a comprehensive system profile of the target by enumerating OS details, running services, user accounts, installed packages, network configuration, and security controls. The profile establishes a baseline for subsequent investigation stages.\n\n## Usage\n\n`\u002Fforensics-profile \u003Ctarget> [options]`\n\n## Arguments\n\n| Argument | Required | Description |\n|----------|----------|-------------|\n| target | Yes | SSH connection string (`ssh:\u002F\u002Fuser@host:port`) or cloud target (`aws:\u002F\u002Faccount-id\u002Fregion`) |\n| --output | No | Custom output directory (default: `.aiwg\u002Fforensics\u002Fprofiles\u002F\u003Chostname>-\u003Cdate>\u002F`) |\n| --deep | No | Perform deep enumeration including package inventory and kernel config |\n| --cloud | No | Cloud provider context: `aws`, `azure`, or `gcp` |\n| --no-network | No | Skip network enumeration (faster, less intrusive) |\n| --format | No | Output format: `markdown` (default) or `json` |\n\n## Behavior\n\nWhen invoked, this command:\n\n1. **Parse Target**\n   - Resolve hostname or IP from connection string\n   - Verify SSH connectivity or cloud API access\n   - Detect operating system family (Linux distro, version, kernel)\n   - Record target identifier for artifact naming\n\n2. **System Enumeration**\n   - Collect OS version, kernel version, architecture\n   - Enumerate running processes and services\n   - List installed packages and versions\n   - Check uptime and last reboot time\n   - Identify virtualization or container environment\n\n3. **User and Account Inventory**\n   - Enumerate local user accounts from `\u002Fetc\u002Fpasswd`\n   - Identify privileged users (UID 0, sudo group members)\n   - Check for recently created or modified accounts\n   - Review `\u002Fetc\u002Fsudoers` and sudoers.d entries\n   - List active login sessions and recent auth history\n\n4. **Network Baseline**\n   - Capture listening ports and bound services\n   - Document active network connections\n   - Record network interfaces and IP assignments\n   - Identify firewall rules (iptables, nftables, ufw)\n   - Note DNS resolver configuration\n\n5. **Security Control Assessment**\n   - Check for security tools (auditd, fail2ban, SELinux, AppArmor)\n   - Review SSH daemon configuration\n   - Identify logging configuration and log rotation\n   - Note enabled\u002Fdisabled security features\n\n6. **Save Profile Artifact**\n   - Write `system-profile.md` with structured findings\n   - Write `system-profile.json` for machine processing\n   - Generate SHA-256 hash of profile files\n   - Log acquisition metadata and timestamps\n\n## Examples\n\n### Example 1: Basic SSH profile\n```bash\n\u002Fforensics-profile ssh:\u002F\u002Fadmin@192.168.1.50:22\n```\n\n### Example 2: Deep profile with custom output\n```bash\n\u002Fforensics-profile ssh:\u002F\u002Froot@10.0.0.5 --deep --output .aiwg\u002Fforensics\u002Fprofiles\u002Fweb-server\u002F\n```\n\n### Example 3: Cloud target\n```bash\n\u002Fforensics-profile aws:\u002F\u002F123456789012\u002Fus-east-1 --cloud aws\n```\n\n### Example 4: JSON output for pipeline use\n```bash\n\u002Fforensics-profile ssh:\u002F\u002Fanalyst@host --format json\n```\n\n## Output\n\nArtifacts are saved to `.aiwg\u002Fforensics\u002Fprofiles\u002F\u003Chostname>-\u003Cdate>\u002F`:\n\n```\n.aiwg\u002Fforensics\u002Fprofiles\u002Fweb01-2026-02-27\u002F\n├── system-profile.md         # Human-readable profile\n├── system-profile.json       # Machine-readable profile\n├── acquisition-log.yaml      # Timing and metadata\n└── checksums.sha256          # Integrity hashes\n```\n\n### Sample Output\n\n```\nProfiling Target: 192.168.1.50\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n\nStep 1: Connecting to target\n  Connected via SSH (admin@192.168.1.50:22)\n  OS detected: Ubuntu 22.04.3 LTS (kernel 5.15.0-91)\n\nStep 2: System enumeration\n  Hostname: web01.internal\n  Uptime: 47 days, 3 hours\n  Architecture: x86_64\n  Running services: 23 active units\n  Installed packages: 412\n\nStep 3: User inventory\n  Total accounts: 28 (4 with shell access)\n  Privileged users: root, deploy\n  Sudo group members: admin, deploy\n  Active sessions: 2\n\nStep 4: Network baseline\n  Interfaces: eth0 (10.0.1.50\u002F24), lo\n  Listening ports: 22 (sshd), 80 (nginx), 443 (nginx), 3306 (mysqld)\n  Active connections: 14 established\n  Firewall: ufw active (12 rules)\n\nStep 5: Security controls\n  auditd: active\n  fail2ban: active (3 jails)\n  AppArmor: enforcing (18 profiles)\n  SSH: password auth disabled, key-only\n\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\nProfile complete.\n\nOutput: .aiwg\u002Fforensics\u002Fprofiles\u002Fweb01-2026-02-27\u002F\nNext Steps:\n  \u002Fforensics-triage ssh:\u002F\u002Fadmin@192.168.1.50    - Capture volatile data\n  \u002Fforensics-investigate ssh:\u002F\u002Fadmin@192.168.1.50 --scope full\n```\n\n## References\n\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fforensics-complete\u002Fagents\u002Frecon-agent.md - Recon Agent\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fforensics-complete\u002Ftemplates\u002Ftarget-profile.md - Profile template\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fforensics-complete\u002Fcommands\u002Fforensics-triage.md - Next stage\n",{"name":5,"namespace":53,"platforms":54,"commandHint":56,"description":7},"aiwg",[55],"all",{"category":57,"argumentHint":58},"forensics-reconnaissance","\u003Ctarget> [--output path] [--deep] [--cloud aws|azure|gcp]","main","a602706fc62ff1cfcb18001358ac39647b08acf5","agentic\u002Fcode\u002Fplugins\u002Fforensics\u002Fskills\u002Fforensics-profile",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 forensics-profile",{"tool":75,"command":76},"bunx","bunx skills add jmagly\u002Faiwg --skill forensics-profile",{"tool":78,"command":79},"pnpm","pnpm dlx skills add jmagly\u002Faiwg --skill forensics-profile","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fforensics\u002Fskills\u002Fforensics-profile\u002FSKILL.md",true,[],[84,92,97,124,144,149],{"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":48},"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,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123],"hardening","host","host hardening","verification","secrets","read","request","remediation","recommendations","audit","plan","port","bind","Bash","access","only","retention","re","never","firewall",{"skillNo":125,"name":126,"nameZh":17,"description":127,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":128,"categories":129,"keywords":130,"publishedAt":48},"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",[],[131,132,133,134,135,136,109,137,115,122,117,138,105,139,119,140,141,123,142,143],"analysis","exposure analysis","collection","reconstruction","operator","write","credentials","unknown","internet","local","scope","ports","ufw",{"skillNo":145,"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":146,"categories":147,"keywords":148,"publishedAt":48},"01M70P8QATMPKA78E4FT5D2TNA","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsecurity-engineering\u002Fskills\u002Fhost-hardening\u002FSKILL.md",[],[104,105,106,121,122,123,116,120,112,108,109,110,111,113,114,115,107,117,118,119],{"skillNo":150,"name":126,"nameZh":17,"description":127,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":151,"categories":152,"keywords":153,"publishedAt":48},"01M70NMPVJ5H0JH131P60FW4R8","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fforensics-complete\u002Fskills\u002Fexposure-analysis\u002FSKILL.md",[],[131,132,143,142,135,141,140,119,134,136,109,137,115,133,117,138,105,123,122,139]]