Skip to content

Host-Level Sensor Isolation & Ephemeral Maintenance Tunneling

Density:

Executes remote API-driven host isolation via CrowdStrike Falcon, Microsoft Defender for Endpoint, or SentinelOne, disabling all local network adapters except for the authenticated EDR Cloud Live Response channel.

  • Target Tier: Corporate Workstations, Windows Server Core, macOS Developer Laptops
  • โš ๏ธ EDR API credentials with containment/isolation write scope
  • โš ๏ธ Target Agent ID (AID / MachineId / UUID)
  • โš ๏ธ Pre-approved Live Response emergency scripts staged in tenant repository
  1. Execute CrowdStrike Falcon RTR containment request

    Terminal window
    curl -s -X POST "https://api.crowdstrike.com/devices/entities/devices-actions/v2?action_name=contain" \
    -H "Authorization: Bearer $FALCON_TOKEN" \
    -H "Content-Type: application/json" \
    -d '{"ids": ["'"$TARGET_AID"'"]}'

    Expected Telemetry: "status_code": 200, "action_name": "contain"

  2. Execute Microsoft Defender for Endpoint Machine Isolation

    Terminal window
    curl -s -X POST "https://api.securitycenter.microsoft.com/api/machines/$MACHINE_ID/isolate" \
    -H "Authorization: Bearer $MDE_TOKEN" \
    -H "Content-Type: application/json" \
    -d '{
    "Comment": "Emergency CSIRT Isolation - Incident P1",
    "IsolationType": "Full"
    }'

    Expected Telemetry: "status": "InProgress" or "Succeeded"

  1. Connect to isolated host through secure EDR tunnel
    Terminal window
    # Initiates remote read-only live triage shell without exposing endpoint to LAN
    python3 scripts/edr_connect.py --target-aid $TARGET_AID --action attach-session
    Expected Telemetry: Interactive authenticated session established.

Endpoint isolation state flag

Check Command:

Terminal window
curl -s -X GET "https://api.crowdstrike.com/devices/entities/devices/v1?ids=$TARGET_AID" -H "Authorization: Bearer $FALCON_TOKEN" | jq '.resources[0].status'

Expected Target State: "contained"

  • ๐Ÿ”„ Send lift-containment API call: curl -X POST โ€ฆ action_name=lift_containment
  • ๐Ÿ”„ Confirm endpoint resumes DNS resolution and gateway connectivity

Validation: EDR state reverts to โ€˜normalโ€™ within 60 seconds.