I often hear that something which is forbidden originates from the three tamei klipot - where no good comes from - and as such it cannot be used for good. However, that which is permitted originates from klipat nogah and therefore can be used for good.
This would be clear to me if by something forbidden it meant something which is prohibited to the point that is even forbidden to benefit from it. However, if it is only forbidden for for some uses (i.e. having relations, eating, wearing, et al ...), but is permitted for other uses (e.g. a forbidden thing from which it is permitted to derive benefit), then how does such a thing originate from a place where there supposedly is no good (i.e. the three tamei klipot) if part of it either is good or can be used for good?
If the answer is that such a forbidden thing has sources in both types of klipot, then what is the source of this?