Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
gongdongdong committed Nov 29, 2019
1 parent 6822c6b commit 271af1d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/plugins/Backdoor_Analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,8 @@ def check_SSH(self):
pid = info.split("/")[0]
if os.path.exists('/proc/%s/exe' % pid):
if 'sshd' in os.readlink('/proc/%s/exe' % pid):
malice_result(u'常规后门检测', u'SSH 后门', os.readlink('/proc/%s/exe' % pid), pid, u"非22端口的sshd服务",
malice_result(u'常规后门检测', u'SSH 后门', os.readlink('/proc/%s/exe' % pid), pid,
u"非22端口的sshd服务,进程pid: %s" % pid,
u'[1]ls -l /porc/%s [2]ps -ef|grep %s|grep -v grep' % (pid, pid), u'风险',
programme=u'kill %s #关闭异常sshd进程' % pid)
malice = True
Expand Down

0 comments on commit 271af1d

Please sign in to comment.