There are also a variety of ways to detect an actual attack. This includes software applications that generate logs when something occurs within the application. If you have an antivirus program installed, it will scan these logs for signs of suspicious activity.
A prosecutor is usually a government employee who will work under an elected official. He or she will have to ensure that the justice of the law is maintained and that the state's penal system is effective. Generally, prosecutors work full-time. They must be reliable and have an ethical attitude.