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

Explanation:
cat will concatenate,or write,the alternate data stream to its own file named
virus.exe



Leave a Reply 7

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


aurius

aurius

cat is Unix/Linux command. On Windows it is not available (default install). So I think right answer should be A.

-jKr

-jKr

A is correct
Confirmed it by creating a stream file and then extracting it using the command in A.

marcelino

marcelino

for me is A, for CEH is…..?????