From 1efaa6cd42b1d9ae3f0315a677cd07596760acb1 Mon Sep 17 00:00:00 2001 From: Kevin O'Reilly Date: Wed, 2 Sep 2026 09:35:30 +0100 Subject: [PATCH] msi package: add file extension if missing --- analyzer/windows/modules/packages/msi.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/analyzer/windows/modules/packages/msi.py b/analyzer/windows/modules/packages/msi.py index 80aca4ba081..28e77800d72 100644 --- a/analyzer/windows/modules/packages/msi.py +++ b/analyzer/windows/modules/packages/msi.py @@ -3,6 +3,7 @@ # See the file 'docs/LICENSE' for copying permission. from lib.common.abstracts import Package +from lib.common.common import check_file_extension class Msi(Package): @@ -16,6 +17,7 @@ class Msi(Package): to run the sample.""" def start(self, path): + path = check_file_extension(path, ".msi") msi_path = self.get_path("msiexec.exe") msi_args = f'/I "{path}" /qb ACCEPTEULA=1 LicenseAccepted=1' return self.execute(msi_path, msi_args, path)