{"id":623,"date":"2015-10-18T14:37:00","date_gmt":"2015-10-18T06:37:00","guid":{"rendered":"http:\/\/note.systw.net\/note\/?p=623"},"modified":"2023-11-04T14:48:57","modified_gmt":"2023-11-04T06:48:57","slug":"win-boot-process","status":"publish","type":"post","link":"https:\/\/systw.net\/note\/archives\/623","title":{"rendered":"Win Boot Process"},"content":{"rendered":"\n<p><strong>boot type<\/strong><br>cold boot (hard boot): starting a computer from a powered-down or off state<br>warm boot(soft boot): reboot by Ctrl+Alt+Del, skip memory test<\/p>\n\n\n\n<p><br><strong>boot process<\/strong><br>1.check BIOS firmware<br>2.BIOS start a&nbsp;POST(Power-on self-test)<br>3.add-on adapters perform a self-test for integration with the system<br>4.loads the MBR for BCD(boot configuration data)<\/p>\n\n\n\n<p>&#8230;<\/p>\n\n\n\n<p><strong>MBR tiggers\/ boot load manager<\/strong><br><strong>NTLDR<\/strong>: for Windows NT\/2000\/XP<br><strong>bootmgr<\/strong>&nbsp;: for vista and later<br>refer<br>http:\/\/resources.infosecinstitute.com\/windows-booting-process\/<\/p>\n\n\n\n<p><strong>MBR tiggers NTLDR(NT Loader)<\/strong><br>1. NTLDR first action is to read the Boot.ini file<br>2. the&nbsp;<strong>Ntdetect.com<\/strong>&nbsp;file is executed, which identifies information about the computer&#8217;s hardware<br>3. the&nbsp;<strong>Ntoskrnl.exe<\/strong>&nbsp;file is executed, which is the kernel of the Windows system<br>refer<br>https:\/\/en.wikipedia.org\/wiki\/NTLDR<\/p>\n\n\n\n<p><br><strong>MBR tiggers bootmgr<\/strong><br>1.<strong>winload.exe<\/strong>(windows loader) is triggered<br>2.windows loader loads&nbsp;<strong>ntoskrnl.exe<\/strong><br>3.<strong>kernel<\/strong>&nbsp;start running,windows loader loads&nbsp;<strong>hal.dll<\/strong>, and system&nbsp;<strong>registry hive<\/strong>&nbsp;into memory<br>4.kernel call&nbsp;<strong>SMSS.exe<\/strong>(session manager process) load other registry hives<br>5.SMSS.exe triggers&nbsp;<strong>winlogon.exe<\/strong>&nbsp;for presents user logon screen<br>6.SMSS.exe initiates&nbsp;<strong>Service control manager<\/strong><br>7.once user logs in, a session is created<br>8. service control manager start the&nbsp;<strong>explorer.exe<\/strong>&nbsp;and&nbsp;<strong>DWM(desktop windows manager)<\/strong><\/p>\n\n\n\n<p>ps:<br>DOS \u555f\u52d5<br>1.MBR<br>2.IO.SYS &#8211; \u5305\u542b\u6240\u6709\u8207\u786c\u9ad4\u6e9d\u901a\u7684\u547d\u4ee4<br>3.MSDOS.SYS &#8211; MS-DOS Kernel<br>4.command.com &#8211; \u63d0\u4f9bDOS\u547d\u4ee4<br>5.config.sys &#8211; \u5305\u542b\u555f\u52d5\u6240\u9700\u7684\u547d\u4ee4<br>6.autoexec.bat<br>refer<br>http:\/\/wenku.baidu.com\/view\/da7fbcd0360cba1aa811da11.html?re=view<\/p>\n\n\n\n<p>&#8230;<\/p>\n\n\n\n<p><br><strong>essential windows system files<\/strong><br>ntsokrnl.exe&nbsp;: executive and kernel<br>hal.dll&nbsp;: hardware abstraction layer<br>gdi32.dll&nbsp;: win32 subsystem DLL files<br>advapi32.dll : win32 subsystem DLL files<br>kernel32.dll : win32 subsystem DLL files<br>user32.dll: win32 subsystem DLL files<br>bootvid.dll<\/p>\n\n\n\n<p><br><strong>Net Logon<\/strong><br>Filename:&nbsp;lsass.exe<br>Command: C:Wndowssystem32lsass.exe<br>Description:<br>Microsoft service that supports pass-through authentication of account logon events for computers in a domain.<br>\u70ba\u4f7f\u7528\u8005\u548c\u670d\u52d9\u8eab\u4efd\u9a57\u8b49\u7dad\u8b77\u6b64\u96fb\u8166\u548c\u7db2\u57df\u63a7\u5236\u7ad9\u4e4b\u9593\u7684\u79d8\u5bc6\u983b\u9053\u3002\u5982\u679c\u6b64\u670d\u52d9\u88ab\u505c\u7528\uff0c\u96fb\u8166\u53ef\u80fd\u7121\u6cd5\u9a57\u8b49\u4f7f\u7528\u8005\u548c\u670d\u52d9\u8eab\u4efd\u4e26\u4e14\u7db2\u57df\u63a7\u5236\u7ad9\u7121\u6cd5\u8a3b\u518a DNS \u8a18\u9304\u3002\u5982\u679c\u6b64\u670d\u52d9\u88ab\u7981\u7528\uff0c\u4efb\u4f55\u4f9d\u8cf4\u5b83\u7684\u670d\u52d9\u5c07\u7121\u6cd5\u555f\u52d5\u3002\u767b\u9678\u6d3b\u52d5\u76ee\u9304\u6642\uff0c\u548c\u57df\u670d\u52d9\u901a\u8a0a\u9a57\u8b49\u7684\u4e00\u500b\u670d\u52d9\uff0c\u4e00\u822c\u9a57\u8b49\u901a\u904e\u4e4b\u5f8c\uff0c\u57df\u4f3a\u670d\u5668\u6703\u8a3b\u518a\u4f60\u7684 DNS \u8a18\u9304\uff0c\u63a8\u9001\u8edf\u9ad4\u88dc\u4e01\u548c\u7b56\u7565\u7b49\u7b49\uff0c\u767b\u9678\u57df\u6703\u7528\u5230\u5b83\u3002\u5de5\u4f5c\u7d44\u74b0\u5883\u53ef\u4ee5\u8a2d\u70ba\u7981\u7528\u3002<br>refer<br>http:\/\/www.pczone.com.tw\/vbb3\/archive\/t-146898.html<\/p>\n\n\n\n<p><br>ps:<br>BOOT.SYS<br>A powerful DOS configuration manager before win98<br>refer<br>http:\/\/www.salvisberg.com\/boot.sys<\/p>\n","protected":false},"excerpt":{"rendered":"<p>boot typecold boot (hard boot) &#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"fifu_image_url":"","fifu_image_alt":"","_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[18],"tags":[],"class_list":["post-623","post","type-post","status-publish","format-standard","hentry","category-windows"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/systw.net\/note\/wp-json\/wp\/v2\/posts\/623","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/systw.net\/note\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/systw.net\/note\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/systw.net\/note\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/systw.net\/note\/wp-json\/wp\/v2\/comments?post=623"}],"version-history":[{"count":0,"href":"https:\/\/systw.net\/note\/wp-json\/wp\/v2\/posts\/623\/revisions"}],"wp:attachment":[{"href":"https:\/\/systw.net\/note\/wp-json\/wp\/v2\/media?parent=623"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/systw.net\/note\/wp-json\/wp\/v2\/categories?post=623"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/systw.net\/note\/wp-json\/wp\/v2\/tags?post=623"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}