LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-06-2009, 09:35 AM   #1
brgsousa
Member
 
Registered: Aug 2007
Location: Salvador, Brazil
Distribution: Debian, Ubuntu
Posts: 185

Rep: Reputation: 15
Conficker scans with nmap


Hi, i am trying to scan my network for conficker. But I don't know much about nmap scans. I downloaded smb-check-vulns script from here http://nmap.org/nsedoc/scripts/smb-check-vulns.html

But some dependencies were not satisfied. How can I do that?


Code:
# nmap -sC --script=smb-check-vulns --script-args=safe=1 -p445 -d -PN -n -T4 --min-hostgroup 256 --min-parallelism 64 -oA conficker_scan 10.101.6.8
Warning: You specified a highly aggressive --min-hostgroup.

Starting Nmap 4.62 ( http://nmap.org ) at 2009-04-06 10:56 BRT
--------------- Timing report ---------------
  hostgroups: min 256, max 100000
  rtt-timeouts: init 500, min 100, max 1250
  max-scan-delay: TCP 10, UDP 1000
  parallelism: min 64, max 64
  max-retries: 6, host-timeout: 0
  min-rate: 0
---------------------------------------------
Initiating SYN Stealth Scan at 10:56
Scanning 10.101.6.8 [1 port]
Packet capture filter (device eth0): dst host 10.1.100.45 and (icmp or (tcp and (src host 10.101.6.8)))
Completed SYN Stealth Scan at 10:56, 1.02s elapsed (1 total ports)
Overall sending rates: 1.96 packets / s, 86.03 bytes / s.
SCRIPT ENGINE: Initiating script scanning.
SCRIPT ENGINE: Script scanning 10.101.6.8.
SCRIPT ENGINE: Using /usr/lib/nmap/nselib-bin/?.so;./?.so;/usr/local/lib/lua/5.1/?.so;/usr/local/lib/lua/5.1/loadall.so to search for C-modules and /usr/share/nmap/nselib/?.lua;./?.lua;/usr/local/share/lua/5.1/?.lua;/usr/local/share/lua/5.1/?/init.lua;/usr/local/lib/lua/5.1/?.lua;/usr/local/lib/lua/5.1/?/init.lua for Lua-modules
LUA INTERPRETER in nse_init.cc:763: ./smb-check-vulns.nse:78: module 'msrpc' not found:
        no field package.preload['msrpc']
        no file '/usr/share/nmap/nselib/msrpc.lua'
        no file './msrpc.lua'
        no file '/usr/local/share/lua/5.1/msrpc.lua'
        no file '/usr/local/share/lua/5.1/msrpc/init.lua'
        no file '/usr/local/lib/lua/5.1/msrpc.lua'
        no file '/usr/local/lib/lua/5.1/msrpc/init.lua'
        no file '/usr/lib/nmap/nselib-bin/msrpc.so'
        no file './msrpc.so'
        no file '/usr/local/lib/lua/5.1/msrpc.so'
        no file '/usr/local/lib/lua/5.1/loadall.so'
SCRIPT ENGINE: Script scanning completed.
SCRIPT ENGINE: Aborting script scan.
Host 10.101.6.8 appears to be up ... good.
Interesting ports on 10.101.6.8:
PORT    STATE    SERVICE      REASON
445/tcp filtered microsoft-ds no-response
Final times for host: srtt: -1 rttvar: -1  to: 500000

Read from /usr/share/nmap: nmap-services.
Nmap done: 1 IP address (1 host up) scanned in 1.070 seconds
           Raw packets sent: 2 (88B) | Rcvd: 0 (0B)
 
Old 04-06-2009, 10:01 AM   #2
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,307
Blog Entries: 61

Rep: Reputation: Disabled
You just need to install lua (it's an interpreted programming language). It's available for Debian and Ubuntu, look in Synaptic.
 
Old 04-06-2009, 03:42 PM   #3
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,307
Blog Entries: 61

Rep: Reputation: Disabled
And you're using the wrong version of NMap, see here:
http://insecure.org/#conficker
 
Old 04-08-2009, 07:12 AM   #4
brgsousa
Member
 
Registered: Aug 2007
Location: Salvador, Brazil
Distribution: Debian, Ubuntu
Posts: 185

Original Poster
Rep: Reputation: 15
I installed Lua5.1 (debian package) and it still was not working.
But when I used the new version of nmap it worked.

thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
nmap ? how do i do nmap in linux ? command not found abbasakhtar Linux - Newbie 2 01-02-2011 01:08 AM
LXer: Conficker Conflunks LXer Syndicated Linux News 0 04-02-2009 11:30 PM
LXer: Learn how to use nmap, and nmap GUI, a great port scan tool LXer Syndicated Linux News 0 01-03-2008 09:10 AM
nmap increase send delay for nmap 4.20 matters Slackware 1 10-01-2007 11:37 PM
Decoy Scans w/ Nmap robeb Linux - Networking 1 10-14-2002 06:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration