So another way to bypass AV is to just port the shellcode to C instead of obfuscating it like I explained in my previous article, still assuming psexec like purposes here.
https://diablohorn.wordpress.com/2013/02/04/evade-antivirus-convert-shellcode-to-c/In this article I just show how you could code your own meterpreter stager thus bypassing all AV's. I also try to explain how to compile the source with visual studio c++ 2010 express.
Since lately I've been kinda annoyed that a lot of samples you find on the net are like impossible to compile or you have to waste like a whole day on it. From now on I'll be making sure that the stuff I post compiles without a lot of effort.