Anti-VM basic implementation
by Vittlesical - Thursday June 13, 2024 at 10:31 PM
#1
I've implemented a method to check if my malware is running in a virtual machine (VM). This helps in detecting if the malware is being analyzed, as most analysts use sandboxing or VM environments to observe malware behavior.

1 - What is Anti-VM ?
Anti-VM (anti-virtual machine) techniques are methods employed by software, particularly malware, to detect the presence of a virtualized environment and alter its behavior accordingly.

2 - Method used in my code ?
CPUID Instruction:
  • Malware can use the
    cpuid which is an instruction used to check for known VM-specific vendor strings (e.g., "VMwareVMware", "VBoxVBoxVBox", "Microsoft Hv", "TCGTCGTCGTCG").

photo:
[Image: Screenshot-from-2024-06-13-17-56-46.png]

the source code is right here:
Hidden Content
You must register or login to view this content.


This forum account is currently banned. Ban Length: Permanent (N/A Remaining)
Ban Reason: See you on the other side.
Reply
#2
cool, ima use this shit for my stealer
Reply
#3
(Jun 13, 2024, 10:33 PM)interesting Wrote: cool, ima use this shit for my stealer

if you upload it to  virustotal youre gay

This forum account is currently banned. Ban Length: Permanent (N/A Remaining)
Ban Reason: See you on the other side.
Reply
#4
Also for some VM the Mac adresse is like 050 smth
Reply
#5
(Jun 13, 2024, 11:06 PM)xzin0vich Wrote: Also for some VM the Mac adresse is like 050 smth

the implementation works on "VMwareVMware", "VBoxVBoxVBox", "Microsoft Hv(Microsoft Hypervisor)", "TCGTCGTCGTCG(qemu)"
i've never tried Mac tbh.

This forum account is currently banned. Ban Length: Permanent (N/A Remaining)
Ban Reason: See you on the other side.
Reply
#6
Thanks for the technique.
Reply
#7
I heard about a neet method used in anti-cheats that relies on cpu execution timing. Have you used this before?
This method is undefeatable too allegedly.

This forum account is currently banned. Ban Length: Permanent (N/A Remaining)
Ban Reason: Scamming
Reply
#8
(Jun 14, 2024, 09:59 PM)saul-notbadman Wrote: I heard about a neet method used in anti-cheats that relies on cpu execution timing. Have you used this before?
This method is undefeatable too allegedly.

i've heard of it but never tried it and its called Timing-based anti-cheat detection and it has bunch of techniques one of them called BaseLine Timing Profiles, which basically the system establishes a baseline of normal execution times for various operations and processes in the game.


This forum account is currently banned. Ban Length: Permanent (N/A Remaining)
Ban Reason: See you on the other side.
Reply
#9
(Jun 14, 2024, 10:33 PM)SilentMastermind Wrote:
i've heard of it but never tried it

Better that way, it's unreliable since it's usually implemented using TSC along cpuid or such, which can lead to different result depending on the hypervisor, leaf, CPU or even vmcs configuration.
Reply
#10
Thanks very much
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Bypass Cookies Encryption | Working FrancisMDouble 8 1,117 Today, 12:43 AM
Last Post: 0x0xGunger998
  Malware On Steroids 0neSh0t 348 24,353 Today, 12:34 AM
Last Post: 0x0xGunger998
  [ LIST ] 5 FREE STEALERS WITH PROS/CONS elix 391 15,493 Today, 12:30 AM
Last Post: 0x0xGunger998
  Malware Development MD MZ E Book Mandala 51 2,065 Today, 12:28 AM
Last Post: 0x0xGunger998
  3 sektor7 free courses NEO123 50 3,471 Today, 12:25 AM
Last Post: 0x0xGunger998

Forum Jump:


 Users browsing this forum: