A security guard at a shopping centre in Bendigo, in central Victoria has been viciously bashed in an alleged gang attack.