What are the typical phases of operation of a virus?