Try it using Invoke-Atomic

Software Deployment Tools

Description from ATT&CK

Adversaries may gain access to and use third-party software suites installed within an enterprise network, such as administration, monitoring, and deployment systems, to move laterally through the network. Third-party applications and software deployment systems may be in use in the network environment for administration purposes (e.g., SCCM, HBSS, Altiris, etc.).

Access to a third-party network-wide or enterprise-wide software system may enable an adversary to have remote code execution on all systems that are connected to such a system. The access may be used to laterally move to other systems, gather information, or cause a specific effect, such as wiping the hard drives on all endpoints. Network infrastructure may also have administration tools that can be similarly abused by adversaries. (Citation: Fortinet Zero-Day and Custom Malware Used by Suspected Chinese Actor in Espionage Operation)

The permissions required for this action vary by system configuration; local credentials may be sufficient with direct access to the third-party system, or specific domain credentials may be required. However, the system may require an administrative account to log in or to perform it's intended purpose.

Atomic Tests

Atomic Test #1 - Radmin Viewer Utility

An adversary may use Radmin Viewer Utility to remotely control Windows device, this will start the radmin console.

Supported Platforms: windows

auto_generated_guid: b4988cad-6ed2-434d-ace5-ea2670782129

Inputs:

Name Description Type Default Value
radmin_installer Radmin Viewer installer path RadminViewer.msi
radmin_exe The radmin.exe executable from RadminViewer.msi path Radmin Viewer 3/Radmin.exe

Attack Commands: Run with command_prompt! Elevation Required (e.g. root or admin)

1
2
"%PROGRAMFILES(x86)%/#{radmin_exe}"

Dependencies: Run with powershell!

Description: Radmin Viewer Utility must be installed at specified location (#{radmin_exe})

Check Prereq Commands:

1
2
if (Test-Path "${env:ProgramFiles(x86)}/#{radmin_exe}") {exit 0} else {exit 1}

Get Prereq Commands:

1
2
3
4
5
6
Write-Host Downloading radmin installer
New-Item -Type Directory "PathToAtomicsFolder\..\ExternalPayloads\" -ErrorAction Ignore -Force | Out-Null
Invoke-WebRequest "https://www.radmin.com/download/Radmin_Viewer_3.5.2.1_EN.msi" -OutFile "PathToAtomicsFolder\..\ExternalPayloads\#{radmin_installer}"
Write-Host Install Radmin
Start-Process msiexec  -Wait -ArgumentList /i , "PathToAtomicsFolder\..\ExternalPayloads\#{radmin_installer}", /qn

Atomic Test #2 - PDQ Deploy RAT

An adversary may use PDQ Deploy Software to deploy the Remote Adminstartion Tool, this will start the PDQ console.

Supported Platforms: windows

auto_generated_guid: e447b83b-a698-4feb-bed1-a7aaf45c3443

Inputs:

Name Description Type Default Value
PDQ_Deploy_installer PDQ Deploy Install path PDQDeploysetup.exe
PDQ_Deploy_exe The PDQDeployConsole.exe executable from PDQDeploysetup.exe path Admin Arsenal/PDQ Deploy/PDQDeployConsole.exe

Attack Commands: Run with command_prompt! Elevation Required (e.g. root or admin)

1
2
"%PROGRAMFILES(x86)%/#{PDQ_Deploy_exe}"

Dependencies: Run with powershell!

Description: PDQ Deploy will be installed at specified location (#{PDQ_Deploy_exe})

Check Prereq Commands:

1
2
if (Test-Path "${env:ProgramFiles(x86)}/#{PDQ_Deploy_exe}") {exit 0} else {exit 1}

Get Prereq Commands:

1
2
3
4
5
6
Write-Host Downloading PDQ Deploy installer
New-Item -Type Directory "PathToAtomicsFolder\..\ExternalPayloads\" -ErrorAction Ignore -Force | Out-Null
Invoke-WebRequest "https://download.pdq.com/release/19/Deploy_19.3.350.0.exe" -OutFile "PathToAtomicsFolder\..\ExternalPayloads\#{PDQ_Deploy_installer}"
Write-Host Install PDQ Deploy
Start-Process "PathToAtomicsFolder\..\ExternalPayloads\#{PDQ_Deploy_installer}" -Wait -ArgumentList "/s"

source