https://github.com/x64dbg/ScyllaHide
PEB WINDOWS STUFF
PEB helps the process to discover if a debug is attached.
https://rvsec0n.wordpress.com/2019/09/13/routines-utilizing-tebs-and-pebs/
on x64dbg you can press ctrl + g to open the “Enter expression to follow…” and type:
peb()
or
ted()