Avast tells you when it is detected. You can also check Avast’s log file.