Eight days before Donald Trump’s presidential inauguration, the Secret Service received an urgent call saying hackers had seized control of most of the video surveillance cameras that keep watch over the U.S. capital.

A lead agent jumped off his treadmill and charged toward the command center where police monitored the camera feeds day and night.

Instead...