exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

NESS.txt

NESS.txt
Posted Sep 12, 2002
Authored by Gabriel Menezes Nunes

The N(etbios) E(numerating) S(ecurity) S(weep) is a batch file which scans a subnet checking for smb shares and attempts to login as administrator with a null password. Runs under win2k or xp and logs 4 seperate types of info.

systems | windows
SHA-256 | 91d9b22d2bc10be205fe150719564a7534666dd7f1633249a7e2171aa01f6566

NESS.txt

Change Mirror Download
:: N(etbios)E(numerated)S(ecurity)S(sweep)
:: Written by: GABRIEL
:: Purpose: Automated Netbios security sweep.
:: Details: Attempts to logon to the ipc$ share with a null password and the
c$ share as admin
:: with a null password.
:: Usage: This script takes only 2 parameters; subnet address and timeout
in milliseconds.
:: Both are required for this script to function. Timeout is dependant upon
network the
:: connection available and should be adjusted accordingly. I have found a
timeout of 1
:: is very effective on a 100 mps lan and conversely a timeout of 5 or more
for a broadband
:: wan connection.
:: ie. ness 192.168.0 5
:: This script is for security auditing ONLY! I am not responsible for your
actions.
:: You have been warned!

@Echo Off

Set /a counter=0
Set subnet=%1
Set timeout=%2
Set saveDir=c:\NESS
Set aliveFile=%saveDir%\alive.txt
Set ipcFile=%saveDir%\ipc.txt
Set adminFile=%saveDir%\admin.txt
Set auditedFile=%saveDir%\audited.txt
Echo.
Echo *****************NESS******************
Echo N(etbios)E(numerating)S(ecurity)S(weep)
Echo Written by: GABRIEL 09/01/02
Echo ***************************************
Echo.

Echo Starting sweep of %subnet%.*
Echo %subnet%.* >> %auditedFile%

:Loop
Set /a counter=%counter%+1
If %counter% GEQ 255 Goto :Exit
ping -n 1 -w %timeout% %subnet%.%counter% | find "out" > nul
If errorlevel 1 Goto :HostUp
Goto :HostDown
::Loop end


:HostUp
Echo %subnet%.%counter% appears to be up. Attempting to access ipc$.
Echo %subnet%.%counter% >> %aliveFile%
Goto :Ipc
::HostUp end


:HostDown
Goto :Loop
::HostDown end


:Ipc
net use \\%subnet%.%counter%\ipc$ "" /user:"" | find "completed" > nul
if errorlevel 1 Goto :Secure
Echo IPC$ CONNECTED! Attempting to Login as administrator.
Echo %subnet%.%counter% >> %ipcFile%
nbtstat -A %subnet%.%counter% >> %ipcFile%
Echo *********************************************************************
>> %ipcFile%
net use \\%subnet%.%counter%\ipc$ /delete > nul
Goto :Admin
::Ipc end


:Admin
net use \\%subnet%.%counter%\c$ "" /user:administrator | find "completed" >
nul
If errorlevel 1 Goto :Secure
Echo C$ CONNECTED! THERE IS NO ADMIN PASSWORD!
Echo.
Echo %subnet%.%counter% >> %adminFile%
net use \\%subnet%.%counter%\c$ /delete > nul
Goto :Loop
::Admin end


:Secure
Goto :Loop
::Secure end


:Exit
Echo sweep of %subnet%.* completed. Results have been saved to %saveDir%
directory.
::Exit end

Login or Register to add favorites

File Archive:

March 2023

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Mar 1st
    16 Files
  • 2
    Mar 2nd
    13 Files
  • 3
    Mar 3rd
    15 Files
  • 4
    Mar 4th
    0 Files
  • 5
    Mar 5th
    0 Files
  • 6
    Mar 6th
    16 Files
  • 7
    Mar 7th
    31 Files
  • 8
    Mar 8th
    16 Files
  • 9
    Mar 9th
    13 Files
  • 10
    Mar 10th
    9 Files
  • 11
    Mar 11th
    0 Files
  • 12
    Mar 12th
    0 Files
  • 13
    Mar 13th
    10 Files
  • 14
    Mar 14th
    6 Files
  • 15
    Mar 15th
    17 Files
  • 16
    Mar 16th
    22 Files
  • 17
    Mar 17th
    13 Files
  • 18
    Mar 18th
    0 Files
  • 19
    Mar 19th
    0 Files
  • 20
    Mar 20th
    16 Files
  • 21
    Mar 21st
    13 Files
  • 22
    Mar 22nd
    5 Files
  • 23
    Mar 23rd
    6 Files
  • 24
    Mar 24th
    47 Files
  • 25
    Mar 25th
    0 Files
  • 26
    Mar 26th
    0 Files
  • 27
    Mar 27th
    50 Files
  • 28
    Mar 28th
    0 Files
  • 29
    Mar 29th
    0 Files
  • 30
    Mar 30th
    0 Files
  • 31
    Mar 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close