capsid
Protein capsid.
To match and dock with proteins on the outside of cells they are going to enter.
You might want to be more specific. The function is to protect the virus' DNA. If you are asking what the protein is, then it depends on the virus.
Capsid