Skip to content

Commit

Permalink
Merge pull request #381 from cccs-kevin/update/network-script-activity
Browse files Browse the repository at this point in the history
Updating script_network_activity to match malicious_document_urls mor…
  • Loading branch information
cccs-kevin authored Sep 8, 2023
2 parents ef9735b + 24f05ed commit 7337cff
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 7337cff

Please sign in to comment.