Chuyển đến nội dung chính

Hướng Dẫn Quét Mạng Nmap: Lesson 1 Installing Nmap

{ Installing Nmap }

Section 0: Background Information
  1. NMAP
    • Nmap (Network Mapper) is a security scanner used to discover hosts and services on a computer network, thus creating a "map" of the network. To accomplish its goal, Nmap sends specially crafted packets to the target host and then analyzes the responses. Unlike many simple port scanners that just send packets at some predefined constant rate, Nmap accounts for the network conditions (latency fluctuations, network congestion, the target interference with the scan) during the run
  2. Lab Notes
    • In this lab we will do the following:
      1. We will install NMAP
      2. We will install WinPcap
  3. Legal Disclaimer
       
    •  Đào Tạo An Toàn Thông Tin Www.AnToanThongTin.Edu.Vn

Section 1: Power On PENTEST-WXP
  1. Edit Virtual Machine Settings
    • Instructions:
      1. Click on PENTEST-WXP
        • PENTEST-WXP is a Windows XP SP3 Virtual Machine.
      2. Click on Edit virtual machine
  2. Configure Network Adapter
    • Instructions:
      1. Select Network Adapter
      2. Click the radio button "Bridged: Connected directly to the physical network."
      3. Click the Okay button
  3. Start PENTEST-WXP
    • Instructions:
      1. Click on PENTEST-WXP
      2. Click on Play virtual machine
  4. Send Ctrl+Alt+Del
    • Instructions:
      1. Virtual Machine --> Send Ctrl+Alt+Del
  5. Logging into PENTEST-WXP.
    • Instructions:
      1. Username: administrator
      2. Password: Provide the Password
  6. Open a Command Prompt
    • Instructions:
      1. Start --> All Programs --> Accessories --> Command Prompt
  7. Obtain PENTEST-WXP's IP Address
    • Instructions:
      1. ipconfig
    • Note(FYI):
      • In my case, PENTEST-WXP's IP Address is 192.168.1.111.
      • Your IP Address will be different. 

Section 2: Download NMAP
  1. Start Firefox
    • Instructions:
      1. Start --> All Programs --> Mozilla Firefox --> Mozilla Firefox
  2. Navigate to the NMAP Website
    • Instructions:
      1. Place "http://nmap.org/download.html" in the URL Address Box.
      2. Click on the Latest release self-installer: nmap-6.25-setup.exe.
        •  There might be a more recent version.
      3. Click on the Save File Button
  3. Open the NMAP executable
    • Instructions:
      1. Right on the nmap-x.xx-setup.exe
      2. Click on Open
  4. Open Executable File?
    • Instructions:
      1. Click on the OK Button
  5. Open File - Security Warning
    • Instructions:
      1. Click the Run Button
  6. License Agreement
    • Instructions:
      1. Click on the I Agree Button
  7. Choose Components
    • Instructions:
      1. Make sure all components are selected
      2. Click the Next Button
  8. Choose Install Location
    • Instructions:
      1. Click the Install Button
  9. WinPcap License Agreement
    • Instructions:
      1. Click the I Agree Button
  10. WinPcap Installation Complete
    • Instructions:
      1. Click the Next Button
  11. WinPcap Options
    • Instructions:
      1. Select the Checkboxes
      2. Select the Next Button
  12. WinPcap Finished
    • Instructions:
      1. Select the Finish Button
  13. Nmap Setup
    • Instructions:
      1. Click Next
  14. Nmap Create Shortcuts
    • Instructions:
      1. Select all checkboxes
      2. Click the Next Button
  15. Nmap Setup Finished
    • Instructions:
      1. Click the Finish Button

Section 3: Proof Of Lab
  1. Open a Command Prompt
    • Instructions:
      1. Start --> All Programs --> Accessories --> Command Prompt
  2. Proof of Lab
    • Instructions:
      1. nmap -V
      2. date
        • Press enter twice.
      3. echo "Your Name"
        • This should be your actual name.
        • e.g., echo "John Gray"
    • Proof of Lab Instructions:
      1. Do a PrtScn
      2. Paste into a word document
      3. Upload to website Www.AnToanThongTin.Edu.Vn

Bài đăng phổ biến từ blog này

Hack the Gibson VM (CTF Challenge)

It’s a boot2root challenge and it does not get over with getting root access. You have to find flag also. So let’s start. First of all download lab from https://download.vulnhub.com/gibson/gibson.ova Now open kali terminal and like always start with first step i.e. netdiscover netdiscover it shows all the hosts those are up in our network and from here we get our target ip. Target IP: 192.168.1.6 As our target is all set we are going to scan it with nmap which will show all the open ports. In this case open ports are only two i.e. 22 and 80. nmap –p- -A 192.168.1.6 As from the above result we have got 80 port open so we will open target ip in browser. It shows an accessible directory. Let’s try opening it as we cannot see anything important here. Oh no such luck with this also. It’s written the result will be found by brute force but there is no place where we can apply brute force. As we do not have any other option so let’s just go to view page source to see if we could get a...

Penetration Testing in PwnLab (CTF Challenge)

In this article we will walkthrough a root2boot penetration testing challenge i.e PwnLab. PwbLab is a vulnerbale framework, based on the concept of CTF (capture the flag), with a bit of security which is a little complicated to bypass. But it’s not impossible. So, let us learn how we can get its access. Download From Here Now to start let us, firstly, consider that we do not know the IP of the PwnLab, therefore search for the IP address before hand and for that there is a command that shows us all the IP’s present in our network, so go to the terminal of you Kali and type : netdiscover Target IP = 192.168.0.105 And to know that we start our penetration testing. So, first, we will now scan with nmap , we will apply an aggressive scan as it gives detailed information and is fast. The command is : nmap -A 192.168.0.105 We have the result of scanning and as you can see there are only three ports open and they are: 80, 111, 3306. Our target IP is 192.168.0.105 as its MAC Vendor is...

Hacking the Heartbleed Vulnerability

Welcome back, my greenhorn hackers! In recent weeks, the Heartbleed vulnerability of OpenSSL has been dominating the information security headlines. This vulnerability enables an attacker to extract data from the server's memory that may contain authentication credentials, cookies, the servers private key, and personally identifiable info (PII) that could be used for identity theft. As a result, websites around the world have been scrambling to close this hole. Fortunately for us, many still have not, and many may never be closed. Basically, OpenSSL is an encryption library used in HTTPS (secure HTTP). The idea is that any data traveling over this secured version of HTTP should be secure and encrypted. During communication, OpenSSL uses a "heartbeat" that echoes back data to verify that the data was received correctly. It's kind of like one machine telling the other, "Yes, I got that data and you can send more now." The Heartbleed vulnerabi...