Analysis

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

    arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system
  • submitted
    09/04/2024, 02:15

General

  • Target
    d47545c45a81a2d812ff5d4c9510cb935764dd94df0edb0c3c3d80666536d342.exe
  • Size 1.8MB
  • Sample240409-cpqxpabe32
  • SHA256 d47545c45a81a2d812ff5d4c9510cb935764dd94df0edb0c3c3d80666536d342
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Signatures

  • Detect ZGRat V1 30 IoCs
  • ModiLoader, DBatLoader

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

  • ZGRat

    ZGRat is remote access trojan written in C#.

  • Detect packed .NET executables. Mostly AgentTeslaV4. 30 IoCs
  • ModiLoader Second Stage 5 IoCs
  • Executes dropped EXE 2 IoCs
  • Loads dropped DLL 1 IoCs
  • Reads WinSCP keys stored on the system 2 TTPs

    Tries to access WinSCP stored sessions.

  • Reads data files stored by FTP clients 2 TTPs

    Tries to access configuration files associated with programs like FileZilla.

  • Reads user/profile data of local email clients 2 TTPs

    Email clients store some user data on disk where infostealers will often target it.

  • Reads user/profile data of web browsers 2 TTPs

    Infostealers often target stored browser data, which can include saved credentials etc.

  • Adds Run key to start application 2 TTPs 1 IoCs
  • Looks up external IP address via web service 2 IoCs

    Uses a legitimate IP lookup service to find the infected system's external IP.

  • Suspicious use of SetThreadContext 1 IoCs
  • Enumerates system info in registry 2 TTPs 3 IoCs
  • Script User-Agent 2 IoCs

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

  • Suspicious behavior: EnumeratesProcesses 4 IoCs
  • Suspicious use of AdjustPrivilegeToken 2 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 37 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\d47545c45a81a2d812ff5d4c9510cb935764dd94df0edb0c3c3d80666536d342.exe
    "C:\Users\Admin\AppData\Local\Temp\d47545c45a81a2d812ff5d4c9510cb935764dd94df0edb0c3c3d80666536d342.exe"
    1⤵
    • Adds Run key to start application
    • Suspicious use of SetThreadContext
    • Suspicious use of WriteProcessMemory
    PID:3388
    • C:\Windows\SysWOW64\cmd.exe
      C:\Windows\system32\cmd.exe /c ""C:\Users\Public\Libraries\YfpuolqbO.bat" "
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:552
      • C:\Windows\SysWOW64\cmd.exe
        C:\Windows\system32\cmd.exe /S /D /c" ECHO F"
        3⤵
          PID:1124
        • C:\Windows\SysWOW64\xcopy.exe
          xcopy "easinvoker.exe" "C:\Windows \System32\" /K /D /H /Y
          3⤵
          • Enumerates system info in registry
          PID:2488
        • C:\Windows\SysWOW64\cmd.exe
          C:\Windows\system32\cmd.exe /S /D /c" ECHO F"
          3⤵
            PID:3604
          • C:\Windows\SysWOW64\xcopy.exe
            xcopy "Aaa.bat" "C:\Windows \System32\" /K /D /H /Y
            3⤵
            • Enumerates system info in registry
            PID:3352
          • C:\Windows\SysWOW64\cmd.exe
            C:\Windows\system32\cmd.exe /S /D /c" ECHO F"
            3⤵
              PID:1656
            • C:\Windows\SysWOW64\xcopy.exe
              xcopy "netutils.dll" "C:\Windows \System32\" /K /D /H /Y
              3⤵
              • Enumerates system info in registry
              PID:1684
            • C:\Windows \System32\easinvoker.exe
              "C:\Windows \System32\easinvoker.exe"
              3⤵
              • Executes dropped EXE
              • Loads dropped DLL
              • Suspicious use of WriteProcessMemory
              PID:4348
              • C:\Windows\system32\cmd.exe
                C:\Windows\system32\cmd.exe /c ""C:\windows \system32\aaa.bat""
                4⤵
                • Suspicious use of WriteProcessMemory
                PID:4828
                • C:\Windows\system32\cmd.exe
                  cmd /c powershell.exe -inputformat none -outputformat none -NonInteractive -Command "Add-MpPreference -ExclusionPath 'C:\Users'"
                  5⤵
                  • Suspicious use of WriteProcessMemory
                  PID:4504
                  • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
                    powershell.exe -inputformat none -outputformat none -NonInteractive -Command "Add-MpPreference -ExclusionPath 'C:\Users'"
                    6⤵
                    • Suspicious behavior: EnumeratesProcesses
                    • Suspicious use of AdjustPrivilegeToken
                    PID:1892
          • C:\Windows\SysWOW64\extrac32.exe
            C:\\Windows\\System32\\extrac32.exe /C /Y C:\Users\Admin\AppData\Local\Temp\d47545c45a81a2d812ff5d4c9510cb935764dd94df0edb0c3c3d80666536d342.exe C:\\Users\\Public\\Libraries\\Yfpuolqb.PIF
            2⤵
              PID:2212
            • C:\Users\Public\Libraries\bqloupfY.pif
              C:\Users\Public\Libraries\bqloupfY.pif
              2⤵
              • Executes dropped EXE
              • Suspicious behavior: EnumeratesProcesses
              • Suspicious use of AdjustPrivilegeToken
              • Suspicious use of SetWindowsHookEx
              PID:2784

          Network

                MITRE ATT&CK Enterprise v15

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                __PSScriptPolicyTest_int13jdj.3jd.ps1

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

                YfpuolqbO.bat

                • Path C:\Users\Public\Libraries\YfpuolqbO.bat
                • Size 29KB
                • SHA256 abac4a967800f5da708572ec42441ec373cd52459a83a8a382d6b8579482789d
                • MD5 SHA1 SHA512 SSDEEP

                aaa.bat

                • Path C:\Users\Public\Libraries\aaa.bat
                • Size 18KB
                • SHA256 cd05094e213643d624996b98e14aa5f7a2363f63530fe0c99523f6948effe756
                • MD5 SHA1 SHA512 SSDEEP

                bqloupfY.pif

                • Path C:\Users\Public\Libraries\bqloupfY.pif
                • Size 66KB
                • SHA256 7bcdc2e607abc65ef93afd009c3048970d9e8d1c2a18fc571562396b13ebb301
                • 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 112KB
                • SHA256 7c6b2128913876dcb70603f2c00618d2e9057f381766565baf2a37100b85f1fd
                • MD5 SHA1 SHA512 SSDEEP

                memory/1892-36-0x00007FFAA49C0000-0x00007FFAA5481000-memory.dmp

                memory/1892-41-0x00007FFAA49C0000-0x00007FFAA5481000-memory.dmp

                memory/1892-38-0x000002BDF4560000-0x000002BDF4570000-memory.dmp

                memory/1892-37-0x000002BDF4560000-0x000002BDF4570000-memory.dmp

                memory/1892-31-0x000002BDF66E0000-0x000002BDF6702000-memory.dmp

                memory/2784-72-0x00000000345F0000-0x0000000034600000-memory.dmp

                memory/2784-83-0x0000000034520000-0x0000000034573000-memory.dmp

                memory/2784-1128-0x00000000345F0000-0x0000000034600000-memory.dmp

                memory/2784-1126-0x0000000074E70000-0x0000000075620000-memory.dmp

                memory/2784-49-0x0000000000400000-0x0000000001400000-memory.dmp

                memory/2784-1125-0x00000000345F0000-0x0000000034600000-memory.dmp

                memory/2784-52-0x0000000000400000-0x0000000001400000-memory.dmp

                memory/2784-54-0x0000000000400000-0x0000000001400000-memory.dmp

                memory/2784-55-0x0000000034410000-0x000000003446A000-memory.dmp

                memory/2784-56-0x0000000000400000-0x0000000001400000-memory.dmp

                memory/2784-57-0x0000000034600000-0x0000000034BA4000-memory.dmp

                memory/2784-58-0x0000000034520000-0x0000000034578000-memory.dmp

                memory/2784-59-0x0000000034520000-0x0000000034573000-memory.dmp

                memory/2784-60-0x0000000034520000-0x0000000034573000-memory.dmp

                memory/2784-62-0x0000000034520000-0x0000000034573000-memory.dmp

                memory/2784-64-0x0000000034520000-0x0000000034573000-memory.dmp

                memory/2784-66-0x0000000034520000-0x0000000034573000-memory.dmp

                memory/2784-68-0x00000000345F0000-0x0000000034600000-memory.dmp

                memory/2784-70-0x00000000345F0000-0x0000000034600000-memory.dmp

                memory/2784-69-0x0000000034520000-0x0000000034573000-memory.dmp

                memory/2784-73-0x0000000034520000-0x0000000034573000-memory.dmp

                memory/2784-1124-0x00000000345F0000-0x0000000034600000-memory.dmp

                memory/2784-75-0x0000000034520000-0x0000000034573000-memory.dmp

                memory/2784-77-0x0000000034520000-0x0000000034573000-memory.dmp

                memory/2784-79-0x0000000034520000-0x0000000034573000-memory.dmp

                memory/2784-81-0x0000000034520000-0x0000000034573000-memory.dmp

                memory/2784-84-0x0000000074E70000-0x0000000075620000-memory.dmp

                memory/2784-1123-0x00000000345F0000-0x0000000034600000-memory.dmp

                memory/2784-86-0x0000000034520000-0x0000000034573000-memory.dmp

                memory/2784-88-0x0000000034520000-0x0000000034573000-memory.dmp

                memory/2784-90-0x0000000034520000-0x0000000034573000-memory.dmp

                memory/2784-92-0x0000000034520000-0x0000000034573000-memory.dmp

                memory/2784-94-0x0000000034520000-0x0000000034573000-memory.dmp

                memory/2784-96-0x0000000034520000-0x0000000034573000-memory.dmp

                memory/2784-98-0x0000000034520000-0x0000000034573000-memory.dmp

                memory/2784-100-0x0000000034520000-0x0000000034573000-memory.dmp

                memory/2784-102-0x0000000034520000-0x0000000034573000-memory.dmp

                memory/2784-104-0x0000000034520000-0x0000000034573000-memory.dmp

                memory/2784-106-0x0000000034520000-0x0000000034573000-memory.dmp

                memory/2784-108-0x0000000034520000-0x0000000034573000-memory.dmp

                memory/2784-110-0x0000000034520000-0x0000000034573000-memory.dmp

                memory/2784-112-0x0000000034520000-0x0000000034573000-memory.dmp

                memory/2784-114-0x0000000034520000-0x0000000034573000-memory.dmp

                memory/2784-116-0x0000000034520000-0x0000000034573000-memory.dmp

                memory/2784-1115-0x0000000034CB0000-0x0000000034D16000-memory.dmp

                memory/2784-1116-0x00000000345F0000-0x0000000034600000-memory.dmp

                memory/2784-1118-0x0000000035E00000-0x0000000035E50000-memory.dmp

                memory/2784-1119-0x0000000035E50000-0x0000000035EEC000-memory.dmp

                memory/2784-1120-0x0000000035F70000-0x0000000036002000-memory.dmp

                memory/2784-1121-0x0000000036180000-0x000000003618A000-memory.dmp

                memory/3388-0-0x0000000000AD0000-0x0000000000AD1000-memory.dmp

                memory/3388-1-0x0000000002EA0000-0x0000000003EA0000-memory.dmp

                memory/3388-2-0x0000000002EA0000-0x0000000003EA0000-memory.dmp

                memory/3388-4-0x0000000000400000-0x00000000005D5000-memory.dmp

                memory/4348-24-0x00000000613C0000-0x00000000613E3000-memory.dmp