PowerShell Web Access Feature Enabled Via DISM

    Date: 09/04/2024

    Severity: High

    Summary

    Detects the use of DISM to activate the PowerShell Web Access feature, which might be exploited for remote access and potential misuse.

    Indicators of Compromise (IOC) List

    Image

    '\dism.exe'

    OriginalFileName

    'DISM.EXE'

    CommandLine

    'WindowsPowerShellWebAccess'

    '/online'

    '/enable-feature'

    Gurucul Threat Detection and Incident Response (TDIR) Queries for Detection

    Detection Query 1

    (((resourceName = "Sysmon"  AND eventtype = "1"  ) AND image = "\dism.exe"  ) AND originalfilename = "DISM.EXE"  ) AND commandline In ("WindowsPowerShellWebAccess" , "/online" , "/enable-feature")

    Detection Query 2

    (((Technologygroup = "EDR"   ) AND image = "\dism.exe"  ) AND originalfilename = "DISM.EXE"  ) AND commandline In ("WindowsPowerShellWebAccess" , "/online" , "/enable-feature")

    Reference:

    Sigma Detection Rule for Enabling PowerShell Web Access Using DISM  

    Microsoft PowerShell Documentation for Enable-WindowsOptionalFeature  

    CISA Cybersecurity Advisory AA24-241A  

    MHaggis PowerShell Web Access Reference Script 


    Tags

    SigmaMalwareExploitation

    « Previous ArticleNext Article »

    Comments

    No records to display

    Looking for Something?
    Threat Research Categories:
    Tags