Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 06-14-2003, 01:17
amigo amigo is offline
Friend
 
Join Date: Dec 2002
Posts: 30
Rept. Given: 0
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 0
Thanks Rcvd at 1 Time in 1 Post
amigo Reputation: 0
Read BIOS from ring3 exe

Hi,

How can I read BIOS memory from win32 exe file?
(without using VXD)
The code: mov EAX, [ESI] lead to page fault, of course
Reply With Quote
  #2  
Old 07-02-2003, 08:25
bart
 
Posts: n/a
for win9x user GetCurrentProcess() and ReadProcessMemory()

Code:
	BIOS_START	equ 0F0000h
	BIOS_LENGTH	equ 010000h

	call	GetCurrentProcess

	push	0
	push	esp			; &lpNumberOfBytesRead
	push	BIOS_LENGTH
	push	offset lpBuffer		; &buffer
	push	BIOS_START		; bios start
	push	eax			; hCurrentProcess
	call	ReadProcessMemory
	pop	edx			; pop lpNumberOfBytesRead

(thnx to teston for this snippet)
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Loading BIOS from dos debug - possible ? petar General Discussion 9 03-14-2005 00:26
WINDOWS XP & BIOS hobferret General Discussion 7 11-21-2004 03:26


All times are GMT +8. The time now is 07:07.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( 1998 - 2024 )