macOS下malware移除之anysearch变种劫持(Remove hijacking of anysearch variant)

声明:
Declaration:
 

由于网络中的病毒virus/malware等存在随时变异或者对应多种感染方式等情况,本文所针对的处理方法仅针对本次样本负责,个人如有误操作,后果自负。如需帮助,可以扫我头像加我微信(KingisOK)或者邮件(julius.luck001#mail.com 请将#换成@)或通过文末二维码添加messager联系我!

Because the virus/malware in the network is mutated at any time or corresponds to multiple infection methods, the processing method targeted in this paper is only responsible for this sample. If the individual has misoperation, the consequences are at your own risk. If you need help, you can scan my picture plus my WeChat (KingisOK) or email (julius.luck001#mail.com please #change to @) or add messeger by scan the end QR code contact me !

现象
Phenomenon:

今天周末突然收到备注为CSDN,身处上海的网友加微信,抱怨并请求帮助:浏览器被恶意软件劫持了,即anysearch 劫持了他的浏览器,修改了其主页,而且主页再也不能被还原成默认值,是不可用状态。他已经看见了我前面的某篇文章,但是找不到对应的处理方法,说自己是一个外行。

看到这里,我首先意识到肯定是AnySearch出现了变种,所以他找不到相应的配置,我发给其脚本运行,让他把收集到的信息提供给我分析,还好周末在家休息,有时间处理,很快经过仔细筛查后,发现了他是九月中旬感染的相应恶意配置,并提供给其解决方法。终于经过一些指导处理后他成功移除了相应的恶意插件,浏览器的主页也恢复了正常,但可惜的是他记不住当时安装的恶意软件包了,没有样本可以分析了。

This weekend, I suddenly received a note as CSDN, and a netizen in Shanghai added WeChat, complained and asked for help: the browser was hijacked by malware, that is, anysearch hijacked his browser, modified his homepage, and the homepage could no longer be Reverted to the default value, it is unavailable. He has seen one of my previous articles, but couldn't find a corresponding solution, saying that he is a layman.

Seeing here, I first realized that there must be a variant of AnySearch, so he could not find the corresponding configuration. I sent it a script to run, and let him provide the collected information to me for analysis. Fortunately, I rested at home on the weekend. Time processing, and soon after careful screening, it was found that he was the corresponding malicious configuration infected in mid-September and provided a solution to it. Finally, after some guidance, he successfully removed the corresponding malicious plug-in, and the homepage of the browser returned to normal, but unfortunately he couldn't remember the malicious software package installed at that time, and there were no samples to analyze.

 


分析
Analysis:

根据用户反馈提供的信息,收集如下:

Based on the information provided by user feedback, the collection is as follows:

经过对上述文件的分析,初步怀疑跟下述路径及其关联的程序有关:

Based on the analysis of the above documents, it is preliminarily suspected that it is related to the following paths and related procedures:

~/Library/LaunchAgents/com.SimpleCharacterSearch.plist

 /Library/LaunchDaemons/com.SimpleCharacterSearchP.plist

/Library/LaunchDaemons/SimpleCharacterSearchDaemon.plist

~/Library/Application Support目录下的 com.18059968022215572110文件目录

~/Library/Application Support目录下的Transmission文件目录


相关插件配置:Profiles

Related plug-in configuration:  Profiles

实际上这个就是用户问题出现的最终原因,因为安装了上述恶意插件,导致系统浏览器被人为修改,这个插件的配置位置很特别,导致用户无法寻找,甚至有些杀毒软件都没有扫描到这个路径下的文件,恰好恶意插件的配置就安装在这个位置。

由于用户自己根据我以前的文章,已经移除了一部分恶意配置,所以上述配置路径可能并不全面。

In fact, this is the ultimate cause of user problems. Because the above malicious plug-ins are installed, the system browser is artificially modified. The configuration location of this plug-in is very special, which makes it impossible for users to find. Even some anti-virus software does not scan the files in this path, and the configuration of malicious plug-ins is installed in this location.

Since some malicious configurations have been removed by users themselves according to my previous articles, the above configuration paths may not be comprehensive.

如果你有发现近期出现问题前后才生成的上述文件,请将其通过terminal终端运行进行移除。

If you have found the above files that were generated before and after the recent problem, please remove them through the terminal .

处理方法:
Approach:


首先,移除上述截图中的profiles文件下的所有配置,恢复成空白默认值。

First, remove all the configuration under the profiles file in the screenshot above and restore it to the blank default value.

其次,移除上述路径下的配置文件(根据自己发现的实际路径进行引用),如果有。检查是否还存在相关的其他配置文件,杀掉该进程,再重启电脑。

Secondly, Remove the configuration file under the above path(reference according to the actual path you find), if any. Check if there are other related configuration files, kill the process, and restart the computer.

但针对本次的样本,在本地文件夹还可能有其它的一些恶意配置存在,需要一并移除,以免死灰复燃!

But for this sample, there are some other malicious configurations in the local folder, which need to be removed together to avoid resurgence!

~/Library/LaunchAgents/com.SimpleCharacterSearch.plist

 /Library/LaunchDaemons/com.SimpleCharacterSearchP.plist

/Library/LaunchDaemons/SimpleCharacterSearchDaemon.plist

~/Library/Application Support目录下的 com.18059968022215572110文件目录

~/Library/Application Support目录下的Transmission文件目录


实际上,上述文件对当前Mac系统的影响微乎其微,即使有误删,后期根据需要可以重新安装,所以删除不会影响系统的正常运行。

In fact, the above files have little impact on the current Mac system. Even if it is deleted by mistake, it can be reinstalled as needed later, so the deletion will not affect the normal operation of the system.

可疑文件全部移除完成后,最好重置浏览器,或者移除之前保存的状态数据

After all the suspicious files have been removed, it is best to reset the browser or remove the previously saved state data.

~/Library/Saved\\ Application\\ State/com.apple.Safari.savedState
~/Library/Saved\\ Application\\ State/com.google.Chrome.savedState

再启动查看是否恢复正常。

Restart to see if it returns to normal.

忠告:
Advice:


1,苹果电脑要更新和下载软件尽量去App Store,其他浏览器突然弹出的说电脑有问题或者软件需要更新,都尽量不要点!!!!

2,电脑设置中安全设置,选项选择只安装认证过的软件!!!

3,要使用破解版软件,就必须做好被安装广告和恶意插件的心理准备!

1, Apple computer to update and download software as far as possible to the App Store, other browsers suddenly pop up saying that the computer has a problem or the software needs to be updated, try not to point! ! ! !

2, the security settings in the computer settings, the option to choose only installed certified software! ! !

3. To use the cracked version of software, you must be mentally prepared to install advertisements and malicious plug-ins!

如果觉得本文对你有帮助,那就赞一个或者评论一个吧,您的支持是我继续前进的动力!

If this article is helpful to you, please click like or comment on it. Your support is my motivation to move forward!


 

发布了192 篇原创文章 · 获赞 29 · 访问量 45万+

猜你喜欢

转载自blog.csdn.net/julius_lee/article/details/103947564