Endpoint isolation state flag
Commande de Contrôle :
curl -s -X GET "https://api.crowdstrike.com/devices/entities/devices/v1?ids=$TARGET_AID" -H "Authorization: Bearer $FALCON_TOKEN" | jq '.resources[0].status'État Cible Attendu : "contained"
Exécute l’isolation d’hôte à distance via l’API CrowdStrike Falcon, Defender for Endpoint ou SentinelOne, désactivant tous les adaptateurs réseau locaux à l’exception du canal Live Response EDR authentifié.
Exécuter la requête d’isolation Falcon RTR CrowdStrike
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"'"]}'Télémétrie Attendue : "status_code": 200, "action_name": "contain"
Exécuter l’isolation de machine sous Microsoft Defender for Endpoint
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" }'Télémétrie Attendue : "status": "InProgress" or "Succeeded"
# Initiates remote read-only live triage shell without exposing endpoint to LANpython3 scripts/edr_connect.py --target-aid $TARGET_AID --action attach-sessionInteractive authenticated session established.Endpoint isolation state flag
Commande de Contrôle :
curl -s -X GET "https://api.crowdstrike.com/devices/entities/devices/v1?ids=$TARGET_AID" -H "Authorization: Bearer $FALCON_TOKEN" | jq '.resources[0].status'État Cible Attendu : "contained"
Validation : EDR state reverts to ‘normal’ within 60 seconds.