Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions modules/signatures/windows/cryptomining.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@

from lib.cuckoo.common.abstracts import Signature

class CryptoMiningStratumCommand(Signature):
name = "cryptomining_stratum_command"
description = "A stratum cryptocurrency mining command was executed"
class CryptoMiningCommand(Signature):
name = "cryptomining_command"
description = "A cryptocurrency mining command was executed"
severity = 3
categories = ["mining", "cryptocurrency"]
authors = ["Kevin Ross", "Cuckoo Technologies"]
minimum = "2.0"

def on_complete(self):
xmr_address_re = '-u[ ]*4[0-9AB][123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{93}'
xmr_strings = ["stratum+tcp://", "xmrig", "xmr-stak", "supportxmr.com:", "dwarfpool.com:", "minergate"]
xmr_strings = ["stratum+tcp://", "xmrig", "xmr-stak", "supportxmr.com:", "dwarfpool.com:", "minergate", "minexmr", "xmrpool", "moneropool", "xmr."]

for cmdline in self.get_command_lines():
if re.search(xmr_address_re, cmdline):
Expand Down