Concerns that outdated legacy systems could be leaving firms vulnerable to mounting cyber risks are driving a wave of technology spending in the financial services industry.