视频演示:
1 2 3 4
| echo "empty file" > c:\ADS\file.txt makecab c:\ADS\procexp.exe c:\ADS\procexp.cab extrac32 C:\ADS\procexp.cab c:\ADS\file.txt:procexp.exe wmic process call create '"c:\ADS\file.txt:procexp.exe"'
|
1 2 3
| echo "empty file" > c:\ADS\file.txt findstr /V /L W3AllLov3DonaldTrump c:\ADS\procexp.exe > c:\ADS\file.txt:procexp.exe wmic process call create '"c:\ADS\file.txt:procexp.exe"'
|
1 2 3 4
| echo "empty file" > c:\ADS\file.txt type c:\windows\system32\cmd.exe > c:\ADS\file.txt:cmd.exe sc create evilservice binPath= "\"c:\ADS\file.txt:cmd.exe\" /c echo works > \"c:\ADS\works.txt\"" DisplayName= "evilservice" start= auto sc start evilservice
|
1 2
| print /d:c:\Users\demon\1.txt:procexp.exe c:\Users\demon\procexp.exe wmic process call create '"C:\Users\demon\1.txt:procexp.exe"'
|
https://www.youtube.com/watch?v=nPBcSP8M7KE&feature=youtu.be
Link: https://oddvar.moe/2018/04/11/putting-data-in-alternate-data-streams-and-how-to-execute-it-part-2/