So in this tutorial we will show you step by step on how to make a virus Fully Undetectable from all the antiviruses. Thought their are lots of approaches, however our team member Malik Rafay has managed to find a way to make an executable FUD using msfencode.
A Backtrack machine , real or virtual. I used Backtrack 5 r3, but other versions of Backtrack are working OK too !!!
We are using some harmless test files but don’t infect people with any real viruses that’s a Crime and we here atHackyShacky are not responsible for.
Antivirus protects machines from malware but not all of it .there are ways to pack malware to make it harder to detect. well use metasploit to render malware completely invisible to antivirus.
Creating a Listener:
This is a simple payload that gives the attacker remote control of a machine. It is not a virus ant won’t spread, but it is detected by antivirus engines. In Backtrack in a Terminal windows execute these commands:
msfpayload windows/shell_bind_tcp LPORT=2482 X > /root/listen.exe
ls -l listen.exe
You should see the listen.exe file as shown below:
Analyzing the Listener with VirusTotal
Click the “Choose File” button. Navigate to /root and double-click the listen.exe“listen.exe” appears in the “Choose File” box, as shown below:
In the virustotal web page , Click the “scan it” button !!!
Encoding the Listener
You should see the evil-ssh.exe file as shown below :
Scan with virusTOTAL
Go to: https://www.virustotal.com/
If you see a “File already analyzed” message, click the “View last analysis” button.
Encode the Listener Again This process will encode the listener with several different encodings.