Viral protein possessing deubiquitinating activity. Hijacking the ubiquitin system plays an essential role during viral replication. Therefore, several viruses including EBV or HCMV encode for proteins able to remove ubiquitin or ubiquitin-like proteins from their substrate.