首页
社区
课程
招聘
[下载]微软2003 server NTOS源代码下载,可以编译通过。
发表于: 2007-3-5 22:43 11366

[下载]微软2003 server NTOS源代码下载,可以编译通过。

2007-3-5 22:43
11366
下载链接:
6dfK9s2c8@1M7q4)9K6b7g2)9J5c8W2)9J5c8Y4u0S2M7r3W2V1M7$3S2S2M7X3g2Q4x3X3g2U0L8$3#2Q4x3V1k6X3K9h3I4W2M7#2)9J5c8U0p5#2z5o6p5%4y4o6p5H3i4K6u0r3N6%4u0C8i4K6u0W2y4%4A6Q4x3X3g2Z5N6r3#2D9

详细信息如下文,是俄罗斯的一个破解论坛流出,比国内大学的共享精神强多了。

Copyright (c) Microsoft Corporation. All rights reserved.

You may only use this code if you agree to the terms of
the Windows Research Kernel Source Code License agreement
(see License.txt).  If you do not agree to the terms, do not use the code.

***

WRK v1.2

The Windows Research Kernel v1.2 contains the sources for the core of
the Windows (NTOS) kernel and a build environment for a kernel that will run on
    x86     (Windows Server 2003 Service Pack 1) and
    AMD64   (Windows XP x64 Professional)
A future version may also support booting WRK kernels on Windows XP x86 systems,
but the current kernels will fail to boot due to differences in some shared structures.

The NTOS kernel implements the basic OS functions
for processes, threads, virtual memory and cache managers, I/O management,
the registry, executive functions such as the kernel heap and synchronization,
the object manager, the local procedure call mechanism, the security reference
monitor, low-level CPU management (thread scheduling, Asynchronous and Deferred
Procedure calls, interrupt/trap handling, exceptions), etc.

The NT Hardware Abstraction Layer, file systems, network stacks, and device
drivers are implemented separately from NTOS and loaded into kernel mode
as dynamic libraries.  Sources for these dynamic components are not included
in the WRK, but some are available in various development kits published
by Microsoft, such as the Installable File System (IFS) Kit and the
Windows Driver Development Kit (DDK).

WRK v1.2 includes most of the NTOS kernel sources from the latest released
version of Windows, which supports the AMD64 architecture on the Desktop.
The kernel sources excluded from the kit are primarily in the areas of
plug-and-play, power management, the device verifier, kernel debugger
interface, and virtual dos machine.  The primary modifications to WRK
from the released kernel are related to cleanup and removal of server
support, such as code related to the Intel IA64.

***

Organization of the WRK sources

The file License.txt contains the license covering use of the WRK.

The public\ directory contains a number of include files shared among system
components.  base\ntos\ contains the NTOS sources.

The primary NTOS source components included in the WRK are organized as follows:

    cache\  - cache manager
    config\ - registry implementation
    dbgk\   - user-mode debugger support
    ex\     - executive functions (kernel heap, synchronization, time)
    fsrtl\  - file system run-time support
    io\     - I/O manager
    ke\     - scheduler, CPU management, low-level synchronization
    lpc\    - local procedure call implementation
    mm\     - virtual memory manager
    ob\     - kernel object manager
    ps\     - process/thread support
    se\     - security functions
    wmi\    - Windows Management Instrumentation

    inc\    - NTOS-only include files
    rtl\    - kernel run-time support
    init\   - kernel startup

***

Two of the best existing sources for documentation of the NTOS kernel are

    Microsoft Windows Internals, 4th Ed 2005, Mark Russinovich and David Solomon

    The Windows Curriculum Resource Kit (CRK)
    5dfK9s2c8@1M7q4)9K6b7g2)9J5c8W2)9J5c8Y4N6%4N6#2)9J5k6h3#2K6k6r3&6S2j5g2)9J5k6h3&6W2N6q4)9J5c8X3y4#2M7Y4u0A6j5%4g2D9N6h3#2Q4x3V1k6H3k6Y4k6Q4x3X3g2S2M7%4m8^5i4K6y4r3d9f1c8Q4x3@1b7$3x3e0V1I4

