Which command would you execute to extract the Trojan to a standalone file?

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?

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



Leave a Reply 4

Your email address will not be published. Required fields are marked *


eddie guerrero

eddie guerrero

“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.

property taxes

property taxes

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!

Guest

Guest

The cat command on a windows machine through me for a loop as well.