We are in the process of migrating this forum. A new space will be available soon. We are sorry for the inconvenience.

Ataques en windows 2008


jack2
29/06/2013, 20:09
No es necesario ningún script, lo que debes hacer es cambiar el puerto de escritorio remoto del 3389 a cualquier otro, así evitarás ataques.

OscarC
28/06/2013, 02:26
Es verdad que 5 son pocos, pero como te avisa por email, yo voy bloqueando las IPs directamente desde el firewall. (un coñazo y acabare pagando)

Otra opción que encontre, pero no he probado es: https://github.com/EvanAnderson/ts_block

Es un script e Visual basic, si te animas y lo pruebas me dices si va bien! hehe:

ts_block is a VBScript program that acts as a WMI event sink to receive
events logged by Windows in response to invalid Terminal Services
logons. It parses these log entries and acts upon them as follows:

- If the IP address attempts to logon with a username flagged as "block
immediately" the IP address is blocked immediately.

- If the IP address attempts to logon with more frequently than is
allowed in a given time period the IP address is blocked.

The "block immediately" usernames and thresholds associated with repeated
logon attempts are configurable in the "Configuration" section of the
script. Default settings are as follows:

Block Immediately Usernames - administrator, root, guest
Logon attempts allowed - 5 in 120 seconds (2 minutes)
Duration of block - 300 seconds (5 minutes)

The configuration variables for these values are reasonably
self-explanatory. Additional variables to enable/disable debugging and
event log usage are also present and self-explanatory. Review the
section "Registry Configuration Parameters" for information about
configuring via the registry (which is useful for management via Group
Policy).

Four times per second IP addresses that have remained blocked for their
assigned block duration are unblocked.

migarcia
27/06/2013, 19:25
Hola OscarC, todavia andaba buscando soluciones, creo que detener 5 ataques al dia es poco, es lo que ofrece la version gratuita, pero por lo menos vale la pena probarlo.
Gracias por la sugerencia; estoy en ello.

OscarC
26/06/2013, 08:06
Ohh quizas llegue tarde la respuesta porque lo pusiste el dia 8, pero un buena opcion libre es Ciberarms: http://cyberarms.net/download-pricin...-download.aspx

Escanea los logs y autobanea por rdp, sql pop3... la versión free esta bien.

migarcia
08/06/2013, 20:22
Hola gente:
Estoy teniendo ataques de fuerza bruta al terminal server.
Tengo una VPS con windows 2008 r2 y plesk. (y necesito windows porque tengo ASP.) He estado buscando algun producto semejante a fail2ban para windows, y no he encontrado nada free. Sabesi de algo, o tengo que comprar alguno de los de pago.