Malaysia’s central bank says it detected and foiled an attempted cyber attack and efforts to transfer funds without authorisation using falsified SWIFT messages.