In this code sample I tested a theory that you could call Windows API using encrypted strings in C#, and the proof of concept is here. Here I am defining two secure strings, one is "user32.dll" and the other "MessageBoxA", and then using LoadLibrary to load user32.dll and GetProcAddress to get the MessageBoxA procedural address. Afaik this is a first of it's kind, I could be wrong. I've never seen it before though.
This may or may not bypass or throw off AV scanners runtime scans.
![[Image: 86exIgV.png]](https://i.imgur.com/86exIgV.png)
This may or may not bypass or throw off AV scanners runtime scans.
![[Image: 86exIgV.png]](https://i.imgur.com/86exIgV.png)
![[Image: Syr3DlV.png]](https://i.imgur.com/Syr3DlV.png)


