GithubHelp home page GithubHelp logo

Listener for teensypreter about pateensy HOT 5 CLOSED

screetsec avatar screetsec commented on June 19, 2024
Listener for teensypreter

from pateensy.

Comments (5)

B3H1NDu avatar B3H1NDu commented on June 19, 2024

It's just a meterpreter reverse shell, so you can just use that.

from pateensy.

wicked avatar wicked commented on June 19, 2024

Follow through, because I can't get a connect back from the payload. I am using Arduino 1.6.13, Teensy 3.6 board. I have changed the IP address and port for my listener and have removed all the brackets included on the payload. After uploading the payload to Teensy, I have plugged it in, keyboard inputs properly and sends the commands. But no connect back to my listener.

Set the IP address for example, 192.168.254.13 as 0xC0,0xA8,0xFE,0x0D
Port number 4000 as 0x0F,0xA0

Tried using metasploit listeners
windows/meterpreter/reverse_tcp
windows/meterpreter/reverse_http
windows/meterpreter/reverse_https

from pateensy.

B3H1NDu avatar B3H1NDu commented on June 19, 2024

It should be a reverse tcp shell, however it may be outdated, so I would generate and encrypt new code for the teensy to run and see if the updated version works. Also, isn't Arduino 1.6.13 unsupported by Teensy currently? It shouldn't matter, but you could check by doing what it says in the code manually (you know, ctrl + c, ctrl + v, enter, repeat). Another thing is, have you opened the port on the listening machine, and are you on the same network as the listening machine as using a public ip address for a local machine has been known to cause problems, switch to its local ip address and try again, maybe that will help.

from pateensy.

wicked avatar wicked commented on June 19, 2024

How do you generate a new payload for the teensypreter template? I have done payload generation using metasploit, but in the wrong shellcode format i.e x00\x00\x00\x00 without using any encoders. I apologize, I'm still learning the basics.

from pateensy.

B3H1NDu avatar B3H1NDu commented on June 19, 2024

I'm trying to nudge you towards a solution that you can find yourself, but your first step is to just generate a payload that works and then test it (without teensy) on your victim computer. You can then make improvements to your payloads, like encoders etc. Really the main thing you want to be improving is code length so your teensy gets it done ASAP. After that you can start transferring your payload over to the teensy. I would just make a new teensy payload from scratch, forget teensypreter. Once you are done, please feel fair to contribute to this repository! With the payload generation, I encourage you to use trial and error to find out what works best for your use case.

I do hope you have been using: https://www.offensive-security.com/metasploit-unleashed/generating-payloads/

from pateensy.

Related Issues (3)

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.