SAN FRANCISCO — The Moon and other rocky bodies in the inner solar system were pounded by long-ago impacts far more violently than previously thought, two NASA spacecraft have found.

NASA’s twin Gravity Recovery and Interior Laboratory, or Grail, probes have created an ultra-precise gravity map of the Moon, revealing that its crust is almost completely pulverized. The surprising find suggests that Earth, Mercury, Venus and Mars endured a similar beating billions of years ago, researchers said.

The discovery “really opens a window to this early stage of just what a violent place the surfaces of all terrestrial planets were early in their history,” Grail principal investigator Maria Zuber of the Massachusetts Institute of Technology said during a Dec. 5 press conference at the annual fall meeting of the American Geophysical Union here.

The new results shed light on how the Moon formed, and they may help scientists better understand where life might be found today on Mars, if it ever existed, Zuber added.

The $496 million Grail mission launched in September 2011 to map the Moon’s gravity field with unprecedented precision.

The twin probes, named Ebb and Flow, fly in formation around the Moon, detecting the tiny changes in the distance between them caused by lunar mountains, craters and subsurface mass concentrations.

The Grail team has used such measurements to create a new lunar gravity map, which researchers say is the highest-resolution map of this kind ever generated for a celestial body. And it revealed some interesting information about the Moon.

For starters, the lunar crust is incredibly porous, suggesting it was fractured by countless impacts long ago. The crust is also thinner than previously thought — just 34 to 43 kilometers, compared with earlier estimates ranging from 48 to 64 kilometers.

Ebb and Flow also spotted many large, linear structures under the Moon’s surface that can run for up to 480 kilometers. These subsurface “dikes” of solidified magma are covered by craters, suggesting that they predate most of the Moon’s violent impacts.

The dikes could only have formed if the Moon’s crust were extending, making room for the magma, researchers said. This would happen if the Moon’s interior were heating up and expanding, as predicted by the leading theory for the Moon’s origin — the Giant Impact hypothesis.

This idea posits that a Mars-size body smashed into Earth about 4.5 billion years ago, and the Moon coalesced from pieces of our planet that were blasted into space.

“The process of building a Moon out of that debris should result in a situation where the Moon is cooler on the inside and warmer on the outside,” said Grail guest scientist Jeff Andrews-Hanna of the Colorado School of Mines. “And then what naturally happens is that the interior will warm up and expand during that first billion years.”

“This had been predicted theoretically a long time ago, but there was no direct observational evidence to support this period of early lunar expansion until this Grail data,” Andrews-Hanna added.

Grail’s revelations about the violent early history of the inner solar system suggest that the upper crusts of its rocky planets are highly and deeply fractured, Zuber said.

Such cracks could provide a pathway for fluids, perhaps explaining what happened to the ocean that some scientists think existed long ago on the surface of Mars.

“That ocean could well be underground,” Zuber said.

As the martian surface dried out over the years, such underground water may have provided a refuge for surface microbes, if they ever existed. Microbes “could have gone very deep within the crust of Mars,” Zuber said.

Ebb and Flow wrapped up their primary science mission in May and are currently embarked on an extended mission that will end in mid-December. Shortly thereafter, they will be crashed intentionally onto the lunar surface; exactly where and when that will happen is still being worked out, researchers said.

The results presented today were from the primary mission. The spacecraft have been circling even closer to the Moon during the extended phase — an average altitude of 23 kilometers as opposed to 55 kilometers — so the Grail team thinks the gravity map will get even better.

“We expect a lot more exciting results in the future, so stay tuned,” said Grail project scientist and co-investigator Sami Asmar of NASA’s Jet Propulsion Laboratory in Pasadena, Calif.