A perpetrator in legal matters, are people within a case who commits a serious crime or evil action, causing detriment or death to the target. It can used for those who perform actions of wrong doing.
In criminal justice, a perpetrator is the name given to a person who commits a crime. A suspect may have committed a crime, perpetrator actually committed it.