Files
atomic-red-team/Windows/Credential_Access/Create_Account.md
T
Michael Haag 1499c4be3f Fixes
Updated and fixed some mistakes over time.
2018-01-11 11:00:46 -07:00

869 B
Raw Blame History

Create Account

MITRE ATT&CK Technique: T1136

Net.exe

Local user add:

Net user /add Trevor SmshBgr123

Add new user to localgroup:

net localgroup administrators Trevor /add

Domain add:

net user <username> \password \domain

Add user to Active Directory:

dsadd user CN=John,CN=Users,DC=it,DC=uk,DC=savilltech,DC=com -samid John -pwd Pa55word123

Powershell 5.1

The following requires Powershell 5.1

Additional information here

Add User

New-LocalUser -FullName 'Trevor R.' -Name 'Trevor' -Password SmshBgr Description 'Pwnage account'

Create a group

New-LocalGroup -Name 'Testgroup' -Description 'Testing group'