Additional information about using Windows for teaching and research
in operating systems is available at

    26eK9s2c8@1M7q4)9K6b7g2)9J5c8W2)9J5c8Y4N6%4N6#2)9J5k6h3#2A6j5%4u0G2M7$3!0X3N6q4)9J5k6h3y4G2L8g2)9J5c8Y4u0W2M7$3!0#2M7X3y4W2M7#2)9J5c8Y4y4Z5j5i4u0W2k6s2y4G2N6i4u0U0k6g2)9J5c8V1I4A6j5$3g2F1M7$3W2F1k6#2)9J5c8W2N6A6L8X3c8G2N6%4y4m8j5$3q4V1k6h3#2A6j5#2)9J5k6h3#2K6M7s2R3`.

Specific questions about use of the WRK, CRK, or ProjectOZ can be directed to

    compsci@microsoft.com

Questions about the kernel sources (or CRK or ProjectOZ) can be directed to
the MSDN academic forum groups (d52K9s2c8@1M7q4)9K6b7g2)9J5c8W2)9J5c8X3k6G2M7Y4g2E0M7#2)9J5k6h3#2A6j5%4u0G2M7$3!0X3N6q4)9J5k6h3y4G2L8g2)9J5c8W2N6A6L8X3c8G2N6%4y4m8j5$3q4V1k6h3#2A6j5#2)9J5z5b7`.`.

    Curriculum
        A discussion forum regarding development of operating systems curriculum
        based on the Windows kernel, including use of the Windows Curriculum
        Resource Kit, the Windows Research Kernel, and ProjectOZ.

    Kernel
        Questions & Answers regarding the Windows Research Kernel,
        its architecture, source code and use in teaching and research.

    ProjectOZ
        Questions & Answers regarding use of ProjectOZ for teaching and
        research of operating systems topics.

***

Building/deploying a WRK kernel for x86 [or amd64]

    0. Copy the WRK into a directory, say %wrk%.  
    1. set arch=x86 [or amd64]
    2. path %wrk%\tools\%arch%;%path%
    3. cd %wrk%\base\ntos
    4. nmake -nologo %arch%=
        will produce kernel files in BUILD\EXE\%arch%
        [wrkx86.* or wrkx64.*]
    5. copy the kernel to %SystemRoot%\system32\
    6. if x86, find the Multi-processor version of hal.dll [see below]
    7. add a line to C:\boot.ini of the target system
        to boot this kernel and the MP hal [see below]
    8. reboot and select the boot option for the new kernel
    9. you will boot up on a kernel you built/linked yourself!
        [always keep the original boot.ini line and kernel/hal available so you
         can still boot your system if something fails with your WRK kernel modifications]
    10. set up a debugger [see below]

Multi-processor hal (x86 only, amd64 hals are all MP)
    All hals are renamed hal.dll, so you have to use the link command to
    see what type of hal hal.dll really is:
        link -dump -all hal.dll | findstr pdb
    The MP hals have an 'm' in the native name of the hal, e.g. halmacpi.dll
    You may already have an MP hal installed on UP systems, due to hyperthreading.
    If the hal isn't MP, you need to find the MP hal that corresponds to the current hal
    the target system does have, i.e.
        halacpi.dll  -> halacpim.dll    ; ACPI PIC-based PC  [used by VirtualPC]
        halaacpi.dll -> halmacpi.dll    ; ACPI APIC-based PC
        halapic.dll  -> halmps.dll      ; MPS
    Look in the WRK WS03SP1HALS\x86 directory for the MP hal you need.

Boot.ini
    Edit boot.ini (you may have to use attrib -h -s -r first)
    Copy the line for the first operating system listed to the end of the file and edit it.
        [boot loader]
        timeout=30
        default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS
        [operating systems]
        multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Windows Server 2003, Standard"
        multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="test" /kernel=wrkx86.exe /hal=halmacpi.dll
    Note that the filenames must be short (8.3) names.
    You can add additional options for debugging (as specified in the WinDbg/KD help).

