Rabat - The Moroccan consulate in Tarragona, 82 kilometers southern Barcelona, has been attacked by splattering blood on its premises on Friday.