Dism.exe
- File Path:
C:\Windows\system32\Dism.exe
- Description: Dism Image Servicing Utility
Hashes
Type | Hash |
---|---|
MD5 | 707C25B81CE66CCBC5112AC07C980909 |
SHA1 | 77D5C21D5630CF674ECD1AE8C7928CE13B79B40F |
SHA256 | FFA65D0286EF4016CCE89ABDFB5B6CB30996BCC00FE7E8F440B9AF565179E9DA |
SHA384 | DB6851FB21595A48334FCECEDD58D11A8051628B96774FA091DDDBD19633B6CD5BAB6D474240A4B764EF5D2243E9DF40 |
SHA512 | A550267DB255D5C9B62867D496C9365EEBDE3D1CC9FBC7D3C00D7430EB6E5F58EE66132462AE03E9E19338946416CD301B8507E2EC8BF945A9FDDBB270F9E570 |
SSDEEP | 3072:rzNZ1tcy1sjPuoBI95tHlaTXhdbSr5eWVWtQiZT0i8hBo+ai+4nr54:r5Z3cAsbuoBOMTXCwWi1cBoybr+ |
Runtime Data
Usage (stdout):
Deployment Image Servicing and Management tool
Version: 10.0.14393.3241
DISM.exe [dism_options] {Imaging_command} [<Imaging_arguments>]
DISM.exe {/Image:<path_to_offline_image> | /Online} [dism_options]
{servicing_command} [<servicing_arguments>]
DESCRIPTION:
DISM enumerates, installs, uninstalls, configures, and updates features
and packages in Windows images. The commands that are available depend
on the image being serviced and whether the image is offline or running.
GENERIC IMAGING COMMANDS:
/Split-Image - Splits an existing .wim or .ffu file into multiple
read-only split WIM/FFU files.
/Apply-Image - Applies an image.
/Get-MountedImageInfo - Displays information about mounted WIM and VHD
images.
/Get-ImageInfo - Displays information about images in a WIM or VHD
file.
/Commit-Image - Saves changes to a mounted WIM or VHD image.
/Unmount-Image - Unmounts a mounted WIM or VHD image.
/Mount-Image - Mounts an image from a WIM or VHD file.
/Remount-Image - Recovers an orphaned image mount directory.
/Cleanup-Mountpoints - Deletes resources associated with corrupted
mounted images.
WIM COMMANDS:
/Apply-CustomDataImage - Dehydrates files contained in the custom data image.
/Capture-CustomImage - Captures customizations into a delta WIM file on a
WIMBoot system. Captured directories include all
subfolders and data.
/Get-WIMBootEntry - Displays WIMBoot configuration entries for the
specified disk volume.
/Update-WIMBootEntry - Updates WIMBoot configuration entry for the
specified disk volume.
/List-Image - Displays a list of the files and folders in a
specified image.
/Delete-Image - Deletes the specified volume image from a WIM file
that has multiple volume images.
/Export-Image - Exports a copy of the specified image to another
file.
/Append-Image - Adds another image to a WIM file.
/Capture-Image - Captures an image of a drive into a new WIM file.
Captured directories include all subfolders and
data.
/Get-MountedWimInfo - Displays information about mounted WIM images.
/Get-WimInfo - Displays information about images in a WIM file.
/Commit-Wim - Saves changes to a mounted WIM image.
/Unmount-Wim - Unmounts a mounted WIM image.
/Mount-Wim - Mounts an image from a WIM file.
/Remount-Wim - Recovers an orphaned WIM mount directory.
/Cleanup-Wim - Deletes resources associated with mounted WIM
images that are corrupted.
IMAGE SPECIFICATIONS:
/Online - Targets the running operating system.
/Image - Specifies the path to the root directory of an
offline Windows image.
DISM OPTIONS:
/English - Displays command line output in English.
/Format - Specifies the report output format.
/WinDir - Specifies the path to the Windows directory.
/SysDriveDir - Specifies the path to the system-loader file named
BootMgr.
/LogPath - Specifies the logfile path.
/LogLevel - Specifies the output level shown in the log (1-4).
/NoRestart - Suppresses automatic reboots and reboot prompts.
/Quiet - Suppresses all output except for error messages.
/ScratchDir - Specifies the path to a scratch directory.
For more information about these DISM options and their arguments, specify an
option immediately before /?.
Examples:
DISM.exe /Mount-Wim /?
DISM.exe /ScratchDir /?
DISM.exe /Image:C:\test\offline /?
DISM.exe /Online /?
Signature
- Status: Signature verified.
- Serial:
3300000266BD1580EFA75CD6D3000000000266
- Thumbprint:
A4341B9FD50FB9964283220A36A1EF6F6FAA7840
- Issuer: CN=Microsoft Windows Production PCA 2011, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
- Subject: CN=Microsoft Windows, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
File Metadata
- Original Filename: DISM.EXE.MUI
- Product Name: Microsoft Windows Operating System
- Company Name: Microsoft Corporation
- File Version: 10.0.14393.0 (rs1_release.160715-1616)
- Product Version: 10.0.14393.0
- Language: English (United States)
- Legal Copyright: Microsoft Corporation. All rights reserved.
Possible Misuse
The following table contains possible examples of Dism.exe
being misused. While Dism.exe
is not inherently malicious, its legitimate functionality can be abused for malicious purposes.
Source | Source File | Example | License |
---|---|---|---|
sigma | win_user_driver_loaded.yml | - '\Windows\System32\Dism.exe' |
DRL 1.0 |
sigma | file_event_win_creation_system_file.yml | - '\Windows\System32\dism.exe' |
DRL 1.0 |
sigma | image_load_uac_bypass_via_dism.yml | - '\dism.exe' |
DRL 1.0 |
sigma | proc_creation_win_dsim_remove.yml | Image\|endswith: '\Dism.exe' |
DRL 1.0 |
sigma | proc_creation_win_uac_bypass_ntfs_reparse_point.yml | ParentCommandLine: '"C:\Windows\system32\dism.exe" /online /quiet /norestart /add-package /packagepath:"C:\Windows\system32\pe386" /ignorecheck' |
DRL 1.0 |
sigma | proc_creation_win_uac_bypass_pkgmgr_dism.yml | description: Detects the pattern of UAC Bypass using pkgmgr.exe and dism.exe (UACMe 23) |
DRL 1.0 |
sigma | proc_creation_win_uac_bypass_pkgmgr_dism.yml | Image\|endswith: '\dism.exe' |
DRL 1.0 |
atomic-red-team | T1562.001.md | The following Atomic will attempt to disable Windows-Defender using the built in DISM.exe, Deployment Image Servicing and Management tool. | MIT License. © 2018 Red Canary |
MIT License. Copyright (c) 2020-2021 Strontic.