Ectoplasm and Spectre Ingots are crafting items required for other parts of the mod. Spectre Ingots are crafted out of ectoplasm, gold and lapis. Ectoplasm is dropped by Spirits that sometimes spawn when you kill an entity. Spirits can not be harmed by physical attacks (An exception being the Spectre Sword), they are incorporeal after all. You will have to use magic to kill them (e.g. potions). When killed they drop at least one ectoplasm with a small chance of dropping a second one. However they also die by themselves after 20 seconds, not leaving any drops behind. They will float around a bit but should always stay close to the place they spawned.
By default the chance of a spirit spawning is 1%, however there are 2 things that increase the chance:
Therefore in total after defeating the ender dragon & being under a full moon the chance of getting a spirit to spawn will be 10%.