查询和管理Windows Defender的防护级别设置;PowerShell中查询和管理Windows Defender的行为监控设置(Behavior Monitoring)


通常情况下,可以通过以下步骤来查询和管理Windows Defender的防护级别设置:

  1. 查询所有属性:首先,获取所有的 MpPreference 属性,然后查看其中与防护级别相关的项。

    powershellCopy Code
    Get-MpPreference

    这将列出所有的 Windows Defender 设置,包括防护级别相关的设置。

    英文属性名称 中文属性名称
    AllowDatagramProcessingOnWinServer 允许在 Windows 服务器上处理数据报
    AllowNetworkProtectionDownLevel 允许低版本网络保护
    AllowNetworkProtectionOnWinServer 允许在 Windows 服务器上启用网络保护
    AllowSwitchToAsyncInspection 允许切换到异步检查
    ApplyDisableNetworkScanningToIOAV 将禁用网络扫描应用于 IOAV
    AttackSurfaceReductionOnlyExclusions 攻击面减少仅排除项
    AttackSurfaceReductionRules_Actions 攻击面减少规则_操作
    AttackSurfaceReductionRules_Ids 攻击面减少规则_ID
    AttackSurfaceReductionRules_RuleSpecificExclusions 攻击面减少规则_特定排除项
    AttackSurfaceReductionRules_RuleSpecificExclusions_Id 攻击面减少规则_特定排除项_ID
    BruteForceProtectionAggressiveness 暴力破解保护攻击性
    BruteForceProtectionConfiguredState 暴力破解保护配置状态
    BruteForceProtectionExclusions 暴力破解保护排除项
    BruteForceProtectionLocalNetworkBlocking 暴力破解保护本地网络阻止
    BruteForceProtectionMaxBlockTime 暴力破解保护最大阻止时间
    BruteForceProtectionSkipLearningPeriod 暴力破解保护跳过学习期
    CheckForSignaturesBeforeRunningScan 扫描前检查签名
    CloudBlockLevel 云阻止级别
    CloudExtendedTimeout 云扩展超时
    ComputerID 计算机 ID
    ControlledFolderAccessAllowedApplications 受控文件夹访问允许的应用程序
    ControlledFolderAccessDefaultProtectedFolders 受控文件夹访问默认保护文件夹
    ControlledFolderAccessProtectedFolders 受控文件夹访问受保护文件夹
    DefinitionUpdatesChannel 定义更新通道
    DisableArchiveScanning 禁用归档扫描
    DisableAutoExclusions 禁用自动排除
    DisableBehaviorMonitoring 禁用行为监控
    DisableBlockAtFirstSeen 禁用首次看到时阻止
    DisableCacheMaintenance 禁用缓存维护
    DisableCatchupFullScan 禁用补充完整扫描
    DisableCatchupQuickScan 禁用补充快速扫描
    DisableCoreServiceECSIntegration 禁用核心服务 ECS 集成
    DisableCoreServiceTelemetry 禁用核心服务遥测
    DisableCpuThrottleOnIdleScans 禁用空闲扫描时的 CPU 限制
    DisableDatagramProcessing 禁用数据报处理
    DisableDnsOverTcpParsing 禁用 TCP 解析 DNS
    DisableDnsParsing 禁用 DNS 解析
    DisableEmailScanning 禁用电子邮件扫描
    DisableFtpParsing 禁用 FTP 解析
    DisableGradualRelease 禁用渐进发布
    DisableHttpParsing 禁用 HTTP 解析
    DisableInboundConnectionFiltering 禁用入站连接过滤
    DisableIOAVProtection 禁用 IOAV 保护
    DisableNetworkProtectionPerfTelemetry 禁用网络保护性能遥测
    DisablePrivacyMode 禁用隐私模式
    DisableQuicParsing 禁用 QUIC 解析
    DisableRdpParsing 禁用 RDP 解析
    DisableRealtimeMonitoring 禁用实时监控

    Get-MpPreference


    AllowDatagramProcessingOnWinServer                    : False
    AllowNetworkProtectionDownLevel                       : False
    AllowNetworkProtectionOnWinServer                     : False
    AllowSwitchToAsyncInspection                          : True
    ApplyDisableNetworkScanningToIOAV                     : False
    AttackSurfaceReductionOnlyExclusions                  :
    AttackSurfaceReductionRules_Actions                   :
    AttackSurfaceReductionRules_Ids                       :
    AttackSurfaceReductionRules_RuleSpecificExclusions    :
    AttackSurfaceReductionRules_RuleSpecificExclusions_Id :
    BruteForceProtectionAggressiveness                    : 0
    BruteForceProtectionConfiguredState                   : 0
    BruteForceProtectionExclusions                        :
    BruteForceProtectionLocalNetworkBlocking              : False
    BruteForceProtectionMaxBlockTime                      : 0
    BruteForceProtectionSkipLearningPeriod                : False
    CheckForSignaturesBeforeRunningScan                   : False
    CloudBlockLevel                                       : 0
    CloudExtendedTimeout                                  : 0
    ComputerID                                            : BB85F817-6F10-43FC-8D83-26672BE9290B
    ControlledFolderAccessAllowedApplications             :
    ControlledFolderAccessDefaultProtectedFolders         : {N/A: Controlled Folder Access is disabled}
    ControlledFolderAccessProtectedFolders                :
    DefinitionUpdatesChannel                              : 0
    DisableArchiveScanning                                : False
    DisableAutoExclusions                                 : False
    DisableBehaviorMonitoring                             : False
    DisableBlockAtFirstSeen                               : False
    DisableCacheMaintenance                               : False
    DisableCatchupFullScan                                : True
    DisableCatchupQuickScan                               : True
    DisableCoreServiceECSIntegration                      : False
    DisableCoreServiceTelemetry                           : False
    DisableCpuThrottleOnIdleScans                         : True
    DisableDatagramProcessing                             : False
    DisableDnsOverTcpParsing                              : False
    DisableDnsParsing                                     : False
    DisableEmailScanning                                  : True
    DisableFtpParsing                                     : False
    DisableGradualRelease                                 : False
    DisableHttpParsing                                    : False
    DisableInboundConnectionFiltering                     : False
    DisableIOAVProtection                                 : False
    DisableNetworkProtectionPerfTelemetry                 : False
    DisablePrivacyMode                                    : False
    DisableQuicParsing                                    : True
    DisableRdpParsing                                     : False
    DisableRealtimeMonitoring                             : False
    DisableRemovableDriveScanning                         : True
    DisableRestorePoint                                   : True
    DisableScanningMappedNetworkDrivesForFullScan         : True
    DisableScanningNetworkFiles                           : False
    DisableScriptScanning                                 : False
    DisableSmtpParsing                                    : False
    DisableSshParsing                                     : False
    DisableTamperProtection                               : True
    DisableTlsParsing                                     : False
    EnableControlledFolderAccess                          : 0
    EnableConvertWarnToBlock                              : False
    EnableDnsSinkhole                                     : True
    EnableFileHashComputation                             : False
    EnableFullScanOnBatteryPower                          : False
    EnableLowCpuPriority                                  : False
    EnableNetworkProtection                               : 0
    EnableUdpReceiveOffload                               : False
    EnableUdpSegmentationOffload                          : False
    EngineUpdatesChannel                                  : 0
    ExclusionExtension                                    :
    ExclusionIpAddress                                    :
    ExclusionPath                                         :
    ExclusionProcess                                      :
    ForceUseProxyOnly                                     : False
    HideExclusionsFromLocalUsers                          : True
    HighThreatDefaultAction                               : 0
    IntelTDTEnabled                                       :
    LowThreatDefaultAction                                : 0
    MAPSReporting                                         : 2
    MeteredConnectionUpdates                              : False
    ModerateThreatDefaultAction                           : 0
    NetworkProtectionReputationMode                       : 0
    OobeEnableRtpAndSigUpdate                             : False
    PerformanceModeStatus                                 : 1
    PlatformUpdatesChannel                                : 0
    ProxyBypass                                           :
    ProxyPacUrl                                           :
    ProxyServer                                           :
    PUAProtection                                         : 0
    QuarantinePurgeItemsAfterDelay                        : 90
    QuickScanIncludeExclusions                            : 0
    RandomizeScheduleTaskTimes                            : True
    RealTimeScanDirection                                 : 0
    RemediationScheduleDay                                : 0
    RemediationScheduleTime                               : 02:00:00
    RemoteEncryptionProtectionAggressiveness              : 0
    RemoteEncryptionProtectionConfiguredState             : 0
    RemoteEncryptionProtectionExclusions                  :
    RemoteEncryptionProtectionMaxBlockTime                : 0
    RemoveScanningThreadPoolCap                           : False
    ReportDynamicSignatureDroppedEvent                    : False
    ReportingAdditionalActionTimeOut                      : 10080
    ReportingCriticalFailureTimeOut                       : 10080
    ReportingNonCriticalTimeOut                           : 1440
    ScanAvgCPULoadFactor                                  : 50
    ScanOnlyIfIdleEnabled                                 : True
    ScanParameters                                        : 1
    ScanPurgeItemsAfterDelay                              : 15
    ScanScheduleDay                                       : 0
    ScanScheduleOffset                                    : 120
    ScanScheduleQuickScanTime                             : 00:00:00
    ScanScheduleTime                                      : 02:00:00
    SchedulerRandomizationTime                            : 4
    ServiceHealthReportInterval                           : 60
    SevereThreatDefaultAction                             : 0
    SharedSignaturesPath                                  :
    SharedSignaturesPathUpdateAtScheduledTimeOnly         : False
    SignatureAuGracePeriod                                : 0
    SignatureBlobFileSharesSources                        :
    SignatureBlobUpdateInterval                           : 60
    SignatureDefinitionUpdateFileSharesSources            :
    SignatureDisableUpdateOnStartupWithoutEngine          : False
    SignatureFallbackOrder                                : MicrosoftUpdateServer|MMPC
    SignatureFirstAuGracePeriod                           : 120
    SignatureScheduleDay                                  : 8
    SignatureScheduleTime                                 : 01:45:00
    SignatureUpdateCatchupInterval                        : 1
    SignatureUpdateInterval                               : 0
    SubmitSamplesConsent                                  : 1
    ThreatIDDefaultAction_Actions                         :
    ThreatIDDefaultAction_Ids                             :
    ThrottleForScheduledScanOnly                          : True
    TrustLabelProtectionStatus                            : 0
    UILockdown                                            : False
    UnknownThreatDefaultAction                            : 0
    PSComputerName                                        :

    英文属性名称 中文属性名称 英文值 中文值
    AllowDatagramProcessingOnWinServer 允许在 Windows 服务器上处理数据报 False
    AllowNetworkProtectionDownLevel 允许低版本网络保护 False
    AllowNetworkProtectionOnWinServer 允许在 Windows 服务器上启用网络保护 False
    AllowSwitchToAsyncInspection 允许切换到异步检查 True
    ApplyDisableNetworkScanningToIOAV 将禁用网络扫描应用于 IOAV False
    AttackSurfaceReductionOnlyExclusions 攻击面减少仅排除项    
    AttackSurfaceReductionRules_Actions 攻击面减少规则_操作    
    AttackSurfaceReductionRules_Ids 攻击面减少规则_ID    
    AttackSurfaceReductionRules_RuleSpecificExclusions 攻击面减少规则_特定排除项    
    AttackSurfaceReductionRules_RuleSpecificExclusions_Id 攻击面减少规则_特定排除项_ID    
    BruteForceProtectionAggressiveness 暴力破解保护攻击性 0 0
    BruteForceProtectionConfiguredState 暴力破解保护配置状态 0 0
    BruteForceProtectionExclusions 暴力破解保护排除项    
    BruteForceProtectionLocalNetworkBlocking 暴力破解保护本地网络阻止 False
    BruteForceProtectionMaxBlockTime 暴力破解保护最大阻止时间 0 0
    BruteForceProtectionSkipLearningPeriod 暴力破解保护跳过学习期 False
    CheckForSignaturesBeforeRunningScan 扫描前检查签名 False
    CloudBlockLevel 云阻止级别 0 0
    CloudExtendedTimeout 云扩展超时 0 0
    ComputerID 计算机 ID   计算机 ID
    ControlledFolderAccessAllowedApplications 受控文件夹访问允许的应用程序    
    ControlledFolderAccessDefaultProtectedFolders 受控文件夹访问默认保护文件夹 {N/A: 受控文件夹访问已禁用} {N/A: 受控文件夹访问已禁用}
    ControlledFolderAccessProtectedFolders 受控文件夹访问受保护文件夹    
    DefinitionUpdatesChannel 定义更新通道 0 0
    DisableArchiveScanning 禁用归档扫描 False
    DisableAutoExclusions 禁用自动排除 False
    DisableBehaviorMonitoring 禁用行为监控 False
    DisableBlockAtFirstSeen 禁用首次看到时阻止 False
    DisableCacheMaintenance 禁用缓存维护 False
    DisableCatchupFullScan 禁用补充完整扫描 True
    DisableCatchupQuickScan 禁用补充快速扫描 True
    DisableCoreServiceECSIntegration 禁用核心服务 ECS 集成 False
    DisableCoreServiceTelemetry 禁用核心服务遥测 False
    DisableCpuThrottleOnIdleScans 禁用空闲扫描时的 CPU 限制 True
    DisableDatagramProcessing 禁用数据报处理 False
    DisableDnsOverTcpParsing 禁用 TCP 解析 DNS False
    DisableDnsParsing 禁用 DNS 解析 False
    DisableEmailScanning 禁用电子邮件扫描 True
    DisableFtpParsing 禁用 FTP 解析 False
    DisableGradualRelease 禁用渐进发布 False
    DisableHttpParsing 禁用 HTTP 解析 False
    DisableInboundConnectionFiltering 禁用入站连接过滤 False
    DisableIOAVProtection 禁用 IOAV 保护 False
    DisableNetworkProtectionPerfTelemetry 禁用网络保护性能遥测 False
    DisablePrivacyMode 禁用隐私模式 False
    DisableQuicParsing 禁用 QUIC 解析 True
    DisableRdpParsing 禁用 RDP 解析 False
    DisableRealtimeMonitoring 禁用实时监控 False
    英文属性名称 中文属性名称 英文值 中文值
    AllowDatagramProcessingOnWinServer 允许在 Windows 服务器上处理数据报 False
    AllowNetworkProtectionDownLevel 允许低版本网络保护 False
    AllowNetworkProtectionOnWinServer 允许在 Windows 服务器上启用网络保护 False
    AllowSwitchToAsyncInspection 允许切换到异步检查 True
    ApplyDisableNetworkScanningToIOAV 将禁用网络扫描应用于 IOAV False
    AttackSurfaceReductionOnlyExclusions 攻击面减少仅排除项    
    AttackSurfaceReductionRules_Actions 攻击面减少规则_操作    
    AttackSurfaceReductionRules_Ids 攻击面减少规则_ID    
    AttackSurfaceReductionRules_RuleSpecificExclusions 攻击面减少规则_特定排除项    
    AttackSurfaceReductionRules_RuleSpecificExclusions_Id 攻击面减少规则_特定排除项_ID    
    BruteForceProtectionAggressiveness 暴力破解保护攻击性 0 0
    BruteForceProtectionConfiguredState 暴力破解保护配置状态 0 0
    BruteForceProtectionExclusions 暴力破解保护排除项    
    BruteForceProtectionLocalNetworkBlocking 暴力破解保护本地网络阻止 False
    BruteForceProtectionMaxBlockTime 暴力破解保护最大阻止时间 0 0
    DisableRemovableDriveScanning 禁用可移动驱动器扫描 True
    DisableRestorePoint 禁用还原点 True
    DisableScanningMappedNetworkDrivesForFullScan 禁用对映射网络驱动器的完整扫描 True
    DisableScanningNetworkFiles 禁用网络文件扫描 False
    DisableScriptScanning 禁用脚本扫描 False
    DisableSmtpParsing 禁用 SMTP 解析 False
    DisableSshParsing 禁用 SSH 解析 False
    DisableTamperProtection 禁用篡改保护 True
    DisableTlsParsing 禁用 TLS 解析 False
    EnableControlledFolderAccess 启用受控文件夹访问 0 0
    EnableConvertWarnToBlock 启用将警告转换为阻止 False
    EnableDnsSinkhole 启用 DNS 漏斗 True
    EnableFileHashComputation 启用文件哈希计算 False
    EnableFullScanOnBatteryPower 启用在电池电量下进行完整扫描 False
    EnableLowCpuPriority 启用低 CPU 优先级 False
    EnableNetworkProtection 启用网络保护 0 0
    EnableUdpReceiveOffload 启用 UDP 接收卸载 False
    EnableUdpSegmentationOffload 启用 UDP 分段卸载 False
    EngineUpdatesChannel 引擎更新通道 0 0
    ExclusionExtension 排除扩展    
    ExclusionIpAddress 排除 IP 地址    
    ExclusionPath 排除路径    
    ExclusionProcess 排除进程    
    ForceUseProxyOnly 强制仅使用代理 False
    HideExclusionsFromLocalUsers 从本地用户隐藏排除项 True
    HighThreatDefaultAction 高威胁默认操作 0 0
    IntelTDTEnabled 启用 Intel TDT    
    LowThreatDefaultAction 低威胁默认操作 0 0
    MAPSReporting MAPS 报告 2 2
    MeteredConnectionUpdates 计量连接更新 False
    ModerateThreatDefaultAction 中等威胁默认操作 0 0
    NetworkProtectionReputationMode 网络保护声誉模式 0 0
    OobeEnableRtpAndSigUpdate 启用 RTP 和签名更新 False
    英文属性名称 中文属性名称 英文值 中文值
    PlatformUpdatesChannel 平台更新通道 0 0
    ProxyBypass 代理绕过    
    ProxyPacUrl 代理 PAC URL    
    ProxyServer 代理服务器    
    PUAProtection PUA 保护 0 0
    QuarantinePurgeItemsAfterDelay 隔离项延迟清除时间 90 90
    QuickScanIncludeExclusions 快速扫描包含排除项 0 0
    RandomizeScheduleTaskTimes 随机化计划任务时间 True
    RealTimeScanDirection 实时扫描方向 0 0
    RemediationScheduleDay 修复计划日 0 0
    RemediationScheduleTime 修复计划时间 02:00:00 02:00:00
    RemoteEncryptionProtectionAggressiveness 远程加密保护攻击性 0 0
    RemoteEncryptionProtectionConfiguredState 远程加密保护配置状态 0 0
    RemoteEncryptionProtectionExclusions 远程加密保护排除项    
    RemoteEncryptionProtectionMaxBlockTime 远程加密保护最大阻止时间 0 0
    RemoveScanningThreadPoolCap 移除扫描线程池限制 False
    ReportDynamicSignatureDroppedEvent 报告动态签名丢失事件 False
    ReportingAdditionalActionTimeOut 报告附加操作超时 10080 10080
    ReportingCriticalFailureTimeOut 报告关键失败超时 10080 10080
    ReportingNonCriticalTimeOut 报告非关键超时 1440 1440
    ScanAvgCPULoadFactor 扫描平均 CPU 负载因子 50 50
    ScanOnlyIfIdleEnabled 仅在空闲时扫描 True
    ScanParameters 扫描参数 1 1
    ScanPurgeItemsAfterDelay 扫描项延迟清除时间 15 15
    ScanScheduleDay 扫描计划日 0 0
    ScanScheduleOffset 扫描计划偏移 120 120
    ScanScheduleQuickScanTime 扫描计划快速扫描时间 00:00:00 00:00:00
    ScanScheduleTime 扫描计划时间 02:00:00 02:00:00
    SchedulerRandomizationTime 调度程序随机化时间 4 4
    ServiceHealthReportInterval 服务健康报告间隔 60 60
    SevereThreatDefaultAction 严重威胁默认操作 0 0
    SharedSignaturesPath 共享签名路径    
    SharedSignaturesPathUpdateAtScheduledTimeOnly 仅在计划时间更新共享签名路径 False
    SignatureAuGracePeriod 签名 AU 宽限期 0 0
    SignatureBlobFileSharesSources 签名 Blob 文件共享源    
    SignatureBlobUpdateInterval 签名 Blob 更新间隔 60 60
    SignatureDefinitionUpdateFileSharesSources 签名定义更新文件共享源    
    SignatureDisableUpdateOnStartupWithoutEngine 启动时在没有引擎的情况下禁用更新 False
    SignatureFallbackOrder 签名回退顺序 MicrosoftUpdateServer MMPC
    SignatureFirstAuGracePeriod 签名首次 AU 宽限期 120 120
    SignatureScheduleDay 签名计划日 8 8
    英文属性名称 中文属性名称 英文值 中文值
    AllowDatagramProcessingOnWinServer 允许在 Windows 服务器上处理数据报 False
    AllowNetworkProtectionDownLevel 允许低版本网络保护 False
    AllowNetworkProtectionOnWinServer 允许在 Windows 服务器上启用网络保护 False
    AllowSwitchToAsyncInspection 允许切换到异步检查 True
    ApplyDisableNetworkScanningToIOAV 将禁用网络扫描应用于 IOAV False
    AttackSurfaceReductionOnlyExclusions 攻击面减少仅排除项    
    PerformanceModeStatus 性能模式状态 1 1
    PlatformUpdatesChannel 平台更新通道 0 0
    ProxyBypass 代理绕过    
    ProxyPacUrl 代理 PAC URL    
    ProxyServer 代理服务器    
    PUAProtection PUA 保护 0 0
    QuarantinePurgeItemsAfterDelay 隔离项延迟清除时间 90 90
    QuickScanIncludeExclusions 快速扫描包含排除项 0 0
    RandomizeScheduleTaskTimes 随机化计划任务时间 True
    RealTimeScanDirection 实时扫描方向 0 0
    RemediationScheduleDay 修复计划日 0 0
    RemediationScheduleTime 修复计划时间 02:00:00 02:00:00
    RemoteEncryptionProtectionAggressiveness 远程加密保护攻击性 0 0
    SignatureScheduleTime 签名计划时间 01:45:00 01:45:00
    SignatureUpdateCatchupInterval 签名更新补充间隔 1 1
    SignatureUpdateInterval 签名更新间隔 0 0
    SubmitSamplesConsent 提交样本同意 1 1
    ThreatIDDefaultAction_Actions 威胁 ID 默认操作_操作    
    ThreatIDDefaultAction_Ids 威胁 ID 默认操作_ID    
    ThrottleForScheduledScanOnly 仅在计划扫描时限制 True
    TrustLabelProtectionStatus 信任标签保护状态 0 0
    UILockdown 用户界面锁定 False
    UnknownThreatDefaultAction 未知威胁默认操作 0 0
    PSComputerName 计算机名称    
  2. 逐一查找:根据输出,查找与防护级别相关的属性或者类似的设置项。

    powershellCopy Code
    Get-MpPreference | Select-Object *

    这条命令将显示所有可用属性及其值,以便更容易找到需要的设置。


