The simplest and best origins of Undead I recall was from a game called Ysgarth.
Living things had a body, mind, and soul and if you took one or more away you had undead.
Zombies no mind
Spectral undead no body
vampires and mummies no soul.
Been a few decades so I might not remember it as well...