Windows Defender, Windows'un yerleşik antivirüs ve güvenlik çözümüdür. Güvenlik testleri sırasında Defender'ı yönetmek ve konfigüre etmek önemlidir.
Başlat → Ayarlar → Güncelleme ve Güvenlik → Windows Güvenliği
- Virüs ve tehdit koruması
- Hesap koruması
- Güvenlik duvarı ve ağ koruması
- Uygulama ve tarayıcı denetimi
# Defender Durumu
Get-MpPreference
Get-MpComputerStatus
# Tarama Başlatma
Start-MpScan -ScanType QuickScan
Start-MpScan -ScanType FullScan
Start-MpScan -ScanType CustomScan -ScanPath C:\
# Tehdit Tarihçesi
Get-MpThreatCatalog
Get-MpThreatDetection
# Karantina
Get-MpThreat
Remove-MpThreat -ThreatID 12345
# Gerçek Zamanlı Korumayı Devre Dışı Bırakma
Set-MpPreference -DisableRealtimeMonitoring $true
Set-MpPreference -DisableRealtimeMonitoring $false
# Exclusions (Hariç Tutma)
Set-MpPreference -ExclusionPath C:\temp
Set-MpPreference -ExclusionExtension ".exe"
Set-MpPreference -ExclusionProcess "chrome.exe"
# Tüm Ayarları Görüntüle
Get-MpPreference | Format-List
# Defender'ı Devre Dışı Bırakma (Riskli!)
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows Defender" /v DisableAntiSpyware /t REG_DWORD /d 1 /f
# Defender'ı Aktif Etme
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows Defender" /v DisableAntiSpyware /t REG_DWORD /d 0 /f
# Real-Time Protection
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows Defender\Real-Time Protection" /v DisableRealtimeMonitoring /t REG_DWORD /d 1 /f
# Cloud Protection
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows Defender\Spynet" /v SpynetReporting /t REG_DWORD /d 1 /f
# EICAR test dosyası oluşturma
echo X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H* > eicar.com
# Defender bu dosyayı hemen tespit edecektir
Windows Defender GUI Ayarları
textBaşlat → Ayarlar → Güncelleme ve Güvenlik → Windows Güvenliği
- Virüs ve tehdit koruması
- Hesap koruması
- Güvenlik duvarı ve ağ koruması
- Uygulama ve tarayıcı denetimi
Windows Defender PowerShell Yönetimi
powershell# Defender Durumu
Get-MpPreference
Get-MpComputerStatus
# Tarama Başlatma
Start-MpScan -ScanType QuickScan
Start-MpScan -ScanType FullScan
Start-MpScan -ScanType CustomScan -ScanPath C:\
# Tehdit Tarihçesi
Get-MpThreatCatalog
Get-MpThreatDetection
# Karantina
Get-MpThreat
Remove-MpThreat -ThreatID 12345
# Gerçek Zamanlı Korumayı Devre Dışı Bırakma
Set-MpPreference -DisableRealtimeMonitoring $true
Set-MpPreference -DisableRealtimeMonitoring $false
# Exclusions (Hariç Tutma)
Set-MpPreference -ExclusionPath C:\temp
Set-MpPreference -ExclusionExtension ".exe"
Set-MpPreference -ExclusionProcess "chrome.exe"
# Tüm Ayarları Görüntüle
Get-MpPreference | Format-List
Windows Defender Registry Ayarları
cmd# Defender'ı Devre Dışı Bırakma (Riskli!)
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows Defender" /v DisableAntiSpyware /t REG_DWORD /d 1 /f
# Defender'ı Aktif Etme
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows Defender" /v DisableAntiSpyware /t REG_DWORD /d 0 /f
# Real-Time Protection
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows Defender\Real-Time Protection" /v DisableRealtimeMonitoring /t REG_DWORD /d 1 /f
# Cloud Protection
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows Defender\Spynet" /v SpynetReporting /t REG_DWORD /d 1 /f
Windows Defender Test (EICAR)
cmd# EICAR test dosyası oluşturma
echo X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H* > eicar.com
# Defender bu dosyayı hemen tespit edecektir
🔒 Bu içeriği görmek için giriş yapın