mirror of
https://github.com/mochabyte0x/TrampoLatte
synced 2026-06-06 16:14:34 +00:00
main
TrampoLatté
TrampoLatté is an AMSI & ETW bypass poc which utilizes trampolines to hook specific function and alter their execution behavior.
Internals
AmsiScanBuffer EtwpEventWriteFull
│ │
[13-byte jmp r10] [13-byte jmp r10]
│ │
┌──────┴──────┐ ┌─────┴─────┐
│ ProxyAmsi │ │ RetStub │
│ (saves ctx)│ │ (C3) │
└──────┬──────┘ └─────┬─────┘
▼ ▼
returns returns to caller
AmsiScanBuffer
=
AMSI_RESULT_CLEAN
Detection
- Started a custom ETW Consumer (right terminal) monitoring the .NET runtime
- Executing assemblies through Havoc doesn't trigger any detection (ETW)
Disclaimer
This is just a POC and is not OPSEC safe.
Languages
C
98.5%
Assembly
1.5%