π’ Code Execution via Text Template Files ποΈ T4 .tt files are intended for code...
netbiosX @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: https://ipurple.team/2026/08/24/text-template/