A magnitude 4.2 earthquake struck about 7.5 miles NNE of Malmstrom Air Force Base in Montana, according to the USGS.