Commit 6e799ad
feat(handler): add support for PE files with extraction of NSIS executable
Add support for PE file by relying on LIEF to parse PE file once matched
on 'MZ' or 'PE' signature.
If the file is a self-extractable NSIS executable
("Nullsoft.NSIS.exehead" present in manifest) we extract it with 7zip.
Note: the DLL files within MSI extraction directory are no longer
extracted since the PE handler takes care of them. This is an
improvement over the RAR false positive being found in the DLL.
Co-authored-by: Quentin Kaiser <[email protected]>1 parent ec71e31 commit 6e799ad
File tree
916 files changed
+2867
-19
lines changed- docs
- python/unblob/handlers
- executable
- tests/integration
- archive/msi/__output__
- 7z2501.msi.padded_extract/16-1563664.msi_extract/_7z.dll_extract
- 7z2501.msi_extract/_7z.dll_extract
- executable/pe
- __input__
- __output__
- nsis-3.11-setup.exe.padded_extract
- 16-1565007.pe_extract
- $PLUGINSDIR
- Bin
- Contrib
- Graphics
- Checks
- Header
- Icons
- Wizard
- Language files
- Modern UI 2
- Pages
- Modern UI
- UIs
- zip2exe
- Docs
- AdvSplash
- Banner
- BgImage
- Dialer
- InstallOptions
- Math
- Modern UI 2
- images
- Modern UI
- images
- MultiUser
- NSISdl
- Splash
- StartMenu
- StrFunc
- System
- VPatch
- makensisw
- nsDialogs
- nsExec
- Examples
- AdvSplash
- Banner
- BgImage
- InstallOptions
- Math
- Modern UI
- Plugin
- nsis
- pluginapi-x86-ansi.lib_extract
- pluginapi-x86-unicode.lib_extract
- Splash
- StartMenu
- System
- UserInfo
- VPatch
- nsDialogs
- nsExec
- Include
- Win
- NSIS.exe_extract/$PLUGINSDIR
- Plugins
- x86-ansi
- x86-unicode
- Stubs
- nsis-3.11-setup.exe_extract
- $PLUGINSDIR
- Bin
- Contrib
- Graphics
- Checks
- Header
- Icons
- Wizard
- Language files
- Modern UI 2
- Pages
- Modern UI
- UIs
- zip2exe
- Docs
- AdvSplash
- Banner
- BgImage
- Dialer
- InstallOptions
- Math
- Modern UI 2
- images
- Modern UI
- images
- MultiUser
- NSISdl
- Splash
- StartMenu
- StrFunc
- System
- VPatch
- makensisw
- nsDialogs
- nsExec
- Examples
- AdvSplash
- Banner
- BgImage
- InstallOptions
- Math
- Modern UI
- Plugin
- nsis
- pluginapi-x86-ansi.lib_extract
- pluginapi-x86-unicode.lib_extract
- Splash
- StartMenu
- System
- UserInfo
- VPatch
- nsDialogs
- nsExec
- Include
- Win
- NSIS.exe_extract/$PLUGINSDIR
- Plugins
- x86-ansi
- x86-unicode
- Stubs
- zip2exe.exe.padded_extract
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
916 files changed
+2867
-19
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| 121 | + | |
121 | 122 | | |
122 | 123 | | |
123 | 124 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
0 commit comments