Analysis

  • max time kernel
    141s
  • max time network
    151s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240412-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240412-enlocale:en-usos:windows10-2004-x64system
  • submitted
    25/04/2024, 01:22

General

  • Target
    42ac8e7e9df9877af1382f5626fd74e63210d307f6d577cd5b387ffd0c9520bd.exe
  • Size 1.6MB
  • Sample240425-brmglscg65
  • SHA256 42ac8e7e9df9877af1382f5626fd74e63210d307f6d577cd5b387ffd0c9520bd
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • remcos

Botnet
  • RemoteHost

C2
  • kenoss.duckdns.org:1166

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

    fggrt

  • mouse_option

    false

  • mutex

    Rmc-L24XL1

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

  • Detects Windows exceutables bypassing UAC using CMSTP COM interfaces. MITRE (T1218.003) 6 IoCs
  • ModiLoader Second Stage 1 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

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

  • Executes dropped EXE 4 IoCs
  • Loads dropped DLL 1 IoCs
  • Adds Run key to start application 2 TTPs 3 IoCs
  • Suspicious use of SetThreadContext 1 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 2 IoCs

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

  • Suspicious behavior: EnumeratesProcesses 3 IoCs
  • Suspicious use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of WriteProcessMemory 42 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\42ac8e7e9df9877af1382f5626fd74e63210d307f6d577cd5b387ffd0c9520bd.exe
    "C:\Users\Admin\AppData\Local\Temp\42ac8e7e9df9877af1382f5626fd74e63210d307f6d577cd5b387ffd0c9520bd.exe"
    1⤵
    • Adds Run key to start application
    • Suspicious use of SetThreadContext
    • Suspicious use of WriteProcessMemory
    PID:4440
    • C:\Windows\SysWOW64\cmd.exe
      C:\Windows\system32\cmd.exe /c ""C:\Users\Public\Libraries\XjfxsfmnO.bat" "
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:2624
      • C:\Windows\SysWOW64\cmd.exe
        C:\Windows\system32\cmd.exe /S /D /c" ECHO F"
        3⤵
          PID:3588
        • C:\Windows\SysWOW64\xcopy.exe
          xcopy "easinvoker.exe" "C:\Windows \System32\" /K /D /H /Y
          3⤵
          • Enumerates system info in registry
          PID:4592
        • C:\Windows\SysWOW64\cmd.exe
          C:\Windows\system32\cmd.exe /S /D /c" ECHO F"
          3⤵
            PID:3680
          • C:\Windows\SysWOW64\xcopy.exe
            xcopy "Aaa.bat" "C:\Windows \System32\" /K /D /H /Y
            3⤵
            • Enumerates system info in registry
            PID:4300
          • C:\Windows\SysWOW64\cmd.exe
            C:\Windows\system32\cmd.exe /S /D /c" ECHO F"
            3⤵
              PID:2652
            • C:\Windows\SysWOW64\xcopy.exe
              xcopy "netutils.dll" "C:\Windows \System32\" /K /D /H /Y
              3⤵
              • Enumerates system info in registry
              PID:536
            • C:\Windows \System32\easinvoker.exe
              "C:\Windows \System32\easinvoker.exe"
              3⤵
              • Executes dropped EXE
              • Loads dropped DLL
              • Suspicious use of WriteProcessMemory
              PID:4304
              • C:\Windows\system32\cmd.exe
                C:\Windows\system32\cmd.exe /c ""C:\windows \system32\aaa.bat""
                4⤵
                • Suspicious use of WriteProcessMemory
                PID:2268
                • C:\Windows\System32\extrac32.exe
                  C:\\Windows\\System32\\extrac32.exe /C /Y C:\\Windows\\System32\\cmd.exe C:\\Users\\Public\\alpha.exe
                  5⤵
                    PID:4136
                  • 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:4380
                    • 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:1284
            • C:\Windows\SysWOW64\extrac32.exe
              C:\\Windows\\System32\\extrac32.exe /C /Y C:\Users\Admin\AppData\Local\Temp\42ac8e7e9df9877af1382f5626fd74e63210d307f6d577cd5b387ffd0c9520bd.exe C:\\Users\\Public\\Libraries\\Xjfxsfmn.PIF
              2⤵
                PID:1520
              • C:\Users\Public\Libraries\nmfsxfjX.pif
                C:\Users\Public\Libraries\nmfsxfjX.pif
                2⤵
                • Checks computer location settings
                • Executes dropped EXE
                • Adds Run key to start application
                • Suspicious use of WriteProcessMemory
                PID:1524
                • C:\ProgramData\Remcos\remcos.exe
                  "C:\ProgramData\Remcos\remcos.exe"
                  3⤵
                  • Executes dropped EXE
                  PID:2000

            Network

                  MITRE ATT&CK Enterprise v15

                  Replay Monitor

                  Loading Replay Monitor...

                  Downloads

                  __PSScriptPolicyTest_i1dkxpit.1bb.ps1

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

                  XjfxsfmnO.bat

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

                  nmfsxfjX.pif

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

                  memory/1284-41-0x00007FFC48F40000-0x00007FFC49A01000-memory.dmp

                  memory/1284-45-0x00007FFC48F40000-0x00007FFC49A01000-memory.dmp

                  memory/1284-42-0x000001ECB96D0000-0x000001ECB96E0000-memory.dmp

                  memory/1284-31-0x000001ECB9C50000-0x000001ECB9C72000-memory.dmp

                  memory/1524-52-0x0000000000400000-0x0000000001400000-memory.dmp

                  memory/1524-55-0x0000000000400000-0x0000000001400000-memory.dmp

                  memory/1524-57-0x0000000000400000-0x0000000001400000-memory.dmp

                  memory/1524-59-0x0000000000400000-0x0000000001400000-memory.dmp

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

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

                  memory/2000-74-0x0000000000400000-0x000000000041A000-memory.dmp

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

                  memory/4440-1-0x0000000002EC0000-0x0000000003EC0000-memory.dmp

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

                  memory/4440-2-0x0000000002EC0000-0x0000000003EC0000-memory.dmp

                  memory/4440-0-0x0000000002330000-0x0000000002331000-memory.dmp