A guerrilla is a civilian who attacks a regular army. When civilians attack civilians, it is usually called terrorism. When two or more armies (representing countries) attack each other, this is a war.