State media had said earlier that air defences were intercepting "hostile targets" over the countryside around the city of Homs, after explosions were heard over Homs and the coastal city of Tartous.
The Syrian military said in a statement that the attack came from north of Beirut and that air defences managed to shoot down most of the missiles used.
Two soldiers were injured and there were some material losses, the military added.