In this article, the influence of aggressive environments on a two-layer coating was investigated. Modern industry places high demands on quality control methods and coating properties during operation. It was established that the electrical resistance of epoxy composite samples depends significantly on the nature of the filler, the cohesive strength of the coatings, and the ambient temperature. We have determined the initial values of the volume resistance of epoxy composites and the temperature values when the samples lose their dielectric properties. The effectiveness of the use of electrospark water hammer treatment with the subsequent introduction of a bidisperse filler at optimal concentrations, which will increase the resist ance of protective coatings, is shown.