Medfin, a subsidiary of the National Australia Bank that works with healthcare professionals, was hit by an attempted cyber attack on 14 June, the company's chief executive Paul Freeman says.