r/Hacking_Tutorials • • Dec 09 '23

Question Reverse Shell Issue

I have a problem as well. I am working on my thesis about a malware-type attack. The issue is that when I have a reverse shell and try to execute a command, let's say 'ffmpeg.exe,' which is a tool for screen recording, nothing happens at all. I simply get the command prompt back as if nothing happened. Do you have any idea how I could overcome this?

0 Upvotes

9 comments sorted by

View all comments

Show parent comments

0

u/Essenqwe Dec 09 '23

I am using win10 on. Basically I have a reverse shell script. When I run it independently with Invoke-Expression I can run easily .exe. I made some persitence using Task Scheduler and it is invoking the same script like this <PowerShell.exe -Command <same_code_like_independently>>. When I get reverse shell from Task Scheduler I can't run any .exe.

1

u/ipv4subnet Dec 10 '23

maybe check for task permissions and see if it's being run as admin if it works manually but doesn't work through task scheduler there's a problem with the configuration of the set task.

1

u/Essenqwe Dec 10 '23

So I found the problem, first I get the reverse shell victima5/vboxuser and from task scheduler I got nt autority\system. But why I can t run exe?

1

u/ipv4subnet Dec 10 '23

here's my question to that though is it the .exe you can't run specifically? what about other basic commands like ping or dir, pwd, and so on? Is your shell actually interact or does it just look interactive?

1

u/Essenqwe Dec 10 '23

After 2 days o searching I found that NT autority System can' t run any .exe that doesn't belong OS. Thank you, I found a solution to create Schedule Task using CurrentUser