MSFN Forum: VxDs and related stuff help - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

VxDs and related stuff help Rate Topic: -----

#1 User is offline   BogdanV 

  • Junior
  • Pip
  • Group: Members
  • Posts: 58
  • Joined: 03-February 09

Posted 30 June 2009 - 07:00 AM

Since its summer vacation and I don't have too much to do, I thought on giving it a try and learn how VxDs work and maybe try my hand on making some crude tutorial-like drivers.

As far as I've managed to find out, a DDK is vital as its name suggests, but the problem is that I haven't managed to find anyone who happened by chance to upload the 98SE DDK on the "internets" .
As for licenses and forum rules, I don't know how the DDK is classified as. Is it legal for it to be uploaded/downloaded, because, like with any other 9x-related stuff, M$ retired most of the stuff, so any Win98 DDK links are dead.

Also, except for the DDK, are there any introductory documentations/tutorials on VxDs ? I'm asking this because although I know C++ syntax and how to code something, I have absolutely no practical experience with drivers. I don't know their code-"anatomy", I don't know nothing on this issue.
A summary of my knowledge on this area would be wikipedia's article on VxDs and some general knowledge of how INFs work and their syntax, so I'm practically a "tabula rasa" .

Any help on the matter is highly appreciated.
Thanks!


#2 User is offline   herbalist 

  • paranoid independent
  • PipPipPipPipPip
  • Group: Members
  • Posts: 726
  • Joined: 15-December 06
  • OS:98
  • Country: Country Flag

Posted 30 June 2009 - 09:06 AM

If it's 98 related, check MDGX. http://www.mdgx.com/add.htm#DDK

#3 User is offline   eidenk 

  • MSFN Addict
  • PipPipPipPipPipPipPip
  • Group: Banned
  • Posts: 1,527
  • Joined: 28-March 05

Posted 30 June 2009 - 09:39 AM

Dead links for the 98DDK : http://freenet-homep...ndows98_DDK.htm

Have you tried the Wayback Machine ? We'll see what we can do if you can't find anything. :whistle:

Links for tuts and sample code I had collected :

Creating A Basic VxD : http://www.addict3d....s/120/feeds.php
Virtual Device Driver Basics : http://win32assembly...r/vxd-tut1.html
Virtual Machine Manager : http://win32assembly...r/vxd-tut2.html
Virtual Device Driver Skeleton : http://win32assembly...r/vxd-tut3.html
VxD Programming: Primer : http://win32assembly...r/vxd-tut4.html
VxD Example: MessageBox : http://win32assembly...r/vxd-tut5.html
Dynamic VxD and DeviceIoControl Interface : http://win32assembly...r/vxd-tut6.html
Application Time and Shell Functions : http://win32assembly...r/vxd-tut7.html
Client Register Structure : http://win32assembly...r/vxd-tut8.html
Virtual 8086 Memory Manager : http://win32assembly...r/vxd-tut9.html
(.vxd) LINEAR-EXECUTABLE File Header Layout : http://faydoc.tripod...mats/exe-LE.htm
An assembly shell for creating dynamically loadable VxDs : http://www.matcode.com/win95vxd.txt
Examining VxD Service Hooking : http://www.ddj.com/184409878
Programming VXD’s using Assembler : http://www.vijaymukh...mis/vmchap8.htm
Windows Device Driver Development : http://www.newss.co....r.html#VirtualM
Virus oriented VxD writing tutorial : http://vx.netlux.org/lib/vgy05.html
Windows 3.1/95 Virtual Device Drivers (VxD) : http://www.dcee.net/...ogramm/Windows/
Hooking Disk Access : http://www.geoffchappell.com/viewer.htm?do...=25&ts=66,0
DSDskInf.VxD - Retrieve Information from an ATA disk : http://skyscraper.fortunecity.com/virtuosi...f/dsdskinf.html
DSIdeInf.VxD - Retrieve IDE controller's Information : http://skyscraper.fortunecity.com/virtuosi...f/dsideinf.html
VxD W9x en ASM (French) : http://perso.numeric...dasm/vxdasm.php
WinIo - Direct Hardware Access Under Windows 9x/NT/2000/XP : http://www.internals...ities/winio.zip
Sysinternal source code : http://doc.sch130.nsc.ru/www.sysinternals..../98source.shtml

