From 454bfa9f4f75683a407d2f3e88d4bc040915621d Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Fri, 26 Sep 2025 21:31:59 -0400 Subject: [PATCH] Check overlay for NSIS --- BinaryObjectScanner/Packer/NSIS.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/BinaryObjectScanner/Packer/NSIS.cs b/BinaryObjectScanner/Packer/NSIS.cs index fe4ef3a6..192a6bc3 100644 --- a/BinaryObjectScanner/Packer/NSIS.cs +++ b/BinaryObjectScanner/Packer/NSIS.cs @@ -25,6 +25,14 @@ namespace BinaryObjectScanner.Packer return "NSIS"; } + // Get the overlay strings, if they exist + strs = exe.OverlayStrings; + if (strs != null) + { + if (strs.Exists(s => s.Contains("NullsoftInst"))) + return "NSIS"; + } + return null; } }