GithubHelp home page GithubHelp logo

not-sekiun / pyiris Goto Github PK

View Code? Open in Web Editor NEW
327.0 16.0 70.0 12.23 MB

PyIris is a modular remote access trojan toolkit written in python targeting Windows and Linux systems.

License: Mozilla Public License 2.0

Python 100.00%
python3 c2 c2-framework command-and-control penetration-testing post-exploitation red-teaming remote-access-trojan

pyiris's Issues

where do i find the executable name

How and when to create an issue

Step 1 : Environment information where PyIris was run

  • Exact OS Version
  • PyIris Version
  • Python Version

Step 2 : What was done before the error

  • What commands were ran before the error
  • What was the state of the framework before the error (eg. How many listeners active, how many scouts connected, etc.)
  • Programs running while PyIris was running
  • What was modified in the framework files (If any were modified)

Step 3 : Evidence and description

  • Description of the error
  • Screenshot of the error
  • Raw text of the error
  • Videos or gifs

Step 4 : Miscellaneous information

  • Any miscellaneous information you would like to provide, the more data provided the better

Note : Do not create an issue if you cannot reproduce the bug, I need to be able to reproduce the bug in order to fix it

Not as issue: An Idea

I saw your issue with windows defender, try xor encryption and layer it with base 64 - this is by no means a great encryption but it doesn't create massive large files. A problem with this type of approach however, is that you cant compile your code directly into an exe using the encoded data. Your going to have to A) import all of your necessary modules before creating a variable to hold your encoded data B) include the decryption method within the file which makes anyone reverse engineering it be able to quickly read your code C) for some reason Avast and AVG detect payloads I've made with this style of encryption - but most other AV's don't. For reference material: here. The method I use isn't great but you can improve on it a lot.

Generator Switch

I'm on linux and i get always the generator for linux not windows

AttributeError: module 'collections' has no attribute 'Callable' when running python PyIris.py for the first time

Step 1 : Environment information where PyIris was run

  • Exact OS Version: Windows 11 (10.0.22000 Build 22000)
  • PyIris Version: Latest
  • Python Version: 3.10.6

Step 2 : What was done before the error

  • What commands were ran before the error: Initial run of python PyIris.py
  • What was the state of the framework before the error (eg. How many listeners active, how many scouts connected, etc.): None
  • Programs running while PyIris was running: Command Prompt (where it was running), Edge, File Explorer
  • What was modified in the framework files (If any were modified): Nothing

Step 3 : Evidence and description

  • Description of the error: Ran python PyIris.py for the first time and got the error: AttributeError: module 'collections' has no attribute 'Callable'
  • Raw text of the error:
[+]Using Python Version 3 - OK
[+]All local files imported - OK
[+]OS Windows - OK
[+]Successfully imported : pyperclip - OK
[+]Successfully imported : win32crypt - OK
[+]Successfully imported : cv2 - OK
[+]Successfully imported : pythoncom - OK
[+]Successfully imported : mss - OK
[+]Successfully imported : PIL - OK
[+]Successfully imported : pyautogui - OK
[+]Successfully imported : colorama - OK
[+]Successfully imported : cryptography - OK
[+]Successfully imported : pyWinhook - OK
[+]Successfully imported : pycaw - OK
CRITICAL:root:Unexpected error when bootstrapping, dumping stack trace and exiting...
Traceback (most recent call last):
  File "C:\Users\danie\Documents\Python\PyIris\library\modules\bootstrap.py", line 33, in main
    exec ('import ' + i)
  File "<string>", line 1, in <module>
  File "C:\Users\danie\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\readline.py", line 34, in <module>
    rl = Readline()
  File "C:\Users\danie\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\pyreadline\rlmain.py", line 422, in __init__
    BaseReadline.__init__(self)
  File "C:\Users\danie\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\pyreadline\rlmain.py", line 62, in __init__
    mode.init_editing_mode(None)
  File "C:\Users\danie\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\pyreadline\modes\emacs.py", line 633, in init_editing_mode
    self._bind_key('space',       self.self_insert)
  File "C:\Users\danie\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\pyreadline\modes\basemode.py", line 162, in _bind_key
    if not callable(func):
  File "C:\Users\danie\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\pyreadline\py3k_compat.py", line 8, in callable
    return isinstance(x, collections.Callable)
AttributeError: module 'collections' has no attribute 'Callable'

Step 4 : Miscellaneous information

  • Any miscellaneous information you would like to provide, the more data provided the better: Removed package versions from requirements.txt because the specified versions couldn't be found.

How to Port forward?

Sorry for asking, But how to port forward the host and the listener

I tried the method of metasploit but it's not working also I used portmap to try it.

I think I will try ngrok or any port forwarding tool

Thank you for reading :)

HTTP scout

Hey I really like your project. I started playing around with developing my own backdoor but my python kung foo is not there yet. I have a idea to contribute though. You can add an option to create a HTTP scout using covertutils. I have tested it and it works pretty well, both on Windows and Linux. I dont know how easy/hard would be to "merge" PyIris handler code with covertutil handler but can be a good start.

requirements.txt for windows has been deleted?

How and when to create an issue

Step 1 : Environment information where PyIris was run

  • Exact OS Version
  • PyIris Version
  • Python Version

Step 2 : What was done before the error

  • What commands were ran before the error
  • What was the state of the framework before the error (eg. How many listeners active, how many scouts connected, etc.)
  • Programs running while PyIris was running
  • What was modified in the framework files (If any were modified)

Step 3 : Evidence and description

  • Description of the error
  • Screenshot of the error
  • Raw text of the error
  • Videos or gifs

Step 4 : Miscellaneous information

  • Any miscellaneous information you would like to provide, the more data provided the better

Note : Do not create an issue if you cannot reproduce the bug, I need to be able to reproduce the bug in order to fix it

no module named cv2

How and when to create an issue

Step 1 : Environment information where PyIris was run

  • Exact OS Version
  • PyIris Version
  • Python Version

Step 2 : What was done before the error

  • What commands were ran before the error
  • What was the state of the framework before the error (eg. How many listeners active, how many scouts connected, etc.)
  • Programs running while PyIris was running
  • What was modified in the framework files (If any were modified)

Step 3 : Evidence and description

  • Description of the error
  • Screenshot of the error
  • Raw text of the error
  • Videos or gifs

Step 4 : Miscellaneous information

  • Any miscellaneous information you would like to provide, the more data provided the better

Note : Do not create an issue if you cannot reproduce the bug, I need to be able to reproduce the bug in order to fix it

──(kali㉿kali)-[~/PyIris-backdoor]
└─$ python3 PyIris.py
[*]Starting...
[+]Using Python Version 3 - OK
[+]All local files imported - OK
[+]OS Linux - OK
[-]Could not import : No module named 'cv2' - Error, missing packages or packages not installed from setup folder

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.