Australians could be imprisoned for a decade if they violate sanctions targeting white supremacist groups.