The United States is launching a program to detect cyberattacks on private US companies and government agencies running critical infrastructure such as the electricity grid and nuclear power plants, The Wall Street Journal reported on Wednesday.