Analysis

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

    arch:x64arch:x86image:win10v2004-20231215-enlocale:en-usos:windows10-2004-x64system
  • submitted
    30/01/2024, 18:13

General

  • Target
    x.exe
  • Size 2.0MB
  • Sample240130-wtqx2abhck
  • SHA256 aad2763bc741b46616ba3bb283b7a5a513219a57b19f323d45aa5f9bc7557c52
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • remcos

Botnet
  • RemoteHost

C2
  • mfreshbnrem.ddns.net:2404

  • wwmfreshbnrem.ddns.net:2404

  • 2wwmfreshbnrem.ddns.net:2404

  • 32wwmfreshbnrem.ddns.net:2404

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

    FTYGFTGF

  • mouse_option

    false

  • mutex

    HGFGFHGFHHFYH-GCNOWL

  • 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 1 IoCs
  • Creates new service(s) 1 TTPs
  • Executes dropped EXE 2 IoCs
  • Loads dropped DLL 2 IoCs
  • Adds Run key to start application 2 TTPs 1 IoCs
  • Launches sc.exe 2 IoCs

    Sc.exe is a Windows utlilty to control services on the system.

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

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

  • Suspicious behavior: EnumeratesProcesses 64 IoCs
  • Suspicious behavior: LoadsDriver 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of FindShellTrayWindow 1 IoCs
  • Suspicious use of SendNotifyMessage 2 IoCs
  • Suspicious use of WriteProcessMemory 51 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\x.exe
    "C:\Users\Admin\AppData\Local\Temp\x.exe"
    1⤵
    • Adds Run key to start application
    • Suspicious use of WriteProcessMemory
    PID:4612
    • C:\Windows\SysWOW64\cmd.exe
      C:\Windows\system32\cmd.exe /c ""C:\Users\Public\Libraries\IkyjznkwO.bat" "
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:1652
      • C:\Windows\SysWOW64\cmd.exe
        cmd /c mkdir "\\?\C:\Windows "
        3⤵
          PID:1404
        • C:\Windows\SysWOW64\cmd.exe
          C:\Windows\system32\cmd.exe /S /D /c" ECHO F"
          3⤵
            PID:4584
          • C:\Windows\SysWOW64\xcopy.exe
            xcopy "easinvoker.exe" "C:\Windows \System32\" /K /D /H /Y
            3⤵
            • Enumerates system info in registry
            PID:2676
          • C:\Windows\SysWOW64\cmd.exe
            C:\Windows\system32\cmd.exe /S /D /c" ECHO F"
            3⤵
              PID:836
            • C:\Windows\SysWOW64\xcopy.exe
              xcopy "netutils.dll" "C:\Windows \System32\" /K /D /H /Y
              3⤵
              • Enumerates system info in registry
              PID:4420
            • C:\Windows\SysWOW64\cmd.exe
              C:\Windows\system32\cmd.exe /S /D /c" ECHO F"
              3⤵
                PID:1552
              • C:\Windows\SysWOW64\xcopy.exe
                xcopy "KDECO.bat" "C:\Windows \System32\" /K /D /H /Y
                3⤵
                • Enumerates system info in registry
                PID:3912
              • C:\Windows\SysWOW64\cmd.exe
                C:\Windows\system32\cmd.exe /S /D /c" ECHO F"
                3⤵
                  PID:1560
                • C:\Windows\SysWOW64\xcopy.exe
                  xcopy "x.bat" "C:\Windows \System32\" /K /D /H /Y
                  3⤵
                  • Enumerates system info in registry
                  PID:1428
                • C:\Windows \System32\easinvoker.exe
                  "C:\\Windows \\System32\\easinvoker.exe"
                  3⤵
                  • Executes dropped EXE
                  • Loads dropped DLL
                  • Suspicious behavior: EnumeratesProcesses
                  • Suspicious use of WriteProcessMemory
                  PID:2964
                  • C:\Windows\system32\cmd.exe
                    C:\Windows\system32\cmd.exe /c ""C:\windows \system32\KDECO.bat""
                    4⤵
                    • Suspicious use of WriteProcessMemory
                    PID:924
                    • C:\Windows\system32\cmd.exe
                      cmd /c powershell.exe -inputformat none -outputformat none -NonInteractive -Command "Add-MpPreference -ExclusionPath 'C:\Users'"
                      5⤵
                      • Suspicious use of WriteProcessMemory
                      PID:1344
                      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
                        powershell.exe -inputformat none -outputformat none -NonInteractive -Command "Add-MpPreference -ExclusionPath 'C:\Users'"
                        6⤵
                        • Suspicious use of AdjustPrivilegeToken
                        PID:1284
                    • C:\Windows\system32\sc.exe
                      sc.exe create truesight binPath="C:\Users\Public\Libraries\truesight.sys" type=kernel
                      5⤵
                      • Launches sc.exe
                      PID:4496
                    • C:\Windows\system32\sc.exe
                      sc.exe start truesight
                      5⤵
                      • Launches sc.exe
                      PID:4700
              • C:\Windows\SysWOW64\cmd.exe
                cmd /c "C:\\Windows \\System32\\easinvoker.exe"
                2⤵
                • Suspicious use of WriteProcessMemory
                PID:2772
                • C:\Windows \System32\easinvoker.exe
                  "C:\\Windows \\System32\\easinvoker.exe"
                  3⤵
                  • Executes dropped EXE
                  • Loads dropped DLL
                  PID:3376
              • C:\Windows\SysWOW64\SndVol.exe
                C:\Windows\System32\SndVol.exe
                2⤵
                • Suspicious use of FindShellTrayWindow
                • Suspicious use of SendNotifyMessage
                PID:1508

            Network

                  MITRE ATT&CK Enterprise v15

                  Replay Monitor

                  Loading Replay Monitor...

                  Downloads

                  logs.dat

                  • Path C:\ProgramData\FTYGFTGF\logs.dat
                  • Size 222B
                  • SHA256 5bd1f27287405eea35418d7a19f23b7d6c61eda13f96d919cf4522ab8bc03f3d
                  • MD5 SHA1 SHA512

                  __PSScriptPolicyTest_obzd55nq.ilh.ps1

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

                  IkyjznkwO.bat

                  • Path C:\Users\Public\Libraries\IkyjznkwO.bat
                  • Size 7KB
                  • SHA256 f46e0cc2c119a32dd87edf97bfc73d985ee97d2c9dc00274b6b20d641e29deea
                  • MD5 SHA1 SHA512 SSDEEP

                  KDECO.bat

                  • Path C:\Users\Public\Libraries\KDECO.bat
                  • Size 4KB
                  • SHA256 c8e1912a3328802e98563e32eb053ae3e28249b701054af227e9f1ba6bfe24d9
                  • MD5 SHA1 SHA512 SSDEEP

                  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 116KB
                  • SHA256 e443c8e9201f17ef4180d97a8505c24b4645e3ab25eacdeb8807d036229e2c1a
                  • MD5 SHA1 SHA512 SSDEEP

                  memory/1284-41-0x00000273B8690000-0x00000273B86A0000-memory.dmp

                  memory/1284-46-0x00007FF9B6630000-0x00007FF9B70F1000-memory.dmp

                  memory/1284-43-0x00000273B8690000-0x00000273B86A0000-memory.dmp

                  memory/1284-42-0x00000273B8690000-0x00000273B86A0000-memory.dmp

                  memory/1284-35-0x00000273A00D0000-0x00000273A00F2000-memory.dmp

                  memory/1284-40-0x00007FF9B6630000-0x00007FF9B70F1000-memory.dmp

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

                  memory/1508-61-0x0000000000400000-0x0000000000482000-memory.dmp

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

                  memory/1508-91-0x0000000000400000-0x0000000000482000-memory.dmp

                  memory/1508-84-0x0000000000400000-0x0000000000482000-memory.dmp

                  memory/1508-50-0x0000000002B10000-0x0000000003B10000-memory.dmp

                  memory/1508-83-0x0000000000400000-0x0000000000482000-memory.dmp

                  memory/1508-53-0x0000000000400000-0x0000000000482000-memory.dmp

                  memory/1508-52-0x0000000000400000-0x0000000000482000-memory.dmp

                  memory/1508-55-0x0000000000400000-0x0000000000482000-memory.dmp

                  memory/1508-57-0x0000000000400000-0x0000000000482000-memory.dmp

                  memory/1508-59-0x0000000000400000-0x0000000000482000-memory.dmp

                  memory/1508-60-0x0000000000400000-0x0000000000482000-memory.dmp

                  memory/1508-76-0x0000000000400000-0x0000000000482000-memory.dmp

                  memory/1508-62-0x0000000000400000-0x0000000000482000-memory.dmp

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

                  memory/1508-67-0x0000000000400000-0x0000000000482000-memory.dmp

                  memory/1508-72-0x0000000000400000-0x0000000000482000-memory.dmp

                  memory/2964-27-0x00000000613C0000-0x00000000613E3000-memory.dmp

                  memory/3376-49-0x00000000613C0000-0x00000000613E3000-memory.dmp

                  memory/4612-1-0x00000000040A0000-0x00000000050A0000-memory.dmp

                  memory/4612-0-0x0000000002410000-0x0000000002411000-memory.dmp

                  memory/4612-51-0x0000000002410000-0x0000000002411000-memory.dmp

                  memory/4612-2-0x00000000040A0000-0x00000000050A0000-memory.dmp

                  memory/4612-4-0x0000000000400000-0x0000000000608000-memory.dmp