Bank of Valletta, which accounts for almost half of Malta's banking transactions, shut down all of its operations on Wednesday after detecting a cyber attack, the company said.