byt3bl33d3r / OffensiveNim

My experiments in weaponizing Nim (https://nim-lang.org/)
BSD 2-Clause "Simplified" License
2.82k stars 352 forks source link

Anti-debugging via TLS #65

Closed m4ul3r closed 5 months ago

m4ul3r commented 5 months ago

Utilize TLS for anti-debugging. The snippet needs to be added to a project's "main.nim" file where isMainModule would be called.

image