Based on your description—a hard, foam-like brown structure attached to a fence post—there are a few possibilities, but the most likely candidates are:
1. Slime Mold (Possibly Fuligo or Reticularia)
- Often appears as foam-like, spongy, or crusty structures on wood, soil, or decaying vegetation.
- Starts soft and moist, then dries into a hard, brown crust.
- Harmless to humans and plants, but can look alarming.
2. Wood-Decaying Fungus
- Some fungi grow directly on old wood or fence posts.
- Hard, crusty brown growth can indicate saprophytic decay (feeding on dead wood).
- Examples include pore fungi or bracket fungi—some are woody and tough.
- Usually not toxic, but can weaken the wood.
3. Insect-Related Structure
- Some termites, carpenter ants, or wasps create foam-like or hardened mud structures on wood.
- Look for tiny exit holes, sawdust, or insect activity around it.
What to Do
- Do not scrape aggressively yet—wear gloves if handling.
- Observe:
- Does it crumble easily?
- Is it attached to decaying wood?
- Any insects nearby?
- Optional: Take a clear photo and compare to local fungi or slime molds.
✅ Tip: If it’s a slime mold, it will eventually dry and disappear. If it’s a fungus on the post, it may indicate the wood is rotting and could need replacement.
If you want, I can help you identify it more precisely with a step-by-step guide using just observations and photos, so you know whether it’s harmless or needs removal. Do you want me to do that?