Configuring antimalware protection