/System/Library/PrivateFrameworks/XprotectFramework.framework/Versions/A/XPCServices/XprotectService.xpc/Contents/MacOS/XprotectService
Xprotectservice is a built-in capable utility in Mac devices against viruses and software. The feature primarily focuses on malware removal and signature-based detection. The latter utilizes YARA signatures and is updated consistently. It monitors any new malware strains that affect the device and automatically update signatures besides the system updates, which are manual-based. It instantly analyses any known malware and stops it from executing.
The binary is a part of XprotectFramework private framework.