Let $S$ be a non-trivial simple group and suppose $S \trianglelefteq G$ if $C_G(S)=1$ then $S$ is characteristic in $G$. To prove this let $\phi$ be an automorphism of $G$ and note that the intersection $S\cap \phi(S)$ can't be trivial since otherwise $S$ commutes with $\phi(S)$ in $G$. Therefore since both $S$ and $\phi(S)$ are simple $S =S \cap \phi(S) = \phi(S)$.
Is there a non-trivial perfect centerless group $P \trianglelefteq G$ such that $C_G(P)=1$ which is not a characteristic subgroup of $G$?