﻿{"id":242,"date":"2009-09-03T23:01:21","date_gmt":"2009-09-03T23:01:21","guid":{"rendered":""},"modified":"2011-11-18T17:08:19","modified_gmt":"2011-11-18T09:08:19","slug":"242","status":"publish","type":"post","link":"http:\/\/zerobox.org\/notes\/242.html","title":{"rendered":"WIN7 RC \u7cfb\u7edf\u670d\u52a1\u51fd\u6570\u53d8\u66f4"},"content":{"rendered":"<p><span style=\"font-size: x-small;\">\u6587\u7ae0\u4f5c\u8005\uff1aMJ0011<br \/>\n\u4ee5\u4e0b\u6db5\u76d6\u4e86\u4eca\u5929\u5927\u7ea6\u7528\u4e862\u4e2a\u5c0f\u65f6\u5206\u6790\u7684 Windows 7 RC\u5185\u6838NT*\u51fd\u6570\u7684\u53d8\u52a8\uff0c\u5168\u90e8\u6765\u81ea\u5bf9WIN7 RC\u7684\u5185\u6838\u7684\u53cd\u6c47\u7f16\uff0c\u6ca1\u6709\u592a\u6df1\u5165\u5206\u6790\uff0c\u5305\u542b\u4e86\u4e00\u4e9b\u6211\u89c9\u5f97\u6709\u4e00\u4e9b\u610f\u601d\u6216\u8005\u5f71\u54cd\u7684\u53d8\u52a8\u3001\u589e\u52a0\u7684\u529f\u80fd\u548c\u51fd\u6570\u7b49<\/span><\/p>\n<p>\u8fd9\u91cc\u7684\u53d8\u52a8\u548c\u65b0\u589e\uff0c\u6307\u7684\u662f\u76f8\u5bf9\u4e8eWRK,\u5373WIN2003 \u5185\u6838\u7684\u53d8\u52a8\uff0c\u56e0\u6b64\u6709\u4e9b\u5f88\u591a\u53d8\u52a8\u5728VISTA\u4e2d\u5c31\u5df2\u7ecf\u6709\u4e86<\/p>\n<p>(1).NtCreateFile \/ NtOpenFile:<br \/>\n\u4ee5\u4e0b\u51fd\u6570\u5c06\u6539\u8d70IopCreateFile,\u800c\u4e0d\u662f\u8c61\u6b64\u524d\u7684\u64cd\u4f5c\u7cfb\u7edf\u662f\u4eceIoCreateFile-&gt;IopCreateFile<br \/>\n\u56e0\u6b64\u5e0c\u671b\u50cf\u4ece\u524d\u4e00\u6837hook IoCreateFile\u5c31\u638c\u63a7\u5bf9\u6587\u4ef6\u6253\u5f00\u3001\u521b\u5efa\u662f\u4e0d\u518d\u53ef\u884c\u4e86<br \/>\n\u540c\u65f6IopCreateFile\u4ea6\u6709CALLBACK\u673a\u5236\u4e86~\u5f88\u7325\u7410<\/p>\n<p>\u4f46\u7ba1\u9053\u548c\u90ae\u69fd\u7684\u521b\u5efa\u4ecd\u662f\u8d70IoCreateFile<\/p>\n<p>(2).Nt*Key<\/p>\n<p>Nt*Key(\u9664\u4e86Create\/Open\u7b49\uff09\u5bf9\u4e8eKeyHandle\u7684\u5f15\u7528\u6539\u4e3a\u4e86CmObReferenceObjectByHandle\uff0c\u5e76\u5bf9KeyObject\u505a\u4e00\u4e9b\u6821\u9a8c<\/p>\n<p>\u8fd9\u6837\u53ef\u80fd\u5bfc\u81f4\u4e00\u4e9b\u7206\u641c\u65b9\u5f0f\u7684XX\u5b9e\u6548\u4e86~<\/p>\n<p>(3).NtFreezeRegistry\/NtThawRegistry<br \/>\n\u51bb\u7ed3\u548c\u89e3\u51bb\u6ce8\u518c\u8868\u64cd\u4f5c\uff0c\u8fd9\u4e2a\u5728VISTA\u5c31\u6709\u4e86\u53ef\u4ee5\u505a\u4e00\u4e9b\u7325\u7410\u7684XX<\/p>\n<p>(4).NtMakePermanentObject<br \/>\n\u521b\u5efa\u6c38\u4e45\u5bf9\u8c61\u7684\u597d\u4e1c\u4e1c\uff0c \u4e5f\u662fVISTA\u652f\u6301<\/p>\n<p>(5).NtNotifyChangeSession<br \/>\n\u5f88\u6709\u7528\u7684\u4e1c\u4e1c<\/p>\n<p>(6).NtQueryInformationProcess\/NtSetInformationProcess:<\/p>\n<p>\u65b0\u589eInformationClass:<\/p>\n<p>ProcessTotalCycleTime : 38<br \/>\nProcessDefaultPagePriority 39<br \/>\n40\u53f7ID\u672a\u4f7f\u7528<br \/>\n41\u53f7ID\u770b\u4e86\u534a\u5929\u4e0d\u77e5\u9053\u662f\u5e72\u5565\u7684&#8230;<br \/>\nProcessWorkingSetWatch 42<br \/>\nProcessImageFileDosDeviceName :43<br \/>\n\u53d6\u8fdb\u7a0b\u5168\u8def\u5f84DOS\u540d,\u8fd9\u4e2a\u4e1c\u4e1c\u5f88\u539a\u9053~<br \/>\nProcessIsSameFileProcess 44<br \/>\n\u68c0\u67e5\u6307\u5b9a\u7684FileHandle\u662f\u5426\u548c\u6307\u5b9a\u8fdb\u7a0b\u662f\u540c\u4e00\u4e2a\u6587\u4ef6\uff0c\u8fd9\u4e2a\u4e1c\u897f\u4e5f\u4e0d\u9519<br \/>\nProcesssAffinityUpdateModeEnable 45<br \/>\nProcessVmTopDown 46<br \/>\nProcessActiveGroupsMask 47<br \/>\nProcessVirtualizationToken 48(\u53ea\u80fdSET)<\/p>\n<p>\/\/\u865a\u62df\u5316\u7684TOKEN~<\/p>\n<p>ProcessConsoleHostProcess 49<br \/>\nProcessCopyProcessHeap 50<br \/>\n\u5f88\u5f3a\u5927~<br \/>\n(7).NtQueryInformationThread<\/p>\n<p>\u65b0\u589eInformationClass:<\/p>\n<p>ThreadLastCall 21<\/p>\n<p>ThreadThreadIoPriority 22<br \/>\n\/\/\u4f20\u8bf4\u4e2d\u7684IO\u4f18\u5148\u7ea7~<\/p>\n<p>ThreadTotalCycleTime 23<\/p>\n<p>ThreadPagePriority 24<\/p>\n<p>ThreadFullTeb 26<br \/>\n\/\/\u83b7\u5f97\u6574\u4e2aTEB<\/p>\n<p>ThreadAffinty 30<\/p>\n<p>ThreadProfing 32<\/p>\n<p>ThreadIdealProcessor 33<\/p>\n<p>(8).NtQueryInformationToken:<\/p>\n<p>\u65b0\u589eInformationClass<\/p>\n<p>TokenLogonSessionFlags 18<br \/>\nTokenGetLogonSessionToken 19<br \/>\nTokenXxxTokenSid 20(\u4e0d\u77e5\u9053\u662f\u5565\uff09<br \/>\nTokenXxxTokenFlags 21 (tokenflags &amp; 0x810,\u4e0d\u77e5\u9053\u662f\u5565\uff09<br \/>\nTokenAccess 22<br \/>\nTokenTokenFlagsPos9 23<br \/>\nTokenTokenFlagsPos10 24<br \/>\nTokenGetTokenIntergrity 25<\/p>\n<p>\/\/ADMIN\u5b8c\u6574\u6027\u3002\u3002<\/p>\n<p>TokenTokenFlagsPos12 26<\/p>\n<p>TokenMandatoryPolicy 27<\/p>\n<p>(9).NtQuerySystemInformation\/NtQuerySystemInformationEx\/NtSetSystemInformation<\/p>\n<p>SystemBasePriorityInformation 82 (need increasebasepriority privilege)<br \/>\nSystemRefTraceInformation 86<br \/>\nSystemSpecialPoolInformation 87<br \/>\nSystemProcessesWithFullImageNameInformation 88<\/p>\n<p>\u8fd9\u4e2a\u592a\u5f3a\u5927\u4e86\u3002\u3002\u3002<\/p>\n<p>SystemRegisterErrorPort(only set , need tcb privilege)<\/p>\n<p>SystemBootEnvironmentInformation 90<\/p>\n<p>\u83b7\u53d6BootIdentifier GUID(_LOADER_PARAMETER_BLOCK-&gt;LOADER_PARAMETER_EXTENSION-&gt;BootIdentifier(GUID))<br \/>\n\u4ece\u6b64\u8f7b\u677e\u5b9a\u4f4dBCD~<\/p>\n<p>SystemEnlightenmentInformation 91<br \/>\nSystemVerifierInformtionEx 92<br \/>\nSystemCovInformation 95<br \/>\nSystemPartitionDeviceNameInformation 98<br \/>\nSystemDiskDeviceNameInformation 99<br \/>\nSystemPerformanceDistributionInforamtion 100<br \/>\nSystemNumaProximityNodeInformation 101<br \/>\nSystemTimeZoneInformation 102<br \/>\nSystemCodeIntegrityInformation 103<br \/>\nSystemProcessorMircoCodeUpdateInformation 104(only set)<br \/>\nSystemtProcessorBrandStringInformation 105<br \/>\nSystemSystemVaInformation 106<br \/>\nSystemLogicalProcessorRelationshipInformation 107<br \/>\nSystemStoreInformation 109<br \/>\nSystemRegistryAppendStringInformation 110 (only set)<br \/>\nSystemAitSamplingInformation 111(only set)<br \/>\nSystemVhdBootInformation 112<br \/>\nSystemCpuQuotaInformation 113<br \/>\nSystemLowPriorityIoInformation 116<br \/>\nSystemTpmBootEntropyInformation 117(only in kernel mode)<br \/>\nSystemVerifierInformation 118<br \/>\nSystemAdjustPagedPoolWorkingSetSizeInformation 119(only set)<br \/>\nSystemAdjustSystemPtesWorkingSetSizeInformation 120(only set)<br \/>\nSystemNumaNodesInformation 121<br \/>\nSystempAuditQueryResultsInformation 122<br \/>\nSystemCommitInformation 123(total commit pages \/ Total Commit limt \/ Peak Commitment)<\/p>\n<p>(10).NtQueueApcThreadEx<br \/>\n\u5f3a\u5927~<\/p>\n<p>\u76ee\u524dNtQueueApcThread\u76f4\u63a5\u8c03\u7528NtQueueApcThreadEx\u5b9e\u73b0<\/p>\n<p>\u7a7f\u8d8aHIPS~<\/p>\n<p>(11).NtSystemDebugControl<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u4f5c\u8005\uff1aMJ0011 \u4ee5\u4e0b\u6db5\u76d6\u4e86\u4eca\u5929\u5927\u7ea6\u7528\u4e862\u4e2a\u5c0f\u65f6\u5206\u6790\u7684 Windows 7 &hellip;<\/p>\n<p class=\"read-more\"><a href=\"http:\/\/zerobox.org\/notes\/242.html\">\u7ee7\u7eed\u9605\u8bfb &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[18],"class_list":["post-242","post","type-post","status-publish","format-standard","hentry","tag-windows"],"views":839,"_links":{"self":[{"href":"http:\/\/zerobox.org\/notes\/wp-json\/wp\/v2\/posts\/242","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/zerobox.org\/notes\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/zerobox.org\/notes\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/zerobox.org\/notes\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/zerobox.org\/notes\/wp-json\/wp\/v2\/comments?post=242"}],"version-history":[{"count":0,"href":"http:\/\/zerobox.org\/notes\/wp-json\/wp\/v2\/posts\/242\/revisions"}],"wp:attachment":[{"href":"http:\/\/zerobox.org\/notes\/wp-json\/wp\/v2\/media?parent=242"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/zerobox.org\/notes\/wp-json\/wp\/v2\/categories?post=242"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/zerobox.org\/notes\/wp-json\/wp\/v2\/tags?post=242"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}