---
description: 'ID: T1136 Tactic: Persistence'
---

# Create Account

Adversaries with sufficient level of access may create a local system, domain, or cloud tenant account. Such accounts may be used for persistence that do not require persistent remote access tools to be deployed on the system

In cloud environments, adversaries may create accounts that only have acccess to specific services, which can reduce the chance of detection.

### Windows

The `net user` commands can be used to create a local or domain account.

### Office 365

An adversary with access to Global Admin account can create another account and assign it the Global Admin role for persistent access to the Office365 tenant.

There are various tools that have modules for creating and account with predetermined passwords such as "`joe Password1!`" from Empire or other's that use `hacker Password123` here is the command line for a simple syntax to add a user

`net user username password /add`&#x20;

This only works with the proper permissions of course such as Admin if we use a low level userwe will get an Access denied this part of persistence is usually done after some for of Privesc has been taken or a user with the required permission:

![Low-Level user](https://244509215-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lx2b2zLkTKHrsGfxMoR%2F-LxcQE-wuJVuJnCijJ1t%2F-LxcYWfu21p889r048Tt%2Fimage.png?alt=media\&token=ea69d0a1-7d5b-4acd-b497-4d4fbb01072b)

Administrator:

![](https://244509215-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lx2b2zLkTKHrsGfxMoR%2F-LxcQE-wuJVuJnCijJ1t%2F-LxcYs8xBzKhC8BG4B9Q%2Fimage.png?alt=media\&token=ef64bf5f-464b-462b-bddc-07d417de95e3)

![Login for hacker](https://244509215-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lx2b2zLkTKHrsGfxMoR%2F-LxcYvEW349vmuIGc8Xi%2F-LxcZ3bpJIYe40BDuNHr%2Fimage.png?alt=media\&token=712a4d8a-a075-4db9-90a1-3cd3e2bbb644)

Remember to add the user to the Administrator Group or this will just be created as a Local Account with no Admin privileges

![](https://244509215-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lx2b2zLkTKHrsGfxMoR%2F-LxcYvEW349vmuIGc8Xi%2F-Lxc_b1rK5nqo3gW7b3P%2Fimage.png?alt=media\&token=6d34c44e-aadd-4987-9ddf-eb37746a6ea6)

`net localgroup Administrators hacker /add`

`Powershell: Add-LocalGroupMember -Group Administrators -Member hacker`

This will ensure that the new created user is an Administrator and doesn't receive no Prompt's when running in High Privileges.
