2021-01-10 16:26:27 +01:00
|
|
|
---
|
|
|
|
Name: Shell32.dll
|
|
|
|
Description: Windows Shell Common Dll
|
2022-09-11 05:37:10 +02:00
|
|
|
Author: LOLBAS Team
|
2021-01-10 16:26:27 +01:00
|
|
|
Created: 2018-05-25
|
|
|
|
Commands:
|
2021-12-14 17:50:22 +01:00
|
|
|
- Command: rundll32.exe shell32.dll,Control_RunDLL c:\path\to\payload.dll
|
2021-01-10 16:26:27 +01:00
|
|
|
Description: Launch a DLL payload by calling the Control_RunDLL function.
|
2021-01-10 16:54:00 +01:00
|
|
|
Usecase: Load a DLL payload.
|
2021-01-10 16:26:27 +01:00
|
|
|
Category: Execute
|
|
|
|
Privileges: User
|
2021-11-05 19:58:26 +01:00
|
|
|
MitreID: T1218.011
|
2021-12-14 16:50:17 +01:00
|
|
|
OperatingSystem: Windows 10, Windows 11
|
2024-04-03 17:53:36 +02:00
|
|
|
Tags:
|
|
|
|
- Execute: DLL
|
2021-01-10 16:26:27 +01:00
|
|
|
- Command: rundll32.exe shell32.dll,ShellExec_RunDLL beacon.exe
|
|
|
|
Description: Launch an executable by calling the ShellExec_RunDLL function.
|
2021-01-10 16:54:00 +01:00
|
|
|
Usecase: Run an executable payload.
|
2021-01-10 16:26:27 +01:00
|
|
|
Category: Execute
|
|
|
|
Privileges: User
|
2021-11-05 19:58:26 +01:00
|
|
|
MitreID: T1218.011
|
2021-12-14 16:50:17 +01:00
|
|
|
OperatingSystem: Windows 10, Windows 11
|
2021-01-10 16:26:27 +01:00
|
|
|
- Command: rundll32 SHELL32.DLL,ShellExec_RunDLL "cmd.exe" "/c echo hi"
|
|
|
|
Description: Launch command line by calling the ShellExec_RunDLL function.
|
2021-01-10 16:54:00 +01:00
|
|
|
Usecase: Run an executable payload.
|
2021-01-10 16:26:27 +01:00
|
|
|
Category: Execute
|
|
|
|
Privileges: User
|
2021-11-05 19:58:26 +01:00
|
|
|
MitreID: T1218.011
|
2021-12-14 16:50:17 +01:00
|
|
|
OperatingSystem: Windows 10, Windows 11
|
2021-01-10 16:26:27 +01:00
|
|
|
Full_Path:
|
|
|
|
- Path: c:\windows\system32\shell32.dll
|
|
|
|
- Path: c:\windows\syswow64\shell32.dll
|
|
|
|
Code_Sample:
|
|
|
|
- Code:
|
|
|
|
Detection:
|
2023-10-18 17:30:34 +02:00
|
|
|
- Sigma: https://github.com/SigmaHQ/sigma/blob/62d4fd26b05f4d81973e7c8e80d7c1a0c6a29d0e/rules/windows/process_creation/proc_creation_win_rundll32_susp_activity.yml
|
2021-11-15 14:19:03 +01:00
|
|
|
- Splunk: https://github.com/splunk/security_content/blob/a1afa0fa605639cbef7d528dec46ce7c8112194a/detections/endpoint/rundll32_control_rundll_hunt.yml
|
2021-01-10 16:26:27 +01:00
|
|
|
Resources:
|
|
|
|
- Link: https://twitter.com/Hexacorn/status/885258886428725250
|
|
|
|
- Link: https://twitter.com/pabraeken/status/991768766898941953
|
|
|
|
- Link: https://twitter.com/mattifestation/status/776574940128485376
|
|
|
|
- Link: https://twitter.com/KyleHanslovan/status/905189665120149506
|
|
|
|
- Link: https://windows10dll.nirsoft.net/shell32_dll.html
|
|
|
|
Acknowledgement:
|
|
|
|
- Person: Adam (Control_RunDLL)
|
|
|
|
Handle: '@hexacorn'
|
|
|
|
- Person: Pierre-Alexandre Braeken (ShellExec_RunDLL)
|
|
|
|
Handle: '@pabraeken'
|
|
|
|
- Person: Matt Graeber (ShellExec_RunDLL)
|
|
|
|
Handle: '@mattifestation'
|
|
|
|
- Person: Kyle Hanslovan (ShellExec_RunDLL)
|
|
|
|
Handle: '@KyleHanslovan'
|