Skip to content

Commit

Permalink
Updating script_network_activity to match malicious_document_urls mor…
Browse files Browse the repository at this point in the history
…e or less
  • Loading branch information
cccs-kevin committed Sep 8, 2023
1 parent ef9735b commit 24f05ed
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/signatures/script_downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ def on_call(self, call, process):
if call["api"] == "InternetCrackUrlW":
self.mbcs += ["C0005"] # micro-behaviour
buff = self.get_argument(call, "Url").lower()
# InternetCrackUrlW calls made by scripts that start with https? are quite interesting
if buff.startswith("http://") or buff.startswith("https://"):
# Increasing the score to be on par with the Cuckoo signature "malicious_document_urls"
self.severity = 4
self.ret = True
self.data.append({"request": buff})
if self.pid:
Expand Down

0 comments on commit 24f05ed

Please sign in to comment.