File Format Confusion

By looking the structure of the PE and the content of the file, the engine is able to detect if the file is malicious or not. For example, an heuristic engine can try to figure out if a file are using a dual extension (e.g: invoice.doc.exe) and determine the file as being malicious.

Confusing file format is another trick that can be used to bypass an AV detection specific to a file format.

U0511

Detection Rules

title: Execute DLL with spoofed extension
status: experimental
description: Execute DLL with spoofed extension
author: Joe Security
date: 2020-03-24
id: 200068
threatname:
behaviorgroup: 1
classification: 8
mitreattack:

logsource:
      category: process_creation
      product: windows
detection:
      selection:      
          CommandLine:
              - '*rundll32*.html,DllRegisterServer*'
              - '*rundll32*.htm,DllRegisterServer*'
              - '*rundll32*.txt,DllRegisterServer*'
              - '*rundll32*.png,DllRegisterServer*'
              - '*rundll32*.jpeg,DllRegisterServer*'
              - '*rundll32*.jpg,DllRegisterServer*'
              - '*regsvr32 c:\programdata\\*.pdf*'
              - '*regsvr32 c:\programdata\\*.txt*'
              - '*regsvr32 c:\users\public\\*.pdf*'
              - '*regsvr32 c:\users\public\\*.txt*'
              
      condition: selection
level: critical

Additional Resources

Subscribe to our Newsletter and don't miss important updates