Abril
2005
Fin del curso de PHP y Mysql
El curso se acabó...
Enlace permanente ::
comentarios (0) ::
Versión para imprimir
Resultó ser un amigo de maci y jorge haciendo pruebas.
Me ha llamado hace un rato pidiendo disculpas, disculpas aceptadas.
Creo que hubiera sido más sencillo que alguien me hubiese avisado antes que había una persona "probando nuestro servidor".
soleup:/home/soleupix# ls -laEste usuario no debería tener .bash_history ya que no recuerdo haber usado su consola, y ese archivo .ifconfig que resulta ser un binario. Hago un cat al history y nos encontramos con esto:
total 3376
drwxr-xr-x 20 1009 1009 4096 2005-04-23 00:58 .
drwxr-xr-x 14 root staff 4096 2005-04-14 09:52 ..
-rw------- 1 1009 1009 410 2005-04-20 16:16 .bash_history <===================
-rw-r--r-- 1 1009 1009 567 2005-04-14 09:52 .bash_profile
-rw-r--r-- 1 1009 1009 1834 2005-04-14 09:52 .bashrc
drwx------ 3 1009 1009 4096 2005-04-15 15:48 .cache
drwxr-xr-x 3 1009 1009 4096 2005-04-15 15:48 .config
drwxr-xr-x 2 1009 1009 4096 2005-04-14 09:52 Desktop
-rw------- 1 1009 1009 26 2005-04-14 09:52 .dmrc
-rw-r--r-- 1 1009 1009 27419 2005-04-14 09:52 .fonts.cache-1
drwx------ 4 1009 1009 4096 2005-04-15 15:46 .gconf
drwx------ 2 1009 1009 4096 2005-04-15 20:25 .gconfd
-rw-r----- 1 1009 1009 0 2005-04-15 15:40 .gksu.lock
drwx------ 5 1009 1009 4096 2005-04-15 15:39 .gnome
drwx------ 8 1009 1009 4096 2005-04-15 15:17 .gnome2
drwx------ 2 1009 1009 4096 2005-04-14 09:52 .gnome2_private
drwx------ 3 1009 1009 4096 2005-04-14 10:34 .gphpedit
drwxr-xr-x 2 1009 1009 4096 2005-04-14 09:52 .gstreamer-0.8
-rw-r--r-- 1 1009 1009 136 2005-04-14 09:53 .gtkrc-1.2-gnome2
-rw------- 1 1009 1009 479 2005-04-15 15:17 .ICEauthority
drwxr-xr-x 2 1009 1009 4096 2005-04-14 09:53 .icons
-rwxrwxrwx 1 1009 1009 301015 2005-04-21 22:50 .ifconfig <==================
drwxr-xr-x 3 1009 1009 4096 2005-04-15 15:48 .local
-rw-r--r-- 1 1009 1009 3301015 2005-04-21 22:50 lrk5.src.tar.gz <=================
drwx------ 3 1009 1009 4096 2005-04-14 09:52 .metacity
drwxr-xr-x 3 1009 1009 4096 2005-04-14 09:52 .nautilus
drwxr-xr-x 3 1009 1009 4096 2005-04-15 15:39 .openoffice
-rw------- 1 1009 1009 290 2005-04-15 15:39 .recently-used
-rw-r--r-- 1 1009 1009 73 2005-04-15 15:39 .sversionrc
drwxr-xr-x 2 1009 1009 4096 2005-04-14 09:53 .themes
drwx------ 3 1009 1009 4096 2005-04-15 15:38 .thumbnails
-rw------- 1 1009 1009 269 2005-04-15 16:39 .Xauthority
-rw-r--r-- 1 1009 1009 799 2005-04-15 16:39 .xsession-errors
soleup:/home/soleupix# cat .bash_history
killall -HUP gnome-panel
nautilus applications:///
killall -HUP gnome-panel
cd .nautilus/
ls
cd metafiles/
ls
nano applications:%2F%2F%2F.xml
nano applications:%2F%2F%2FSOLEUPIX.xml
killall -HUP gnome-panel
ls
nano x-nautilus-desktop:%2F%2F%2F.xml
nano applications:%2F%2F%2F.
vi .bash_history <===
finger <===
ls
gcc ESniff.c <===
vi ESniff.c <====
ls
user
users
finger
ls
rm -rf ESniff.c <==
clear <===
vi .bash_history <===
exit
================================================
Apr 19 00:08:32 localhost sshd[17486]: Accepted keyboard-interactive/pam
for soleupix from ::ffff:212.183.248.XXX port 32768 ssh2
Apr 20 15:37:58 localhost sshd[17665]: Accepted keyboard-interactive/pam
for soleupix from ::ffff:212.183.248.XXX port 32778 ssh2
Apr 19 00:21:39 localhost su[17891]: (pam_unix) authentication failure;
logname=soleupix uid=1009 euid=0 tty=pts/0 ruser=soleupix rhost= user=root
HA INTENTADO HACERSE ROOT EL MUY HIJO DE SU MADRE
Apr 19 21:51:25 localhost proftpd[16544]: localhost (cable248aXXX.usuarios.
retecal.es[212.183.248.XXX]) - USER soleupix: Login successful.
Apr 19 21:58:42 localhost proftpd[16606]: localhost (cable248aXXX.usuarios.
retecal.es[212.183.248.XXX]) - USER soleupix: Login successful.
Apr 20 15:46:26 localhost proftpd: (pam_unix) authentication failure;
logname= uid=0 euid=0 tty= ruser= rhost=cable248aXXX.usuarios.retecal.es user=soleupix
- backdoored sshd-2.0.13
- better sniffer
- backdoored su
- better crontab (imo)
y usa librerias del sistema para ascender de privilegios.
#define PORT 12497
Ahora hablando en cristiano, lleva 15 días y 7 horas encendido, memoria usada poco menos del 50 % de 512 Mb, swap sin usar, casi 300 megas en los buzones de correo y 30 megas de spam y virus.
nostromo:~# uptime
23:08:33 up 15 days, 7:37, 1 user, load average: 0.07, 0.05, 0.01
nostromo:~# free
total used free shared buffers cached
Mem: 515936 504536 11400 0 69276 201908
-/+ buffers/cache: 233352 282584
Swap: 1510068 0 1510068
nostromo:~# du -sh /var/mail
293M /var/mail
nostromo:~# du -sh /var/lib/amavis/
30M /var/lib/amavis/
nostromo:~# du -sh /var/log/
65M /var/log/
Ubuntu limpio
Nuevo gestor de actualizaciones
Menú Sistema--> Administración
Gnome trae tres menús ahora...
Nueva apariencia de synaptic
Synaptic sólo se ve el terminal si queremos
¿Agregar o quitar programas? ¿Me habre equivocado de descarga?
Instalando el Gtranslator