Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Ben0xA/DoUCMe
https://github.com/Ben0xA/DoUCMe
Last synced: 21 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/Ben0xA/DoUCMe
- Owner: Ben0xA
- License: gpl-3.0
- Created: 2021-04-29T15:41:28.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-05-01T03:15:59.000Z (over 3 years ago)
- Last Synced: 2024-08-05T17:26:37.423Z (4 months ago)
- Language: C#
- Size: 22.5 KB
- Stars: 71
- Watchers: 4
- Forks: 18
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-hacking-lists - Ben0xA/DoUCMe - (C# #)
README
# DoUCMe
This leverages the NetUserAdd Win32 API to create a new computer account. This is done by setting the usri1_priv of the USER_INFO_1 type to 0x1000.The primary goal is to avoid the normal detection of new user created events (4720).
This will hide the user in the Control Panel and the lusrmgr.msc Snap In. It will show up in the Group Listing, but not as a user.
net user will show the user, if it does not end with a $.
Get-LocalUser will show the user every time. Nice job Jeffrey Snover!# Usage
Run this in Visual Studio. Change the username to what you want to use. Some options are to specify the HOSTNAME followed by a $ to blend in with the machine account name.Also, use Homoglyphs! There is a built in Homoglyph with the Administrator account.
# Detection
Look for event ID 4741 - New Machine Account Added
Followed by 4722 and 4742