ADS
Defense EvasionFile WriteWindows
Creates a new service and executes the file stored in the ADS.
Use Execute binary file hidden inside an alternate data stream
sc create evilservice binPath="\"c:\\ADS\\file.txt:cmd.exe\" /c echo works > \"c:\ADS\works.txt\"" DisplayName= "evilservice" start= auto\ & sc start evilservice- Evidence
- Upstream reference
- Environment
- Local host
- Context
- user
- Native
- ADS
- MITRE
- T1564.004
- Detection
- IOC: Unexpected service creationIOC: Unexpected service modification