项目作者: InitRoot

项目描述 :
Automatically attack all file shares within AD network environment. Exploiting weak permissions.
高级语言: Python
项目地址: git://github.com/InitRoot/shareAttack.git
创建时间: 2017-04-11T11:40:48Z
项目社区:https://github.com/InitRoot/shareAttack

开源协议:MIT License

下载


Disclaimer

I take not responsibility for your use of the software. Development is done in my personal capacity and carry no affiliation to my work.

ShareAttack!

Crawl any windows network with Active Directory for computers and subsequently launch an attack on weak file permissions.

Usage: Run ShareAttack!.py, ensure DSQUERY and SHARELOCATOR are included in the same root folder.

Synops: This attack exploits weak file permissions allowing users to overwrite file permissions assigned to file shares.
Instead of exploiting file shares to gain access, the attack focuses on DENYING access to file shares. The attack uses the exploited account’s credentials, (administrator account will be much more powerful).

Files:

Walkthrough:

  1. Load files onto target.
  2. Execute ShareAttack!.py
  3. Will automatically execute dsquery command to extract domain computers.
  4. Test computers and retain active hosts.
  5. Pass active computers onto ShareLocator.
  6. ShareLocator will find all fileshares on target.
  7. Attempt to apply DENY permission for each user with access.

Requirements:

  • Windows computer environment, with AD for dsquery.
  • Python 3.6 feel free to port, reference GIT please.
  • Weak file permissions :P

Version: 0.1

Parameters: $crawl_limit: set amount of computers to extract from AD, 0 extracts all.

Alternatives [future to-do]:

  • ShareAttack!.py not required, can use only sharelocator.exe Sharelocator <servername>
  • Replace DSQUERY with IP range or provide option to user at startup
  • Port .py to Windows

Note that non lethal version is uploaded, please msg to request lethal version