Analysis

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

    arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system
  • submitted
    06/06/2024, 12:20

General

  • Target
    7395837492.cmd
  • Size 3.4MB
  • Sample240606-ph7yvafa43
  • SHA256 e604eca34f7f438d53b775960ec8ae63d1dbc0472338a3a567d5587b4dfeb71c
  • 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 64 IoCs
  • NirSoft MailPassView 1 IoCs

    Password recovery tool for various email clients

  • NirSoft WebBrowserPassView 2 IoCs

    Password recovery tool for various web browsers

  • Nirsoft 5 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 12 IoCs
  • Loads dropped DLL 1 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 3 IoCs
  • Script User-Agent 2 IoCs

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

  • Suspicious behavior: EnumeratesProcesses 8 IoCs
  • Suspicious behavior: MapViewOfSection 3 IoCs
  • Suspicious use of AdjustPrivilegeToken 2 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 48 IoCs

Processes

  • C:\Windows\system32\cmd.exe
    C:\Windows\system32\cmd.exe /c "C:\Users\Admin\AppData\Local\Temp\7395837492.cmd"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:3316
    • C:\Windows\System32\extrac32.exe
      C:\\Windows\\System32\\extrac32 /C /Y C:\\Windows\\System32\\cmd.exe "C:\\Users\\Public\\alpha.exe"
      2⤵
        PID:4624
      • C:\Users\Public\alpha.exe
        C:\\Users\\Public\\alpha /c extrac32 /C /Y C:\\Windows\\System32\\certutil.exe C:\\Users\\Public\\kn.exe
        2⤵
        • Executes dropped EXE
        • Suspicious use of WriteProcessMemory
        PID:2216
        • C:\Windows\system32\extrac32.exe
          extrac32 /C /Y C:\\Windows\\System32\\certutil.exe C:\\Users\\Public\\kn.exe
          3⤵
            PID:2232
        • C:\Users\Public\alpha.exe
          C:\\Users\\Public\\alpha /c C:\\Users\\Public\\kn -decodehex -F "C:\Users\Admin\AppData\Local\Temp\7395837492.cmd" "C:\\Users\\Public\\Audio.mp4" 9
          2⤵
          • Executes dropped EXE
          • Suspicious use of WriteProcessMemory
          PID:2112
          • C:\Users\Public\kn.exe
            C:\\Users\\Public\\kn -decodehex -F "C:\Users\Admin\AppData\Local\Temp\7395837492.cmd" "C:\\Users\\Public\\Audio.mp4" 9
            3⤵
            • Executes dropped EXE
            PID:2040
        • 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
          2⤵
          • Executes dropped EXE
          • Suspicious use of WriteProcessMemory
          PID:4408
          • C:\Users\Public\kn.exe
            C:\\Users\\Public\\kn -decodehex -F "C:\\Users\\Public\\Audio.mp4" "C:\\Users\\Public\\Libraries\\Audio.pif" 12
            3⤵
            • Executes dropped EXE
            PID:1988
        • C:\Users\Public\Libraries\Audio.pif
          C:\Users\Public\Libraries\Audio.pif
          2⤵
          • Executes dropped EXE
          • Adds Run key to start application
          • Suspicious use of SetThreadContext
          • Suspicious behavior: MapViewOfSection
          • Suspicious use of SetWindowsHookEx
          • Suspicious use of WriteProcessMemory
          PID:4788
          • C:\Windows\SysWOW64\cmd.exe
            cmd /c mkdir "\\?\C:\Windows "
            3⤵
              PID:2868
            • C:\Windows\SysWOW64\cmd.exe
              cmd /c mkdir "\\?\C:\Windows \System32"
              3⤵
                PID:1976
              • C:\Windows\SysWOW64\cmd.exe
                cmd /c "C:\\Windows \\System32\\cmd.pif"
                3⤵
                • Suspicious use of WriteProcessMemory
                PID:212
                • C:\Windows \System32\cmd.pif
                  "C:\\Windows \\System32\\cmd.pif"
                  4⤵
                  • Executes dropped EXE
                  • Loads dropped DLL
                  • Suspicious use of WriteProcessMemory
                  PID:1180
                  • C:\Windows\SYSTEM32\cmd.exe
                    cmd /c start /min powershell -inputformat none -outputformat none -NonInteractive -Command Add-MpPreference -ExclusionPath 'C:'
                    5⤵
                    • Suspicious use of WriteProcessMemory
                    PID:2900
                    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
                      powershell -inputformat none -outputformat none -NonInteractive -Command Add-MpPreference -ExclusionPath 'C:'
                      6⤵
                      • Command and Scripting Interpreter: PowerShell
                      • Suspicious behavior: EnumeratesProcesses
                      • Suspicious use of AdjustPrivilegeToken
                      PID:4588
              • C:\Windows\SysWOW64\extrac32.exe
                C:\\Windows\\System32\\extrac32.exe /C /Y C:\Users\Public\Libraries\Audio.pif C:\\Users\\Public\\Libraries\\Yjvppoyi.PIF
                3⤵
                  PID:3684
                • C:\Users\Public\Libraries\Audio.pif
                  C:\Users\Public\Libraries\Audio.pif /stext "C:\Users\Admin\AppData\Local\Temp\asarxgwqriclknwvupgchoyz"
                  3⤵
                  • Executes dropped EXE
                  • Suspicious behavior: EnumeratesProcesses
                  PID:3180
                • C:\Users\Public\Libraries\Audio.pif
                  C:\Users\Public\Libraries\Audio.pif /stext "C:\Users\Admin\AppData\Local\Temp\kuncqzgkeruqmbkhmaswrtsqujqz"
                  3⤵
                  • Executes dropped EXE
                  • Accesses Microsoft Outlook accounts
                  PID:4132
                • C:\Users\Public\Libraries\Audio.pif
                  C:\Users\Public\Libraries\Audio.pif /stext "C:\Users\Admin\AppData\Local\Temp\voturrrmazmdwhglvkfxugnzuxhahnp"
                  3⤵
                  • Executes dropped EXE
                  • Suspicious behavior: EnumeratesProcesses
                  • Suspicious use of AdjustPrivilegeToken
                  PID:3160
              • C:\Users\Public\alpha.exe
                C:\\Users\\Public\\alpha /c del /q "C:\Users\Public\kn.exe" / A / F / Q / S
                2⤵
                • Executes dropped EXE
                PID:4968
              • C:\Users\Public\alpha.exe
                C:\\Users\\Public\\alpha /c del /q "C:\Users\Public\Audio.mp4" / A / F / Q / S
                2⤵
                • Executes dropped EXE
                PID:3948

            Network

                  MITRE ATT&CK Enterprise v15

                  Replay Monitor

                  Loading Replay Monitor...

                  Downloads

                  logs.dat

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

                  __PSScriptPolicyTest_5m3mg0dx.qtu.ps1

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

                  asarxgwqriclknwvupgchoyz

                  • Path C:\Users\Admin\AppData\Local\Temp\asarxgwqriclknwvupgchoyz
                  • Size 4KB
                  • SHA256 54c101b6b1241b6a0574a66e5a5b9bddc6c60a4daf7338dba6fe3f65b27382af
                  • MD5 SHA1 SHA512 SSDEEP

                  Audio.mp4

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

                  Audio.pif

                  • Path C:\Users\Public\Libraries\Audio.pif
                  • Size 1.2MB
                  • SHA256 3d9e028b26eacd6302e1a2e6e1914ec9f6ca76824eafbf2ff0cd35be22fbefec
                  • 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/3160-356-0x0000000000400000-0x0000000000424000-memory.dmp

                  memory/3160-350-0x0000000000400000-0x0000000000424000-memory.dmp

                  memory/3180-360-0x0000000000400000-0x0000000000478000-memory.dmp

                  memory/3180-337-0x0000000000400000-0x0000000000478000-memory.dmp

                  memory/4132-354-0x0000000000400000-0x0000000000462000-memory.dmp

                  memory/4132-345-0x0000000000400000-0x0000000000462000-memory.dmp

                  memory/4588-219-0x000001F9C6FA0000-0x000001F9C6FC2000-memory.dmp

                  memory/4788-57-0x0000000002930000-0x0000000003930000-memory.dmp

                  memory/4788-68-0x0000000002930000-0x0000000003930000-memory.dmp

                  memory/4788-90-0x0000000002930000-0x0000000003930000-memory.dmp

                  memory/4788-89-0x0000000002930000-0x0000000003930000-memory.dmp

                  memory/4788-88-0x0000000002930000-0x0000000003930000-memory.dmp

                  memory/4788-87-0x0000000002930000-0x0000000003930000-memory.dmp

                  memory/4788-86-0x0000000002930000-0x0000000003930000-memory.dmp

                  memory/4788-85-0x0000000002930000-0x0000000003930000-memory.dmp

                  memory/4788-84-0x0000000002930000-0x0000000003930000-memory.dmp

                  memory/4788-83-0x0000000002930000-0x0000000003930000-memory.dmp

                  memory/4788-81-0x0000000002930000-0x0000000003930000-memory.dmp

                  memory/4788-80-0x0000000002930000-0x0000000003930000-memory.dmp

                  memory/4788-79-0x0000000002930000-0x0000000003930000-memory.dmp

                  memory/4788-78-0x0000000002930000-0x0000000003930000-memory.dmp

                  memory/4788-77-0x0000000002930000-0x0000000003930000-memory.dmp

                  memory/4788-76-0x0000000002930000-0x0000000003930000-memory.dmp

                  memory/4788-75-0x0000000002930000-0x0000000003930000-memory.dmp

                  memory/4788-74-0x0000000002930000-0x0000000003930000-memory.dmp

                  memory/4788-69-0x0000000002930000-0x0000000003930000-memory.dmp

                  memory/4788-67-0x0000000002930000-0x0000000003930000-memory.dmp

                  memory/4788-65-0x0000000002930000-0x0000000003930000-memory.dmp

                  memory/4788-82-0x0000000002930000-0x0000000003930000-memory.dmp

                  memory/4788-62-0x0000000002930000-0x0000000003930000-memory.dmp

                  memory/4788-61-0x0000000002930000-0x0000000003930000-memory.dmp

                  memory/4788-71-0x0000000002930000-0x0000000003930000-memory.dmp

                  memory/4788-73-0x0000000002930000-0x0000000003930000-memory.dmp

                  memory/4788-55-0x0000000002930000-0x0000000003930000-memory.dmp

                  memory/4788-72-0x0000000002930000-0x0000000003930000-memory.dmp

                  memory/4788-54-0x0000000002930000-0x0000000003930000-memory.dmp

                  memory/4788-70-0x0000000002930000-0x0000000003930000-memory.dmp

                  memory/4788-53-0x0000000002930000-0x0000000003930000-memory.dmp

                  memory/4788-91-0x0000000002930000-0x0000000003930000-memory.dmp

                  memory/4788-52-0x0000000002930000-0x0000000003930000-memory.dmp

                  memory/4788-66-0x0000000002930000-0x0000000003930000-memory.dmp

                  memory/4788-51-0x0000000002930000-0x0000000003930000-memory.dmp

                  memory/4788-64-0x0000000002930000-0x0000000003930000-memory.dmp

                  memory/4788-50-0x0000000002930000-0x0000000003930000-memory.dmp

                  memory/4788-63-0x0000000002930000-0x0000000003930000-memory.dmp

                  memory/4788-49-0x0000000002930000-0x0000000003930000-memory.dmp

                  memory/4788-48-0x0000000002930000-0x0000000003930000-memory.dmp

                  memory/4788-60-0x0000000002930000-0x0000000003930000-memory.dmp

                  memory/4788-47-0x0000000002930000-0x0000000003930000-memory.dmp

                  memory/4788-59-0x0000000002930000-0x0000000003930000-memory.dmp

                  memory/4788-46-0x0000000002930000-0x0000000003930000-memory.dmp

                  memory/4788-58-0x0000000002930000-0x0000000003930000-memory.dmp

                  memory/4788-44-0x0000000002930000-0x0000000003930000-memory.dmp

                  memory/4788-43-0x0000000002930000-0x0000000003930000-memory.dmp

                  memory/4788-42-0x0000000002930000-0x0000000003930000-memory.dmp

                  memory/4788-41-0x0000000002930000-0x0000000003930000-memory.dmp

                  memory/4788-40-0x0000000002930000-0x0000000003930000-memory.dmp

                  memory/4788-38-0x0000000002930000-0x0000000003930000-memory.dmp

                  memory/4788-35-0x0000000002930000-0x0000000003930000-memory.dmp

                  memory/4788-56-0x0000000002930000-0x0000000003930000-memory.dmp

                  memory/4788-45-0x0000000002930000-0x0000000003930000-memory.dmp

                  memory/4788-39-0x0000000002930000-0x0000000003930000-memory.dmp

                  memory/4788-33-0x0000000002930000-0x0000000003930000-memory.dmp

                  memory/4788-29-0x0000000002930000-0x0000000003930000-memory.dmp

                  memory/4788-32-0x0000000002930000-0x0000000003930000-memory.dmp

                  memory/4788-31-0x0000000002930000-0x0000000003930000-memory.dmp

                  memory/4788-30-0x0000000002930000-0x0000000003930000-memory.dmp

                  memory/4788-28-0x0000000002930000-0x0000000003930000-memory.dmp

                  memory/4788-37-0x0000000002930000-0x0000000003930000-memory.dmp

                  memory/4788-36-0x0000000002930000-0x0000000003930000-memory.dmp

                  memory/4788-34-0x0000000002930000-0x0000000003930000-memory.dmp