![]() |
Virtual machine detection |
Post Reply
|
| Author | |
cedrou
Newbie
Joined: 16 June 2008 Location: France Status: Offline Points: 16 |
Post Options
Thanks(0)
Quote Reply
Topic: Virtual machine detectionPosted: 01 August 2008 at 5:44pm |
|
Hi all,
Is there a way to detect at run-time that my process is running on a virtual machine ? Thanks Cédric |
|
![]() |
|
Diablo
Senior Member
Joined: 16 July 2008 Location: Western Sahara Status: Offline Points: 251 |
Post Options
Thanks(0)
Quote Reply
Posted: 01 August 2008 at 5:48pm |
|
Yes.
RDTSC check between two instructions will detect VMWare/Virtual PC like VM's. |
|
![]() |
|
babon
Groupie
Joined: 09 April 2008 Status: Offline Points: 57 |
Post Options
Thanks(0)
Quote Reply
Posted: 01 August 2008 at 6:28pm |
|
there's also some code which generates exceptions on specific VM or something like that, can't find them now , i'll post it once i find them .
|
|
![]() |
|
babon
Groupie
Joined: 09 April 2008 Status: Offline Points: 57 |
Post Options
Thanks(0)
Quote Reply
Posted: 02 August 2008 at 5:45pm |
|
Example from developpez.net in delphi(pascal) :
source : http://www.developpez.net/forums/showthread.php?t=564211 Edited by babon - 02 August 2008 at 5:45pm |
|
![]() |
|
Diablo
Senior Member
Joined: 16 July 2008 Location: Western Sahara Status: Offline Points: 251 |
Post Options
Thanks(0)
Quote Reply
Posted: 02 August 2008 at 6:13pm |
|
Well, then I will add mine too.
|
|
![]() |
|
Diablo
Senior Member
Joined: 16 July 2008 Location: Western Sahara Status: Offline Points: 251 |
Post Options
Thanks(0)
Quote Reply
Posted: 07 August 2008 at 9:29am |
|
May I ask you topic starter, for what purpose you're asking this? Are you writing trojan?
![]() |
|
![]() |
|
cedrou
Newbie
Joined: 16 June 2008 Location: France Status: Offline Points: 16 |
Post Options
Thanks(0)
Quote Reply
Posted: 07 August 2008 at 12:57pm |
|
No, don't worry !
![]() It was only to satisfy my curiosity, thanks for your answers ![]() Cédric |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |