ObliqueRAT — Office (OLE) / .DOCX malware analysis

Static analysis result for SHA-256 057da080ae098358…

MALICIOUS

Office (OLE) / .DOCX

762.0 KB Created: 2019-03-29 13:16:00 Authoring application: Microsoft Office Word
MD5: f2dddba78eeba2eba586b945168a1935 SHA-1: e87d7a535db26dff8e98a329f4d73040169a308d SHA-256: 057da080ae0983585ae21195bee60d82664355a7fd78c25f21791b165c250212
368 Risk Score

Malware Insights

ObliqueRAT · confidence 95%

MITRE ATT&CK
T1059.005 Visual Basic T1059 Command and Scripting Interpreter T1204.002 Malicious File T1105 Ingress Tool Transfer

The sample contains critical heuristics indicating the presence and execution of VBA macros, specifically a Document_Open macro that utilizes WScript.Shell to create and execute a file. The script writes a byte array to 'C:\Users\Public\sgrmbrokr.doc' and then renames it to 'C:\Users\Public\sgrmbrokr.exe', strongly suggesting it acts as a dropper for a second-stage payload. The ClamAV detection name 'Doc.Dropper.ObliqueRAT-7591457-0' further supports this classification.

Heuristics 9

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • WScript.Shell usage critical OLE_VBA_WSCRIPT
    WScript.Shell usage
  • ClamAV: Doc.Dropper.ObliqueRAT-7591457-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Dropper.ObliqueRAT-7591457-0
  • Reference to Windows Script Host high SC_STR_WSCRIPT
    Reference to Windows Script Host
  • Document_Open macro high OLE_VBA_DOCOPEN
    Document_Open macro
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
  • VBA p-code auto-exec with execution tokens high OLE_VBA_PCODE_AUTOEXEC_EXEC
    Compiled VBA/cache stream contains an auto-execution token together with shell/download/object-execution tokens. This catches p-code-only or source-extraction-failure macro documents where visible source is unavailable.
  • VBA macros detected medium OLE_VBA_MACROS
    Document contains VBA macro code
  • Environ() call (env variable access) low OLE_VBA_ENVIRON
    Environ() call (env variable access)

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
1d1e1b91cf4e7d60d6eb98fb069b2bff300a734e815ae7951e8f6659ff1dad73
vba-macro oletools.olevba.extract_macros (decoded VBA source) 7409 bytes