Al Qaeda in the Arabian Peninsula (AQAP) has called for more violence against US diplomatic missions in the Middle East and Africa, and urged Muslims in the West to attack US interests, the SITE Intelligence Group said.
The US State Department ordered all non-essential personnel to leave Sudan and Tunisia following embassy attacks sparked by an anti-Islam video, warning US citizens against travel there.
Hours earlier, Sudan had refused a US request to send in special forces to protect the Khartoum embassy, after protesters attacked it on Friday.
In cities across the Muslim world protesters have vented their fury at the "Innocence of Muslims" - an amateur film produced in the United States - by targetting symbols of US influence ranging from embassies and schools to fast food chains.
As US investigators questioned the man allegedly behind the low-budget movie before releasing him, the top Sunni Muslim authority called for a worldwide ban on all forms of attacks on Islam and other religions.
US federal authorities questioned Nakoula Besseley Nakoula in Los Angeles, trying to establish whether he had broken the terms of his probation over a bank fraud conspiracy, Los Angeles County Sheriff's Department spokesman Don Walker told AFP.
In the worst violence triggered by the film, the US ambassador to Libya, Chris Stevens, and three other Americans were killed late Tuesday when suspected Islamic militants fired rocket-propelled grenades at the US consulate in Benghazi.
AQAP, Al-Qaeda's Yemeni offshoot, did not claim direct responsibility for the attack in the eastern Libyan city.
But it said the killing of Al-Qaeda deputy leader Sheikh Abu Yahya al-Libi in a drone strike in June "increased the enthusiasm and determination of the sons of (Libyan independence hero) Omar al-Mukhtar to take revenge upon those who attack our Prophet," according to SITE.
"May the expulsion of embassies and consulates lead to the liberation of Arab lands from the American hegemony and arrogance," it said in another statement.
In Afghanistan, heavily armed Taliban fighters stormed a strongly fortified air base in Helmand province where Britain's Prince Harry is deployed, killing two US Marines in an assault the militia said was to avenge the anti-Islam film.
The attack came after at least 11 protesters died as police battled to defend US missions from mobs in Egypt, Lebanon, Sudan, Tunisia and Yemen.
US Defence Secretary Leon Panetta said Washington was configuring its forces to cope with the widespread violence.
"We have to be prepared in the event that these demonstrations get out of control," Panetta told Foreign Policy magazine.
US officials have already deployed counter-terrorism Marine units to Libya and Yemen, and stationed two destroyers off the North African coast.
But Sudanese Foreign Minister, Ali Karti, flatly rejected a US request to send special forces to protect the Khartoum embassy, the official SUNA news agency said Saturday, quoting his office.
Hours later, US officials announced it would evacuate all non-essential staff and family members from Sudan and Tunisia.
On Friday, guards on the roof of the US embassy in Khartoum fired warning shots at protesters that breached the compound walls waving Islamic banners. The same group had earlier ransacked parts of the British and German missions.
Sudan rejects US request to send forces
In the past week, US embassy compounds have also been breached in Egypt and Yemen, whose parliament rejected the presence of US Marines, although the government has already accepted them.
The head of Libya's national assembly, Mohammed al-Megaryef, said foreign elements may have been involved in the "meticulously executed" attack on the US consulate in Benghazi. It came on the anniversary of the September 11, 2001 terror attacks on the United States.
In Friday night's attack in Afghanistan, the assailants penetrated the air base and damaged aircraft.
Military spokesman Major Adam Wojack said 18 insurgents were killed - including a suicide bomber. Prince Harry was never in danger, officials said.
Police in Sydney fired pepper spray to contain protesters trying to enter the building housing the US consulate, as hundreds also demonstrated in Belgium, France, Israel, Indonesia and the Maldives.
In Somalia, the Qaeda-linked Shebab militia, which controls large swathes of the country, called on Muslims to launch revenge attacks on Western targets.
President Barack Obama urged Americans not to be disheartened by images of anti-US violence, expressing confidence the ideals of freedom America stands for would ultimately prevail.
In Cairo, the grand imam of Al-Azhar, the highest seat of Sunni Muslim learning, called for an international resolution banning all forms of attacks on Islam and other religions, in a letter to UN chief Ban Ki-moon.
Der Spiegel news weekly reported that far-right group Pro Deutschland wanted to screen "Innocence of Muslims" in Berlin -- but Germany Interior Minister Hans-Peter Friedrich told the weekly he would do everything in his power to stop them.