Quản trị net diễn đàn chia sẻ thông tin các thủ thuật mạng, internet bảo mật thông tin dành cho giới IT VIệt hy vọng là nơi bổ ích cho cộng đồng

Quản trị net diễn đàn chia sẻ thông tin các thủ thuật mạng, internet bảo mật thông tin dành cho giới IT VIệt hy vọng là nơi bổ ích cho cộng đồng (http://quantrinet.com/forum/index.php)
-   Linux và các thủ thực nhỏ (http://quantrinet.com/forum/forumdisplay.php?f=430)
-   -   Fix lỗi virus chạy full cpu, ubuntu odoo (http://quantrinet.com/forum/showthread.php?t=10224)

hoctinhoc 12-08-2020 09:16 PM

Fix lỗi virus chạy full cpu, ubuntu odoo
 
Fix lỗi virus chạy full cpu, ubuntu odoo


Bước 1:
- Xóa các phần trong cron lien quan den mysqld


crontab -e


/etc/crontab
* root cp -f -r -- /etc/.sh /tmp/.sh 2>/dev/null && /tmp/.sh -c >/dev/null 2>&1 && rm -rf -- /tmp/.sh 2>/dev/null
* root echo /usr/local/lib/libprocesshider.so > /etc/ld.so.preload && lockr +i /etc/ld.so.preload >/dev/null 2>&1

buoc 2:
- xoa file:
apt install e2fsprogs
chattr -i /etc/cron.d/phps
(trong trường hợp bi loi không cho chạy chattr thi apt remove e2fsprogs và cài lại)
rm -rf /etc/cron.d/phps
chattr -i /usr/local/lib/libprocessghider.so
rm -rf /usr/local/lib/libprocessghider.so
chattr -i /etc/lt.so.preload
rm -rf -i /etc/lt.so.preload
chattr -i /usr/lib/systemd/system
rm -rf -i /usr/lib/systemd/system
chattr -i /bin/.sh
rm -rf /bin/.sh
chattr -i /etc/.sh
rm -rf /etc/.sh
chattr -i /root/linux-80
rm -rf /root/linux-80
chattr -i /usr/local/bin/supervisord
rm -rf /usr/local/bin/supervisord
chattr -i /usr/local/bin/supervisorctl
rm -rf /usr/local/bin/supervisorctl

chattr -i /etc/profile.d/php.sh
chattr -i /etc/.supervisor/conf.d/123.conf
chattr -i /etc/.supervisor/supervisord.conf
chattr -i /etc/profile.d/supervisor.sh
rm -rf /etc/.supervisor
rm -rf /etc/profile.d
chattr -i /etc/spts
rm -rf /etc/spts



buoc 3:
rename cai /etc/subgid- thanh subgid va xoa cai subgid hien tai, tương tự cho subuid


Bây giờ là 10:46 AM. Giờ GMT +7

Diễn đàn tin học QuantriNet
quantrinet.com | quantrimang.co.cc
Founded by Trương Văn Phương | Developed by QuantriNet's members.
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.