Endpoint detection and response