This document is a PhD thesis in mathematics from the University of Science, Ho Chi Minh City in 2009. The thesis, written by Truong Minh Nhat Quang, proposes using machine learning and expert systems to recognize and detect computer viruses. The thesis is supervised by Hoang Kiem and Nguyen Thanh Thuy.