Results 1 to 7 of 7

Thread: NMAP scanning massively slow in Kali

  1. #1
    Join Date
    2015-Nov
    Posts
    4

    NMAP scanning massively slow in Kali

    There is something wrong with my Kali VM and I cannot figure it out. Would you be able to offer some troubleshooting suggestions?

    Simply put, it cannot conduct nmap scans with any degree of speed. It used to be fine, but since upgrading to Kali 2 it seems to have gone downhill.

    For instance in my host machine I can nmap www.megacorpone.com and receive results in about 7 seconds. The same scan inside the VM is taking about 300+ seconds. Not acceptable!

    What could be hindering the scan? The machine has plenty of RAM, and I the internet connection on the host machine seems fine.

    Any ideas for troubleshooting this?

  2. #2
    Join Date
    2013-Apr
    Location
    Kali forums
    Posts
    805
    I'd try putting nmap in extra verbose mode (i.e. with the -vv parameter) and/or debug mode (i.e. with the -dd parameter) and see what it tells you. You could also try changing the timing parameter (-T) to 4 or 5. I think 3 is the default when you don't specify anything.

    Are you using one of the pre-made VM images from offensive-security.com?

  3. #3
    Join Date
    2015-Nov
    Posts
    4
    Quote Originally Posted by grid View Post
    I'd try putting nmap in extra verbose mode (i.e. with the -vv parameter) and/or debug mode (i.e. with the -dd parameter) and see what it tells you. You could also try changing the timing parameter (-T) to 4 or 5. I think 3 is the default when you don't specify anything.

    Are you using one of the pre-made VM images from offensive-security.com?
    VM image. Now one thing I *should* mention is that I had trouble upgrading. I got the dreamed "Uh oh" something went wrong message. Now, I still get this whenever I reboot but if I say ctrl-alt-F1 and say startx in a second console I get the GUI back, but upon subsequent reboots I have to keep doing this.

    Could it be that this second console doesn't have the processing power it should have? It might be totally unrelated.

  4. #4
    Join Date
    2013-Apr
    Location
    Kali forums
    Posts
    805
    Oh, you went from Kali 1.x to Kali 2. For what it's worth, I had trouble with the upgrade (due to some self-inflicted issues ) so I ended up installing Kali 2 fresh. Haven't had any problems since.

    Hmm, maybe...but it's not something I've run into (and I've been using Kali since the BackTrack 2 days). You could try running top and see what it reports.

  5. #5
    Join Date
    2015-Nov
    Posts
    4
    Quote Originally Posted by grid View Post
    Oh, you went from Kali 1.x to Kali 2. For what it's worth, I had trouble with the upgrade (due to some self-inflicted issues ) so I ended up installing Kali 2 fresh. Haven't had any problems since.

    Hmm, maybe...but it's not something I've run into (and I've been using Kali since the BackTrack 2 days). You could try running top and see what it reports.
    I tried a fresh Kali VM. I still get a major difference:

    MacBook: 0.5s
    Kali VM: 2.0s-4.0s

    This is in NAT mode. That a normal level of lag for address translation? It still seems quite excessive.

  6. #6
    Join Date
    2013-Apr
    Location
    Kali forums
    Posts
    805
    No, that kind of lag in NAT mode seems really high. Have you tried nmap in extra verbose (-vv) or debug (-d or -dd) mode?

  7. #7
    Join Date
    2015-Nov
    Posts
    4
    Quote Originally Posted by grid View Post
    No, that kind of lag in NAT mode seems really high. Have you tried nmap in extra verbose (-vv) or debug (-d or -dd) mode?
    *sigh* I just gave up and started anew with a standard image. Works like a charm now. Something was badly screwed up in the upgrade.

Similar Threads

  1. Replies: 0
    Last Post: 2020-11-26, 12:58
  2. nmap 7.80 has broken scripts. How can I downgrade to an earlier nmap version?
    By Alias Pseudonym in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2019-11-27, 18:52
  3. Nmap extremely slow on my laptop
    By Hyne in forum General Archive
    Replies: 5
    Last Post: 2016-03-14, 11:36

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •