qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Weil <661696@bugs.launchpad.net>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [Bug 661696] Re: incomplete emulation of fstenv under TCG
Date: Sat, 15 Nov 2014 12:36:11 -0000	[thread overview]
Message-ID: <20141115123611.19601.13593.launchpad@gac.canonical.com> (raw)
In-Reply-To: 20101016120808.18780.42547.malonedeb@soybean.canonical.com

** Changed in: qemu
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/661696

Title:
  incomplete emulation of fstenv under TCG

Status in QEMU:
  Confirmed

Bug description:
  Steps to reproduce:

  1) Install Windows (tried XP and 7) in qemu (tried qemu without kvm
  and qemu-kvm).

  2) Get OllyDbg ( http://ollydbg.de/odbg200.zip ).

  3) Use some Metasploit-encoded file, example included.

  It is not a virus!

  File was generated with Metasploit, command (if i remember it right):
  `msfpayload windows/exec cmd=notepad R | msfencode -e
  x86/shikata_ga_nai -t exe -o cmd_exec_notepad.shikata_ga_nai.exe`.

  4) Launch the file under Windows in qemu, make sure it opens a
  notepad.

  5) Open file under OllyDbg, run (F9) it there. It opens a notpad.
  Close OllyDbg.

  6) Open file under OllyDbg, trace over (Ctrl+F12) it there. It fails with `Access violation when writing to [some address]`.
  Command: 316A 13, XOR DWORD PTR DS:[EDX+13],EBP 

  Under native Windows, the trace over command works fine.

  Under VMware the trace works fine.
  Under VirtualBox it also fails (checked in the spring).

  $ qemu-kvm --version
  QEMU PC emulator version 0.12.5 (qemu-kvm-0.12.5), Copyright (c) 2003-2008 Fabrice Bellard

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/661696/+subscriptions

  parent reply	other threads:[~2014-11-15 12:45 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-16 12:08 [Qemu-devel] [Bug 661696] [NEW] Ollydbg under Windows in qemu does not work as it does under native Windows Chalkerx
2010-10-16 12:08 ` [Qemu-devel] [Bug 661696] " Chalkerx
2010-10-16 12:09 ` Chalkerx
2010-10-16 12:13 ` Chalkerx
2010-10-16 15:24 ` Paolo Bonzini
2010-10-16 17:32   ` Blue Swirl
2010-11-20  0:35 ` [Qemu-devel] [Bug 661696] Re: incomplete emulation of fstenv under TCG Chalkerx
2010-11-20  0:37 ` Chalkerx
2010-11-20  3:43 ` Chalkerx
2010-11-20  3:44 ` Chalkerx
2010-11-25 16:10 ` Chalkerx
2013-05-22 13:35 ` Morten Shearman Kirkegaard
2013-06-29 17:10 ` Morten Shearman Kirkegaard
2013-06-29 17:32   ` Andreas Färber
2013-06-29 17:40   ` Chalkerx
2013-07-01  7:29 ` Morten Shearman Kirkegaard
2014-11-15 12:36 ` Stefan Weil [this message]
2021-04-22  9:22 ` Thomas Huth
2021-04-22  9:40 ` Peter Maydell
2021-05-01  6:08 ` Thomas Huth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20141115123611.19601.13593.launchpad@gac.canonical.com \
    --to=661696@bugs.launchpad.net \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).