πŸ“’ Code Execution via Text Template Files πŸŽ™οΈ T4 .tt files are intended for code...

@netbiosX@infosec.exchange

πŸ“’ Code Execution via Text Template Files

πŸŽ™οΈ T4 .tt files are intended for code and text generation. Threat actors can create or modify a .tt file to abuse legitimate developer tooling (LOLBins) to execute code in the context of a trusted process.

π‘«π’†π’•π’†π’„π’•π’Šπ’π’ π‘Ίπ’•π’“π’‚π’•π’†π’ˆπ’Šπ’†π’”

βœ…οΈ Process Creation: TextTransform.exe, TextTransformCore.exe, t4.exe & msbuild.exe
βœ…οΈ Module Loads: Microsoft.VisualStudio.TextTemplating*.dll DLLs
βœ…οΈ File Creation: T4 and output files under C:\Users\<user>AppData\Local\Temp\

πŸ–ŠοΈ Read the full Playbook and Detection Guidance: ipurple.team/2026/08/24/text-t