TMAegis
Thêm quy tắc cho intune-defender

TMA-INTUNE-DEFENDER-2.9

Ensure 'Allow Script Scanning' is set to 'Allowed'

Trung bìnhCấp 1Tự độngintune-defender

Mô tả

This policy setting allows script scanning to be turned on/off. Script scanning intercepts scripts then scans them before they are executed on the system. The recommended state for this setting is: Allowed. Audit: reads the registry value(s) behind this Defender policy (HKLM\SOFTWARE\Policies\Microsoft\Windows Defender) and prints compliant only when each satisfies the benchmark value. Policy delivered by Intune only appears here once it has been applied to the device.

Cách kiểm tra

Phương pháp kiểm tra: Windows Registry

registry
$bad = @(); $v = (Get-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender\PolicyManager' -Name 'AllowScriptScanning' -ErrorAction SilentlyContinue).'AllowScriptScanning'; if (-not ($null -ne $v -and @(1) -contains [int64]$v)) { $bad += 'AllowScriptScanning=' + $v }; if ($bad.Count -eq 0) { 'compliant' } else { 'non-compliant: ' + ($bad -join ', ') }
Đầu ra mong đợi
compliant

Cách khắc phục

Phương pháp khắc phục: Hướng dẫn hoặc bản vá hạ tầng

To establish the recommended configuration via configuration profiles, set the following Settings Catalog path to Allowed. Defender\Allow Script Scanning To establish the recommended configuration via Endpoint Security Blade: 1. Navigate to Endpoint Security 2. Click Antivirus 3. Click Create Profile 4. Select Windows for the Platform and Microsoft Defender Antivirus for Profile 5. Name the profile 6. Configure Allow Script Scanning to Allowed

Thuộc tính

Hệ điều hành
Bất kỳ
Thẻ
intune-defenderintuneregistry
Tham chiếu
CIS Microsoft Intune for Microsoft Defender Antivirus Benchmark v1.0.0 - 2.9 Ensure 'Allow Script Scanning' is set to 'Allowed'

Kiểm tra máy này

Chạy lệnh này trên máy bạn được phép kiểm tra. Lần quét chỉ ở chế độ đọc.

shell
tmaegis scan --target intune-defender