Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/HunnicCyber/SharpSniper
Find specific users in active directory via their username and logon IP address
https://github.com/HunnicCyber/SharpSniper
Last synced: 3 months ago
JSON representation
Find specific users in active directory via their username and logon IP address
- Host: GitHub
- URL: https://github.com/HunnicCyber/SharpSniper
- Owner: HunnicCyber
- Created: 2019-09-12T12:53:49.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-03-21T09:18:34.000Z (over 4 years ago)
- Last Synced: 2024-05-05T03:31:28.856Z (6 months ago)
- Language: C#
- Homepage:
- Size: 762 KB
- Stars: 375
- Watchers: 11
- Forks: 57
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-rainmana - HunnicCyber/SharpSniper - Find specific users in active directory via their username and logon IP address (C# #)
README
# SharpSniper
Often a Red Team engagement is more than just achieving Domain Admin. Some clients will want to see if specific users in the domain can be compromised, for example the CEO.
SharpSniper is a simple tool to find the IP address of these users so that you can target their box.
It requires that you have privileges to read logs on Domain Controllers.
First it queries and makes a list of Domain contollers, then search for Log-on events on any of the DCs for the user you are looking for and then reads the most recent DHCP allocated logon IP address.
N.B. Build can also target .net framework v3.5 if needed.
## Usage
cmd.exe (Supply credentials)
```
C:\> SharpSniper.exe emusk DomainAdminUser DAPass123User: emusk - IP Address: 192.168.37.130
```
cmd.exe (Current authentication token e.g. Mimikatz pth)
```
C:\> SharpSniper.exe emuskUser: emusk - IP Address: 192.168.37.130
```
Cobalt Strike (Supply credentials)
```
> execute-assembly /path/to/SharpSniper.exe emusk DomainAdminUser DAPass123User: emusk - IP Address: 192.168.37.130
```
Cobalt Strike (Beacon's token)
```
> execute-assembly /path/to/SharpSniper.exe emuskUser: emusk - IP Address: 192.168.37.130
```## Author
Tom Kallo