I am doing the IT and Cybersecurity Foundations Course and I’m stuck on the challenge exercise of the Windows services. I tried all three to attack the unquoted path but I’m still not getting the flag. if anyone can help me or just show the flag I would appreciate it a lot.
Hi. Are these the ONLY 2 ways to attack an unquoted service path (C:\Program.exe or the way you redacted in your example), and are they always written verbatim, or can their be different text? For instance, for the **.exe path used in the challenge, is it always **.exe, or can the ** be replaced with different text? I’m a total beginner, so thank you for any knowledge you can impart!
As you can see above, the four spaces in the path to the service executable create four potential attack paths because of the way Windows searches for files. Anytime there is a SPACE, Windows will append .exe as shown and search for that file file first.