As nouns the difference between bandit and guerrilla
is that
bandit is bandit while
guerrilla is a non-official war carried out by small independent groups; a guerrilla war.
As an adjective guerrilla is
(military) relating to, using, or typical of guerrilla warfare, or its principles of small independent or non-official perpetrators.