The application discloses a method, a device, equipment and a medium for constructing an attack path graph, wherein the method comprises the following steps: determining information of the lost host in a lost state within a past preset time length in a target intranet, wherein…