Civilian
In an international armed conflict, protected civilians have the right to defend themselves. If they participate in other fighting, they are usually called partisans, and they can be tried for war crimes.