Iran warned that it would not hesitate to help Lebanon against Israel's "illegal aggression" against the country.