Debugging WRK
    The WinDBG/KD debuggers will work with the WRK.  The documentation is pretty thorough, and
    includes information about how to debug across a serial port, locally (examining kernel
    data from user-mode), and debugging kernels running on VirtualPC.

    Version 6.6.3.5 of the WinDBG/KD debuggers is available with the Curriculum Resource Kit
    Tools ("CurriculumResourceKit-CRK\CRKTools\Debugging Tools" directory on the CD).  
    The latest version of the Windows Debugging Tools can be downloaded from
    57fK9s2c8@1M7q4)9K6b7g2)9J5c8W2)9J5c8Y4N6%4N6#2)9J5k6h3#2A6j5%4u0G2M7$3!0X3N6q4)9J5k6h3y4G2L8g2)9J5c8Y4N6Z5k6r3y4Q4x3V1k6V1k6i4k6@1L8$3!0D9M7#2)9J5c8X3c8W2j5Y4g2Y4k6$3W2F1k6#2)9J5k6b7`.`.

[培训]科锐逆向工程师培训第53期2025年7月8日开班!

收藏
免费 0
支持
分享
最新回复 (10)
雪    币: 207
活跃值: (12)
能力值: ( LV4,RANK:50 )
在线值:
发帖
回帖
粉丝
2
谢谢楼主,学习,学习...
2007-3-6 07:48
0
雪    币: 217
活跃值: (99)
能力值: ( LV4,RANK:50 )
在线值:
发帖
回帖
粉丝
3
可惜其中一些关键的函数以静态库方式提供的.
2007-3-6 09:38
0
雪    币: 214
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
4
这么强悍?~~!!~~
2007-3-6 12:42
0
雪    币: 9963
活跃值: (5761)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
5
最初由 dwing 发布
可惜其中一些关键的函数以静态库方式提供的.


是的啊!虽然这个包能编译,能启动,能调试,但好多函数是用静态库提供的,太惜了.
2007-3-6 15:51
0
雪    币: 9963
活跃值: (5761)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
6
这个东东叫"Windows Research Kernel",是微软开源的一部分.它基于windows 2003 sp1和windows xp 64位的多处理器的系统的内核源代码.
2007-3-6 15:54
0
雪    币: 267
活跃值: (16)
能力值: ( LV4,RANK:50 )
在线值:
发帖
回帖
粉丝
7
sdbp.obj
这个东西为啥这么大???
C:\Documents and Settings\Rinrin\Desktop\lib>dir /w
驱动器 C 中的卷是 System
卷的序列号是 B8EC-819C

C:\Documents and Settings\Rinrin\Desktop\lib 的目录

