The second, but almost a primary function and the most common function of the Belgian malinois, is protection.  The Belgian malinois is the second most common dog breed (next to the German Shepherd) used for police and military work.  Their intelligence, stamina, strength, speed, and long life make them perfect for this line of work.  Their intelligence and temperament can make them harder to train and work, though, as compared to other breeds.  It is definately not the breed for a beginner.