Oleksii Shevchuk
41e41e7704
client/windows: inline not supported
2019-12-31 15:46:23 +02:00
Oleksii Shevchuk
9d630af18f
linux/memfd: implement exported functions in C API
2019-12-31 14:18:34 +02:00
Oleksii Shevchuk
2dc6196bbb
client/linux/pathmap: Ensure we have GIL before accessing PyObjects from __pathmap_callback
2019-12-31 13:16:24 +02:00
Oleksii Shevchuk
b1803b34e0
client/debug: Add Py_RefCnt function to get PyObject refcount
2019-12-31 13:15:08 +02:00
Oleksii Shevchuk
497748d2ab
rpyc: move rpyc v3.4.4 to network.lib.rpc to simplify fixes
2019-12-27 14:23:59 +02:00
Oleksii Shevchuk
1aac69c689
client/linux: make pathmap optional and disabled by default
2019-12-23 10:32:15 +02:00
Oleksii Shevchuk
d3deb41517
[WIP] Create skeleton which works for both shared and app
2019-12-22 18:11:54 +02:00
Oleksii Shevchuk
8ef1ff7b7a
client/windows: workaround against registry checks
2019-12-20 16:07:45 +02:00
Oleksii Shevchuk
50cd10cf28
[WIP] client/windows: make reflective loader more flexible
2019-12-10 16:16:18 +02:00
Oleksii Shevchuk
4d33402d4b
client/windows/ReflectiveLoader: cleanup stagers
2019-12-07 23:31:49 +02:00
Oleksii Shevchuk
7196f7580e
client/windows: Optionally build with ws2_32 shadowing
2019-12-07 23:23:54 +02:00
Oleksii Shevchuk
e9c8ccd280
client/windows: ReflectiveLoader must be built with proper CFLAGS
2019-12-07 23:23:09 +02:00
Oleksii Shevchuk
c11b3bd067
client/windows: create windows at all payloads
2019-11-21 14:05:18 +02:00
Oleksii Shevchuk
492f427387
client/linux/odbc: include odbc drivers to bundle
2019-11-09 13:33:39 +02:00
Oleksii Shevchuk
97cd5e46a7
client/linux32: fix build
2019-11-08 16:16:53 +02:00
Oleksii Shevchuk
de6eb8f246
client/linux: include pyodbc to build
2019-11-07 23:27:58 +02:00
Oleksii Shevchuk
2942a48141
odbc: Add module to access RDBMs using pyodbc
2019-11-07 16:09:26 +02:00
Oleksii Shevchuk
50a6b03b8d
client/build/library: Filter out ccs-kerberos by default, fix typo
2019-10-27 14:07:41 +02:00
Oleksii Shevchuk
e13c90f86a
client/build: Add hints to reduce size
2019-10-27 11:49:49 +02:00
Oleksii Shevchuk
9f2a3af7d0
client/linux/build: Ensure python deps are always updated
2019-10-27 10:48:27 +02:00
Oleksii Shevchuk
43edc699fb
client/linux/build: Fix rules deps
2019-10-27 10:48:03 +02:00
Oleksii Shevchuk
9a6115e196
fix typo
2019-10-27 10:47:30 +02:00
Oleksii Shevchuk
47c0cd84c2
ntlm -> urllib_auth: Fix additional_imports.py
2019-10-24 23:07:58 +03:00
Oleksii Shevchuk
0be3b1bdc4
Migrate http auth to urllib-auth
2019-10-24 15:37:46 +03:00
Oleksii Shevchuk
fff75ce3f4
Add urllib_kerberos dep
2019-10-23 16:14:09 +03:00
Oleksii Shevchuk
c47ef3e808
requirements: use own fork of python-ntlm
2019-10-23 06:37:25 +03:00
Oleksii Shevchuk
cc7d2f3dec
client/windows: Hook GetVersionEx functions (broken if PUPY_DYNLOAD=1)
2019-10-22 15:04:05 +03:00
Oleksii Shevchuk
f4a6b71abd
client/windows: Disable dynload by default, also disable Delete prefix
2019-09-30 11:58:55 +03:00
Oleksii Shevchuk
0942428427
Use own fork of pypykatz
2019-09-29 19:29:30 +03:00
Oleksii Shevchuk
4647ad7e4c
client/windows: Fix LoadLibrary refcounting
2019-09-27 21:16:13 +03:00
Oleksii Shevchuk
a78bec4f55
client/windows: Add option to disable TLS/Exception callbacks
2019-09-27 21:15:33 +03:00
Oleksii Shevchuk
3c1c89cb3f
[Experemental] client/windows: add more options for aliased loader
2019-09-26 15:02:43 +03:00
Oleksii Shevchuk
7f40611cbf
[Experemental] client/windows: Fix x86-related issues
2019-09-25 21:08:44 +03:00
Oleksii Shevchuk
8d7b168889
[Experemental] client/windows: support partial private kernelbase/ntdll
2019-09-25 14:29:54 +03:00
Oleksii Shevchuk
b2d9777dca
[Experemental] clinet/windows: Apply MemoryImporter hooks during load
2019-09-24 21:27:23 +03:00
Oleksii Shevchuk
d9c25c786b
windows/memimporter: use MyLoadLibrary during imports
2019-09-23 18:13:59 +03:00
Oleksii Shevchuk
26af59d17f
client/linux: Also check systemd instance by INVOCATION_ID envvar
2019-09-20 08:31:47 +03:00
Oleksii Shevchuk
a52275d89c
windows/client: Use uthash to resolve symbols
2019-09-09 18:03:31 +03:00
Oleksii Shevchuk
46ce30204f
clients: do not use lists, use uthash for windows client
2019-09-08 21:24:55 +03:00
Oleksii Shevchuk
bc8d99df44
CRLF, _pupy dynload (windows) etc
2019-09-07 19:18:07 +03:00
Oleksii Shevchuk
c9cbba260b
client/windows: fix cmdline parsing on W7
2019-08-21 14:37:48 +03:00
Oleksii Shevchuk
18aeb3a12a
client/windows: do not fail in buffer exhaused
2019-08-19 22:57:48 +03:00
Oleksii Shevchuk
23165e6ff6
p4a loader: remove debug
2019-08-19 21:56:23 +03:00
Oleksii Shevchuk
be9828f451
pupygen: support p4a bootstrap
2019-08-19 21:49:54 +03:00
Oleksii Shevchuk
59ac4ba9fd
additional_imports: Ensure unicodedata loaded
2019-08-19 19:17:38 +03:00
Oleksii Shevchuk
e9afcbf8de
Refactoring: merge pp.py and pupyimporter.py
...
New loader "module" based loader.
Source code deduplicated a bit. Common parts moved to client/common.
Everything moved to "pupy" namespace:
import pupy
Android known to be broken. Other regressions to be discovered.
Checked:
+ Linux 32/64 Native/py
+ Windows 32/64 Native/py/.NET/migrations
2019-08-17 21:13:45 +03:00
Oleksii Shevchuk
1ab469ecbe
Add missing deps
2019-06-12 11:59:21 +03:00
Oleksii Shevchuk
b7f05645d6
proxy: Add missing libraries
2019-05-27 10:35:05 +03:00
Oleksii Shevchuk
5ea70c8a3f
windows/linux: Build kerberos and ntlm modules
2019-05-14 19:28:21 +03:00
Oleksii Shevchuk
8f2b89d9e9
clinet/windows: Add special case when payload will be launched using function call
2019-05-07 23:20:43 +03:00