alcasite

Detector de intrusos (IDS) y antivirus.

Actualizada el 11 de noviembre de 2026

Snort / Suricata en pfSense

  1. System > Package Manager: instalar Snort (o Suricata).
  2. Services > Snort > Global Settings: activar reglas Snort Community / ET Open (y Oinkcode si hay cuenta) y la actualización automática.
  3. Snort Interfaces > Add: interfaz WAN (y/o LAN), categorías de reglas (scan, malware, exploit…).
  4. Empezar en modo detección (IDS); cuando no haya falsos positivos, activar Block offenders (IPS).
  5. Probar con un nmap -sS desde fuera y revisar Alerts.

ClamAV en Linux

sudo apt install clamav clamav-daemon clamtk     # clamtk = interfaz gráfica
sudo systemctl stop clamav-freshclam && sudo freshclam && sudo systemctl start clamav-freshclam
clamscan -r -i /home                 # escanear y mostrar solo infectados
clamscan -r --move=/cuarentena /srv

Prueba segura: el fichero EICAR debe detectarse como Eicar-Test-Signature.

Windows

Microsoft Defender (activado por defecto; en Server se instala como característica). Comprobar con Get-MpComputerStatus y escanear con Start-MpScan -ScanType QuickScan.

Otras herramientas de protección

  • Linux: UFW, ClamAV, rkhunter/chkrootkit (rootkits), fail2ban (bloquea IPs tras intentos fallidos de SSH).
  • Windows: Defender, Malwarebytes (análisis puntual), actualizaciones al día.
  • Teoría: un troyano se presenta como software legítimo para abrir una puerta trasera; prevención = descargar de fuentes oficiales, mínimo privilegio, antivirus y formación del usuario.