Commit Graph

154 Commits (ba5617a5e112deb90bfa4d4414e2c21c7bfa39f1)

Author SHA1 Message Date
Grzegorz Rychlik ba5617a5e1 Exclude RtlPcToFileHeader hook from x86 builds
Exception info on x86 is absolute rather than relative (as x64) so
exception creation doesn't require this call.

Additionally Win8.1 SDK doesn't export `RtlPcToFileHeader` in
kernel32.lib for static linking, which causes linking to fail
2020-01-28 10:50:25 +01:00
Grzegorz Rychlik f0e7ece23d Hook RtlPcToFileHeader function
RtlPcToFileHeader is called when throwing exceptions, and creating
std::exception_ptrs.
Insert hook as import function address, not actual ntdll hook.
2020-01-27 17:07:29 +01:00
Grzegorz Rychlik 1775a3980a Move Loader to separate file 2020-01-27 16:22:29 +01:00
Grzegorz Rychlik 820467f83b Separarte PE image utils 2020-01-27 15:55:11 +01:00
Andras Toth 2f3052a5c1 yarn build 2020-01-23 10:48:43 +00:00
Andras Toth 3ce4693570 Enable EDIT CONFIG on create gateway 2020-01-23 10:45:39 +00:00
Grzegorz Rychlik 8df9c1f62a Update Donut runtime libs 2020-01-22 13:30:15 +01:00
Grzegorz Rychlik e136b04b03 [UI][donut] yarn build 2020-01-21 12:47:53 +01:00
Grzegorz Rychlik ca9b5b24b2 [UI][Donut] Add aPLib to donut options 2020-01-21 12:39:10 +01:00
Grzegorz Rychlik ca7c5efba0 [WebController][Donut] Add aPLib compression 2020-01-21 12:19:13 +01:00
Grzegorz Rychlik 596c107e8e Remove RVA macro 2020-01-17 16:38:41 +01:00
Grzegorz Rychlik 7ff0c13f45 Update dev notes 2020-01-17 16:33:32 +01:00
Grzegorz Rychlik 5b265ebcaa Update License files 2020-01-17 16:32:54 +01:00
Grzegorz Rychlik 15102cbb66 Add CebuLoader's dev notes 2020-01-17 15:25:55 +01:00
Grzegorz Rychlik 41b16a3c32 Fix not-null terminated section names 2020-01-17 14:02:38 +01:00
Grzegorz Rychlik fb849016ea Fix pre-build command for paths with spaces 2020-01-16 16:40:12 +01:00
Grzegorz Rychlik 911a8d4a97 Replace abort with QuietAbort 2020-01-16 14:38:30 +01:00
Grzegorz Rychlik a88597cac9 [Loader] Update unexported win api for W7 and 8
- Win7's wow64 ntdll sections are aligned to 64k which leaves empty
pages (reserved but inaccessible)
- Update calling convetions, and offset data
2020-01-15 18:49:01 +01:00
Grzegorz Rychlik 2e290a1947 Fix generated relay extention 2020-01-14 17:21:47 +01:00
Grzegorz Rychlik f1fee131f7 Merge branch 'donut-front' into Shellcode 2020-01-14 17:07:58 +01:00
Andras Toth 0446be46e5 yarn build 2020-01-14 15:47:41 +00:00
Andras Toth c53b369123 Add donut front-end form 2020-01-14 15:45:58 +00:00
Grzegorz Rychlik 91c3daa42b Fix cleanup code 2020-01-14 11:52:19 +01:00
Grzegorz Rychlik cfa8782ebf Add doxygen comments 2020-01-14 11:05:17 +01:00
Grzegorz Rychlik cd5962409a Hide details of Unexported WinApi calls 2020-01-13 17:04:06 +01:00
Grzegorz Rychlik f8e7dcb689 Fix code style 2020-01-13 17:02:09 +01:00
Grzegorz Rychlik 352d54f2fc Add support for x86 exceptions 2020-01-10 16:35:39 +01:00
Grzegorz Rychlik a0835b6877 [Loader] Add x86 static TLS support 2020-01-10 11:15:22 +01:00
Grzegorz Rychlik 6aec395e30 Update resource generation and access to match C style 2020-01-09 17:31:53 +01:00
Grzegorz Rychlik 8f908f020c Update .gitignore 2020-01-09 17:29:41 +01:00
Grzegorz Rychlik 98d00b1034 Fix resource path 2020-01-09 17:25:25 +01:00
Grzegorz Rychlik 07f6e3eae0 Return status codes from ResourceGenerator 2020-01-09 17:23:27 +01:00
Grzegorz Rychlik 9c8066b162 Merge branch 'F-Style' into 'master'
F style

See merge request C3/C3!154
2020-01-08 16:56:00 +00:00
Andras Toth c4a5d84f45 yarn build 2020-01-08 16:05:49 +00:00
Andras Toth 36ce1e93e2 Change favicon colour 2020-01-08 16:05:08 +00:00
Andras Toth 4b008d986f yarn build 2020-01-08 15:48:18 +00:00
Andras Toth 54a74f7a2c Change C3 green to green 2020-01-08 15:47:42 +00:00
Andras Toth 8338cfc8a5 yarn build 2020-01-08 14:58:40 +00:00
Andras Toth 17637a227b Fix tests 2020-01-08 14:57:42 +00:00
Andras Toth a9d1b00d90 Remove F-Secure Font 2020-01-08 14:33:35 +00:00
Andras Toth 6d3bc04db9 linting 2020-01-08 14:31:27 +00:00
Grzegorz Rychlik 474662bc8e Merge branch 'master' into Shellcode 2020-01-07 18:02:23 +01:00
Grzegorz Rychlik ded70af1df Change default Donut compression 2020-01-07 17:54:14 +01:00
Andras Toth 50db8fefc3 yarn build 2020-01-07 16:52:10 +00:00
Andras Toth 3a0d821c3e yarn upgrade 2020-01-07 16:50:34 +00:00
Grzegorz Rychlik 70955f1a94 Simplify debug code 2020-01-07 17:46:17 +01:00
Andras Toth 3e44a95155 F-secure style 2020-01-07 16:46:08 +00:00
Grzegorz Rychlik 22bf7885c1 Fix the generated shellcode name if donut options are not present in request 2020-01-07 17:12:03 +01:00
Grzegorz Rychlik bb5173a265 Remove old, unused parameter from NodeRelay 2020-01-07 17:09:52 +01:00
Grzegorz Rychlik 0111f01a58 Add calling exported API from loader 2020-01-07 17:09:08 +01:00