Analysis

  • max time kernel
    210s
  • max time network
    214s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240226-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system
  • submitted
    23/04/2024, 19:27

General

  • Target
    hjc.exe
  • Size 1.6MB
  • Sample240423-x6c3dabb85
  • SHA256 e1cecfcc4eed2f4b74af7d971dcf24555534db164ddb0b7cd1e821b2f0402703
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • remcos

Botnet
  • RemoteHost

C2
  • oceansss.duckdns.org:1144

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

    true

  • keylog_crypt

    false

  • keylog_file

    logs.dat

  • keylog_flag

    false

  • keylog_folder

    fgdghrd

  • mouse_option

    false

  • mutex

    Rmc-VLI916

  • screenshot_crypt

    false

  • screenshot_flag

    false

  • screenshot_folder

    Screenshots

  • screenshot_path

    %AppData%

  • screenshot_time

    10

  • take_screenshot_option

    false

  • take_screenshot_time

    5

Signatures

  • ModiLoader, DBatLoader

    ModiLoader is a Delphi loader that misuses cloud services to download other malicious families.

  • Remcos

    Remcos is a closed-source remote control and surveillance software.

  • ModiLoader Second Stage 2 IoCs
  • NirSoft MailPassView 2 IoCs

    Password recovery tool for various email clients

  • NirSoft WebBrowserPassView 2 IoCs

    Password recovery tool for various web browsers

  • Nirsoft 6 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

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

  • Executes dropped EXE 6 IoCs
  • Loads dropped DLL 1 IoCs
  • Reads user/profile data of web browsers 2 TTPs

    Infostealers often target stored browser data, which can include saved credentials etc.

  • Accesses Microsoft Outlook accounts 1 TTPs 1 IoCs
  • Adds Run key to start application 2 TTPs 5 IoCs
  • Suspicious use of SetThreadContext 3 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • Enumerates system info in registry 2 TTPs 3 IoCs
  • Script User-Agent 4 IoCs

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

  • Suspicious behavior: EnumeratesProcesses 8 IoCs
  • Suspicious behavior: MapViewOfSection 3 IoCs
  • Suspicious use of AdjustPrivilegeToken 2 IoCs
  • Suspicious use of FindShellTrayWindow 1 IoCs
  • Suspicious use of SendNotifyMessage 1 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 46 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\hjc.exe
    "C:\Users\Admin\AppData\Local\Temp\hjc.exe"
    1⤵
    • Checks computer location settings
    • Adds Run key to start application
    • Suspicious use of WriteProcessMemory
    PID:2548
    • C:\Windows\SysWOW64\cmd.exe
      C:\Windows\system32\cmd.exe /c ""C:\Users\Public\Libraries\CmzcxhwnO.bat" "
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:4900
      • C:\Windows\SysWOW64\cmd.exe
        C:\Windows\system32\cmd.exe /S /D /c" ECHO F"
        3⤵
          PID:4076
        • C:\Windows\SysWOW64\xcopy.exe
          xcopy "easinvoker.exe" "C:\Windows \System32\" /K /D /H /Y
          3⤵
          • Enumerates system info in registry
          PID:2656
        • C:\Windows\SysWOW64\cmd.exe
          C:\Windows\system32\cmd.exe /S /D /c" ECHO F"
          3⤵
            PID:3820
          • C:\Windows\SysWOW64\xcopy.exe
            xcopy "Aaa.bat" "C:\Windows \System32\" /K /D /H /Y
            3⤵
            • Enumerates system info in registry
            PID:1880
          • C:\Windows\SysWOW64\cmd.exe
            C:\Windows\system32\cmd.exe /S /D /c" ECHO F"
            3⤵
              PID:3836
            • C:\Windows\SysWOW64\xcopy.exe
              xcopy "netutils.dll" "C:\Windows \System32\" /K /D /H /Y
              3⤵
              • Enumerates system info in registry
              PID:3768
            • C:\Windows \System32\easinvoker.exe
              "C:\Windows \System32\easinvoker.exe"
              3⤵
              • Executes dropped EXE
              • Loads dropped DLL
              • Suspicious use of WriteProcessMemory
              PID:1612
              • C:\Windows\system32\cmd.exe
                C:\Windows\system32\cmd.exe /c ""C:\windows \system32\aaa.bat""
                4⤵
                • Suspicious use of WriteProcessMemory
                PID:2076
                • C:\Windows\System32\extrac32.exe
                  C:\\Windows\\System32\\extrac32.exe /C /Y C:\\Windows\\System32\\cmd.exe C:\\Users\\Public\\alpha.exe
                  5⤵
                    PID:1836
                  • C:\Users\Public\alpha.exe
                    C:\\Users\\Public\\alpha /c powershell.exe -inputformat none -outputformat none -NonInteractive -Command "Add-MpPreference -ExclusionPath 'C:\Users'"
                    5⤵
                    • Executes dropped EXE
                    • Suspicious use of WriteProcessMemory
                    PID:4136
                    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
                      powershell.exe -inputformat none -outputformat none -NonInteractive -Command "Add-MpPreference -ExclusionPath 'C:\Users'"
                      6⤵
                      • Suspicious behavior: EnumeratesProcesses
                      • Suspicious use of AdjustPrivilegeToken
                      PID:1564
            • C:\Windows\SysWOW64\extrac32.exe
              C:\\Windows\\System32\\extrac32.exe /C /Y C:\Users\Admin\AppData\Local\Temp\hjc.exe C:\\Users\\Public\\Libraries\\Cmzcxhwn.PIF
              2⤵
                PID:4440
              • C:\ProgramData\Remcos\remcos.exe
                "C:\ProgramData\Remcos\remcos.exe"
                2⤵
                • Executes dropped EXE
                • Adds Run key to start application
                • Suspicious use of SetThreadContext
                • Suspicious behavior: MapViewOfSection
                • Suspicious use of FindShellTrayWindow
                • Suspicious use of SendNotifyMessage
                • Suspicious use of SetWindowsHookEx
                • Suspicious use of WriteProcessMemory
                PID:4612
                • C:\ProgramData\Remcos\remcos.exe
                  C:\ProgramData\Remcos\remcos.exe /stext "C:\Users\Admin\AppData\Local\Temp\lrmzezvuxvalxblmneh"
                  3⤵
                  • Executes dropped EXE
                  • Suspicious behavior: EnumeratesProcesses
                  PID:3540
                • C:\ProgramData\Remcos\remcos.exe
                  C:\ProgramData\Remcos\remcos.exe /stext "C:\Users\Admin\AppData\Local\Temp\wtssekgoldsqzhzqwptmtx"
                  3⤵
                  • Executes dropped EXE
                  • Accesses Microsoft Outlook accounts
                  PID:3404
                • C:\ProgramData\Remcos\remcos.exe
                  C:\ProgramData\Remcos\remcos.exe /stext "C:\Users\Admin\AppData\Local\Temp\gnxlfcrqylkdkvvunagoeknfe"
                  3⤵
                  • Executes dropped EXE
                  • Suspicious behavior: EnumeratesProcesses
                  • Suspicious use of AdjustPrivilegeToken
                  PID:2096
            • 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 --no-appcompat-clear --mojo-platform-channel-handle=3736 --field-trial-handle=3088,i,14310325015283915034,7660943942870463106,262144 --variations-seed-version /prefetch:8
              1⤵
                PID:1484

              Network

                    MITRE ATT&CK Enterprise v15

                    Replay Monitor

                    Loading Replay Monitor...

                    Downloads

                    remcos.exe

                    • Path C:\ProgramData\Remcos\remcos.exe
                    • Size 1.6MB
                    • SHA256 e1cecfcc4eed2f4b74af7d971dcf24555534db164ddb0b7cd1e821b2f0402703
                    • MD5 SHA1 SHA512 SSDEEP

                    logs.dat

                    • Path C:\ProgramData\fgdghrd\logs.dat
                    • Size 178B
                    • SHA256 0e4cc983d0e28e5b6dd1baf60565f37590e5a8b2fac044a871c8897d0ab5c0f4
                    • MD5 SHA1 SHA512

                    __PSScriptPolicyTest_2ezg5pqa.ppd.ps1

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

                    lrmzezvuxvalxblmneh

                    • Path C:\Users\Admin\AppData\Local\Temp\lrmzezvuxvalxblmneh
                    • Size 4KB
                    • SHA256 7176ca3d0196ec46f178107fdb587adaef3f6ea65daa80eccd2371a515880e04
                    • MD5 SHA1 SHA512 SSDEEP

                    CmzcxhwnO.bat

                    • Path C:\Users\Public\Libraries\CmzcxhwnO.bat
                    • Size 29KB
                    • SHA256 abac4a967800f5da708572ec42441ec373cd52459a83a8a382d6b8579482789d
                    • MD5 SHA1 SHA512 SSDEEP

                    aaa.bat

                    • Path C:\Users\Public\Libraries\aaa.bat
                    • Size 3KB
                    • SHA256 11c20fabf677cd77e8a354b520f6ffca09cac37ce15c9932550e749e49efe08a
                    • MD5 SHA1 SHA512

                    easinvoker.exe

                    • Path C:\Users\Public\Libraries\easinvoker.exe
                    • Size 128KB
                    • SHA256 30951db8bfc21640645aa9144cfeaa294bb7c6980ef236d28552b6f4f3f92a96
                    • MD5 SHA1 SHA512 SSDEEP

                    netutils.dll

                    • Path C:\Users\Public\Libraries\netutils.dll
                    • Size 114KB
                    • SHA256 a692d4305b95e57e2cfc871d53a41a5bfc9e306cb1a86ca1159db4f469598714
                    • MD5 SHA1 SHA512 SSDEEP

                    alpha.exe

                    • Path C:\Users\Public\alpha.exe
                    • Size 283KB
                    • SHA256 b99d61d874728edc0918ca0eb10eab93d381e7367e377406e65963366c874450
                    • MD5 SHA1 SHA512 SSDEEP

                    memory/1564-47-0x00007FFFD63F0000-0x00007FFFD6EB1000-memory.dmp

                    memory/1564-37-0x000001C3C0710000-0x000001C3C0732000-memory.dmp

                    memory/1564-42-0x00007FFFD63F0000-0x00007FFFD6EB1000-memory.dmp

                    memory/1564-43-0x000001C3BEE30000-0x000001C3BEE40000-memory.dmp

                    memory/1564-44-0x000001C3BEE30000-0x000001C3BEE40000-memory.dmp

                    memory/1612-24-0x00000000613C0000-0x00000000613E3000-memory.dmp

                    memory/2096-112-0x0000000000400000-0x0000000000424000-memory.dmp

                    memory/2096-107-0x0000000000400000-0x0000000000424000-memory.dmp

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

                    memory/2096-100-0x0000000000400000-0x0000000000424000-memory.dmp

                    memory/2548-48-0x0000000002530000-0x0000000002531000-memory.dmp

                    memory/2548-4-0x0000000000400000-0x0000000000598000-memory.dmp

                    memory/2548-1-0x0000000002E30000-0x0000000003E30000-memory.dmp

                    memory/2548-2-0x0000000002E30000-0x0000000003E30000-memory.dmp

                    memory/2548-0-0x0000000002530000-0x0000000002531000-memory.dmp

                    memory/3404-93-0x0000000000400000-0x0000000000462000-memory.dmp

                    memory/3404-113-0x0000000000400000-0x0000000000462000-memory.dmp

                    memory/3404-103-0x0000000000400000-0x0000000000462000-memory.dmp

                    memory/3404-99-0x0000000000400000-0x0000000000462000-memory.dmp

                    memory/3540-91-0x0000000000400000-0x0000000000478000-memory.dmp

                    memory/3540-122-0x0000000000400000-0x0000000000478000-memory.dmp

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

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

                    memory/4612-69-0x0000000014F90000-0x0000000015F90000-memory.dmp

                    memory/4612-74-0x0000000014F90000-0x0000000015F90000-memory.dmp

                    memory/4612-85-0x0000000014F90000-0x0000000015F90000-memory.dmp

                    memory/4612-86-0x0000000014F90000-0x0000000015F90000-memory.dmp

                    memory/4612-89-0x00000000020F0000-0x00000000020F1000-memory.dmp

                    memory/4612-79-0x0000000014F90000-0x0000000015F90000-memory.dmp

                    memory/4612-71-0x0000000014F90000-0x0000000015F90000-memory.dmp

                    memory/4612-78-0x0000000014F90000-0x0000000015F90000-memory.dmp

                    memory/4612-70-0x0000000014F90000-0x0000000015F90000-memory.dmp

                    memory/4612-77-0x0000000014F90000-0x0000000015F90000-memory.dmp

                    memory/4612-76-0x0000000014F90000-0x0000000015F90000-memory.dmp

                    memory/4612-72-0x0000000014F90000-0x0000000015F90000-memory.dmp

                    memory/4612-68-0x0000000014F90000-0x0000000015F90000-memory.dmp

                    memory/4612-75-0x0000000014F90000-0x0000000015F90000-memory.dmp

                    memory/4612-67-0x0000000000400000-0x0000000000598000-memory.dmp

                    memory/4612-82-0x0000000014F90000-0x0000000015F90000-memory.dmp

                    memory/4612-73-0x0000000014F90000-0x0000000015F90000-memory.dmp

                    memory/4612-65-0x0000000002DE0000-0x0000000003DE0000-memory.dmp

                    memory/4612-125-0x000000002D810000-0x000000002D829000-memory.dmp

                    memory/4612-130-0x000000002D810000-0x000000002D829000-memory.dmp

                    memory/4612-129-0x000000002D810000-0x000000002D829000-memory.dmp

                    memory/4612-131-0x000000002D810000-0x000000002D829000-memory.dmp

                    memory/4612-128-0x000000002D810000-0x000000002D829000-memory.dmp

                    memory/4612-132-0x0000000014F90000-0x0000000015F90000-memory.dmp

                    memory/4612-63-0x00000000020F0000-0x00000000020F1000-memory.dmp

                    memory/4612-139-0x000000002D810000-0x000000002D829000-memory.dmp

                    memory/4612-140-0x0000000014F90000-0x0000000015F90000-memory.dmp

                    memory/4612-141-0x0000000014F90000-0x0000000015F90000-memory.dmp

                    memory/4612-151-0x0000000014F90000-0x0000000015F90000-memory.dmp

                    memory/4612-152-0x0000000014F90000-0x0000000015F90000-memory.dmp

                    memory/4612-162-0x0000000014F90000-0x0000000015F90000-memory.dmp