Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 04-21-2004, 00:00
SPeY
 
Posts: n/a
Kernel Mode Driver for NT

I would like to make a small kernel mode driver (KMD),
for give me direct Port I/O access under NT based OS.
But I don't have Windows NT DDK, and I never want to pay for it.
So I prefer MASM32 with KmdKit, but it seems to be
my knowledge is not enough for this task, atm.
If anybody has some experience with KMD,
then plz help me. Thx in advance!
Reply With Quote
  #2  
Old 04-21-2004, 00:26
peti
 
Posts: n/a
SPeY: check giveio.c source.
Reply With Quote
  #3  
Old 04-21-2004, 00:28
SPeY
 
Posts: n/a
thanx peti, but can you explain me what you think?
Reply With Quote
  #4  
Old 04-21-2004, 00:30
peti
 
Posts: n/a
Google this: GiveIO by Dale Roberts
Reply With Quote
  #5  
Old 04-21-2004, 05:45
Barmaley
 
Posts: n/a
There is no need to pay for DDK, one is free. I advise to use DriverStudio by Compuware/NuMega.
Reply With Quote
  #6  
Old 04-21-2004, 14:53
xobor xobor is offline
Friend
 
Join Date: May 2002
Location: Slovakia
Posts: 115
Rept. Given: 6
Rept. Rcvd 4 Times in 4 Posts
Thanks Given: 2
Thanks Rcvd at 19 Times in 14 Posts
xobor Reputation: 5
for only accessing ports you can use TVicHW32 or TVicPort from

wxw.entechtaiwan.com

regards
Reply With Quote
  #7  
Old 04-21-2004, 15:26
TQN TQN is offline
VIP
 
Join Date: Apr 2003
Location: Vietnam
Posts: 343
Rept. Given: 142
Rept. Rcvd 20 Times in 12 Posts
Thanks Given: 169
Thanks Rcvd at 130 Times in 43 Posts
TQN Reputation: 20
You can use the WinIO library (www.internals.com). WinIo library allows direct I/O port and physical memory access under Windows 9x/NT/2000 and XP, provides fast I/O port access, good memory mapping support and can be used from non-administrative accounts under Windows NT/2000 and XP. The source code is available.
Reply With Quote
  #8  
Old 04-21-2004, 16:23
ColdCoder
 
Posts: n/a
NT4 DDK
hxxp://lad.dsc.ufcg.edu.br/download/nt4ddk.zip

98 DDK
hxxp://download.microsoft.com/download/win98SE/Install/Gold/W98/EN-US/98DDK.EXE
hxxp://www.tu-chemnitz.de/informatik/RA/educ/mop/98DDK.EXE

2K DDK
fxp://ftp.atfile.com/files/WindowsDDK/Win2k/2kddknly.exe
fxp://ftp2.atfile.com/download/WindowsDDK/Win2k/2kddknly.exe


DIRECTIO/GIVEIO
hxxp://lad.dsc.ufcg.edu.br/download/DIRECTIO.ZIP

98/NT/2K DDK was free at one time
Reply With Quote
  #9  
Old 04-21-2004, 19:04
aliali aliali is offline
Friend
 
Join Date: Jan 2002
Posts: 59
Rept. Given: 4
Rept. Rcvd 8 Times in 4 Posts
Thanks Given: 1
Thanks Rcvd at 14 Times in 8 Posts
aliali Reputation: 8
Hi,

You can use PortTalk v2.0. It's free also.
Check hxxp://www.beyondlogic.org

AliAli
Reply With Quote
  #10  
Old 04-21-2004, 21:56
SPeY
 
Posts: n/a
Thanx for all reply!
Especially to ColdCoder for the cool links. Big Thanx!

I try to reply to all of you in one session...

I don't have DriverStudio,
but as I know these tools like NuMega's one
needs DDK for complete development too.
(I was tried Jungo WinDriver suite.)

I need only direct Port I/O,
but I need to build _my own_ Kernel Mode Driver,
thats why I need Windows DDK.

EnTech doesnt release their sources for free,
so this components are useless for me.

GiveIO, WinIO and PortTalk are has very usefull sources,
but all need DDK to build the binaries.

Conclusion... atm, I'm working on my own "PortIO.sys"
based on GiveIO and coded in MASM32 using KmdKit,
Windows DDK's and the above sources
must be enough to finish my job.

Thx again.

p.s.: If I success then I post the source here, maybe somebody will like it.
Reply With Quote
  #11  
Old 04-21-2004, 23:05
_kin_
 
Posts: n/a
You can try MinGW (hxxp://mingw.sourceforge.net/).

w32api-2.5.tar.gz package have some intersting stuff for NT driver programming (see include\ddk and lib\ntoskrnl.lib)
Reply With Quote
  #12  
Old 04-22-2004, 01:21
martind
 
Posts: n/a
DDK

Which DDK do you want?
Which I/O ports do you want to access?

I have written a Kernel Mode driver for parallel port access:
http://www.pcjunkie.cwc.net
Reply With Quote
  #13  
Old 04-22-2004, 15:34
dainis
 
Posts: n/a
h**p://www.wasm.ru/article.php?article=drvw2k01
h**p://www.wasm.ru/srclist.php?list=6

They are in russian so for people that don't understand it, I suggest to use babelfish.

For Win9X driver.
h**p://www.vijaymukhi.com/vmis/vmchap8.htm
Reply With Quote
Reply

Thread Tools
Display Modes

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
Hades:Windows kernel driver lets reverse engineers monitor user and kernel mode code sh3dow Source Code 0 05-12-2016 03:15
How to pass the large data in kernel mode to user mode? benina General Discussion 3 03-06-2010 04:50
Modifying Kernel Mode Driver for Hyper Threading aldente General Discussion 8 08-13-2004 10:11


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


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