Skip to content

Commit

Permalink
fix: FPs with svchost.exe owner checks on Windows 10
Browse files Browse the repository at this point in the history
  • Loading branch information
Neo23x0 committed Jun 15, 2020
1 parent bb3b7cc commit 3490ff1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions loki.py
Original file line number Diff line number Diff line change
Expand Up @@ -790,8 +790,9 @@ def scan_processes(self, nopesieve, nolisten, excludeprocess, pesieveshellc):
logger.log("WARNING", "ProcessScan", "svchost.exe path is not System32 %s" % process_info)
if name == "svchost.exe" and priority is not 8:
logger.log("NOTICE", "ProcessScan", "svchost.exe priority is not 8 %s" % process_info)
if name == "svchost.exe" and not ( self.check_svchost_owner(owner) or "unistacksvcgroup" in cmd.lower()):
logger.log("WARNING", "ProcessScan", "svchost.exe process owner is suspicious %s" % process_info)
# Windows 10 FP
#if name == "svchost.exe" and not ( self.check_svchost_owner(owner) or "unistacksvcgroup" in cmd.lower()):
# logger.log("WARNING", "ProcessScan", "svchost.exe process owner is suspicious %s" % process_info)

if name == "svchost.exe" and not " -k " in cmd and cmd != "N/A":
logger.log("WARNING", "ProcessScan", "svchost.exe process does not contain a -k in its command line %s" % process_info)
Expand Down

0 comments on commit 3490ff1

Please sign in to comment.