If you want to write vxds in C/C++ you'll need expensive commercial tools I think (not 100% sure though):

VToolsD for VxD Development : http://www.ddj.com/184409684;jsessionid=B5...equestid=435152
VxDWriter - Develop VxD in C/C++ : http://www.techsoftpl.com/vxd/ ($429)

Also there is a an apparently good book about programming vxds : Writing Windows VxDs and device drivers By Karen Hazzah : http://books.google.com/books?id=F868yPHsA...=gbs_navlinks_s

All the best and good luck :hello:

#4 User is offline   jaclaz 

  • The Finder
  • Group: Developers
  • Posts: 9,095
  • Joined: 23-July 04
  • OS:none specified
  • Country: Country Flag

Posted 30 June 2009 - 10:16 AM

And, if I may, a couple of possible fields/projects in which to express your newly acquired knowledge/experience (the following would actually be useful ;)):
http://www.boot-land...?showtopic=2343
http://www.boot-land...p?showtopic=623
http://www.boot-land...?showtopic=4353
http://www.boot-land.net/forums/index.php?...ic=2293&hl=
and more generally:
http://www.boot-land...hp?showforum=53
even if you are not interested in any of the above, the threads do contain some interesting/useful links related to VXD's. :)

About the Win 98 DDK:
http://www.msfn.org/...showtopic=86312
it appears to have been cached by the Wayback Machine:
http://web.archive.org/web/20000823113036/...EN-US/98DDK.EXE

jaclaz

#5 User is offline   Drugwash 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 898
  • Joined: 21-June 06
  • OS:98SE
  • Country: Country Flag

Posted 30 June 2009 - 10:44 AM

Oh how sweet of MS - after 1MB of download, they cut the link off. :realmad: However, I do have a 98DDK on my HDD - it's a RAR archive (45,460,335 bytes) and the readme inside says it's synced to Windows 98 build 1998.6. If it's OK with the mods, I could offer a temporary HTTP link for direct download.

This post has been edited by Drugwash: 30 June 2009 - 10:44 AM


#6 User is offline   eidenk 

  • MSFN Addict
  • PipPipPipPipPipPipPip
  • Group: Banned
  • Posts: 1,527
  • Joined: 28-March 05

Posted 30 June 2009 - 10:56 AM

Yet another interesting link :

Spy Windows 95/98 File I/O : http://www.codeguru.com/cpp/w-p/system/vxd...icle.php/c2849/

Perhaps this thread should be stickied :whistle:

#7 User is offline   eidenk 

  • MSFN Addict
  • PipPipPipPipPipPipPip
  • Group: Banned
  • Posts: 1,527
  • Joined: 28-March 05

Posted 30 June 2009 - 11:02 AM

Hiding Directories in Windows 95/98/ME : http://www.ddj.com/windows/184416380

Unfortunately the linked source is gone and not on the wayback machine.

But here is some interesting code of a similar nature :

http://www.opensc.ws...9x-rootxit.html

:hello:

#8 User is offline   eidenk 

  • MSFN Addict
  • PipPipPipPipPipPipPip
  • Group: Banned
  • Posts: 1,527
  • Joined: 28-March 05

Posted 30 June 2009 - 11:15 AM

Examining VxD Service Hooking - Monitoring, altering, or otherwise changing parts of Windows : http://www.ddj.com/a...84409878?pgno=7

Fast Interrupt Processing in Windows 95 -Improving Windows' real-time performance : http://www.ddj.com/a...4410045?pgno=11

Windows 95 Journaling and Playback - Using keyboard and mouse macros anywhere and anytime : http://www.ddj.com/architect/184409843

Building VxDs in Windows 95 - An assembly shell for creating dynamically loadable VxDs : http://www.ddj.com/architect/184410047

Examining the Windows 95 Layered File System - Adding functionality to block devices : http://www.ddj.com/a...84409681?pgno=8

#9 User is offline   eidenk 

  • MSFN Addict
  • PipPipPipPipPipPipPip
  • Group: Banned
  • Posts: 1,527
  • Joined: 28-March 05

Posted 30 June 2009 - 11:56 AM

Attacking Windows 9x with Loadable Kernel Modules : http://archives.neohapsis.com/archives/bug...0164/01-vxd.txt

