Foreign governments that rely on the services of private criminal hackers leave their operations vulnerable to being exposed and disrupted, creating something of a “silver lining” for U.S. law enforcement investigations of cyberattacks, a top Justice Department official said Monday.