Skip to content

Latest commit

 

History

History
83 lines (45 loc) · 2.33 KB

T1136.002.md

File metadata and controls

83 lines (45 loc) · 2.33 KB

T1136.002 - Domain Account

Adversaries may create a domain account to maintain access to victim systems. Domain accounts are those managed by Active Directory Domain Services where access and permissions are configured across systems and services that are part of that domain. Domain accounts can cover user, administrator, and service accounts. With a sufficient level of access, the net user /add /domain command can be used to create a domain account.

Such accounts may be used to establish secondary credentialed access that do not require persistent remote access tools to be deployed on the system.

Atomic Tests


Atomic Test #1 - Create a new Windows domain admin user

Creates a new domain admin user in a command prompt.

Supported Platforms: Windows

Inputs:

Name Description Type Default Value
username Username of the user to create String T1136.002_Admin
password Password of the user to create String T1136_pass123!
group Domain administrator group to which add the user to String Domain Admins

Attack Commands: Run with command_prompt!

net user "#{username}" "#{password}" /add /domain
net group "#{group}" "#{username}" /add /domain

Cleanup Commands:

net user "#{username}" >nul 2>&1 /del /domain


Atomic Test #2 - Create a new account similar to ANONYMOUS LOGON

Create a new account similar to ANONYMOUS LOGON in a command prompt.

Supported Platforms: Windows

Inputs:

Name Description Type Default Value
username Username of the user to create String ANONYMOUS LOGON
password Password of the user to create String T1136_pass123!

Attack Commands: Run with command_prompt!

net user "#{username}" "#{password}" /add /domain

Cleanup Commands:

net user "#{username}" >nul 2>&1 /del /domain