57 Commits

Author SHA1 Message Date
Diego Capriotti d603c26afe Merge pull request #19 from naksyn/main
sync with main latest PR
2024-12-02 05:08:53 +01:00
Diego Capriotti 199c20aec1 Merge pull request #15 from jrrgimenez/main
Support for Python 3.12
2024-04-03 18:51:27 -04:00
Jorge Gimenez 77ceb37d9d Replaced find_module with find_spec as the former is deprecated since Python 3.12 2024-04-01 16:05:46 +02:00
Jorge Gimenez 3fc17a257c Replaced find_module with find_spec as the former is deprecated since Python 3.12 2024-04-01 15:52:16 +02:00
Diego Capriotti b77662c1cd Cooler image 2024-03-11 12:47:48 +01:00
naksyn c318617011 Added Wininet fetching method for cradle and pythonmemorymodule
Added wininet for cradle and Pythonmemorymodule and tuned the server a bit
2024-03-11 04:35:17 -07:00
naksyn f9811ad37a opsec modules, wininet cradle and some changes to server
Added a cradle that uses Wininet instead of request library.This is useful also for NTLM proxies.
Added opsec pyMM module that uses WinIned instead of requests and imports a minified windows dependency.
It essentially is the same windows dependency but stripped down from unnecessary modules because we use it jsut to access the PEB.
This allows The opsec version to load PythonMM using Wininet and not dropping anything to disk, while the normal pyMM drops windows on disk and does not uses Wininet so there's no NTLM proxy support backed in.
The pyramid server has been also stripped down from the basic authentication because it's meaningless since we are using symmetric encryption and it complicates a bit the usage of WinInet.
2024-02-19 14:41:11 -08:00
naksyn e787bebf7c update moduleshifting to latest version
update moduleshifting dependency to latest codebase
2023-09-27 02:10:36 -07:00
naksyn 0a67b351e6 splitting dependencies 2023-08-03 07:42:10 -07:00
naksyn 527310b618 Delete pythonmemorymodule.zip
splitting pythonforwindows dependency
2023-08-03 16:39:09 +02:00
naksyn eb10629fc2 Update pythonmemorymodule.py
temporary dropping windows dependency on disk
2023-08-03 16:38:25 +02:00
naksyn e8fd1dda72 Update pythonmemorymodule.zip
Update to last version
2023-08-03 05:10:05 -07:00
naksyn 10a24aa62c Updated to last pythonmemorymodule version
Updated the script to the last PythonMemoryModule version that (partially) supports commandline for executables
2023-08-03 04:10:16 -07:00
naksyn 401d2a4da9 Update moduleshifting.py 2023-06-17 01:50:15 +02:00
naksyn f0c8af643f Update pyramid.py 2023-06-07 09:34:42 +02:00
naksyn 0f3e016b4f remove old leftover 2023-06-07 09:32:21 +02:00
naksyn 7c3f4780c0 remove old leftover 2023-06-07 09:31:36 +02:00
naksyn f8e2495eab remove old leftover 2023-06-07 09:30:09 +02:00
naksyn f4d7217d28 Merge pull request #9 from realmatthours/patch-1
Remove extraneous lines from end of secretsdump.py
2023-06-07 09:29:04 +02:00
realmatthours 8fa84b00a3 Remove extraneous lines from end of secretsdump.py
Couple extra lines are present at the end of the file, triggering an indentation error. Lines don't appear to do anything, looks more like an accidental partial replication of the two lines previous.
2023-06-06 10:49:31 +01:00
naksyn cf618843d2 added ModuleShifting script 2023-05-30 19:03:08 +02:00
naksyn 247c789212 Add files via upload 2023-05-30 18:59:28 +02:00
naksyn 1fa1218760 Update README.md 2023-05-26 10:34:22 +02:00
naksyn b9fd5ae6a5 Modules rename and setcradle switch
Modules has been renamed removing "mod-". The setcradle switch has been added for specifying the module to be downloaded by the cradle
2023-05-22 06:54:01 -07:00
naksyn 5aec8f419a print encoded cradle during generation
Added a print of an zipped-encoded version of the cradle during pyramid start, that can be easily pasted in a python terminal for scriptless execution.
2023-05-20 02:55:35 -07:00
naksyn 27fa2e9fcc Minor fix
Added delivery files folder and minor help fix
2023-05-08 11:27:56 -07:00
naksyn 892b5053fe Fixed typo 2023-04-16 07:46:27 +02:00
naksyn c201ca6d29 Update README.md 2023-04-09 01:35:08 +02:00
naksyn d98d66b31f Update pyramid.py 2023-04-08 14:49:10 +02:00
naksyn ad6332bb7a update to Version 0.1
This introduces:
 - server-side and cradle-side chacha/xor encryption/decryption for delivered files and URLs
