Detectionhightest

Suspicious Svchost Process Access

Detects suspicious access to the "svchost" process such as that used by Invoke-Phantom to kill the thread of the Windows event logging service.

Open in Detection LabConvert ruleBuild Package
Tim BurrellCreated 2020-01-02Updated 2023-01-30166e9c50-8cd9-44af-815d-d1f0c0e90ddewindows
Log Source
WindowsProcess Access
ProductWindows← raw: windows
CategoryProcess Access← raw: process_access

Events when a process opens a handle to another process, commonly used for credential dumping via LSASS.

Detection Logic
Detection Logic2 selectors
detection:
    selection:
        TargetImage|endswith: ':\Windows\System32\svchost.exe'
        GrantedAccess: '0x1F3FFF'
        CallTrace|contains: 'UNKNOWN'
    filter_main_msbuild:
        SourceImage|contains: ':\Program Files\Microsoft Visual Studio\'
        SourceImage|endswith: '\MSBuild\Current\Bin\MSBuild.exe'
        # Just to make sure it's "really" .NET :)
        CallTrace|contains:
            - 'Microsoft.Build.ni.dll'
            - 'System.ni.dll'
    condition: selection and not 1 of filter_main_*
False Positives
Unknown

False positive likelihood has not been assessed. Additional context may be needed during triage.

Rule Metadata
Rule ID
166e9c50-8cd9-44af-815d-d1f0c0e90dde
Status
test
Level
high
Type
Detection
Created
2020-01-02
Modified
2023-01-30
Path
rules/windows/process_access/proc_access_win_svchost_susp_access_request.yml
Raw Tags
attack.defense-impairmentattack.t1685.001
View on GitHub