Hide virus files
C:\ > echo "This is test" > sample.txt
C:\ > dir
2017-03-23 14:59 17 sample.txt
C:\ > echo "This is hidden" > sample.txt:secret.txt
C:\ > dir (this file cannot be found under C disk)
15:01 17sample.txt on 2017-03-23 (file size does not appear to have changed)
C:\ > dir / r (/ r is displayed only)
2017-03-23 15:01 17 sample.txt
19sample.txt:secret.txt:$DATA
C:\ > notepad sample.txt:secret.txt
When you associate the bad.exe file with good.exe, that is, when you run the good.exe file in dos, you actually run bad.exe and generate a shortcut to good.exe in the directory.
C:\ > echo "This is test" > test.txt
C:\ > type C:\ bad.exe > test.txt:bad.exe
C:\ > mklink good.exe test.txt:bad.exe
C:\ > good.exe