President Shimon Peres bid farewell to Gil-Ad Shaer, Eyal Yifrah and Naftali Fraenkel on Tuesday as the three slain teens were buried in Modi'in.

"We prayed for a miracle, unfortunately a tragedy occurred," Peres said before thousands of mourners, a day after the bodies of the boys were discovered in a field northwest of Hebron.

"We will strike with a strong hand until terror is eradicated at the root," Peres vowed. "Terrorism is a boomerang," the president added, saying that acts of terror such as the kidnapping are directed at Israel, but do more harm to those who carry out the acts.