It is not licit for any lay faithful to perform exorcisms against possessions. Not even all the ordained can perform them: only bishops and those whom they have specifically appointed for this ministry.
With regards to the exorcisms against infestations etc., the lay faithful may not licitly perform them either, according to the
Inde Ab Aliquot Annis, which forbids not only the solemn exorcism (already mentioned in the Code of Canon Law) but also the so-called “exorcism of St. Michael” (not to be confused with
this prayer, fully allowed).
It is also forbidden for “those who lack the required power” to “attempt to lead assemblies in which prayers are employed to obtain liberation from demons, and in the course of which the demons are directly disturbed and an attempt is made to determine their identity” (prohibition that includes obsession of persons and infestation of places).
Let this scripture be a word of prudent admonition for the unauthorized thinking to perform exorcisms: