qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 661696] [NEW] Ollydbg under Windows in qemu does not work as it does under native Windows.
@ 2010-10-16 12:08 Chalkerx
  2010-10-16 12:08 ` [Qemu-devel] [Bug 661696] " Chalkerx
                   ` (15 more replies)
  0 siblings, 16 replies; 20+ messages in thread
From: Chalkerx @ 2010-10-16 12:08 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

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

** Affects: qemu
     Importance: Undecided
         Status: New


** Tags: fpu windows

-- 
Ollydbg under Windows in qemu does not work as it does under native Windows.
https://bugs.launchpad.net/bugs/661696
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.

Status in QEMU: New

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

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2021-05-01  6:20 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2021-04-22  9:22 ` Thomas Huth
2021-04-22  9:40 ` Peter Maydell
2021-05-01  6:08 ` Thomas Huth

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).