Commit Graph

1074 Commits

Author SHA1 Message Date
Oleksii Shevchuk 7f9ea8c576 Fix arch setting 2017-03-08 19:41:15 +02:00
Oleksii Shevchuk 4f1a508dd0 Fix migration (linux client) /w memfd 2017-03-08 19:41:15 +02:00
Oleksii Shevchuk 248094d89d Ensure pupy doesn't execute any shit from the system 2017-03-08 19:41:15 +02:00
Oleksii Shevchuk 29d7e1ad5b Properly set sys.executable from /proc/self/exe 2017-03-08 19:41:15 +02:00
Oleksii Shevchuk ce50ea3230 Add workaround to make possible to close memfds after dlopen 2017-03-08 19:41:15 +02:00
Oleksii Shevchuk fec8025de7 Add memfd sealing 2017-03-08 19:41:15 +02:00
Oleksii Shevchuk f1bc5450c6 Request maximal amount of open files (because of memfd) and disable coredumps 2017-03-08 19:41:15 +02:00
Oleksii Shevchuk f09fa56587 Unfortunately we still need to embedd key, even it's never used 2017-03-08 19:41:15 +02:00
Oleksii Shevchuk 41932c6362 Fix hosts ranges scan 2017-03-08 19:41:15 +02:00
Oleksii Shevchuk 08fc22a932 select based trivial port scanner 2017-03-08 19:41:15 +02:00
Oleksii Shevchuk b089e69ac5 Add lightweight ECPV+RC4 TCP encryption transport 2017-03-08 19:41:15 +02:00
Oleksii Shevchuk bc62899b4f Prevent GC collection of modules and config 2017-03-08 19:41:15 +02:00
Oleksii Shevchuk 177fab2498 Reduce virtual size 2017-03-08 19:41:15 +02:00
Oleksii Shevchuk 546d9fcda1 Cover more cases with forward string parsing 2017-03-08 19:41:15 +02:00
Oleksii Shevchuk a8a6548091 Bump winpty version 2017-03-08 19:41:15 +02:00
Oleksii Shevchuk 4a02048666 Build pupymemexec and winpty with environment 2017-03-08 19:41:15 +02:00
Oleksii Shevchuk 8c4688becf Add new DNSCNC commands - dexec, sleep, reexec 2017-03-08 19:41:15 +02:00
Oleksii Shevchuk fc585d60a6 Values are hardcoded 2017-03-08 19:41:15 +02:00
Oleksii Shevchuk c005cf86de Fix invoking from non-shell 2017-03-08 19:41:15 +02:00
Oleksii Shevchuk 1e01b0ad0a Try as much as possible to read process status 2017-03-08 19:41:15 +02:00
Oleksii Shevchuk 45ac2bf02e "Securely" pass environment 2017-03-08 19:41:15 +02:00
Oleksii Shevchuk 31f0b1ec18 Add initial support for automatic remote imports 2017-03-08 19:41:15 +02:00
Oleksii Shevchuk a9551dfd13 Fix problem with title 2017-03-08 19:41:15 +02:00
Oleksii Shevchuk 53f6bb18ea global SIGCHLD handler break things, so let's just reap zombies on disconnect right now 2017-03-08 19:41:15 +02:00
Oleksii Shevchuk fc7d0253ec Reduce size by building shared openssl, removing dbus from client and so on 2017-03-08 19:41:15 +02:00
Oleksii Shevchuk e6b227f36c Fix typo 2017-03-08 19:41:15 +02:00
Oleksii Shevchuk 416d7f47eb Prevent zobmie creation 2017-03-08 19:41:15 +02:00
Oleksii Shevchuk 1a02ac6150 Try to become root if possible 2017-03-08 19:41:15 +02:00
Oleksii Shevchuk 7309acdf19 Set non-dumpable property 2017-03-08 19:41:15 +02:00
Oleksii Shevchuk 5f599922f8 Add Reexec command, fix Sleep 2017-03-08 19:41:15 +02:00
Oleksii Shevchuk 6f076a6cc7 Add memfd support to python based pupyimporter/memimporter 2017-03-08 19:41:15 +02:00
Oleksii Shevchuk 86b1c20484 Fix build/work in lin32 environment 2017-03-08 19:41:15 +02:00
Oleksii Shevchuk 93497d75c8 Make DEFAULT_SAFE_PATH also "configurable" 2017-03-08 19:41:15 +02:00
Oleksii Shevchuk a31537968c Setup "safe" environment 2017-03-08 19:41:15 +02:00
Oleksii Shevchuk 6bbee454ac Add memfd support (optional) for dlopen 2017-03-08 19:41:15 +02:00
Oleksii Shevchuk 6e38e209d5 Fix RTLD_NEXT in pthreads wokraround 2017-03-08 19:41:15 +02:00
Oleksii Shevchuk 1d89fe6567 Remove debug messages 2017-03-08 19:41:15 +02:00
Oleksii Shevchuk 77bcabd4ec Fix typo 2017-03-08 19:41:15 +02:00
Oleksii Shevchuk 237bc4ab39 Add index and session id to dnscnc list 2017-03-08 19:41:15 +02:00
Oleksii Shevchuk 23bcfd7546 hastebin uses https now 2017-03-08 19:41:15 +02:00
Oleksii Shevchuk 58ad8921c2 Add Sleep command, also ignore errors from ifconfig.co query 2017-03-08 19:41:15 +02:00
Oleksii Shevchuk 794d1c1ed1 Start both UDP and TCP DNS server handlers 2017-03-08 19:41:15 +02:00
Oleksii Shevchuk c46dbde88f Actually TTL doesn't matter 2017-03-08 19:41:15 +02:00
Oleksii Shevchuk 2420db36e3 Use non-threading model. TODO - move to pyuv 2017-03-08 19:41:15 +02:00
Oleksii Shevchuk bb292072e8 Emulate _memimporter for python-only evironments 2017-03-08 19:41:15 +02:00
Oleksii Shevchuk 8c35337379 Use pyuv instead of asyncoro 2017-03-08 19:41:15 +02:00
Oleksii Shevchuk 08d8688c8c Search any pywintypes27.dll 2017-03-08 19:41:15 +02:00
Oleksii Shevchuk fcac5768cf Pypcap is broken 2017-03-08 19:41:15 +02:00
Oleksii Shevchuk 190fd92d09 Bump versions, fix build script 2017-03-08 19:41:15 +02:00
Oleksii Shevchuk 4207218055 Bump zlib version 2017-03-08 19:41:15 +02:00