Giter VIP home page Giter VIP logo

aclight's People

Contributors

hechtov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

aclight's Issues

Receiving bellow error during execution (small domain)

“\� : The module '“' could not be loaded. For more information, run 'Import-Module “'.
At C:\Users\jxc11\Downloads\ACLight-master\ACLight-master\ACLight.ps1:250 char:57

  •     $NameArray = $_.UpdatedIdentityReference -Split(“\\â€�)
    
  •                                                     ~~~~~~~~
    
    • CategoryInfo : ObjectNotFound: (“\â€�:String) [], CommandNotFoundException
    • FullyQualifiedErrorId : CouldNotAutoLoadModule

Getting 'The syntax of the command is incorrect.'

Summary

When I execute the .bat file I get

C:\ACLight2>Execute-ACLight2.bat
The syntax of the command is incorrect.
C:\ACLight2><!DOCTYPE html>

The directory contents are

10/14/2021  11:25 AM         1,067,335 ACLight2.ps1
10/14/2021  11:25 AM           148,510 ACLight2.psd1
10/14/2021  11:25 AM           139,894 ACLight2.psm1
10/14/2021  11:25 AM           146,122 Execute-ACLight2.bat
10/14/2021  11:25 AM           152,299 LICENSE.htm
10/14/2021  11:25 AM           153,536 README.md

Steps to Reproduce

Execute-ACLight2.bat from a directory with the same contents.

Expected Results

The account scan should run.

Actual Results

C:\ACLight2>Execute-ACLight2.bat
The syntax of the command is incorrect.
C:\ACLight2><!DOCTYPE `html>`

Reproducible

  • [ x] Always
  • Sometimes
  • Non-Reproducible

Version/Tag number

v 2

Environment setup

Windows on bare metal

Additional Information

Add any other context about the problem here.

HELP!

Sir can you please share technet c2 server script for research purposes please,if it's possible.

Out of Memory

I have a large test lab of over 100,000 users. I ran this on a VM with 8 GB RAM and got the following:

Array dimensions exceeded supported range.
At line:578 char:17
+                 $domainUserList += $domainUsers.name
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (:) [], OutOfMemoryException
    + FullyQualifiedErrorId : System.OutOfMemoryException`

This was after the CSV was created. and after the following output:

All the processes completed. Now, starting Accounts analysis..

So your tool never finishes as far I can tell. I have left it going for nearly 24 hours now.

search filter is invalid message

I had this warning message:
Scanning ACLs - Layer 4
WARNING: An error occurred while enumerating through a collection: The (&(name=)(distinguishedname=)(|(objectSid=S-1-5-21-915214332-934432599-2099212325-31100)(objectSid=S-1-5-21-915214332-93443259
9-2099212325-31990)(objectSid=))) search filter is invalid.

There were no previous layer warnings or errors.

Error message during "Accounts Analysis"

Get-NetGroupMember : Unable to find Group
At C:\Users\jxc11\Downloads\ACLight-master\ACLight-master\ACLight.ps1:635 char:54

  • ... Recursive = Get-NetGroupMember -domain $Domain -Recurse -UseMatchingR ...
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
    • FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Get-NetGroupMember

Server 2008 PowerShell v5.1 does not work

Summary

For your information:

  1. The winver is Windows Server 2008 R2 SP1, Ver6.1 (7601). And I've updated the .Net so the PowerShell version now is 5.1.
  2. The Server 08 is not in the Domain .

image

What I want to do is to execute the script on a machine that is not in the target domain . So I played a tricky way:

  1. Configuring the dns of the server 08 to point to the target DC.

  2. Using cmd and execute:
    c:> runas /netonly /user:xxx.com\username powershell

  3. now I have a domain user powershell, then:
    PS c:> import-module aclight2.psm1
    PS c:> Start-ACLsAnalysis

Unfortunately, I got some error...

{177dd1fc-fc53-4b49-a71b-b70e8b8d51f3}

And the script was tested successfully on a Windows 10 which is in the domain.

Please check this, Thanks a lot.

Get-NetGroupMember : Unable to find Group

I received the below error
Get-NetGroupMember : Unable to find Group
At D:\Downloads\ACLight-master\ACLight.ps1:635 char:54

  • ... Recursive = Get-NetGroupMember -domain $Domain -Recurse -UseMatchingR ...
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
    • FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Get-NetGroupMember

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.