A German exchange student was saved from a vicious attack in Sydney by a group of ninjas dressed in black.

Three men initially approached the 27-year-old medical student while he was on a train and demanded he hand over his wallet, The Sydney Morning Herald reports.