Hackers officially affiliated with the ISIS militant group, going under the name of Cyber Caliphate Army (CCA) have hacked Google, and then bragged about it on their internal chat, without realizing they hacked the "wrong Google."

According to a series of chat messages posted in one of ISIS' private Telegram group chats, Newsweek is reporting that ISIS' cyber troops wanted to take down Google, defaced a website, and then bragged about it like they've really hacked the Mountain View company.

What the hackers didn't know is that the Google website they hacked wasn't one of the company's smaller services, wasn't even an official Google subdomain, but a puny Indian-based SEO company that just happened to use the word "Google" in their domain.

The unwitting ISIS hackers managed to hack the website of Add Google Online (addgoogleonline.com), thinking it was owned by the search giant.

The CCA crew defaced the website, left a pro-ISIS message behind, and an ISIS song with French lyrics playing in the background.

An Anonymous hacker re-defaced the ISIS-defaced website

As soon as the news about the hack got out on social media, an Anonymous-linked hacker from the Philippines known as N3far1ous took over the site and replaced the original defacement with an anti-ISIS message. This defacement was still up before this article was published.

CCA's previous endeavors include releasing a video threatening Twitter CEO Jack Dorsey and Facebook CEO Mark Zuckerberg, and also hacking a small UK-based solar panel company.

The Cyber Caliphate Army (CCA) is ISIS' new cyber division, created to replace the previous Cyber Caliphate which was disbanded after its leader, Junaid Hussain, was killed in a drone strike in Syria last August.

The team led by Hussain was quite a reputable crew, managing to hack and leak private details of many US servicemen, which got him on the US Army's to-kill list.

Besides Hussain, US authorities also arrested Ardit Ferizi, a Kosovo citizen and former member of the Kosova Hacker's Security (KHS) hacking crew, that was behind many of the original Cyber Caliphate's hacks.