The Anti-Malware Scan Interface (AMSI) is a security feature in Windows that allows applications and services to integrate with antimalware software (AKA antivirus) to detect and block malicious code.