fix: cleanup loader lists, update New-DefaultConfig, fix CHANGELOG numbers

- Remove non-existent Backup/Restore-AntiAISettings from AntiAI.psm1 loader

- Remove non-existent Restore-PrivacySettings from Privacy.psm1 loader

- Update New-DefaultConfig: EdgeHardening 20->24, AdvancedSecurity 36->50

- Add missing options: nonInteractive, autoConfirm, module-specific settings

- Fix CHANGELOG.md: AntiAI 24->32, EdgeHardening 20->24, AdvancedSecurity 44->50
This commit is contained in:
NexusOne23 2025-12-24 21:15:09 +01:00
parent c4d6d9c995
commit 74b73eda81
4 changed files with 30 additions and 12 deletions

View file

@ -227,19 +227,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- OneDrive telemetry off (sync functional)
- App permissions default-deny
**AntiAI** (24 policies) - AI Lockdown
**AntiAI** (32 policies) - AI Lockdown
- Generative AI Master Switch (blocks ALL AI models system-wide)
- Windows Recall (complete deactivation + component protection)
- Windows Copilot (system-wide disabled + hardware key remapped)
- Click to Do, Paint AI, Notepad AI, Settings Agent - all disabled
**EdgeHardening** (20 policies) - Microsoft Edge Security Baseline
**EdgeHardening** (24 policies) - Microsoft Edge Security Baseline
- SmartScreen enforced, Tracking Prevention strict
- SSL/TLS hardening, Extension security
- IE Mode restrictions
- Native PowerShell implementation (no LGPO.exe)
**AdvancedSecurity** (44 settings) - Beyond Microsoft Baseline
**AdvancedSecurity** (50 settings) - Beyond Microsoft Baseline
- **SRP .lnk Protection (CVE-2025-9491)** - Zero-day mitigation for ClickFix malware
- **RDP Hardening** - Disabled by default, TLS + NLA enforced
- **Legacy Protocol Blocking** - SMBv1, NetBIOS, LLMNR, WPAD, PowerShell v2

View file

@ -85,23 +85,30 @@ function New-DefaultConfig {
enabled = $true
priority = 1
status = "IMPLEMENTED"
bitLockerUSBEnforcement = $false
}
ASR = @{
enabled = $true
priority = 2
status = "IMPLEMENTED"
usesManagementTools = $false
allowNewSoftware = $false
continueWithoutCloud = $true
}
DNS = @{
enabled = $true
priority = 3
provider = ""
status = "IMPLEMENTED"
provider = "Quad9"
dohMode = "REQUIRE"
}
Privacy = @{
enabled = $true
priority = 4
mode = ""
status = "IMPLEMENTED"
mode = "MSRecommended"
disableCloudClipboard = $true
removeBloatware = $true
}
AntiAI = @{
enabled = $true
@ -113,10 +120,11 @@ function New-DefaultConfig {
enabled = $true
priority = 6
status = "IMPLEMENTED"
description = "Microsoft Edge v139 Security Baseline: 20 security policies including SmartScreen enforcement, site isolation, SSL/TLS hardening, extension blocklist, IE Mode restrictions, and Spectre mitigations. No LGPO.exe dependency."
description = "Microsoft Edge v139 Security Baseline: 24 security policies"
allowExtensions = $true
version = "2.2.2"
baseline = "Edge v139"
policies = 20
policies = 24
features = @{
smartscreen_enforcement = $true
site_isolation = $true
@ -132,9 +140,16 @@ function New-DefaultConfig {
enabled = $true
priority = 7
status = "IMPLEMENTED"
description = "Advanced Security hardening beyond MS Baseline: RDP NLA/Disable, WDigest protection, Admin Shares disable, Risky ports/services, Legacy TLS disable, WPAD disable, PowerShell v2 removal, SRP .lnk protection, Windows Update (3 GUI settings), Finger Protocol block. Opt-in by design (use -SecurityProfile Balanced/Enterprise/Maximum)"
description = "Advanced Security hardening beyond MS Baseline"
securityProfile = "Balanced"
disableRDP = $true
forceAdminShares = $false
disableUPnP = $true
disableWirelessDisplay = $false
disableDiscoveryProtocols = $true
disableIPv6 = $false
version = "2.2.2"
policies = 36
policies = 50
features = @{
rdp_hardening = $true
wdigest_protection = $true
@ -147,6 +162,10 @@ function New-DefaultConfig {
srp_lnk_protection = $true
windows_update_config = $true
finger_protocol_block = $true
wireless_display_security = $true
discovery_protocols_security = $true
firewall_shields_up = $true
ipv6_disable = $true
}
profiles = @("Balanced", "Enterprise", "Maximum")
}
@ -156,6 +175,8 @@ function New-DefaultConfig {
createBackup = $true
verboseLogging = $true
autoReboot = $false
nonInteractive = $false
autoConfirm = $false
}
}

View file

@ -22,8 +22,6 @@ $script:ModuleRoot = $PSScriptRoot
# Import private functions
$privateFunctions = @(
'Backup-AntiAISettings'
'Restore-AntiAISettings'
'Test-AntiAICompliance'
'Set-SystemAIModels'
'Disable-Recall'

View file

@ -26,7 +26,6 @@ $script:ModuleRoot = $PSScriptRoot
# Import private functions
$privateFunctions = @(
'Backup-PrivacySettings',
'Restore-PrivacySettings',
'Set-TelemetrySettings',
'Set-PersonalizationSettings',
'Set-AppPrivacySettings',