Analysis

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

    arch:x64arch:x86image:win10v2004-20231215-enlocale:en-usos:windows10-2004-x64system
  • submitted
    21/02/2024, 03:08

General

  • Target
    8be97a9c113f3bb0e739c7a0eada8c929df2c750a5f68acf9bb8a2e48bf2acee.bat
  • Size 3.0MB
  • Sample240221-dm8v6aac8v
  • SHA256 8be97a9c113f3bb0e739c7a0eada8c929df2c750a5f68acf9bb8a2e48bf2acee
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • remcos

Botnet
  • RemoteHost

C2
  • 127.0.0.1:45671

  • 127.0.0.1:55677

  • 192.3.101.8:55677

  • 192.3.101.8:45671

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

  • 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
  • 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
  • Creates new service(s) 1 TTPs
  • Checks computer location settings 2 TTPs 2 IoCs

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

  • Executes dropped EXE 7 IoCs
  • Loads dropped DLL 2 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 1 IoCs
  • Suspicious use of SetThreadContext 4 IoCs
  • Launches sc.exe 2 IoCs

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

  • Enumerates physical storage devices 1 TTPs

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

  • Enumerates system info in registry 2 TTPs 4 IoCs
  • Modifies registry class 1 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 64 IoCs
  • Suspicious behavior: LoadsDriver 1 IoCs
  • Suspicious behavior: MapViewOfSection 3 IoCs
  • Suspicious use of AdjustPrivilegeToken 2 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 64 IoCs