Get-MpPreference | Select-Object *


AllowDatagramProcessingOnWinServer                    : False
AllowNetworkProtectionDownLevel                       : False
AllowNetworkProtectionOnWinServer                     : False
AllowSwitchToAsyncInspection                          : True
ApplyDisableNetworkScanningToIOAV                     : False
AttackSurfaceReductionOnlyExclusions                  :
AttackSurfaceReductionRules_Actions                   :
AttackSurfaceReductionRules_Ids                       :
AttackSurfaceReductionRules_RuleSpecificExclusions    :
AttackSurfaceReductionRules_RuleSpecificExclusions_Id :
BruteForceProtectionAggressiveness                    : 0
BruteForceProtectionConfiguredState                   : 0
BruteForceProtectionExclusions                        :
BruteForceProtectionLocalNetworkBlocking              : False
BruteForceProtectionMaxBlockTime                      : 0
BruteForceProtectionSkipLearningPeriod                : False
CheckForSignaturesBeforeRunningScan                   : False
CloudBlockLevel                                       : 0
CloudExtendedTimeout                                  : 0
ComputerID                                            :  
ControlledFolderAccessAllowedApplications             :
ControlledFolderAccessDefaultProtectedFolders         : {N/A: Controlled Folder Access is disabled}
ControlledFolderAccessProtectedFolders                :
DefinitionUpdatesChannel                              : 0
DisableArchiveScanning                                : False
DisableAutoExclusions                                 : False
DisableBehaviorMonitoring                             : False
DisableBlockAtFirstSeen                               : False
DisableCacheMaintenance                               : False
DisableCatchupFullScan                                : True
DisableCatchupQuickScan                               : True
DisableCoreServiceECSIntegration                      : False
DisableCoreServiceTelemetry                           : False
DisableCpuThrottleOnIdleScans                         : True
DisableDatagramProcessing                             : False
DisableDnsOverTcpParsing                              : False
DisableDnsParsing                                     : False
DisableEmailScanning                                  : True
DisableFtpParsing                                     : False
DisableGradualRelease                                 : False
DisableHttpParsing                                    : False
DisableInboundConnectionFiltering                     : False
DisableIOAVProtection                                 : False
DisableNetworkProtectionPerfTelemetry                 : False
DisablePrivacyMode                                    : False
DisableQuicParsing                                    : True
DisableRdpParsing                                     : False
DisableRealtimeMonitoring                             : False
DisableRemovableDriveScanning                         : True
DisableRestorePoint                                   : True
DisableScanningMappedNetworkDrivesForFullScan         : True
DisableScanningNetworkFiles                           : False
DisableScriptScanning                                 : False
DisableSmtpParsing                                    : False
DisableSshParsing                                     : False
DisableTamperProtection                               : True
DisableTlsParsing                                     : False
EnableControlledFolderAccess                          : 0
EnableConvertWarnToBlock                              : False
EnableDnsSinkhole                                     : True
EnableFileHashComputation                             : False
EnableFullScanOnBatteryPower                          : False
EnableLowCpuPriority                                  : False
EnableNetworkProtection                               : 0
EnableUdpReceiveOffload                               : False
EnableUdpSegmentationOffload                          : False
EngineUpdatesChannel                                  : 0
ExclusionExtension                                    :
ExclusionIpAddress                                    :
ExclusionPath                                         :
ExclusionProcess                                      :
ForceUseProxyOnly                                     : False
HideExclusionsFromLocalUsers                          : True
HighThreatDefaultAction                               : 0
IntelTDTEnabled                                       :
LowThreatDefaultAction                                : 0
MAPSReporting                                         : 2
MeteredConnectionUpdates                              : False
ModerateThreatDefaultAction                           : 0
NetworkProtectionReputationMode                       : 0
OobeEnableRtpAndSigUpdate                             : False
PerformanceModeStatus                                 : 1
PlatformUpdatesChannel                                : 0
ProxyBypass                                           :
ProxyPacUrl                                           :
ProxyServer                                           :
PUAProtection                                         : 0
QuarantinePurgeItemsAfterDelay                        : 90
QuickScanIncludeExclusions                            : 0
RandomizeScheduleTaskTimes                            : True
RealTimeScanDirection                                 : 0
RemediationScheduleDay                                : 0
RemediationScheduleTime                               : 02:00:00
RemoteEncryptionProtectionAggressiveness              : 0
RemoteEncryptionProtectionConfiguredState             : 0
RemoteEncryptionProtectionExclusions                  :
RemoteEncryptionProtectionMaxBlockTime                : 0
RemoveScanningThreadPoolCap                           : False
ReportDynamicSignatureDroppedEvent                    : False
ReportingAdditionalActionTimeOut                      : 10080
ReportingCriticalFailureTimeOut                       : 10080
ReportingNonCriticalTimeOut                           : 1440
ScanAvgCPULoadFactor                                  : 50
ScanOnlyIfIdleEnabled                                 : True
ScanParameters                                        : 1
ScanPurgeItemsAfterDelay                              : 15
ScanScheduleDay                                       : 0
ScanScheduleOffset                                    : 120
ScanScheduleQuickScanTime                             : 00:00:00
ScanScheduleTime                                      : 02:00:00
SchedulerRandomizationTime                            : 4
ServiceHealthReportInterval                           : 60
SevereThreatDefaultAction                             : 0
SharedSignaturesPath                                  :
SharedSignaturesPathUpdateAtScheduledTimeOnly         : False
SignatureAuGracePeriod                                : 0
SignatureBlobFileSharesSources                        :
SignatureBlobUpdateInterval                           : 60
SignatureDefinitionUpdateFileSharesSources            :
SignatureDisableUpdateOnStartupWithoutEngine          : False
SignatureFallbackOrder                                : MicrosoftUpdateServer|MMPC
SignatureFirstAuGracePeriod                           : 120
SignatureScheduleDay                                  : 8
SignatureScheduleTime                                 : 01:45:00
SignatureUpdateCatchupInterval                        : 1
SignatureUpdateInterval                               : 0
SubmitSamplesConsent                                  : 1
ThreatIDDefaultAction_Actions                         :
ThreatIDDefaultAction_Ids                             :
ThrottleForScheduledScanOnly                          : True
TrustLabelProtectionStatus                            : 0
UILockdown                                            : False
UnknownThreatDefaultAction                            : 0
PSComputerName                                        :
CimClass                                              : root/Microsoft/Windows/Defender:MSFT_MpPreference
CimInstanceProperties                                 : {AllowDatagramProcessingOnWinServer, AllowNetworkProtectionDown
                                                        Level, AllowNetworkProtectionOnWinServer, AllowSwitchToAsyncIns
                                                        pection...}
