The British Ministry of Defense said on Twitter on Monday that a breach of the army's Twitter and YouTube accounts that occurred earlier on Sunday has been resolved, CNBC reports.

"The army takes information security very seriously, and until the investigation is completed, it will not be appropriate to provide further comments," the ministry's website added.

A Twitter spokesperson confirmed that the British military account "has been hacked and has since been locked and secured".

"The account holders have now regained access...the account is back up," the CNBC spokesperson said by email.

Tobias Ellwood, the British Conservative MP who chairs Parliament's defense committee, said the breach "appears to be serious" and added: "I hope to share the results of the investigation and the appropriate actions taken."

Unknown hackers took over the Twitter and YouTube accounts of the British army on Sunday, meanwhile the hackers were live-streaming fake clips of Elon Musk directing users to misleading websites.

The British Army's Twitter account has been renamed 'pssssd', and its profile and logo images have been changed to resemble the popular non-refundable token set called 'The Possessed'.

The official Bossed account on Twitter warned users of the "new hacked account" impersonating the Bossed group, which specializes in selling non-redeemable tokens (NFTs), tokens that confirm ownership of parts of online content.

Earlier on Sunday, the account was renamed Babesclan - which is also the name of a group selling other non-redeemable tokens - while its logo image was changed to a cartoon monkey with a clown makeup.

The hacker also started retweeting posts promoting cryptocurrency scams.

Meanwhile, the British Army's YouTube account was renamed Ark Invest, an investment firm of Tesla and Cathy Wood's bitcoin.

The hacker deleted all of the account's videos and replaced them with a live stream of old clips taken from a conversation with Elon Musk and Twitter founder Jack Dorici about Bitcoin, hosted by Ark in July 2021, and text was added to the live stream to direct users to scam sites.

This is not the first time that hackers have taken advantage of a popular social media account to promote cryptocurrency scams.

In 2020, the Twitter accounts of Elon Musk, US President Joe Biden and many other celebrities were hacked to trick their followers into buying Bitcoin.