Last active
January 4, 2023 08:23
Revisions
-
williballenthin revised this gist
Jan 4, 2023 . 1 changed file with 15 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,15 @@ rule Nuitka { meta: description = "Python code compiled and packaged with Nuitka" author = "William Ballenthin <william.ballenthin@mandiant.com>" strings: // https://github.com/Nuitka/Nuitka/blob/f87667fec2748a735834fc699daa20cedfb8f2c7/nuitka/build/static_src/InspectPatcher.c#L218 $a1 = "nuitka_types_patch" // https://github.com/Nuitka/Nuitka/blob/f87667fec2748a735834fc699daa20cedfb8f2c7/nuitka/build/static_src/MetaPathBasedLoader.c#L1173 $a2 = "O:is_package" // https://github.com/Nuitka/Nuitka/blob/f87667fec2748a735834fc699daa20cedfb8f2c7/nuitka/build/static_src/HelpersConstantsBlob.c#L1229 $a3 = "Error, corrupted constants object" condition: uint16(0) == 0x5A4D and all of them } -
williballenthin created this gist
Jan 3, 2023 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,14 @@ import "dotnet" rule DotnetStartupHook { meta: description = "might be a .NET startup hook module" author = "William Ballenthin <william.ballenthin@mandiant.com>" strings: $a1 = "StartupHook" $a2 = "Initialize" condition: uint16(0) == 0x5A4D and dotnet.is_dotnet and all of them }