Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Process List, File Explorer, Remote CMD & Desktop #12

Open
ElektroKill opened this issue Aug 16, 2018 · 21 comments
Open

Process List, File Explorer, Remote CMD & Desktop #12

ElektroKill opened this issue Aug 16, 2018 · 21 comments
Labels

Comments

@ElektroKill
Copy link
Contributor

Hello Again,
I was trying to test the rat on a Virtual Machine and encountered problems with Process List, File Explorer, Remote CMD & Desktop. A link is available to a video of mine: https://youtu.be/OTfXwSBz55g. the server ui is black because of my windows theme.
plz Help

@PhilipMur
Copy link
Contributor

PhilipMur commented Aug 16, 2018 via email

@ElektroKill
Copy link
Contributor Author

ElektroKill commented Aug 16, 2018

when I tested the rat yesterday te RempoteDesktop showed the top 5 pixels of the screen xD, thanks for the reply. btw I ran the rat as admin so idk why it couldn't access C:\

@AdvancedHacker101
Copy link
Owner

Hi!
Going to install a 32-bit win7 shortly to see if I can replicate the issues.
In the meantime these questions might give some context to the problem:

  1. Did it work on the x64 win7?
    I see you have this machine on the video.
  2. How did you build the client?
    For me the default build is Debug/x64, maybe that can lead to some problems?
    Going to test it out.
  3. Did you install VMWare tools on the machine?
    This could mess with the remote desktop screen share I think for ex. display drivers, etc...
  4. How did you start the client.
    I assume on the desktop it's an icon pointing to the .exe where you have all the required files beside the client.

@ElektroKill
Copy link
Contributor Author

ElektroKill commented Aug 16, 2018

On the x64 vm Remote Desktop worked! I cloned the repo with Github for Visual Studio and built it using Debug AnyCPU, I used Costura.Fody(nuget) to embed the dlls in the exe, I have VMware tools installed on both Virtual Machines, btw do you have a discord account ?

@AdvancedHacker101
Copy link
Owner

Ok, here is what I got sofar:

  1. My build is actually Any CPU too, I was wrong sorry.
  2. Process list worked for me, with normal user privs as well as administrator privs.
  3. File listing didn't work for me either.
    Client sent a directory not found error, I have to investigate more into this.
  4. Remote desktop worked, with the default FPS as well as higher FPS.

Environment

Windows 7 Ultimate SP1, non-activated as well.
Installed Google Chrome and .NET framework 4.5
Copied the debug folder from the client and ran the .exe directly.
VMWare tools installed, every component of it.

@ElektroKill
Copy link
Contributor Author

ElektroKill commented Aug 16, 2018

Did the remote cmd work for you ? Mine worked but the server didn’t get a response
So do you have a discord account or no ?

@AdvancedHacker101
Copy link
Owner

I can execute commands but no output, so no : )
I also investigate this.
The file listing was just my mess up, only in the local code, so that also works

@ElektroKill
Copy link
Contributor Author

Idk why process list didn’t work for me on Win7 x64 and x32, btw the uac bypass dosent work too

@PhilipMur
Copy link
Contributor

PhilipMur commented Aug 16, 2018 via email

@ElektroKill
Copy link
Contributor Author

What should I change to make the Remote Desktop work ?

@PhilipMur
Copy link
Contributor

PhilipMur commented Aug 16, 2018 via email

@ElektroKill
Copy link
Contributor Author

Is this fixed in your fork ?

@PhilipMur
Copy link
Contributor

PhilipMur commented Aug 16, 2018 via email

@ElektroKill
Copy link
Contributor Author

ElektroKill commented Aug 16, 2018

Ok, I didn’t expect things like this to happen xD
Backstory:
I wanted to make my own rat but I didnt know how so I searched up some source code and found this rat. I thought that it would work perfectly, so I tried learning from the source code but before that I tested it and it didn’t work.

If you are interested in malware making visit my profile xD

@PhilipMur
Copy link
Contributor

PhilipMur commented Aug 16, 2018 via email

@AdvancedHacker101
Copy link
Owner

OK, i fixed the cmd stuff, basically there was a problem with not encrypting cmd traffic (God knows why I didn't encrypt cmd traffic), now it's encrypted, as well we can read from stdout and stderr in paralell.
And the overall code quality of shell output reading improved compared to the mess it was previously.

@AdvancedHacker101
Copy link
Owner

I would have done things differently if I started this today, I learned a lot since then.
I will focus on optimizing stuff for now, because I focused a lot on new features without a stable framework to build them on.
Also this was a project on dropbox -> google drive (messed up file extensions) -> github.
Anyways I continue this project and fix existing problems rather than rewriting the whole thing.

@AdvancedHacker101
Copy link
Owner

commit 85623f7 should fix the remote cmd issue, and enjoy some performance boosts

@ElektroKill
Copy link
Contributor Author

AdvancedHacker101 do you have a fix for Remote Desktop

@AdvancedHacker101
Copy link
Owner

I couldn't recreate the problem so I don't know what to fix.
I need to know where the problem is.
Did the client get an image, did the client send the image, did the server receive the image....
If the problem is only what @PhilipMur said, prefixing the packets with the length of the image,
then I could implement that, but that would take some time.
In fact server -> client communication already works like this, just not client -> server

@ElektroKill
Copy link
Contributor Author

ElektroKill commented Aug 17, 2018

the remote cmd is now working for me :), but process list doesn't work still

UPDATE: only remote mouse and keyboard control work for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants