Bypassing AVs with a rootkit

Hello guys,
I wrote a simple rootkit in C and tried to add some junk code to it with the hope it will bypass the AV but to no avail. Can’t seem to find any up to date information on the topic as well. If you have any information or sources can you please redirect me or share them with my. Thank you.

Your example of junk code?
Have you #//AAAAAaaaaaaaa$$$$$3333332222@@@@@@@@@@<—tons of this in between code?
Have you tried code obfuscation tools?

I will look into obfuscation tools now,thank you.