jamotide: Not quite sure right now, but I think so. But they can also be killed by units with armorpiercing and attack above 10 (or 20 for ranged), or just by units with melee attack above 20, like Griffons for example. They are usually no problem for high level warriors and scouts.
thats not quite right - ghosts have 20 a defense and 40 randed defense so you would need a ranged attack above or near 40 and then armor piercing shots
fire arrows might work but you should consider that ghosts have 4 or 6 resistance (higher level ghosts tend to have a higher resistance)
so the best way to get rid of them is with an high level warrior (above 20) that has some decent equipment - a mage (one lightning should take care of them maybe two - ghosts have 20hp on expert i think - and 10 on beginner)
or a commander with rank three melee units (knights) or healers (clerics) - the knight is strong enough to damage them in melee and the magicshot from the clerics is quite powerful as well
do not engage them with a scout hero unless you have awesome equipment (something like the ethereal crossbow or the flaming bow + fire arrows/renver's arrows) - especially not if you have some weak rank one units with him (bowmen/elves come to mind) i tried this once or twice - even with fire arrows the scout does only 2-5 damage with each attack but drains his stamina resulting in less damage the tier one units can do nothing and get killed - thus restoring the hp of the ghosts (they have soulsucking and get 5 hp restored for every unit killed)
and always remember ghost don't come alone - most of the time they bring an entourage of other undead units (ghouls zombies skellies) and even if you think you can beat one - the game will be nasty and the encounter will have 2 or 3 ghost (happend to me as well and i had to say bye bye to my hero)