Patent ID: 9734341
Date: 2017-08-15
CPC Classifications: G06F,H04L

Claim:
1. A computer-implemented method for protecting computing systems from peripheral devices, at least a portion of the method being performed by a computing device comprising at least one processor, the method comprising: identifying a peripheral device configured to perform a charging function and at least one non-charging function; wherein the charging function is any functions of the peripheral device that conveys current to and through the peripheral device and/or charges a battery of the peripheral device and the non-charging function is any functions of the peripheral device that is not designed to charging the peripheral device; configuring an endpoint protection application with an endpoint protection rule that allows the charging function of the peripheral device and does not allow the non-charging function of the peripheral device; wherein configuring the endpoint protection application with the endpoint protection rule comprises configuring the endpoint protection rule to apply to a device type of the peripheral device; detecting, at least in part by determining a type of universal serial bus device that the peripheral device comprises, based on a universal serial bus class identifier of the peripheral device, that the peripheral device is connected to a computing system that is provisioned with the endpoint protection application; and applying, based at least in part on the type of universal serial bus device that the peripheral device comprises, the endpoint protection rule on the computing system to allow the charging function of the peripheral device; wherein the peripheral device is able to charge via the computing system, while the non-charging function of the peripheral device is blocked from being performed on the computing system by representing the computing system to the peripheral device as a wall outlet on which the non-charging function cannot be performed rather than as the computing system on which the non-charging function can be performed.