360 安全卫士 for Linux 使用结果

2015-01-01 08:21:26 +08:00
 efi

测试了一把,结果显示360基本对Linux社区规范和安全常识不give a fuck。

首先,这个deb包就是胡乱打包,依赖关系就没弄好:

$ dpkg-deb -I 360safeforlinux-3.0.0.66-stripped.deb 
[...]
 Package: 360safeforlinux
 Version: 3.0.0.66
 Architecture: amd64
 Maintainer: qihu360 company
 Installed-Size: 23617
 Depends: libc6 (>= 2.14),libglib2.0-0 (>= 2.38),python2.7 (>= 2.7.6),openssl(>= 1.0),curl,libqt4-network(>= 4.8.5),libqt4-sql(>= 4.8.5)
 Section: gnome
 Priority: required
 Essential: yes
 Description: 360 safe for linux

但是还实际依赖了libpython2.7和libqtgui4两个库没有标明,要我手动修复。

这个打包还通过滥用Essential标记来制造卸载的麻烦。

root@debian-amd64:/home/user# apt-get remove 360safeforlinux
[...]
The following packages will be REMOVED:
  360safeforlinux
WARNING: The following essential packages will be removed.
This should NOT be done unless you know exactly what you are doing!
  360safeforlinux
[...]
**You are about to do something potentially harmful.**
To continue type in the phrase 'Yes, do as I say!'
 ?] 
Abort.

root@debian-amd64:/home/user# aptitude remove 360safeforlinux
The following packages will be REMOVED:  
  360safeforlinux 
[...]
The following ESSENTIAL packages will be REMOVED!
  360safeforlinux 

WARNING: Performing this action will probably cause your system to break!
         Do NOT continue unless you know EXACTLY what you are doing!
To continue, type the phrase "I am aware that this is a very bad idea":

关于Essential打包政策,DebianUbuntu都只保留给最必要的包。

安装后dpkg配置时它的postinst脚本直接给加上了setuid。如此随意地使用setuid,还能自称是安全?

if [ "$1" = "configure" ];then
    chmod u+s /opt/360safeforlinux/s360SafeForLinux
[...]
fi

这个的意思就是,以普通用户权限运行这个东西,它会变成root:

user@debian-amd64:~$ id
uid=1000(user) gid=1000(user) groups=1000(user),24(cdrom),25(floppy),29(audio),30(dip),44(video),46(plugdev)
user@debian-amd64:~$ start360 &
[1] 4512
user@debian-amd64:~$ pstree -u
init─┬─dhclient
     ├─5*[getty]
     ├─login───bash(user)───startx───xinit─┬─Xorg(root)
     │                                     └─x-window-manage
[...]
     ├─urxvtd(user)
     └─urxvtd(user)─┬─bash───start360(root)─┬─{BackendTaskThre}
                    │                       ├─{BrowserHomePage}
                    │                       ├─{CpuMemUseState}
                    │                       ├─{FileWatcher}
                    │                       ├─{IsolateZone}
                    │                       ├─{LogCleanThread}
                    │                       ├─2*[{MyThread}]
                    │                       ├─{VdUpload}
                    │                       └─3*[{start360}]
                    └─bash───pstree

dpkg的prerm脚本还有奇怪的东西:

rc=`lsmod | grep "rk360" | xargs echo`
if [ -n "$rc" ];then
    rmmod rk360 2>/dev/null 1>&2
    rm -rf /etc/360safe/360safe.ko 2>/dev/null 1>&2
fi

rc=`lsmod | grep "immu" | xargs echo`
if [ -n "$rc" ];then
    rmmod immu 2>/dev/null 1>&2
    rm -rf /etc/360safe/immu.ko 2>/dev/null 1>&2
fi

360不仅不满足于root权限,还在用内核模块?不过这次使用中并未发现这两个内核模块。

start360启动,然后有两个运行时怪现状:

  1. 把pid保存到/etc/360safe/360safeforlinux.pid。会不会遵守FHS?
  2. 疯狂扫描系统文件,powertop显示闲置状态每秒30个唤醒,笔记本电池寿命已死。会不会用inotify?

它提供了一些功能。

./etc/360safe/urlcheck
./etc/360safe/urlcheck/normalize.py
./etc/360safe/urlcheck/Firefox
./etc/360safe/urlcheck/Firefox/360webshield@qihoo.com.xpi
./etc/360safe/urlcheck/lcloud.ini
./etc/360safe/urlcheck/browserextensionsinstaller.py
./etc/360safe/urlcheck/Chrome
./etc/360safe/urlcheck/Chrome/360WebShield.crx

