You have hidden a Trojan file virus.exe inside another file readme.txt using NTFS streaming. Which command would you execute to extract the Trojan to a standalone file?
A.
c:> type readme.txt:virus.exe > virus.exe
B.
c:> more readme.txt | virus.exe > virus.exe
C.
c:> cat readme.txt:virus.exe > virus.exe
D.
c:> list redme.txt$virus.exe > virus.exe
“type” doesn’t like the semi-colon before the “>” so type doesn’t work to extract, only works to build the initial ADS file (type readme.txt > readme.txt:virus.exe). This assumes you downloaded a program to run the linux subsystem commands on Windows, which gains you the ‘cat’ program from linux/unix. Then you can use cat to extract the executable, which only then makes C valid. “cat” doesn’t exist on windows, by default.
I don’t even know how I ended up here, but I thought this
post was good. I do not know who you are but certainly you are going to
a famous blogger if you aren’t already 😉 Cheers!
The cat command on a windows machine through me for a loop as well.