Rapid7 Vulnerability & Exploit Database

SAMR Computer Management

Back to Search

SAMR Computer Management

Created
07/16/2022

Description

Add, lookup and delete computer / machine accounts via MS-SAMR. By default standard active directory users can add up to 10 new computers to the domain. Administrative privileges however are required to delete the created accounts.

Author(s)

  • JaGoTu
  • Spencer McIntyre

Development

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use auxiliary/admin/dcerpc/samr_computer
msf auxiliary(samr_computer) > show actions
    ...actions...
msf auxiliary(samr_computer) > set ACTION < action-name >
msf auxiliary(samr_computer) > show options
    ...show and set options...
msf auxiliary(samr_computer) > run 

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;