About 500 masked men carrying guns and machetes attacked Indian election officials in a remote northeastern state and made off with computerized voting machines, officials said on Wednesday.