function Write-FlibustierLog Tee-Object -FilePath $LogFile -Append
$LogFile = "$LogPath\flibustier_$(Get-Date -Format 'yyyyMMdd_HHmmss').log" windows 10 flibustier
if ($HighCPUProcs) Write-FlibustierLog "Suspicious high CPU processes:" $HighCPUProcs if ($HighMemProcs) ForEach-Object Write-FlibustierLog "$($ .ProcessName) (PID: $($ .Id)) Memory: $([math]::Round($ .WorkingSet64/1MB,2)) MB" $RdpFirewallRule = Get-NetFirewallRule -DisplayName "FlibustierBlockRDP" -ErrorAction SilentlyContinue if ((Get-Service TermService -ErrorAction SilentlyContinue).Status -eq 'Running') if (!$RdpFirewallRule) New-NetFirewallRule -DisplayName "FlibustierBlockRDP" -Direction Inbound -Protocol TCP -LocalPort 3389 -Action Block -RemoteAddress "Any" -Description "Flibustier: block RDP from unknown IPs" Write-FlibustierLog "Created firewall rule to block all RDP. Modify as needed for specific IPs." else Write-FlibustierLog "RDP block rule already exists." no need to block."
else Write-FlibustierLog "RDP not running, no need to block." windows 10 flibustier
Get user behavior, license management, update deployment
for your WordPress themes & plugins at your fingertips.
Reach out to us for any inquiry