Target profiling

From jmagly/aiwg · View interactive version

Target profiling is an AI agent skill from the GitHub repository jmagly/aiwg. Research and build a target system profile via SSH — discovers OS, services, users, network baseline, and security stack

How to use this skill

Skill file

target-profiling

Connects 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.

Triggers

Alternate expressions and non-obvious activations (primary phrases are matched automatically from the skill description):

Purpose

Before 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/forensics/profiles/<hostname>.md file that records point-in-time system state, making deviations visible during analysis.

Behavior

When triggered, this skill:

  1. Parse connection string:
  1. Collect OS identity:
  1. Enumerate running services:
  1. Enumerate local user accounts:
  1. Capture network baseline:
  1. Identify security tooling:
  1. Write profile document:

Usage Examples

Example 1 — Basic profile

profile target user@webserver-01.example.com

Connects as the specified user and writes .aiwg/forensics/profiles/webserver-01.md.

Example 2 — Non-standard port

profile target ops@192.0.2.55:2222

Connects on port 2222, derives hostname from the target's hostname command.

Example 3 — Named alias

system reconnaissance prod-db-01

Resolves prod-db-01 via ~/.ssh/config.

Output Locations

Configuration

target_profiling:
  ssh_timeout: 10
  min_uid: 1000
  include_security_tools:
    - auditd
    - apparmor
    - selinux
    - fail2ban
    - crowdstrike
    - osquery
    - wazuh
    - filebeat
  output_format: markdown

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.