cInfo.VxD :Retrieve Serial Number and Model of physical disk hosting drive c: : http://skyscraper.fortunecity.com/virtuosi...info/cinfo.html

Windows Virtual Device Drivers (VxDs) related stuff : http://www.geocities.com/SiliconValley/Pea...35/samples.html

#10 User is offline   eidenk 

  • MSFN Addict
  • PipPipPipPipPipPipPip
  • Group: Banned
  • Posts: 1,527
  • Joined: 28-March 05

Posted 30 June 2009 - 12:06 PM

A last one for today :

Writing Device Drivers : http://www.rdrop.com...ice_driver.html

:hello:

#11 User is offline   BogdanV 

  • Junior
  • Pip
  • Group: Members
  • Posts: 58
  • Joined: 03-February 09

Posted 30 June 2009 - 02:27 PM

Wow! That's more than enough to get me started ! Thanks a ton everybody and especially eidenk for the bounty of links !

#12 User is offline   herbalist 

  • paranoid independent
  • PipPipPipPipPip
  • Group: Members
  • Posts: 726
  • Joined: 15-December 06
  • OS:98
  • Country: Country Flag

Posted 30 June 2009 - 02:39 PM

The MDGX link is live. http://www.mdgx.com/spx/98DDK.RAR I just rechecked it and it works fine.

#13 User is offline   BogdanV 

  • Junior
  • Pip
  • Group: Members
  • Posts: 58
  • Joined: 03-February 09

Posted 01 July 2009 - 03:54 AM

View Postherbalist, on Jun 30 2009, 02:39 PM, said:

The MDGX link is live. http://www.mdgx.com/spx/98DDK.RAR I just rechecked it and it works fine.


I actually downloaded the DDK from there. Thanks for the link.

#14 User is offline   eidenk 

  • MSFN Addict
  • PipPipPipPipPipPipPip
  • Group: Banned
  • Posts: 1,527
  • Joined: 28-March 05

Posted 01 July 2009 - 03:58 AM

Windows DDK: I/O Supervisor Guide for Windows 9x/Me Operating Systems : http://www.microsoft.com/downloads/details...;displaylang=en

And this is a nice document I have found on my HDD in ugly doc format. I have converted it in pdf and added bookmarks for convenience. I have no clue about its origin.

http://stashbox.org/557239/VXD.pdf

#15 User is offline   eidenk 

  • MSFN Addict
  • PipPipPipPipPipPipPip
  • Group: Banned
  • Posts: 1,527
  • Joined: 28-March 05

Posted 01 July 2009 - 04:08 AM

Perhaps this is also of interest although it is geared at not writing a driver.

Quote

TVicPort Overview

TVicPort is a toolkit for direct port I/O from Win32 applications. TVicPort includes transparent support for Windows 95/98/Me and Windows NT/2000/XP/XP 64-bit, providing programmers with standard methods for real-time direct access to port and memory mapped I/O - without requiring you to write a custom virtual device driver for Windows 9x/Me or a kernel-mode driver for NT/2000/XP/XP 64-bit. Brand new 64-bit offers intelligent support for 64-bit solutions.

http://www.entechtai...port/index.shtm


#16 User is offline   eidenk 

  • MSFN Addict
  • PipPipPipPipPipPipPip
  • Group: Banned
  • Posts: 1,527
  • Joined: 28-March 05

Posted 01 July 2009 - 04:11 AM

http://www.osronline...nstall_636s.htm

#17 User is offline   eidenk 

  • MSFN Addict
  • PipPipPipPipPipPipPip
  • Group: Banned
  • Posts: 1,527
  • Joined: 28-March 05

Posted 02 July 2009 - 09:24 AM

Source code for an ext2 file system driver :

FSDEXT2 - Second extended file system for Windows 95 : http://www.yipton.net/fsdext2/src.zip

#18 User is offline   eidenk 

  • MSFN Addict
  • PipPipPipPipPipPipPip
  • Group: Banned
  • Posts: 1,527
  • Joined: 28-March 05

Posted 02 July 2009 - 10:05 AM

Other version of that driver which works under win 98 (Thanks jaclaz)

ftp://62.76.7.214/pu..._0163source.zip

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy