Somalia's Islamist Shebab rebels said Tuesday they had taken control of the office of the country's internationally-backed president following a major assault on the presidential palace.