Skip to content

olevba+mraptor: detect Evaluate+DDE #372

@decalage2

Description

@decalage2

As shown by @DissectMalware, in VBA with Excel the Evaluate method can be used to trigger a DDE link to run code:

Example:

DDE = "cmd|'/c calc'!A0"
Workbooks(1).Sheets(1).Evaluate DDE
Workbooks(1).Application.Sheets(1).Evaluate DDE
Workbooks.Add(1).Application.Sheets(1).Evaluate DDE 
Application.Evaluate DDE

It might also be possible to use this method to trigger old-style MS Excel macros.

Moreover, from the MS doc: "Using square brackets (for example, "[A1:C5]") is identical to calling the Evaluate method with a string argument."

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions