The motive of the men was unclear. The group was flagged because they were known to authorities in Victoria, sources said.