[.]                  [..]                 87cdisp.obj
87csqrt.obj          87ctran.obj          87ctrig.obj
87ctriga.obj         87ctrigh.obj         87disp.obj
87except.obj         87fmod.obj           87sqrt.obj
87tran.obj           87trig.obj           87triga.obj
87trigh.obj          abs.obj              acos.obj
adj_fdiv.obj         ahcache.obj          ALLPROCHAL.obj
ANIM.obj             ARBITER.obj          ARCSEC.obj
asin.obj             ASSIGN.obj           atan.obj
atan_table.obj       atof.obj             atox.obj
ATTRIB.obj           attributes.obj       austub.obj
BACKOFF.obj          bessel.obj           BIOSA.obj
BOOTSTATUS.obj       BOOTVID.obj          bsearch.obj
BUGCHCKI.obj         ceil.obj             ceil_pentium4.obj
CHECKSUM.obj         chkstk.obj           CMAPI3.obj
CMDAT3.obj           cmiscdat.obj         CMSYSINI2.obj
common.obj           COMPRESS.obj         cos.obj
CRASHDMP.obj         crt0fp.obj           ctype.obj
CYRIX.obj            dbaccess.obj         DBGCTRL.obj
DBGCTRLEX.obj        DEBUG.obj            DEBUGSUP.obj
DEVICES.obj          DEVINTRF.obj         DEVNODE.obj
div.obj              DOCKHWP.obj          DUMPCTL.obj
DYNMEM.obj           eh3valid.obj         empty.obj
EX.obj               EXHOTP.obj           EXINFO.obj
EXSCAN.obj           exsup.obj            exsup2.obj
exsup3.obj           fabs.obj             fcvt.obj
fgetwc.obj           fgetwchr.obj         FILE.obj
filter.obj           findtag.obj          floor.obj
floor_pentium4.obj   fpctrl.obj           fpexcept.obj
fputwc.obj           fputwchr.obj         frexp.obj
frnd.obj             fsqrt.obj            ftol.obj
ftol2.obj            gcvt.obj             GEN8DOT3.obj
genexcep.obj         GENINST.obj          gs_support.obj
guid.obj             HALFNC.obj           hash.obj
HDLSTERM.obj         HEAP.obj             HIBER.obj
huge.obj             HWPROFIL.obj         hypot.obj
IDLE.obj             ieee87.obj           ieeemisc.obj
index.obj            INIT.obj             INIT386.obj
INITDAT.obj          input.obj            IOFILEUTIL.obj
IOPERF.obj           IOVERIFIER.obj       IOVUTIL.obj
isctype.obj          iswctype.obj         KDAPI.obj
KDBREAK.obj          KDCMSUP.obj          KDCPUAPI.obj
KDDATA.obj           KDDBGIO.obj          KDINIT.obj
KDLOCK.obj           KDMOVE.obj           KDQUERY.obj
KDTRAP.obj           labs.obj             lcnvinit.obj
lconv.obj            ldexp.obj            ldiv.obj
lfind.obj            libm_error.obj       lldiv.obj
lldvrm.obj           llmul.obj            llrem.obj
llshl.obj            llshr.obj            loadcfg.obj
log.obj              log10.obj            longjmp.obj
lsearch.obj          LZNT1.obj            LZNTX86.obj
makepath.obj         MAPPER.obj           matherr.obj
mblen.obj            mbstowcs.obj         mbtowc.obj
memccpy.obj          memchr.obj           memcmp.obj
memcpy.obj           memicmp.obj          memmove.obj
memset.obj           MIRROR.obj           MISC.obj
MMCOMPRESS.obj       MMPATCH.obj          MMSAN.obj
MMTRIAGE.obj         modf.obj             NETBOOT.obj
nlsdata1.obj         nlsdata2.obj         nlsdata3.obj
NOLOWMEM.obj         NOTIFY.obj           NTAPI.obj
ntbase.obj           ntkmode.obj          ntver.obj
OBPERF.obj           OBVUTIL.obj          output.obj
PACTION.obj          PARSEINI.obj         PBATT.obj
PBIOSA.obj           PBIOSC.obj           PFSUP.obj
PIDLE.obj            PINFO.obj            PNPBUSNO.obj
PNPCVRT.obj          PNPDATA.obj          PNPDD.obj
PNPDEL.obj           PNPDMA.obj           PNPEISA.obj
PNPENUM.obj          PNPEVENT.obj         PNPINIT.obj
PNPIOAPI.obj         PNPIRP.obj           PNPIRQ.obj
PNPMAP.obj           PNPMEMIO.obj         PNPPOWER.obj
PNPRES.obj           PNPRLIST.obj         PNPSTART.obj
PNPSUBS.obj          POCALL.obj           PODATA.obj
POINIT.obj           PONOTIFY.obj         PORT.obj
POSHTDWN.obj         POSTATE.obj          pow.obj
powhlp.obj           PPCDDB.obj           PPCONTROL.obj
PPDRVDB.obj          PPHANDLE.obj         PPHOTSWAP.obj
PPLASTGOOD.obj       PPPAGEPATH.obj       PPPROFILE.obj
PPVUTIL.obj          PREFBOOT.obj         PREFETCH.obj
PREFPARM.obj         PRINT.obj            PRODTYPE.obj
PWORK.obj            qsort.obj            QUERY.obj
rand.obj             RANDOM.obj           RANGE.obj
RDWR.obj             read.obj             REMLOCK.obj
REPORT.obj           rotl.obj             rotr.obj
RTLPATCH.obj         RULES.obj            RXACT.obj
sdbapi.obj           sdbp.obj             secchk.obj
seccook.obj          sehprolg.obj         sehsupp.obj
SESSNIRP.obj         setjmp.obj           setjmp3.obj
setjmpex.obj         setlocal.obj         SETLOG.obj
SIDLE.obj            sin.obj              snprintf.obj
snscanf.obj          snwprint.obj         snwscanf.obj
SPECPOOL.obj         splitpat.obj         sprintf.obj
sqrt.obj             sscanf.obj           strcat.obj
strchr.obj           strcmp.obj           strcoll.obj
strcspn.obj          strdup.obj           stricmp.obj
stricoll.obj         strlen.obj           strlwr.obj
strncat.obj          strncmp.obj          strncnt.obj
strncoll.obj         strncpy.obj          strnicmp.obj
strnicol.obj         strnset.obj          strpbrk.obj
strrchr.obj          strrev.obj           strset.obj
strspn.obj           strstr.obj           STRTEXEC.obj
strtod.obj           strtok.obj           strtol.obj
strtoq.obj           strupr.obj           strxfrm.obj
stubs.obj            SUSPEND.obj          swab.obj
SWITCH.obj           swprintf.obj         swscanf.obj
SYS.obj              SYSDEV.obj           SYSENV.obj
SYSTIME.obj          tan.obj              THERMAL.obj
THROTTLE.obj         tolower.obj          toupper.obj
towlower.obj         towupper.obj         TRACKIRP.obj
TRANSLATE.obj        TRIAGE.obj           ulldiv.obj
ulldvrm.obj          ullrem.obj           ullshr.obj
ungetc.obj           util.obj             VDM.obj
VDMENTRY.obj         VDMFAULT.obj         VDMINIT.obj
VDMINT21.obj         VDMINTS.obj          VDMKE.obj
VDMNPX.obj           VDMOP0F.obj          VDMOPRND.obj
VDMPRINT.obj         VDMTIB.obj           VDMTRACE.obj
VDMUSERREFS.obj      VERIFIER.obj         VERSION.obj
VFBUGCHECK.obj       VFDDI.obj            VFDEADLOCK.obj
VFDEBUG.obj          VFDEVOBJ.obj         VFFILEIO.obj
VFFILTER.obj         VFGENERIC.obj        VFHAL.obj
VFINIT.obj           VFIRP.obj            VFIRPDB.obj
VFIRPLOG.obj         VFMAJOR.obj          VFMESSAGE.obj
VFPACKET.obj         VFPNP.obj            VFPOWER.obj
VFPRINT.obj          VFRANDOM.obj         VFSETTINGS.obj
VFSTACK.obj          VFTRIAGE.obj         VFUTIL.obj
VFWMI.obj            VFZWAPI.obj          VOLUME.obj
vsnprint.obj         vsnwprnt.obj         vsprintf.obj
vswprint.obj         wchtodig.obj         wcscat.obj
wcschr.obj           wcscmp.obj           wcscoll.obj
wcscspn.obj          wcsdup.obj           wcsicmp.obj
wcsicoll.obj         wcslen.obj           wcslwr.obj
wcsncat.obj          wcsncmp.obj          wcsncnt.obj
wcsncoll.obj         wcsncpy.obj          wcsnicmp.obj
wcsnicol.obj         wcsnset.obj          wcspbrk.obj
wcsrchr.obj          wcsrev.obj           wcsset.obj
wcsspn.obj           wcsstr.obj           wcstod.obj
wcstok.obj           wcstol.obj           wcstombs.obj
wcstoq.obj           wcsupr.obj           wcsxfrm.obj
wctomb.obj           winput.obj           woutput.obj
wtof.obj             wtox.obj             XENCODE.obj
XSUM.obj             xtoa.obj             xtow.obj
_ctype.obj           _ctypev.obj          _filbuf.obj
_filwbuf.obj         _flsbuf.obj          _flswbuf.obj
_fptostr.obj         _getbuf.obj          _mbslen.obj
_memicmp.obj         _stricmp.obj         _strnicm.obj
_wctype.obj
             431 个文件      3,751,408 字节
               2 个目录  3,818,647,552 可用字节
2007-3-6 21:33
0
雪    币: 267
活跃值: (16)
能力值: ( LV4,RANK:50 )
在线值:
发帖
回帖
粉丝
8
最初由 Rinrin 发布
sdbp.obj
这个东西为啥这么大???
C:\Documents and Settings\Rinrin\Desktop\lib>dir /w
驱动器 C 中的卷是 System
卷的序列号是 B8EC-819C
........

似乎就是支持那个sdb补丁库的东东
2007-3-6 21:46
0
雪    币: 204
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
9
有这个就可以把原来得到的NT4/WIN2000的代码逐步补充进来,功能很强大了。
2007-3-6 22:18
0
雪    币: 202
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
10
最初由 liulaotou 发布
有这个就可以把原来得到的NT4/WIN2000的代码逐步补充进来,功能很强大了。
2007-3-7 10:57
0
雪    币: 200
活跃值: (26)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
11
有谁down下来了,传上来看看撒
2007-3-12 20:12
0
游客
登录 | 注册 方可回帖
返回