proxmox
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| proxmox [2026/08/31 15:53] – protocol | proxmox [2026/08/31 23:49] (current) – protocol | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| < | < | ||
| + | # remover backdoor e minerador de cripto (XMrig/ | ||
| + | # encontrei eles nas librarias para mexer nos comandos comuns, classico.. | ||
| unset LD_PRELOAD | unset LD_PRELOAD | ||
| export LD_PRELOAD="" | export LD_PRELOAD="" | ||
| Line 9: | Line 11: | ||
| rm -f / | rm -f / | ||
| + | # matar os processos de mineraçao e persistencia | ||
| pkill -9 -f PVE-1 | pkill -9 -f PVE-1 | ||
| pkill -f PVE-1-maintain | pkill -f PVE-1-maintain | ||
| Line 14: | Line 17: | ||
| pkill -f ld-svc | pkill -f ld-svc | ||
| - | # 1. Remove os bloqueios de escrita e deleção dos serviços e scripts maliciosos | + | # boa tentativa deles, mais classico tambem.. |
| chattr -ia / | chattr -ia / | ||
| chattr -ia / | chattr -ia / | ||
| Line 24: | Line 27: | ||
| chattr -ia / | chattr -ia / | ||
| + | systemctl stop PVE-1-update.timer 2>/ | ||
| + | systemctl disable PVE-1-update.timer 2>/ | ||
| + | systemctl stop ld-svc.timer 2>/ | ||
| + | systemctl disable ld-svc.timer 2>/ | ||
| + | |||
| + | chattr -ia / | ||
| + | rm -f / | ||
| + | |||
| + | chattr -ia / | ||
| + | rm -f / | ||
| rm -f / | rm -f / | ||
| rm -f / | rm -f / | ||
| Line 31: | Line 44: | ||
| rm -rf / | rm -rf / | ||
| rm -f / | rm -f / | ||
| + | rm / | ||
| + | rm -f / | ||
| + | rm -f / | ||
| + | rm -f / | ||
| + | rm -f / | ||
| + | |||
| + | systemctl daemon-reload | ||
| + | systemctl reset-failed | ||
| + | |||
| + | |||
| + | # listar as VM e disk ID | ||
| + | cat / | ||
| + | |||
| + | # extrair as VM (preferencia em disco externo ou remoto) | ||
| + | dd if=/ | ||
| + | |||
| + | Usar testdisk para restaurar, nao esqueçe selecionar MBR or GPT, se for XFS use kpartx ou forçando offset em loop device.. | ||
| + | |||
| + | uma chave ssh deles em / | ||
| + | ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCltvjARi/ | ||
| + | CVt0aNVoUYc71EQhNA4Q1XbqrzCwzjB/ | ||
| + | Eezua0I2YLm9KizbgE11FxEB+9NQW3fkdRuYtZZGMzd2DHB+V5jwfCxPKl0SpyWmQNL+cpn9Lpt0EP/ | ||
| + | IP deles: | ||
| + | 103.117.145.130 C&C | ||
| + | 45.185.15.129 C&C | ||
| + | 45.148.10.152 C&C | ||
| + | 62.60.130.193 (entry proxy, most probably some botnet zombie) | ||
| + | 205.172.58.170 (monero) | ||
| + | |||
| + | grep -a -b -o " | ||
| + | dd if=/ | ||
| + | dd if=server2-mkauth.raw of=staged_padded.maz bs=1 skip=62236491651 count=150000000 status=progress | ||
| + | |||
| + | # Extrai as linhas financeiras brutas do arquivo de imagem do disco | ||
| + | strings server2-mkauth.raw | grep -E " | ||
| + | grep " | ||
| + | |||
| + | # Extrai as linhas financeiras brutas do arquivo de imagem do disco | ||
| + | strings server2-mkauth.raw | grep -E " | ||
| + | grep " | ||
| + | |||
| + | strings server2-mkauth.raw | grep -E " | ||
| + | grep " | ||
| + | |||
| + | strings server2-mkauth.raw | grep -E " | ||
| + | grep " | ||
| + | |||
| + | strings server2-mkauth.raw | grep -E " | ||
| + | grep " | ||
| + | |||
| + | strings server2-mkauth.raw | grep -E " | ||
| + | grep " | ||
| + | |||
| + | strings server2-mkauth.raw | grep -E " | ||
| + | grep " | ||
| + | |||
| + | mysql -u root -p mkradius < / | ||
| + | mysql -u root -p mkradius < / | ||
| + | mysql -u root -p mkradius < / | ||
| + | mysql -u root -p mkradius < / | ||
| + | mysql -u root -p mkradius < / | ||
| + | mysql -u root -p mkradius < / | ||
| + | mysql -u root -p mkradius < / | ||
| + | |||
| </ | </ | ||
proxmox.1788202405.txt.gz · Last modified: by protocol
