T1059: 命令和脚本解释器
摘要
攻击者可能滥用命令和脚本解释器来执行命令、脚本或二进制文件。这些接口和语言提供了与计算机系统交互的方式,是许多不同平台上的常见功能。大多数系统都带有一些内置的命令行界面和脚本功能,例如,macOS 和 Linux 发行版包含某种形式的 [Unix Shell](https://attack.mitre.org/techniques/T1059/004),而 Windows 安装则包含 [Windows Command Shell](https://attack.mitre.org/techniques/T1059/003) 和 [PowerShell](https://attack.mitre.org/techniques/T1059/001)。 还有跨平台的解释器,如 [Python](https://attack.mitre.org/techniques/T1059/006),以及与客户端应用程序常关联的解释器,如 [JavaScript](https://attack.mitre.org/techniques/T1059/007) 和 [Visual Basic](https://attack.mitre.org/techniques/T1059/005)。 攻击者可能以各种方式滥用这些技术,作为执行任意命令的手段。命令和脚本可以嵌入到作为诱饵文档交付给受害者的 [Initial Access](https://attack.mitre.org/tactics/TA0001) 载荷中,或作为从现有 C2 下载的二级载荷。攻击者还可以通过交互式终端/shell 执行命令,以及利用各种 [Remote Services](https://attack.mitre.org/techniques/T1021) 来实现远程执行。(Citation: Powershell Remote Commands)(Citation: Cisco IOS Software Integrity Assurance - Command History)(Citation: Remote Shell Execution in Python)
来源归属
来源:MITRE ATT&CK · 置信度:high
平台
- Containers
- ESXi
- IaaS
- Identity Provider
- Linux
- macOS
- Network Devices
- Office Suite
- SaaS
- Windows
战术
执行
参考来源
- https://attack.mitre.org/techniques/T1059
- https://www.thepythoncode.com/article/executing-bash-commands-remotely-in-python
- https://tools.cisco.com/security/center/resources/integrity_assurance.html#23
- https://docs.microsoft.com/en-us/powershell/scripting/learn/remoting/running-remote-commands?view=powershell-7.1