added crypto miner match
This commit is contained in:
parent
f3e812db10
commit
3e105ea3a7
3
scan.py
3
scan.py
@ -238,6 +238,7 @@ scoring = {
|
|||||||
'MD5': (20, u'md5 strings used in malware'),
|
'MD5': (20, u'md5 strings used in malware'),
|
||||||
'SOCIALS': (50, u'Email addresses, links and social networking'),
|
'SOCIALS': (50, u'Email addresses, links and social networking'),
|
||||||
'EITEST': (65, u'Eitest'),
|
'EITEST': (65, u'Eitest'),
|
||||||
|
'CRYPTO': (65, u'Cryptocurrency Miners'),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -546,6 +547,8 @@ def is_hacked(filename):
|
|||||||
or 'Wells Fargo Home Page' in l \
|
or 'Wells Fargo Home Page' in l \
|
||||||
or 'Chase Online - Logon' in l:
|
or 'Chase Online - Logon' in l:
|
||||||
score.append(('PHISHING', ''))
|
score.append(('PHISHING', ''))
|
||||||
|
if re.compile('User-Agent.*cpuminer').match(l):
|
||||||
|
score.append(('CRYPTO', ''))
|
||||||
previous_line = l
|
previous_line = l
|
||||||
|
|
||||||
if line_num < 20:
|
if line_num < 20:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user