[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-693215-105":59,"doc-detail-693215-en":130,"doc-similar-693215":153},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","host-discovery-with-nmap","Host Discovery with nmap","","Host Discovery with nmap addresses a recurring challenge in external penetration testing: reliably identifying which hosts are alive and reachable within large IP address allocations under strict time limits. It explains the host discovery phase of an nmap workflow, distinguishes it from port scanning and OS fingerprinting, and outlines how default discovery behavior can be insufficient, especially behind firewalls. Using DMZ scenarios, it demonstrates improved methods and nmap options to increase both accuracy and efficiency before vulnerability assessment.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":30,"@type":76,"position":81},"https://docshare.wps.com/document/technology/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/host-discovery-with-nmap/693215/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/host-discovery-with-nmap/693215.png","ImageObject",300,407,{"name":92,"@type":93},"Hazel","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-24","2026-11-09",true,{"@type":102,"interactionType":103,"userInteractionCount":19},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What is host discovery in the context of a penetration test?","Question",{"text":112,"@type":113},"Host discovery is the phase where accessible, reachable hosts on a network are identified. It focuses on determining which targets are alive before moving to later assessment steps.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"Why can nmap’s default host discovery be insufficient?",{"text":117,"@type":113},"Default discovery behavior may fail to accurately enumerate hosts, particularly when network filtering and firewall rules limit observability. The document emphasizes that discovery options often need tuning for reliable results.",{"name":119,"@type":110,"acceptedAnswer":120},"How does the document structure nmap’s workflow around discovery?",{"text":121,"@type":113},"It explains that a command like nmap -sS -O \u003Ctarget> contains three phases: host discovery, port scanning, and OS fingerprinting. Since the document focuses on discovery, it examines the first phase in depth and notes how it can be disabled with options like -P0.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},693215,1794252017,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":19,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":129,"read_time":36,"preview_page_count":14,"preview_urls":144},137441390410,"https://ap-avatar.wpscdn.com/avatar/2000252f4ab5702993?_k=1776741390130283984","Host Discovery with nmap  \nBy: Mark Wolfgang [moonpie@moonpie.org](moonpie@moonpie.org)  \nNovember 2002  \nTable of Contents  \nHost Discovery with nmap .............................................................................. 1  \n1. Introduction ......................................................................................... 3  \n1.1 What is Host Discovery? ..................................................................... 4  \n2. Exploring nmap’s Default Behavior ........................................................ 6  \n2.1 Scenario 1 – Firewall With No Filtering ............................................ 7  \n2.2 Scenario 2 – Firewall With a Generic Ruleset ................................... 8  \n2.3 Scenario 3 – Firewall With Specific Rules ......................................... 9  \n2.4 Scenario 4 – Stateful Firewall with Specific Rules ........................... 10  \n3. Understanding nmap’s Discovery Options ............................................ 11  \n3.1 Customizing TCP Pings ................................................................. 11  \n3.2 Customizing ICMP Messages ........................................................ 13  \n3.3 Bringing It All Together................................................................ 14  \n4. Conclusion ...................................................................................... 16  \n1. Introduction  \nAs a Computer Security Engineer that regularly conducts external penetration tests, a recurring challenge seems to arise when assessing organizations with a large allocation of IP address space. What does one do when faced with multiple class B’s, a few class C’s, and a limited amount of time? Do you stick all of the address space in your favorite scanner and hit the Go button, wait till it’s done and hope the results are accurate? How can you be sure that your scanner found all the hosts that are accessible? Do you even know the method your scanner uses to discover which hosts are alive?  \nThis document attempts to answer the above questions, and will illustrate (at avery technical level) the methodology that I use to accurately discover which hosts are accessible prior to conducting port scanning or a vulnerability assessment.  \nNote: Some may say that unless one performs a scan on all 65535 TCP and UDP ports on every possible IP address in the range, that the penetration tester isn’t being thorough enough. While I do agree that in order to be completely thorough, one must perform a scan as stated, but I have rarely, if ever had the luxury of performing such a scan, as it usually takes a considerable amount of time. An underlying theme about Information Security is about striking a balance and weighing the pros and cons. If being absolutely thorough and time is of no consideration, you’ll more than likely want to run a full, blind scan on all IP addresses. If however, a balance can be struck between being thorough and completing the project on time, read on – you may learn some techniques to improve both the accuracy and efficiency of your scans.  \n1.1 What is Host Discovery?  \nHost discovery is a term I’ll use to describe a certain phase of a penetration test, where one attempts to determine the accessible hosts on a network. Many times if a firewall ruleset is written explicitly, it is difficult to accurately determine the number of hosts that are behind a firewall. A colleague of mine recently ran a high-priced commercial scanner against a class C and found only one host.  \nUsing the techniques outlined in this paper, I was able to determine that there was not just one, but seventeen hosts in this particular DMZ. This commercial scanner has very few options for host discovery, and is not very configurable when it comes to fine tuning the discovery method.  \nSince this paper is about nmap and host discovery, we’ll talk specifically about how nmap does its discovery, and we’ll learn how to use nmap’s options to improve the discovery phase of ","cbCainB8DDlZIR3C","https://ap.wps.com/l/cbCainB8DDlZIR3C","pdf",112865,16,"English","# Introduction\n## What is Host Discovery?\n# Exploring nmap’s Default Behavior\n# Understanding nmap’s Discovery Options\n## Customizing TCP Pings\n## Customizing ICMP Messages\n## Bringing It All Together\n# Conclusion","[{\"question\":\"What is host discovery in the context of a penetration test?\",\"answer\":\"Host discovery is the phase where accessible, reachable hosts on a network are identified. It focuses on determining which targets are alive before moving to later assessment steps.\"},{\"question\":\"Why can nmap’s default host discovery be insufficient?\",\"answer\":\"Default discovery behavior may fail to accurately enumerate hosts, particularly when network filtering and firewall rules limit observability. The document emphasizes that discovery options often need tuning for reliable results.\"},{\"question\":\"How does the document structure nmap’s workflow around discovery?\",\"answer\":\"It explains that a command like nmap -sS -O \\u003ctarget\\u003e contains three phases: host discovery, port scanning, and OS fingerprinting. Since the document focuses on discovery, it examines the first phase in depth and notes how it can be disabled with options like -P0.\"}]","Host Discovery with nmap | PDF",[145,149],{"page_no":8,"url":146,"width":147,"height":148},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/a1d0d07d8acd70a88043a28cd6b95320.webp",983,1272,{"page_no":14,"url":150,"width":151,"height":152},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/bf2225539af454687c2c9af916107ce8.webp",982,1270,{"list":154,"token":66},[155,161,167,173,180,186,192,198,204,210],{"doc_id":156,"doc_title":157,"file_type":137,"home_preview_img_url":158,"slug":159,"view_count":19,"category_name":30,"create_tm":160},693214,"Nmap Network Scanning - Official Nmap Project Guide to Network Discovery and Security Scanning","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230005098910/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111639&Signature=EZXJROKw6ZZfXeHSV9DlTF14z48%3D","nmap-network-scanning-official-nmap-project-guide-to-network-discovery-and-security-scanning",1794252015,{"doc_id":162,"doc_title":163,"file_type":137,"home_preview_img_url":164,"slug":165,"view_count":81,"category_name":30,"create_tm":166},693216,"Insecure.Org - Nmap: Scanning the Internet - Scan Goals","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230005098918/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111639&Signature=gF%2FaRber%2F%2F5c0jTB7Kelnluep9g%3D","insecureorg-nmap-scanning-the-internet-scan-goals",1794252021,{"doc_id":168,"doc_title":169,"file_type":137,"home_preview_img_url":170,"slug":171,"view_count":81,"category_name":30,"create_tm":172},673125,"Networking Fundamentals - Develop networking skills required to pass Microsoft MTA exam 98-366","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229989995397/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111639&Signature=cfGgqG45Xi%2FT6YhV67Zd9QtSUDg%3D","networking-fundamentals-develop-networking-skills-required-to-pass-microsoft-mta-exam-98-366",1793621097,{"doc_id":174,"doc_title":175,"file_type":137,"home_preview_img_url":176,"slug":177,"view_count":178,"category_name":30,"create_tm":179},513785,"Digital VTH - User’s Manual - V1.2.0 - Cybersecurity Recommendations","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229936676299/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111639&Signature=z5A4BYcnueQLGE8M23ma7zyQZIk%3D","digital-vth-users-manual-v120-cybersecurity-recommendations",11,1791291015,{"doc_id":181,"doc_title":182,"file_type":137,"home_preview_img_url":183,"slug":184,"view_count":24,"category_name":30,"create_tm":185},685886,"HMI TCP Port List - FAQ","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000257368/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111639&Signature=fKOJcFxtS5QGlFlY%2B9eU0QJQqBc%3D","hmi-tcp-port-list-faq",1794021114,{"doc_id":187,"doc_title":188,"file_type":137,"home_preview_img_url":189,"slug":190,"view_count":39,"category_name":30,"create_tm":191},496930,"OWASP Testing Guide - v 2 - OWASP Testing or OWASP Foundation license attribution requirements","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229929978107/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111639&Signature=Xm5S0rEB%2B0Wk32diOQz6iS8PyBM%3D","owasp-testing-guide-v-2-owasp-testing-or-owasp-foundation-license-attribution-requirements",1790944176,{"doc_id":193,"doc_title":194,"file_type":137,"home_preview_img_url":195,"slug":196,"view_count":39,"category_name":30,"create_tm":197},699856,"FortiGate 50G 5G Series - Quick Start Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230011988140/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111639&Signature=B2jWhjdNoRGvlAXtvSSFrJCXyf8%3D","fortigate-50g-5g-series-quick-start-guide",1794510715,{"doc_id":199,"doc_title":200,"file_type":137,"home_preview_img_url":201,"slug":202,"view_count":44,"category_name":30,"create_tm":203},721064,"FortiNAC - F 7.6.8 Administration Guide - Version F 7.6.8","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024085781/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111639&Signature=z0SiQDkmi%2FeB47Ni3KXzdzzWhWA%3D","fortinac-f-768-administration-guide-version-f-768",1795041545,{"doc_id":205,"doc_title":206,"file_type":137,"home_preview_img_url":207,"slug":208,"view_count":52,"category_name":30,"create_tm":209},653162,"Cobalt Strike Basics","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229973529142/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111639&Signature=qUhLjsTL9uYHfGO5aY59BRO4Giw%3D","cobalt-strike-basics",1792886048,{"doc_id":211,"doc_title":212,"file_type":137,"home_preview_img_url":213,"slug":214,"view_count":215,"category_name":30,"create_tm":216},115355,"Claude AI Bible - The Complete Guide to Mastering Claude, Claude Code, Claude Cowork, MCP, AI Agents, Automation & Advanced Prompting","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229831893665/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111639&Signature=l2XkT5rC5vlCLHpaEYh8hTvTbcQ%3D","claude-ai-bible-the-complete-guide-to-mastering-claude-claude-code-claude-cowork-mcp-ai-agents-automation-advanced-prompting",913,1785472614]