EXPLORE
← Back to Explore
sigmahighHunting

Suspicious Child Process Of BgInfo.EXE

Detects suspicious child processes of "BgInfo.exe" which could be a sign of potential abuse of the binary to proxy execution via external VBScript

MITRE ATT&CK

executiondefense-evasion

Detection Query

selection_parent:
  ParentImage|endswith:
    - \bginfo.exe
    - \bginfo64.exe
selection_child:
  - Image|endswith:
      - \calc.exe
      - \cmd.exe
      - \cscript.exe
      - \mshta.exe
      - \notepad.exe
      - \powershell.exe
      - \pwsh.exe
      - \wscript.exe
  - Image|contains:
      - \AppData\Local\
      - \AppData\Roaming\
      - :\Users\Public\
      - :\Temp\
      - :\Windows\Temp\
      - :\PerfLogs\
condition: all of selection_*

Author

Nasreddine Bencherchali (Nextron Systems)

Created

2023-08-16

Data Sources

windowsProcess Creation Events

Platforms

windows

Tags

attack.executionattack.t1059.005attack.defense-evasionattack.t1218attack.t1202
Raw Content
title: Suspicious Child Process Of BgInfo.EXE
id: 811f459f-9231-45d4-959a-0266c6311987
related:
    - id: aaf46cdc-934e-4284-b329-34aa701e3771
      type: similar
status: test
description: Detects suspicious child processes of "BgInfo.exe" which could be a sign of potential abuse of the binary to proxy execution via external VBScript
references:
    - https://lolbas-project.github.io/lolbas/OtherMSBinaries/Bginfo/
    - https://oddvar.moe/2017/05/18/bypassing-application-whitelisting-with-bginfo/
author: Nasreddine Bencherchali (Nextron Systems)
date: 2023-08-16
tags:
    - attack.execution
    - attack.t1059.005
    - attack.defense-evasion
    - attack.t1218
    - attack.t1202
logsource:
    category: process_creation
    product: windows
detection:
    selection_parent:
        ParentImage|endswith:
            - '\bginfo.exe'
            - '\bginfo64.exe'
    selection_child:
        - Image|endswith:
              - '\calc.exe'
              - '\cmd.exe'
              - '\cscript.exe'
              - '\mshta.exe'
              - '\notepad.exe'
              - '\powershell.exe'
              - '\pwsh.exe'
              - '\wscript.exe'
        - Image|contains:
              - '\AppData\Local\'
              - '\AppData\Roaming\'
              - ':\Users\Public\'
              - ':\Temp\'
              - ':\Windows\Temp\'
              - ':\PerfLogs\'
    condition: all of selection_*
falsepositives:
    - Unknown
level: high