📚 OpenRCE is preserved as a read-only archive. Launched at RECon Montreal in 2005. Registration and posting are disabled.








Flag: Tornado! Hurricane!

 Forums >>  Debuggers  >>  PaiMei Access Violation debugging IE7 with pstalker

Topic created on: January 17, 2007 05:42 CST by ismak .

PaiMei crash with an Access Violation when debugging IE. I have only added  mshtm.dll pida module. When pstalker is loading mshtmled.dll it crash with the following error:


[*] Loading 0x76200000 \WINDOWS\SYSTEM32\mshtmled.dll
[*] 0x7f5c131f Unable to disassemble at 7f5c131f from thread 5116 caused access violation
when attempting to read from 0x7f5c131f

CONTEXT DUMP
  EIP: 7f5c131f Unable to disassemble at 7f5c131f
  EAX: 00000002 (         2) -> N/A
  EBX: 7ffd4000 (2147303424) -> N/A
  ECX: 7e9012e2 (2123371234) -> N/A
  EDX: 80084004 (2148024324) -> N/A
  EDI: 00000000 (         0) -> N/A
  ESI: 00000001 (         1) -> N/A
  EBP: 04ccfc0c (  80542732) -> N/A
  ESP: 04ccfbf8 (  80542712) -> ~~ ,|~@xJ$e|~~@@~xJ$D|||,, (stack)
  +00: 7e901311 (2123371281) -> N/A
  +04: 7e830000 (2122514432) -> N/A
  +08: 00000002 (         2) -> N/A
  +0c: 00000000 (         0) -> N/A
  +10: 04ccfc20 (  80542752) -> @xJ$e|~~@@~xJ$D|||,,||| (stack)
  +14: 04ccfc2c (  80542764) -> e|~~@@~xJ$D|||,,|||,| (stack)

disasm around:
0x7f5c131f Unable to disassemble

stack unwind:
7c9111a7
7c928f65
7c928dde
7c91eac7

SEH unwind:
04ccfd08 -> 7c91ee18: push ebp
ffffffff -> 7c91ee18: push ebp


What is the problem? Shall i have to load mshtmled pida module too?

  pedram     January 17, 2007 12:08.14 CST
More than likely the issue is that data was detected as code and a breakpoint was set in a place it shouldn't have been. Are you tracing at the basic block level? If so switch it up to the function level (less mistakes at this level) and see if the crash still occurs.

I am putting together some contributions for a new release so if this is a bug we can track down I'd like to get it fixed with the update.

  ismak     January 18, 2007 11:14.37 CST
Ok, i probe with function level and it doesnt' crash with Access Violation, it now crash in a ReadProcess Memory :-(

[*] Setting 17018 breakpoints on functions in mshtml.dll
[*] Loading 0x03910000 \WINDOWS\SYSTEM32\msls31.dll
[*] debugger hit 7e844921 cc #1
[*] debugger hit 7e844ba1 cc #2
[*] debugger hit 7e844b8d cc #3
[*] debugger hit 7ea8ff7a cc #4
[*] [299] ReadProcessMemory(01690ff8, 4, read=0): Slo se complet una parte de una peticin ReadProcessMemory o WriteProcessMemory.

[*] Exporting 4 hits to MySQL.

Note: Registration is required to post to the forums.

There are 31,328 total registered users.


Recently Created Topics
[help] Unpacking VMP...
Mar/12
Reverse Engineering ...
Jul/06
let 'IDAPython' impo...
Sep/24
set 'IDAPython' as t...
Sep/24
GuessType return une...
Sep/20
About retrieving the...
Sep/07
How to find specific...
Aug/15
How to get data depe...
Jul/07
Identify RVA data in...
May/06
Question about memor...
Dec/12


Recent Forum Posts
Finding the procedur...
rolEYder
Question about debbu...
rolEYder
Identify RVA data in...
sohlow
let 'IDAPython' impo...
sohlow
How to find specific...
hackgreti
Problem with ollydbg
sh3dow
How can I write olly...
sh3dow
New LoadMAP plugin v...
mefisto...
Intel pin in loaded ...
djnemo
OOP_RE tool available?
Bl4ckm4n


Recent Blog Entries
halsten
Mar/14
Breaking IonCUBE VM

oleavr
Oct/24
Anatomy of a code tracer

hasherezade
Sep/24
IAT Patcher - new tool for ...

oleavr
Aug/27
CryptoShark: code tracer ba...

oleavr
Jun/25
Build a debugger in 5 minutes

More ...


Recent Blog Comments
nieo on:
Mar/22
IAT Patcher - new tool for ...

djnemo on:
Nov/17
Kernel debugger vs user mod...

acel on:
Nov/14
Kernel debugger vs user mod...

pedram on:
Dec/21
frida.github.io: scriptable...

capadleman on:
Jun/19
Using NtCreateThreadEx for ...

More ...


Imagery
SoySauce Blueprint
Jun 6, 2008

[+] expand

View Gallery (11) / Submit