Welcome to the Comodo Forum
Welcome,
Guest
. Please
login
or
register
.
September 06, 2008, 05:40:51 PM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
189141
Posts
22038
Topics
52852
Members
Latest Member:
maden
more news...
Search:
Advanced search
|
Tag Cloud
Welcome to the Comodo Forum
Learn about Computer Security and Interact with Security Experts
Anti Virus/Malware Products/Other Security products
Signature detection of virtual machine detection code
« previous
next »
Pages:
[
1
]
Author
Topic: Signature detection of virtual machine detection code (Read 864 times)
MrBrian
Computer Security Testing Group
Comodo's Hero
Offline
Posts: 326
Signature detection of virtual machine detection code
«
on:
April 12, 2008, 06:29:17 PM »
A nontrivial portion of today's malware apparently includes code that detects the presence of virtual machines and changes behavior accordingly. Thus, it would seem that a good way to spot malware would be to detect virtual machine detection code via signature. Does anybody know of any software that detects the presence of virtual machine detection code? Preferably this signature detection would take place in code that is already active, after any packers, encrypters, etc have finished their task. I know of one thus far - SysAnalyzer (
http://labs.idefense.com/software/malcode.php
). Does anybody know of any other such software?
Logged
Info-Sec
Computer Security Testing Group
Comodo's Hero
Offline
Posts: 548
Re: Signature detection of virtual machine detection code
«
Reply #1 on:
April 16, 2008, 07:46:43 PM »
Quote from: MrBrian on April 12, 2008, 06:29:17 PM
A nontrivial portion of today's malware apparently includes code that detects the presence of virtual machines and changes behavior accordingly. Thus, it would seem that a good way to spot malware would be to detect virtual machine detection code via signature. Does anybody know of any software that detects the presence of virtual machine detection code? Preferably this signature detection would take place in code that is already active, after any packers, encrypters, etc have finished their task. I know of one thus far - SysAnalyzer (
http://labs.idefense.com/software/malcode.php
). Does anybody know of any other such software?
What do you mean the malware changes its behavior? It detects the virtual machine, and then what? Its in a virtual machine, quite harmless.
Logged
*Vista *CFP V3 *Avira * Avast *Spyware Doctor
*XP *Zone Alarm PRO *NOD32 V2.7 *Spysweeper
MrBrian
Computer Security Testing Group
Comodo's Hero
Offline
Posts: 326
Re: Signature detection of virtual machine detection code
«
Reply #2 on:
April 16, 2008, 09:15:52 PM »
Quote from: Info-Sec on April 16, 2008, 07:46:43 PM
What do you mean the malware changes its behavior?
If the malware detects it's in a virtual machine, it might choose to not do anything malicious, in order to make things harder on malware researchers, those who test out iffy software in a virtual machine first, etc.
Logged
Info-Sec
Computer Security Testing Group
Comodo's Hero
Offline
Posts: 548
Re: Signature detection of virtual machine detection code
«
Reply #3 on:
April 17, 2008, 01:36:36 PM »
Quote from: MrBrian on April 16, 2008, 09:15:52 PM
If the malware detects it's in a virtual machine, it might choose to not do anything malicious, in order to make things harder on malware researchers, those who test out iffy software in a virtual machine first, etc.
Ah i see. Well its hard to detect if it is in a virtual machine. Well it depends on the virtualization software. On VMware it is impossible to tell because it is a computer in an isolated part of the memory. Other virtualization software it is possible.
Logged
*Vista *CFP V3 *Avira * Avast *Spyware Doctor
*XP *Zone Alarm PRO *NOD32 V2.7 *Spysweeper
Melih
Comodo's Hero
Administrator
Comodo's Hero
Offline
Posts: 5367
Re: Signature detection of virtual machine detection code
«
Reply #4 on:
April 17, 2008, 03:34:22 PM »
you are right.
malware does have detection mechanisms for both emulators and certain vms. so that they behave themselves within those environments to avoid detection
Melih
Logged
Visit Melih's Blog
MrBrian
Computer Security Testing Group
Comodo's Hero
Offline
Posts: 326
Re: Signature detection of virtual machine detection code
«
Reply #5 on:
April 17, 2008, 03:45:15 PM »
Quote from: Info-Sec on April 17, 2008, 01:36:36 PM
Ah i see. Well its hard to detect if it is in a virtual machine. Well it depends on the virtualization software. On VMware it is impossible to tell because it is a computer in an isolated part of the memory. Other virtualization software it is possible.
You may wish to look at this topic -
http://www.wilderssecurity.com/showthread.php?t=206462
. Also, see the paper 'Compatibility is Not Transparency: VMM Detection Myths and Realities' -
http://www.usenix.org/event/hotos07/tech/full_papers/garfinkel/garfinkel_html/
. The paper's conclusion is "that preventing VMM detection in the face of a dedicated adversary is generally impractical."
«
Last Edit: April 17, 2008, 03:47:55 PM by MrBrian
»
Logged
andyman35
Global Moderator
Comodo's Hero
Offline
Posts: 532
Re: Signature detection of virtual machine detection code
«
Reply #6 on:
April 17, 2008, 06:53:57 PM »
Quote from: MrBrian on April 17, 2008, 03:45:15 PM
You may wish to look at this topic -
http://www.wilderssecurity.com/showthread.php?t=206462
. Also, see the paper 'Compatibility is Not Transparency: VMM Detection Myths and Realities' -
http://www.usenix.org/event/hotos07/tech/full_papers/garfinkel/garfinkel_html/
. The paper's conclusion is "that preventing VMM detection in the face of a dedicated adversary is generally impractical."
Interesting subject but surely the Blue Pill hypervisor concept shows that an undetectable VM is perhaps achievable?
«
Last Edit: April 17, 2008, 07:07:15 PM by andyman35
»
Logged
MrBrian
Computer Security Testing Group
Comodo's Hero
Offline
Posts: 326
Re: Signature detection of virtual machine detection code
«
Reply #7 on:
April 17, 2008, 07:29:25 PM »
Quote from: andyman35 on April 17, 2008, 06:53:57 PM
Interesting subject but surely the Blue Pill hypervisor concept shows that an undetectable VM is perhaps achievable?
Here is a quote from a person involved with the Xen hypervisor about Blue Pill (Source -
http://www.virtualization.info/2006/08/debunking-blue-pill-myth.html
):
"Rutkowska claims to have create a 100% undetectable piece of malware."
"The basic idea behind her claim is that one could create a piece of malware that also was a Virtual Machine Monitor. If the VMM could take over the host Operating System (imagine if you could launch Xen on a running copy of Windows and instantly have the previous Windows system be a virtual machine), then it could potentially hide a virus from that virtual machine by remaining within the VMM."
"Having a VMM take over a host operating system would be very difficult. It's not outside of the realm of possibility but it would take a huge engineering effort."
"However, for this malware to be successful, it would not only need to be able to take over the host Operating System, but it would also need to prevent that operating system from being able to detect that it was now a virtual machine."
'While the former is at least possible (albeit tremendously difficult), the later is not possible which means that anti-malware software will always be able to detect this sort of attack."
«
Last Edit: April 17, 2008, 08:05:44 PM by MrBrian
»
Logged
andyman35
Global Moderator
Comodo's Hero
Offline
Posts: 532
Re: Signature detection of virtual machine detection code
«
Reply #8 on:
April 18, 2008, 06:28:18 AM »
Quote from: MrBrian on April 17, 2008, 07:29:25 PM
Here is a quote from a person involved with the Xen hypervisor about Blue Pill (Source -
http://www.virtualization.info/2006/08/debunking-blue-pill-myth.html
):
"Rutkowska claims to have create a 100% undetectable piece of malware."
"The basic idea behind her claim is that one could create a piece of malware that also was a Virtual Machine Monitor. If the VMM could take over the host Operating System (imagine if you could launch Xen on a running copy of Windows and instantly have the previous Windows system be a virtual machine), then it could potentially hide a virus from that virtual machine by remaining within the VMM."
"Having a VMM take over a host operating system would be very difficult. It's not outside of the realm of possibility but it would take a huge engineering effort."
"However, for this malware to be successful, it would not only need to be able to take over the host Operating System, but it would also need to prevent that operating system from being able to detect that it was now a virtual machine."
'While the former is at least possible (albeit tremendously difficult), the later is not possible which means that anti-malware software will always be able to detect this sort of attack."
It'd certainly be an extremely difficult task but I think the author's claim that it's impossible for true stealth is a personal opinion,nothing is impossible until such time that perfect,error free code exists.I'd not be so ready to dismiss Rutkowska out of hand,only time will tell if her concept is possible or not.
It's a shame that the challenge mentioned here seems to have broken down,but maybe we'll see a genuine testing of the concept sometime:
http://www.theregister.co.uk/2007/07/06/blue_pill_showdown/
Of course what this shows is the benefits to security of running within some form of VM system. After all if malware detects it's in a VM and doesn't act maliciously then the job of prevention has been achieved.
«
Last Edit: April 18, 2008, 06:45:05 AM by andyman35
»
Logged
MrBrian
Computer Security Testing Group
Comodo's Hero
Offline
Posts: 326
Re: Signature detection of virtual machine detection code
«
Reply #9 on:
April 18, 2008, 06:44:59 AM »
Quote from: andyman35 on April 18, 2008, 06:28:18 AM
It's a shame that the challenge mentioned here seems to have broken down,but maybe we'll see a genuine testing of the concept sometime:
http://www.theregister.co.uk/2007/07/06/blue_pill_showdown/
I think asking for as much as $412,000 was a nice way to ensure that the challenge didn't take place.
Logged
andyman35
Global Moderator
Comodo's Hero
Offline
Posts: 532
Re: Signature detection of virtual machine detection code
«
Reply #10 on:
April 18, 2008, 06:45:57 AM »
Quote from: MrBrian on April 18, 2008, 06:44:59 AM
I think asking for as much as $412,000 was a nice way to ensure that the challenge didn't take place.
Nice work if you can get it though
Logged
Tags:
Pages:
[
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
** New to the Comodo Forum? Start Here! **
-----------------------------
=> New Member Information
-----------------------------
Want to help Comodo?
-----------------------------
=> Help Spread the Word - Official Comodo banners and logos
=> How can you help Comodo? (Please we do need you!)
===> Help spread the word! (Please read and help)
===> Comodo website issues for submitting website problems only
=> Please tell us your views and Vote here!
-----------------------------
General Category
-----------------------------
=> Melih's Corner - CEO Talk/Discussions/Blog
=> Which Product do you want Comodo to develop next?
=> General Discussion (off topic) Anything and everything...
===> Member Confessions :-)
===> Funny Photos :-)
===> Cool Stuff
-----------------------------
Desktop Security Products
-----------------------------
=> Comodo Firewall
===> Feedback/Comments/Announcements/News
===> Leak Testing/Attacks/Vulnerability Research
===> Help for v3
===> Help for v2
===> Frequently Asked Questions (FAQ) for Comodo firewall
===> Comodo Firewall Translations
===> Bug Reports
=> Comodo Anti-Viruspyware (CAVS)
===> Help for Comodo AntiVirus
===> FAQ for Comodo Anti-ViruSpyware
===> Feedback/Comments/Announcements/News about CAVS
===> Virus/Malware Removal Assistance
=> Comodo BOClean Anti-Malware
===> Announcements
===> Comodo BOClean Anti-Malware FAQ
=> Comodo DiskShield
=> Comodo Disk Encryption
=> Comodo Secure Email (CSE) Product
===> CSE Beta Corner
===> Frequently Asked Questions (FAQ)
===> Feedback/Comments/Announcements/News about CSE
===> Bug Reports
===> Help for Comodo SecureEmail
=> Comodo Memory Firewall(Buffer Overflow Protection)
===> Help
===> Frequently Asked Questions (Comodo Memory Firewall)
===> Feedback/Comments/Announcements/News
=> Comodo TrustConnect - Securing the Wireless world!
=> Comodo SafeSurf and (Comodo's own toolbar)
=> Backup
===> FAQ for Comodo Backup
===> Help
=> Verification Engine (allows you to verify what you see on the Internet)
=> Comodo Vulnerability Analyzer
=> AntiSpam
=> i-Vault
=> Launch Pad
=> Trusttoolbar
-----------------------------
Desktop Utilities
-----------------------------
=> Comodo Registry Cleaner
-----------------------------
Enterprise Security
-----------------------------
=> Comodo Endpoint Security Manager
-----------------------------
Compliance
-----------------------------
=> PCI DSS Compliance
-----------------------------
Learn about Computer Security and Interact with Security Experts
-----------------------------
=> Computer Firewalls
=> Anti Virus/Malware Products/Other Security products
=> Free Virus/Spyware/Trojan/Malware Removal by Comodo Experts
=> HIPS (Host Intrusion Prevention Systems)
=> Anti Phishing solutions
=> Digital Certificates, Encryption and Digital Signing
=> General Security Questions and Comments (not product related)
-----------------------------
Free Services for End Users
-----------------------------
=> UserTrust - First Independent Website Rating - Empowering our users!
=> User Anywhere (Remote Access product)
=> Comodo Meet (Web Conferencing Product)
=> Hacker Guardian
=> Trustfax (free Trial) (online faxing)
-----------------------------
Free Products
-----------------------------
=> Link to Free Comodo Products
-----------------------------
International Comodo Forums
-----------------------------
=> International Comodo Forums
===> 汉语语言, 漢語語言 / Chinese Simplified, Traditional
===> Nederlands / Dutch
===> Francais / French
===> Deutsch / German
===> ελληνικά / Greek
===> Magyar / Hungarian
===> Italiano / Italian
===> Nihongo / Japanese
===> Norsk / Norwegian
===> Polski / Polish
===> Português/Portuguese
===> По-русски / Russian
===> Espanol / Spanish
===> Svenska / Swedish
===> Turkce / Turkish
===> Українська / Ukrainian
===> tiếng Việt / Vietnamese
-----------------------------
Digital Certificates
-----------------------------
=> Code Signing Certificate
=> Content Verification Certificate
=> Email Certificate
=> SSL Certificate
-----------------------------
Web Server Products
-----------------------------
=> Two Factor Authentication for Web Applications
=> Trustlogo
-----------------------------
Infrastructure Products
-----------------------------
=> ZTL
=> Trustix Enterprise Firewall
-----------------------------
Other
-----------------------------
=> Forum Policy Violation Board
Page created in 0.03 seconds with 18 queries.
Powered by SMF 1.1.5
|
SMF © 2006, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks
Design by
7dana.com