Solved

Windows Network & Server security audit tools or script ?

Posted on 2016-08-30
2
96 Views
Last Modified: 2016-09-11
Hi All,

I'd like to know if there is any Powershell script or software that can be used to test what my DOMAIN\Test-Account can do given certain privilege in my AD domain ?

For example: The AD account is assigned as Local Admin account in domain joined Server A, it can access to server file share ...., Install application, shutdown / restart server, enumerate network share etc..
0
Comment
2 Comments
 
LVL 62

Accepted Solution

by:
btan earned 500 total points
ID: 41776227
There is a AD Permissions Reporter that illustrate the AD object (which include that account object)permission @ http://www.cjwdev.co.uk/Software/ADPermissionsReporter/Info.html

Will have suggest the SysInternal tool such as when login using that test account to attempt to run the admin tools and in a way it demonstrate how "accessible" to the resources this account  has been granted @ https://technet.microsoft.com/en-us/sysinternals/bb795534

AccessChk
This tool shows you the accesses the user or group you specify has to files, Registry keys or Windows services.

 AccessEnum
This simple yet powerful security tool shows you who has what access to directories, files and Registry keys on your systems. Use it to find holes in your permissions.

ShareEnum
Scan file shares on your network and view their security settings to close security holes.

there is also powershell script to list out the privileges
Import-Module ActiveDirectory


$Groups = Get-AdGroup -Properties * -Filter * -SearchBase "OU=group,DC=domain,DC=com" 

$Table = @() 

$Record = [ordered]@{ 

"Group Name" = "" 

"Name" = "" 

"Username" = "" 

} 

Foreach ($Group in $Groups) 

{ 

$Arrayofmembers = Get-ADGroupMember -identity $Group | select name,samaccountname 

foreach ($Member in $Arrayofmembers) 

{ 

$Record."Group Name" = $Group.name 

$Record."Name" = $Member.name 

$Record."UserName" = $Member.samaccountname 

$objRecord = New-Object PSObject -property $Record 

$Table += $objrecord 

} 

} 

$Table | export-csv "C:\temp\Groups.csv" -NoTypeInformation

Open in new window

https://community.spiceworks.com/topic/282047-how-to-get-list-of-all-effective-rights-permissions-on-active-directory-objects?page=1#entry-5474279
0
 
LVL 7

Author Closing Comment

by:Senior IT System Engineer
ID: 41793607
Thanks !
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you thought ransomware was bad, think again! Doxware has the potential to be even more damaging.
As technology users and professionals, we’re always learning. Our universal interest in advancing our knowledge of the trade is unmatched by most industries. It’s a curiosity that makes sense, given the climate of change. Within that, there lies a…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question