Pro-Iranian militant group Ashab al-Kahf has claimed responsibility for the attacks on the US diplomatic facility.