GithubHelp home page GithubHelp logo

riski11234 / rdpersistence Goto Github PK

View Code? Open in Web Editor NEW

This project forked from percin0/rdpersistence

0.0 0.0 0.0 29 KB

A script for SOC operators' first analysis. Add new player in the game.

License: GNU General Public License v3.0

Batchfile 100.00%

rdpersistence's Introduction

RDPerci RDPersistence

Usage

  • Choose username and password and the RDP port.
  • Run RDPerci.bat on victim
  • Connect to victim with the username&password created and the specified port

Description

RDPerci is ideal for SOC operators' first analysis. It's a simple script able to enable RDP and add new admin user with the access over it. It's inspired from famous malware that works with RDP. To allow multple RDP sessions it uses termsrv_rdp_patch.ps1 from winposh repository.

How it works

RDPerci.bat will ask for admin's privileges, when it obtain that it will run. It create new user with a new password (Percin0 and Password123! by default), and try to add to Administrator's group using the default name in different languages. Then enable RDP on the target and change the default port (port 8888 by default). It creates an ACL on WindowsFirewall for RDP connection over the selected port.

References

https://github.com/maxbakhub/winposh

https://attack.mitre.org/techniques/T1021/001/

https://github.com/redcanaryco/atomic-red-team/blob/master/atomics/T1021.001/T1021.001.md

Disclaimer

Only for analysis do not use without authorization. Only for educational purpose.

Contact

If you want to help me with any suggestions please contact me to [email protected] :) Be patient, I'll update the ngrok component!

Screenshot

RDPerci on victim without RDP enable. Cattura

Connection with the new user's credentials and the new port from remote host. Cattura2

Cattura3

You can do all you want, you are admin! Cattura5

rdpersistence's People

Contributors

percin0 avatar

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.