<!-- Copyright (c) 2026 defconxt. All rights reserved. -->
<!-- Licensed under AGPL-3.0 — see LICENSE file for details. -->
<!-- NERF is a trademark of defconxt. -->
# performing-c2-evasion-techniques — API Reference

## Agent Script

| Command | Description |
|---------|-------------|
| `profile --target <path>` | Analyze C2 profile for detection surface. |
| `harden --target <path>` | Apply evasion techniques to C2 profile. |
| `validate --target <path>` | Validate C2 evasion against detection rules. |

## Usage Examples

```bash
# Analyze C2 profile for detection surface.
node scripts/agent.js profile --target ./sample

# Apply evasion techniques to C2 profile.
node scripts/agent.js harden --target ./sample

# Validate C2 evasion against detection rules.
node scripts/agent.js validate --target ./sample
```

## Output Format

All commands return JSON with the following structure:

```json
{
  "action": "<command>",
  "result": {
    "action": "<command>",
    "status": "complete",
    "domain": "<domain>",
    "technique": "performing-c2-evasion-techniques"
  }
}
```
