Let the equation of the plane be
Ax + By + Cz + D = 0 ...(i)
which is passing through (a, b, c).
So, Aa + Bb + Cc + D = 0 ...(ii)
Let P(α, β, γ) be the foot of the perpendicular from the origin to the plane (i). The direction ratios of OP are (α, β, γ).
Therefore, (α, β, γ) be the direction ratios of the same line OP. So,

From Eq. (ii) and (iii), we get

Hence, the locus of the foot of the perpendicular P is
x2 + y2 + z2 – (ax + by + cz) = 0.