CimSystemProperties                                   : Microsoft.Management.Infrastructure.CimSystemProperties

英文属性名称 中文属性名称 英文值 中文值
BruteForceProtectionConfiguredState 暴力破解保护配置状态 0 0
BruteForceProtectionExclusions 暴力破解保护排除项    
BruteForceProtectionLocalNetworkBlocking 暴力破解保护本地网络阻止 False
BruteForceProtectionMaxBlockTime 暴力破解保护最大阻止时间 0 0
BruteForceProtectionSkipLearningPeriod 暴力破解保护跳过学习期 False
CheckForSignaturesBeforeRunningScan 扫描前检查签名 False
CloudBlockLevel 云阻止级别 0 0
CloudExtendedTimeout 云扩展超时 0 0
ComputerID 计算机 ID   计算机 ID
ControlledFolderAccessAllowedApplications 受控文件夹访问允许的应用程序    
ControlledFolderAccessDefaultProtectedFolders 受控文件夹访问默认保护文件夹 {N/A: 受控文件夹访问已禁用} {N/A: 受控文件夹访问已禁用}
ControlledFolderAccessProtectedFolders 受控文件夹访问受保护文件夹    
DefinitionUpdatesChannel 定义更新通道 0 0
DisableArchiveScanning 禁用归档扫描 False
DisableAutoExclusions 禁用自动排除 False
DisableBehaviorMonitoring 禁用行为监控 False
DisableBlockAtFirstSeen 禁用首次看到时阻止 False
DisableCacheMaintenance 禁用缓存维护 False
DisableCatchupFullScan 禁用补充完整扫描 True
DisableCatchupQuickScan 禁用补充快速扫描 True
DisableCoreServiceECSIntegration 禁用核心服务 ECS 集成 False
DisableCoreServiceTelemetry 禁用核心服务遥测 False
DisableCpuThrottleOnIdleScans 禁用空闲扫描时的 CPU 限制 True
DisableDatagramProcessing 禁用数据报处理 False
DisableDnsOverTcpParsing 禁用 TCP 解析 DNS False
DisableDnsParsing 禁用 DNS 解析 False
DisableEmailScanning 禁用电子邮件扫描 True
DisableFtpParsing 禁用 FTP 解析 False
DisableGradualRelease 禁用渐进发布 False
DisableHttpParsing 禁用 HTTP 解析 False
DisableInboundConnectionFiltering 禁用入站连接过滤 False
DisableIOAVProtection 禁用 IOAV 保护 False
DisableNetworkProtectionPerfTelemetry 禁用网络保护性能遥测 False
DisablePrivacyMode 禁用隐私模式 False
DisableQuicParsing 禁用 QUIC 解析 True
DisableRdpParsing 禁用 RDP 解析 False
DisableRealtimeMonitoring 禁用实时监控 False
英文属性名称 中文属性名称 英文值 中文值
AllowDatagramProcessingOnWinServer 允许在 Windows 服务器上处理数据报 False
AllowNetworkProtectionDownLevel 允许低版本网络保护 False
AllowNetworkProtectionOnWinServer 允许在 Windows 服务器上启用网络保护 False
AllowSwitchToAsyncInspection 允许切换到异步检查 True
ApplyDisableNetworkScanningToIOAV 将禁用网络扫描应用于 IOAV False
AttackSurfaceReductionOnlyExclusions 攻击面减少仅排除项    
AttackSurfaceReductionRules_Actions 攻击面减少规则_操作    
AttackSurfaceReductionRules_Ids 攻击面减少规则_ID    
AttackSurfaceReductionRules_RuleSpecificExclusions 攻击面减少规则_特定排除项    
AttackSurfaceReductionRules_RuleSpecificExclusions_Id 攻击面减少规则_特定排除项_ID    
BruteForceProtectionAggressiveness 暴力破解保护攻击性 0 0
DisableRemovableDriveScanning 禁用可移动驱动器扫描 True
DisableRestorePoint 禁用还原点 True
DisableScanningMappedNetworkDrivesForFullScan 禁用对映射网络驱动器的完整扫描 True
DisableScanningNetworkFiles 禁用网络文件扫描 False
DisableScriptScanning 禁用脚本扫描 False
DisableSmtpParsing 禁用 SMTP 解析 False
DisableSshParsing 禁用 SSH 解析 False
DisableTamperProtection 禁用篡改保护 True
DisableTlsParsing 禁用 TLS 解析 False
EnableControlledFolderAccess 启用受控文件夹访问 0 0
EnableConvertWarnToBlock 启用将警告转换为阻止 False
EnableDnsSinkhole 启用 DNS 漏斗 True
EnableFileHashComputation 启用文件哈希计算 False
EnableFullScanOnBatteryPower 启用在电池电量下进行完整扫描 False
EnableLowCpuPriority 启用低 CPU 优先级 False
EnableNetworkProtection 启用网络保护 0 0
EnableUdpReceiveOffload 启用 UDP 接收卸载 False
EnableUdpSegmentationOffload 启用 UDP 分段卸载 False
EngineUpdatesChannel 引擎更新通道 0 0
ExclusionExtension 排除扩展    
ExclusionIpAddress 排除 IP 地址    
ExclusionPath 排除路径    
ExclusionProcess 排除进程    
ForceUseProxyOnly 强制仅使用代理 False
HideExclusionsFromLocalUsers 从本地用户隐藏排除项 True
HighThreatDefaultAction 高威胁默认操作 0 0
IntelTDTEnabled 启用 Intel TDT    
LowThreatDefaultAction 低威胁默认操作 0 0
MAPSReporting MAPS 报告 2 2
MeteredConnectionUpdates 计量连接更新 False
ModerateThreatDefaultAction 中等威胁默认操作 0 0
NetworkProtectionReputationMode 网络保护声誉模式 0 0
OobeEnableRtpAndSigUpdate 启用 RTP 和签名更新 False
PerformanceModeStatus 性能模式状态 1 1
PlatformUpdatesChannel 平台更新通道 0 0
ProxyBypass 代理绕过    
ProxyPacUrl 代理 PAC URL
英文属性名称 中文属性名称 英文值 中文值
ProxyServer 代理服务器    
PUAProtection PUA 保护 0 0
QuarantinePurgeItemsAfterDelay 隔离项延迟清除时间 90 90
QuickScanIncludeExclusions 快速扫描包含排除项 0 0
RandomizeScheduleTaskTimes 随机化计划任务时间 True
RealTimeScanDirection 实时扫描方向 0 0
RemediationScheduleDay 修复计划日 0 0
RemediationScheduleTime 修复计划时间 02:00:00 02:00:00
RemoteEncryptionProtectionAggressiveness 远程加密保护攻击性 0 0
RemoteEncryptionProtectionConfiguredState 远程加密保护配置状态 0 0
RemoteEncryptionProtectionExclusions 远程加密保护排除项    
RemoteEncryptionProtectionMaxBlockTime 远程加密保护最大阻止时间 0 0
RemoveScanningThreadPoolCap 移除扫描线程池限制 False
ReportDynamicSignatureDroppedEvent 报告动态签名丢失事件 False
ReportingAdditionalActionTimeOut 报告附加操作超时 10080 10080
ReportingCriticalFailureTimeOut 报告关键失败超时 10080 10080
ReportingNonCriticalTimeOut 报告非关键超时 1440 1440
ScanAvgCPULoadFactor 扫描平均 CPU 负载因子 50 50
ScanOnlyIfIdleEnabled 仅在空闲时扫描 True
ScanParameters 扫描参数 1 1
ScanPurgeItemsAfterDelay 扫描项延迟清除时间 15 15
ScanScheduleDay 扫描计划日 0 0
ScanScheduleOffset 扫描计划偏移 120 120
ScanScheduleQuickScanTime 扫描计划快速扫描时间 00:00:00 00:00:00
ScanScheduleTime 扫描计划时间 02:00:00 02:00:00
SchedulerRandomizationTime 调度程序随机化时间 4 4
ServiceHealthReportInterval 服务健康报告间隔 60 60
SevereThreatDefaultAction 严重威胁默认操作 0 0
SharedSignaturesPath 共享签名路径    
SharedSignaturesPathUpdateAtScheduledTimeOnly 仅在计划时间更新共享签名路径 False
SignatureAuGracePeriod 签名 AU 宽限期 0 0
SignatureBlobFileSharesSources 签名 Blob 文件共享源    
SignatureBlobUpdateInterval 签名 Blob 更新间隔 60 60
SignatureDefinitionUpdateFileSharesSources 签名定义更新文件共享源    
SignatureDisableUpdateOnStartupWithoutEngine 启动时在没有引擎的情况下禁用更新 False
SignatureFallbackOrder 签名回退顺序 MicrosoftUpdateServer MMPC
SignatureFirstAuGracePeriod 签名首次 AU 宽限期 120 120
SignatureScheduleDay 签名计划日 8 8
SignatureScheduleTime 签名计划时间 01:45:00 01:45:00
SignatureUpdateCatchupInterval 签名更新补充间隔 1 1
SignatureUpdateInterval 签名更新间隔 0 0
SubmitSamplesConsent 提交样本同意 1 1
ThreatIDDefaultAction_Actions 威胁 ID 默认操作_操作    
ThreatIDDefaultAction_Ids 威胁 ID 默认操作_ID    
ThrottleForScheduledScanOnly 仅在计划扫描时限制 True
TrustLabelProtectionStatus 信任标签保护状态 0 0
UILockdown 用户界面锁定 False
UnknownThreatDefaultAction 未知威胁默认操作 0 0
英文属性名称 中文属性名称 英文值 中文值
PSComputerName 计算机名称    
CimClass CIM 类 root/Microsoft/Windows/Defender:MSFT_MpPreference root/Microsoft/Windows/Defender:MSFT_MpPreference
CimInstanceProperties CIM 实例属性 {AllowDatagramProcessingOnWinServer, AllowNetworkProtectionDownLevel, AllowNetworkProtectionOnWinServer, AllowSwitchToAsyncInspection...} {允许在 Windows 服务器上处理数据报, 允许低版本网络保护, 允许在 Windows 服务器上启用网络保护, 允许切换到异步检查...}
CimSystemProperties CIM 系统属性 Microsoft.Management.Infrastructure.CimSystemProperties Microsoft.Management.Infrastructure.CimSystemProperties

 


PowerShell中查询和管理Windows Defender的行为监控设置(Behavior Monitoring),可以通过以下方式进行。

查询当前行为监控设置

powershellCopy Code
Get-MpPreference | Select-Object -ExpandProperty BehaviorMonitorForceOff

这条命令会显示当前行为监控设置的状态。如果返回值是 True,则表示行为监控已强制关闭;如果是 False,则表示行为监控没有被强制关闭。

修改行为监控设置

如果需要修改行为监控设置,可以使用以下命令:

强制关闭行为监控

powershellCopy Code
Set-MpPreference -BehaviorMonitorForceOff $true

这将强制关闭行为监控。

取消强制关闭行为监控

powershellCopy Code
Set-MpPreference -BehaviorMonitorForceOff $false

这将取消强制关闭,允许行为监控启用。

请注意,修改Windows Defender设置可能需要管理员权限。确保以管理员身份运行PowerShell以执行这些命令。

通过这些命令,你可以方便地查询和管理Windows Defender的行为监控设置,以符合你的安全需求和策略。


 

posted @ 2024-07-15 03:37  suv789  阅读(335)  评论(0)    收藏  举报