Rogue vs Ghosts/Spirits or whatever they are

There are ghosts or some form of ghosts in this game and in my opinion Rogues can’t harm them but the Sorceror should be able to harm them with their magic.
But the Rogue should just die because the spirits/ghosts just attack without warning or reason and there’s no way of defending themselves unless there is a sorceror with them but Rogues in my opinion act alone most of the time, so they should be able to survive against any thing.