Processes

  • C:\Windows\system32\cmd.exe
    C:\Windows\system32\cmd.exe /c "C:\Users\Admin\AppData\Local\Temp\8be97a9c113f3bb0e739c7a0eada8c929df2c750a5f68acf9bb8a2e48bf2acee.bat"
    1⤵
    • Checks computer location settings
    • Modifies registry class
    • Suspicious use of WriteProcessMemory
    PID:3884
    • C:\Windows\system32\certutil.exe
      certutil -decodehex "C:\Users\Admin\AppData\Local\Temp\8be97a9c113f3bb0e739c7a0eada8c929df2c750a5f68acf9bb8a2e48bf2acee.bat" "C:\Users\Public\pointer.hta" 3
      2⤵
        PID:4736
      • C:\Windows\system32\cmd.exe
        cmd /c PING -n 2 127.0.0.1
        2⤵
        • Suspicious use of WriteProcessMemory
        PID:3308
        • C:\Windows\system32\PING.EXE
          PING -n 2 127.0.0.1
          3⤵
          • Runs ping.exe
          PID:1520
      • C:\Windows\SysWOW64\mshta.exe
        "C:\Windows\SysWOW64\mshta.exe" "C:\Users\Public\pointer.hta" {1E460BD7-F1C3-4B2E-88BF-4E770A288AF5}{1E460BD7-F1C3-4B2E-88BF-4E770A288AF5}
        2⤵
        • Checks computer location settings
        • Suspicious use of WriteProcessMemory
        PID:2004
        • C:\Users\Admin\AppData\Local\Temp\Calcex.com
          "C:\Users\Admin\AppData\Local\Temp\Calcex.com"
          3⤵
          • Executes dropped EXE
          • Adds Run key to start application
          • Suspicious use of SetThreadContext
          • Suspicious use of WriteProcessMemory
          PID:4152
          • C:\Windows\SysWOW64\cmd.exe
            C:\Windows\system32\cmd.exe /c ""C:\Users\Public\Libraries\XiogtxbpO.bat" "
            4⤵
            • Suspicious use of WriteProcessMemory
            PID:3292
            • C:\Windows\SysWOW64\cmd.exe
              cmd /c mkdir "\\?\C:\Windows "
              5⤵
                PID:4892
              • C:\Windows\SysWOW64\cmd.exe
                C:\Windows\system32\cmd.exe /S /D /c" ECHO F"
                5⤵
                  PID:3452
                • C:\Windows\SysWOW64\xcopy.exe
                  xcopy "easinvoker.exe" "C:\Windows \System32\" /K /D /H /Y
                  5⤵
                  • Enumerates system info in registry
                  PID:1828
                • C:\Windows\SysWOW64\cmd.exe
                  C:\Windows\system32\cmd.exe /S /D /c" ECHO F"
                  5⤵
                    PID:4316
                  • C:\Windows\SysWOW64\xcopy.exe
                    xcopy "netutils.dll" "C:\Windows \System32\" /K /D /H /Y
                    5⤵
                    • Enumerates system info in registry
                    PID:2316
                  • C:\Windows\SysWOW64\cmd.exe
                    C:\Windows\system32\cmd.exe /S /D /c" ECHO F"
                    5⤵
                      PID:956
                    • C:\Windows\SysWOW64\xcopy.exe
                      xcopy "KDECO.bat" "C:\Windows \System32\" /K /D /H /Y
                      5⤵
                      • Enumerates system info in registry
                      PID:3020
                    • C:\Windows\SysWOW64\cmd.exe
                      C:\Windows\system32\cmd.exe /S /D /c" ECHO F"
                      5⤵
                        PID:3524
                      • C:\Windows\SysWOW64\xcopy.exe
                        xcopy "x.bat" "C:\Windows \System32\" /K /D /H /Y
                        5⤵
                        • Enumerates system info in registry
                        PID:2232
                      • C:\Windows \System32\easinvoker.exe
                        "C:\\Windows \\System32\\easinvoker.exe"
                        5⤵
                        • Executes dropped EXE
                        • Loads dropped DLL
                        • Suspicious behavior: EnumeratesProcesses
                        • Suspicious use of WriteProcessMemory
                        PID:2800
                        • C:\Windows\system32\cmd.exe
                          C:\Windows\system32\cmd.exe /c ""C:\windows \system32\KDECO.bat""
                          6⤵
                          • Suspicious use of WriteProcessMemory
                          PID:3152
                          • C:\Windows\system32\cmd.exe
                            cmd /c powershell.exe -inputformat none -outputformat none -NonInteractive -Command "Add-MpPreference -ExclusionPath 'C:\Users'"
                            7⤵
                            • Suspicious use of WriteProcessMemory
                            PID:3956
                            • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
                              powershell.exe -inputformat none -outputformat none -NonInteractive -Command "Add-MpPreference -ExclusionPath 'C:\Users'"
                              8⤵
                              • Suspicious use of AdjustPrivilegeToken
                              PID:2728
                          • C:\Windows\system32\sc.exe
                            sc.exe create truesight binPath="C:\Users\Public\Libraries\truesight.sys" type=kernel
                            7⤵
                            • Launches sc.exe
                            PID:5044
                          • C:\Windows\system32\sc.exe
                            sc.exe start truesight
                            7⤵
                            • Launches sc.exe
                            PID:1700
                    • C:\Windows\SysWOW64\cmd.exe
                      cmd /c "C:\\Windows \\System32\\easinvoker.exe"
                      4⤵
                      • Suspicious use of WriteProcessMemory
                      PID:1032
                      • C:\Windows \System32\easinvoker.exe
                        "C:\\Windows \\System32\\easinvoker.exe"
                        5⤵
                        • Executes dropped EXE
                        • Loads dropped DLL
                        PID:1784
                    • C:\Users\Public\Libraries\pbxtgoiX.pif
                      C:\Users\Public\Libraries\pbxtgoiX.pif
                      4⤵
                      • Executes dropped EXE
                      • Suspicious use of SetThreadContext
                      • Suspicious behavior: MapViewOfSection
                      • Suspicious use of SetWindowsHookEx
                      PID:4212
                      • C:\Users\Public\Libraries\pbxtgoiX.pif
                        C:\Users\Public\Libraries\pbxtgoiX.pif /stext "C:\Users\Admin\AppData\Local\Temp\wwbtvchqydpdajhvdbuvcpjmttkdl"
                        5⤵
                        • Executes dropped EXE
                        PID:4980
                      • C:\Users\Public\Libraries\pbxtgoiX.pif
                        C:\Users\Public\Libraries\pbxtgoiX.pif /stext "C:\Users\Admin\AppData\Local\Temp\gqgewuarmlhicpwzumgxncvduiueevkx"
                        5⤵
                        • Executes dropped EXE
                        • Accesses Microsoft Outlook accounts
                        PID:4500
                      • C:\Users\Public\Libraries\pbxtgoiX.pif
                        C:\Users\Public\Libraries\pbxtgoiX.pif /stext "C:\Users\Admin\AppData\Local\Temp\rsmwo"
                        5⤵
                        • Executes dropped EXE
                        • Suspicious use of AdjustPrivilegeToken
                        PID:3988
                • C:\Windows\system32\cmd.exe
                  cmd /c exit /b 0
                  2⤵
                    PID:3736

                Network

                      MITRE ATT&CK Enterprise v15

                      Replay Monitor

                      Loading Replay Monitor...

                      Downloads

                      logs.dat

                      • Path C:\ProgramData\remcos\logs.dat
                      • Size 144B
                      • SHA256 437e1765e775595f2ab27dff5414be0be51158e0044710c282a8adb12b3b3d1a
                      • MD5 SHA1 SHA512

                      Calcex.com

                      • Path C:\Users\Admin\AppData\Local\Temp\Calcex.com
                      • Size 1.4MB
                      • SHA256 9287a57ce6ffa605b2eee36d8861921f7a151f6ab3f683e0e246ab57e8218286
                      • MD5 SHA1 SHA512 SSDEEP

                      __PSScriptPolicyTest_ulw0snpm.3qw.ps1

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

                      wwbtvchqydpdajhvdbuvcpjmttkdl

                      • Path C:\Users\Admin\AppData\Local\Temp\wwbtvchqydpdajhvdbuvcpjmttkdl
                      • Size 4KB
                      • SHA256 85e5e57100dde581ff37dcd80cbe55643328aaa6518b265ceb788d21ba9d0695
                      • MD5 SHA1 SHA512 SSDEEP

                      KDECO.bat

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

                      XiogtxbpO.bat

                      • Path C:\Users\Public\Libraries\XiogtxbpO.bat
                      • Size 7KB
                      • SHA256 f46e0cc2c119a32dd87edf97bfc73d985ee97d2c9dc00274b6b20d641e29deea
                      • 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 115KB
                      • SHA256 ae33f291a6f2011ca147c2b48035743aba3c507dcef86e1fa6acb4dee47cbf43
                      • MD5 SHA1 SHA512 SSDEEP

                      pbxtgoiX.pif

                      • Path C:\Users\Public\Libraries\pbxtgoiX.pif
                      • Size 66KB
                      • SHA256 7bcdc2e607abc65ef93afd009c3048970d9e8d1c2a18fc571562396b13ebb301
                      • MD5 SHA1 SHA512 SSDEEP

                      pointer.hta

                      • Path C:\Users\Public\pointer.hta
                      • Size 1.9MB
                      • SHA256 80db2c306a1c683a1c41657e6dcf284761ad495434cfa883300b91ebb335d48f
                      • MD5 SHA1 SHA512 SSDEEP

                      memory/1784-60-0x00000000613C0000-0x00000000613E3000-memory.dmp

                      memory/2728-48-0x0000021123460000-0x0000021123470000-memory.dmp

                      memory/2728-47-0x0000021123460000-0x0000021123470000-memory.dmp

                      memory/2728-46-0x0000021123460000-0x0000021123470000-memory.dmp

                      memory/2728-45-0x00007FFB20D10000-0x00007FFB217D1000-memory.dmp

                      memory/2728-51-0x00007FFB20D10000-0x00007FFB217D1000-memory.dmp

                      memory/2728-35-0x0000021123470000-0x0000021123492000-memory.dmp

                      memory/2800-34-0x00000000613C0000-0x00000000613E3000-memory.dmp

                      memory/3988-108-0x0000000000400000-0x0000000000424000-memory.dmp

                      memory/3988-109-0x0000000000400000-0x0000000000424000-memory.dmp

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

                      memory/3988-97-0x0000000000400000-0x0000000000424000-memory.dmp

                      memory/4152-9-0x0000000002F60000-0x0000000003F60000-memory.dmp

                      memory/4152-8-0x00000000022F0000-0x00000000022F1000-memory.dmp

                      memory/4152-10-0x0000000002F60000-0x0000000003F60000-memory.dmp

                      memory/4152-12-0x0000000000400000-0x0000000000577000-memory.dmp

                      memory/4212-83-0x0000000000400000-0x0000000001400000-memory.dmp

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

                      memory/4212-76-0x0000000000400000-0x0000000001400000-memory.dmp

                      memory/4212-78-0x0000000000400000-0x0000000001400000-memory.dmp

                      memory/4212-79-0x0000000000400000-0x0000000001400000-memory.dmp

                      memory/4212-80-0x0000000000400000-0x0000000001400000-memory.dmp

                      memory/4212-81-0x0000000000400000-0x0000000001400000-memory.dmp

                      memory/4212-72-0x0000000000400000-0x0000000001400000-memory.dmp

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

                      memory/4212-85-0x0000000000400000-0x0000000001400000-memory.dmp

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

                      memory/4212-143-0x0000000000400000-0x0000000001400000-memory.dmp

                      memory/4212-142-0x0000000000400000-0x0000000001400000-memory.dmp

                      memory/4212-71-0x0000000000400000-0x0000000001400000-memory.dmp

                      memory/4212-141-0x0000000000400000-0x0000000000482000-memory.dmp

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

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

                      memory/4212-135-0x0000000000400000-0x0000000000482000-memory.dmp

                      memory/4212-132-0x0000000000400000-0x0000000001400000-memory.dmp

                      memory/4212-131-0x0000000000400000-0x0000000001400000-memory.dmp

                      memory/4212-68-0x0000000000400000-0x0000000001400000-memory.dmp

                      memory/4212-67-0x0000000000400000-0x0000000001400000-memory.dmp

                      memory/4212-64-0x0000000000400000-0x0000000001400000-memory.dmp

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

                      memory/4212-115-0x000000003F240000-0x000000003F259000-memory.dmp

                      memory/4212-63-0x0000000000400000-0x0000000001400000-memory.dmp

                      memory/4212-118-0x000000003F240000-0x000000003F259000-memory.dmp

                      memory/4212-119-0x000000003F240000-0x000000003F259000-memory.dmp

                      memory/4212-120-0x000000003F240000-0x000000003F259000-memory.dmp

                      memory/4212-121-0x0000000000400000-0x0000000001400000-memory.dmp

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

                      memory/4212-73-0x0000000000400000-0x0000000001400000-memory.dmp

                      memory/4212-126-0x0000000000400000-0x0000000000482000-memory.dmp

                      memory/4212-129-0x000000003F240000-0x000000003F259000-memory.dmp

                      memory/4500-101-0x0000000000400000-0x0000000000457000-memory.dmp

                      memory/4500-98-0x0000000000400000-0x0000000000457000-memory.dmp

                      memory/4500-94-0x0000000000400000-0x0000000000457000-memory.dmp

                      memory/4500-90-0x0000000000400000-0x0000000000457000-memory.dmp

                      memory/4980-112-0x0000000000400000-0x0000000000478000-memory.dmp

                      memory/4980-96-0x0000000000400000-0x0000000000478000-memory.dmp

                      memory/4980-93-0x0000000000400000-0x0000000000478000-memory.dmp

                      memory/4980-87-0x0000000000400000-0x0000000000478000-memory.dmp