360唯有一点用功了,就是列了一大堆非GPL的许可证:

license/zlib_license.txt
license/c-ares_license.txt
license/qt_license_lgpl.txt
license/unrar_license.txt
license/sqlite_license.txt
license/elftoolchain_license.txt
license/libcurl_license.txt
license/7-Zip_license.txt
license/boost_license.txt
license/openssl_licnese.txt
license/minizip_license.txt
license/jsoncpp_license.txt
license/protobuf_license.txt
license/Noto fonts_license.txt
license/qt_lgpl_exception.txt

这样人们就无权索要源代码。不过,一个安全产品不公开源代码,然后用setuid拿了root还要搞内核模块,谁知道你要干嘛?总之,360对Linux社区规范和安全常识基本不give a fuck。

29824 次点击
所在节点    Linux
78 条回复
Numbcoder
2015-01-01 13:37:08 +08:00
这种垃圾,劣币驱逐良币,真 TM 悲哀!
Cu635
2015-01-01 14:01:53 +08:00
根本不是360对Linux社区规范和安全常识态度的问题,这完全就是故意的流氓行为。
ssenkrad
2015-01-01 14:03:54 +08:00
文件粉碎…隔三差五就能看到手一抖rm -rf / (以下填入实际想删除的东西)的人你告诉我Linux下有东西删不掉?
crystone
2015-01-01 15:16:08 +08:00
这要有多勇敢才在linux上用数字软件啊
virusdefender
2015-01-01 15:20:54 +08:00
昨天在Ubuntu上安装了一下看看,结果安装好了之后就是不显示界面,估计是兼容性问题。然后也是apt-get remove 的时候惊呆了~
juicy
2015-01-01 15:28:26 +08:00
等国内完成自制linux系统替代windows系统之后,360对广大人民群众来说就有用了。。360看得真远。。。。。
niklaus520
2015-01-01 15:36:01 +08:00
必然是因为国家要大力推行“国产操作系统”,这时候行也得上,不行也得上,这么大的市场缺口呢……
niklaus520
2015-01-01 15:39:03 +08:00
妈蛋将来有一天连linux的系统下都冒出来一堆数字企鹅熊掌抢着开机,想想还有点小激动呢
wizardforcel
2015-01-01 16:29:26 +08:00
windows从win7开始,360就没必要存在了。更何况360。
wizardforcel
2015-01-01 16:29:49 +08:00
@wizardforcel 打错了。。。更何况linux
233
2015-01-01 17:12:19 +08:00
进入linux desktop就是一个布局,估计过后会有很多公司跟进。
不在于这产品有没有人用,而是以数字现在的资源来讲,做个linux版的卫士用零花钱就够了。0收益也无所谓,万一做到了提前布局就是大赚。
就像Android刚出来时,看不看好它的多会扔一个team过去研究研究,万一以后火了呢?
像N记那么耿直的,大家也都看见了
deepurple
2015-01-01 17:32:36 +08:00
居然已经有人把360提交到AUR上了
https://aur.archlinux.org/packages/360safeforlinux/
its kernel module is put in the folder /etc/360safe and only used to set itself immutable to be deleted!
ysicing
2015-01-01 18:29:53 +08:00
流氓,呵呵
scinart
2015-01-01 19:26:26 +08:00
360都流氓这么多年了,我是流氓我怕谁。
JamesRuan
2015-01-01 19:52:50 +08:00
@liubiantao 当然不负责啦!我只是告诉他,360真正做的事是什么,信不信由他,删不删由他。
MeirLin
2015-01-01 19:55:07 +08:00
好文须感谢。
http://weibo.com/p/1001603794186410277858
这里也有一篇关于360 for Linux的
JamesRuan
2015-01-01 20:00:06 +08:00
@CRight No 你去找一个基督徒问怎么才能去天堂,他当然告诉你要信主,爱主,这不是显而易见的?
那个小白用户知道我很少用Windows,还来问我怎么让电脑更快些。我看了下,他本来习惯就很好很好,360对他来说弊大于利,除了卸载360外没有更有效的方法。
lvfujun
2015-01-01 20:54:18 +08:00
360 == 流氓 百度 ===流氓
acgtyrant
2015-01-01 23:49:36 +08:00
@CRight 安全软件可以开源的,你去 [ClamAV 官网][1]与那里的人论战吧。

[1]: http://www.clamav.net/index.html
up76733
2015-01-02 02:44:32 +08:00
lz要被红衣教主诏安了

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/158380

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX