For any locally small category $X$ and object $A\in X$ the set $\mathrm{Aut}_X(A)$ is a group w.r.t. composition $\circ$. For any locally small abelian category $X$ and object $A\in X$ the set $\mathrm{End}_X(A)$ is a ring w.r.t. $+,\circ$.
Does for any group $G$ exist $X$ and $A$ with $G\cong\mathrm{Aut}_X(A)$? We know that $G$ is a quotient of the free group $F_G$, and is a subgroup of the permutation group $S_G=\mathrm{Aut}_{Set}(G)$.
Does for any unital ring $R$ exist $X$ and $A$ with $G\cong\mathrm{End}_X(A)$? We know that $R$ is a quotient of the free ring $\mathbb{Z}\langle R|\emptyset\rangle$. Is it also a subring of some 'typical' ring? Perhaps $\mathrm{End}_{\mathbb{Z}}(?)$.
This post is related.