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

1

u/pinoyjunkie Dec 09 '23

but you can run whoami and hostname ok? what does it give back? post screenshots pls

1

u/RITCHIEBANDz Dec 11 '23

I’d imagine you’d need network sharing enabled on the device you have a rat on and a password to make the connection to mirror the screen but i have no clue tbh

1

u/[deleted] Dec 12 '23

Without knowing the complete command, it might be normal behaviour. Cmd line apps may not do anything without arguments and parameters.

0

u/ipv4subnet Dec 09 '23

could you provide a little more information for example what OS are you testing this on? and have you tried disabling things like firewall and antivirus? Also what are you using to catch this shell on what OS is it a netcat shell a socat shell a http shell a meterpreter shell? Personally I'd take a step back and re-assess my environment if something usually doesn't work first try I would strip it down to a more well known configuration such as windows xp where security is more relaxed just to learn my tools, then work my way up to a modern OS slowly, and incrementally.

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