Git Product home page Git Product logo

nccgroup / redsnarf Goto Github PK

View Code? Open in Web Editor NEW
1.2K 82.0 241.0 13.92 MB

RedSnarf is a pen-testing / red-teaming tool for Windows environments

Home Page: https://www.nccgroup.trust/uk/about-us/newsroom-and-events/blogs/2016/november/introducing-redsnarf-and-the-importance-of-being-careful/

License: Apache License 2.0

Python 16.28% PowerShell 83.72%
windows pentesting pentesting-windows python active-directory

redsnarf's Issues

ipc share error!access deny

target 192.168.245.145 os is win7
and mypc is also win7

D:\security\Tools>net use \192.168.254.145\admin$ admin /user:WIN-8KJMMFIL6HF\a
dministrator
命令成功完成。

success!!!

D:\security\Tools>net use \192.168.254.145\admin$ /del
\192.168.254.145\admin$ 已经删除。

=======================================================

D:\security\Tools>net use \192.168.254.145\admin$ admin /user:WIN-8KJMMFIL6HF\a
dmin
发生系统错误 5。拒绝访问。
access deny!

failed!!!!

admin blong to administrators group,but ,administrator can ipc share ,admin cant !!!

why ? thanks!

Feature Request: Import hosts from file

Would like to request a feature to allow the use of a text file as the input for target IPs. Portions of ranges are often excluded by clients so allowing a list as input would be super helpful 😄

Error while starting

File "/root/redsnarf/./redsnarf.py", line 360
dce = DCERPC_v5(rpctransport)
TabError: inconsistent use of tabs and spaces in indentation

Hash Format

Is it normal when using the standard hash format for it to use the Username and Hash as the username after trying Username and Hash? I tried connecting to a machine(s) with a known valid hashes with no luck. Wouldn't you want to pass LM:NTLM then try NTLM?

Some recommendations & issues

Hi, first of all, I would like to thank you for this great tool. I have a couple of recommendations/issues;

  • On some systems there is no LocalAccountTokenFilterPolicy key in the registry, so psexec or redsnarf can not connect to them. It would be good to notify users so that they could check the registery manually via rdp or powershell etc. (if these are available) .

  • datadump function is not opsec safe, most of the AV product can detect password dump related activities, so I think it would be better to disable it by default. Setting the default value of --quick_validate to yes would do the trick.

  • I do not understand why many of the functionalities such as -uE, --empire_launcher, -eS, --screenshot etc. implemented in the datadump function, I think they should be implemented somewhere else like -eT --system_tasklist is done.

  • -eA --service_accounts function has not been implemented yet.

  • -eR, --recorddesktop does not work for windows 10. When I look the schtasks log I can see that "0x800702E4 ERROR_ELEVATION_REQUIRED". Even I manually select Run with highest privileges check box, scheduled task is not executed and it throws the same error. I know that this has nothing to do with redsnarf, I would like to bring this to your attention nonetheless.

Thanks again,

Syntax errors when running

$ python2.7 redsnarf.py 
  File "redsnarf.py", line 1138
    print(unquoted[i].strip()[:len(unquoted[i].strip())-40]))
                                                            ^
SyntaxError: invalid syntax

When I fix this, there's a different error.

run redsnarf with error

Hello,

When i run redsnarf in Kali OS, i get this error, could you please help me out ? Thanks!

python redsnarf.py
Traceback (most recent call last):
File "redsnarf.py", line 239, in
from nmb.NetBIOS import NetBIOS
ImportError: No module named nmb.NetBIOS

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.