- auto-generation of Server configs based on pyramid command line
- tidier project folder structure
- minor HTTP customizations: user-agent, URL
- all modules have been updated to work with the cradle/server encryption
- extraction directory for some dependencies can be specified in modules (can be also a UNC path)
2023-04-08 14:36:50 +02:00
naksyn af57783642 Update README.md 2023-03-31 11:05:49 +02:00
naksyn 89e115986e Added SSH keepalive
Response to issue #6
2023-03-31 11:05:01 +02:00
naksyn bf284a31a7 Update base-tunnel-socks5.py 2023-01-11 22:35:24 +01:00
naksyn 3bbd23949f Updated pythonmemorymodule description 2023-01-07 19:30:11 +01:00
naksyn 336124b13a Added base script for PythonMemoryModule
This base script allows in-memory loading of a remotely fetched dll via MemoryModule technique.
No external code is required, i.e. you don't need to drop on disk external bindings anymore to accomplish this. All is done entirely in-memory.
2023-01-07 19:24:00 +01:00
naksyn 54349ca91e Merge pull request #4 from snovvcrash/main
Fix LaZagne verbosity argument
2022-10-19 19:29:06 +02:00
Sam Freeside f539d03e3a Fix LaZagne verbosity argument 2022-10-19 20:19:03 +03:00
naksyn 7f1a839e96 Update README.md 2022-10-11 19:56:47 +02:00
naksyn 1457d037a6 Update README.md 2022-10-11 19:53:59 +02:00
naksyn 0dfef43959 base script to use socks5 proxy via SSH tunneling
Pyramid Base script for executing a socks5 Proxy server on 127.0.0.1 and making it accessible via an SSH tunnel. After executing the base script proxychains can be used from the box there she SSH tunnel landed. This allows to proxy traffic on target with limited privileges (starting socks5 server on 127.0.0.1 does not require admin privileges) and without executing a C2 agent or injecting shellcode, all is done in-memory (apart from few dependencies that are dropped) and in Python.
The script can also be executed without spawning a visible shell by using pythonw.exe, see README for more details.
2022-10-11 18:38:06 +02:00
naksyn e860ad8d05 Merge pull request #3 from snovvcrash/main
Add Python.NET base example
2022-10-10 19:35:25 +02:00
Sam Freeside be12ebd23a Use NuGet Python.Runtime and rm cache 2022-10-10 19:36:44 +03:00
Sam Freeside 779c278ae5 Add Python.NET base example 2022-10-07 23:57:25 +03:00
naksyn 6bd07cfb1e Update README.md 2022-09-25 13:13:55 +02:00
naksyn 22ceabffa9 Merge pull request #2 from snovvcrash/main
Add LaZagne base example
2022-09-25 12:58:50 +02:00
Sam Free5ide cfcb8ae78f Replace debug encoding with UTF-8 2022-09-23 14:17:48 +03:00
Sam Free5ide 596bb86f08 Update header 2022-09-22 20:30:54 +03:00
Sam Free5ide 8d8a362eec Update description 2022-09-21 22:21:35 +03:00
Sam Free5ide 058472766a Get rid of SSL warning message 2022-09-21 20:26:15 +03:00
Sam Free5ide 69f8af1939 Add .gitignore 2022-09-21 20:25:38 +03:00