{"action":"created","issue":{"url":"https://api.github.com/repos/n1nj4sec/pupy/issues/577","repository_url":"https://api.github.com/repos/n1nj4sec/pupy","labels_url":"https://api.github.com/repos/n1nj4sec/pupy/issues/577/labels{/name}","comments_url":"https://api.github.com/repos/n1nj4sec/pupy/issues/577/comments","events_url":"https://api.github.com/repos/n1nj4sec/pupy/issues/577/events","html_url":"https://github.com/n1nj4sec/pupy/issues/577","id":294917401,"number":577,"title":"Windows Python Payload: PE Memory Execution error","user":{"login":"passwordleak","id":30670543,"avatar_url":"https://avatars3.githubusercontent.com/u/30670543?v=4","gravatar_id":"","url":"https://api.github.com/users/passwordleak","html_url":"https://github.com/passwordleak","followers_url":"https://api.github.com/users/passwordleak/followers","following_url":"https://api.github.com/users/passwordleak/following{/other_user}","gists_url":"https://api.github.com/users/passwordleak/gists{/gist_id}","starred_url":"https://api.github.com/users/passwordleak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/passwordleak/subscriptions","organizations_url":"https://api.github.com/users/passwordleak/orgs","repos_url":"https://api.github.com/users/passwordleak/repos","events_url":"https://api.github.com/users/passwordleak/events{/privacy}","received_events_url":"https://api.github.com/users/passwordleak/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-06T21:23:50Z","updated_at":"2018-02-17T19:13:02Z","closed_at":"2018-02-17T19:13:02Z","author_association":"NONE","body":"Windows 10\r\nAnaconda 5.0.1 Python 2.7\r\n\r\nAnaconda python installed on windows, but when I try to run mimikatz (or any other .exe in memory), the follow error occurs: \r\n\r\n\r\n```\r\n[!] Error loading package pupwinutils.memexec (pupwinutils/memexec.pyc pkg=False) : Traceback (most recent call last):\r\n  File \"pupyimporter\", line 328, in load_module\r\n  File \"pupwinutils/memexec.py\", line 34, in <module>\r\nImportError: No module named pupymemexec\r\n[-] No module named pupymemexec\r\n\r\n========= Remote Traceback (1) =========\r\nTraceback (most recent call last):\r\n  File \"/tmp/pip-build-YWaSOS/rpyc/rpyc/core/protocol.py\", line 347, in _dispatch_request\r\n  File \"/tmp/pip-build-YWaSOS/rpyc/rpyc/core/protocol.py\", line 636, in _handle_callattr\r\n  File \"/tmp/pip-build-YWaSOS/rpyc/rpyc/core/service.py\", line 115, in __getitem__\r\n  File \"\", line 526, in exposed_getmodule\r\n  File \"pupyimporter\", line 363, in load_module\r\nImportError: No module named pupymemexec\r\nTraceback (most recent call last):\r\n  File \"/opt/pupy/pupy/pupylib/PupyJob.py\", line 129, in module_worker\r\n    module.run(args)\r\n  File \"/opt/pupy/pupy/modules/mimikatz.py\", line 70, in run\r\n    output = exec_pe(self, mimikatz_args, path=mimikatz_path, interactive=interactive)\r\n  File \"/opt/pupy/pupy/modules/lib/windows/memory_exec.py\", line 45, in exec_pe\r\n    'pupwinutils.memexec'\r\n  File \"/usr/local/lib/python2.7/dist-packages/rpyc/core/netref.py\", line 213, in method\r\n    return syncreq(_self, consts.HANDLE_CALLATTR, name, args, kwargs)\r\n  File \"/usr/local/lib/python2.7/dist-packages/rpyc/core/netref.py\", line 72, in syncreq\r\n    return conn.sync_request(handler, oid, *args)\r\n  File \"/opt/pupy/pupy/network/lib/connection.py\", line 109, in sync_request\r\n    raise obj\r\nImportError: No module named pupymemexec\r\n\r\n========= Remote Traceback (1) =========\r\nTraceback (most recent call last):\r\n  File \"/tmp/pip-build-YWaSOS/rpyc/rpyc/core/protocol.py\", line 347, in _dispatch_request\r\n  File \"/tmp/pip-build-YWaSOS/rpyc/rpyc/core/protocol.py\", line 636, in _handle_callattr\r\n  File \"/tmp/pip-build-YWaSOS/rpyc/rpyc/core/service.py\", line 115, in __getitem__\r\n  File \"\", line 526, in exposed_getmodule\r\n  File \"pupyimporter\", line 363, in load_module\r\nImportError: No module named pupymemexec\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/n1nj4sec/pupy/issues/comments/366464351","html_url":"https://github.com/n1nj4sec/pupy/issues/577#issuecomment-366464351","issue_url":"https://api.github.com/repos/n1nj4sec/pupy/issues/577","id":366464351,"user":{"login":"n1nj4sec","id":12549318,"avatar_url":"https://avatars0.githubusercontent.com/u/12549318?v=4","gravatar_id":"","url":"https://api.github.com/users/n1nj4sec","html_url":"https://github.com/n1nj4sec","followers_url":"https://api.github.com/users/n1nj4sec/followers","following_url":"https://api.github.com/users/n1nj4sec/following{/other_user}","gists_url":"https://api.github.com/users/n1nj4sec/gists{/gist_id}","starred_url":"https://api.github.com/users/n1nj4sec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/n1nj4sec/subscriptions","organizations_url":"https://api.github.com/users/n1nj4sec/orgs","repos_url":"https://api.github.com/users/n1nj4sec/repos","events_url":"https://api.github.com/users/n1nj4sec/events{/privacy}","received_events_url":"https://api.github.com/users/n1nj4sec/received_events","type":"User","site_admin":false},"created_at":"2018-02-17T19:13:02Z","updated_at":"2018-02-17T19:13:02Z","author_association":"OWNER","body":"Memory execution needs to load a pyd. pyd currently cannot be loaded using pure python code, so use the exe template and it will work ;)"}}
{"actor":{"display_login":"n1nj4sec"}}