Analysis

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

    arch:x64arch:x86image:win10v2004-20240412-enlocale:en-usos:windows10-2004-x64system
  • submitted
    26/04/2024, 02:22

General

  • Target
    83acfc7fa4bafb1a98f3f0118179057d9b07bac469d033606eb43b49d2d77348.exe
  • Size 1.2MB
  • Sample240426-ctxk2ahc75
  • SHA256 83acfc7fa4bafb1a98f3f0118179057d9b07bac469d033606eb43b49d2d77348
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Credentials
  • Protocol

    smtp

  • Host

    mnemonicparsingbackup.xyz

  • Port

    587

  • Password

    Londonpass@87

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#.

  • ModiLoader Second Stage 6 IoCs
  • Executes dropped EXE 3 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
  • 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 5 IoCs
  • Suspicious use of AdjustPrivilegeToken 2 IoCs
  • Suspicious use of WriteProcessMemory 39 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\83acfc7fa4bafb1a98f3f0118179057d9b07bac469d033606eb43b49d2d77348.exe
    "C:\Users\Admin\AppData\Local\Temp\83acfc7fa4bafb1a98f3f0118179057d9b07bac469d033606eb43b49d2d77348.exe"
    1⤵
    • Adds Run key to start application
    • Suspicious use of SetThreadContext
    • Suspicious use of WriteProcessMemory
    PID:4924
    • C:\Windows\SysWOW64\cmd.exe
      C:\Windows\system32\cmd.exe /c ""C:\Users\Public\Libraries\JtdgughwO.bat" "
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:4624
      • C:\Windows\SysWOW64\cmd.exe
        C:\Windows\system32\cmd.exe /S /D /c" ECHO F"
        3⤵
          PID:1416
        • C:\Windows\SysWOW64\xcopy.exe
          xcopy "easinvoker.exe" "C:\Windows \System32\" /K /D /H /Y
          3⤵
          • Enumerates system info in registry
          PID:316
        • C:\Windows\SysWOW64\cmd.exe
          C:\Windows\system32\cmd.exe /S /D /c" ECHO F"
          3⤵
            PID:1424
          • C:\Windows\SysWOW64\xcopy.exe
            xcopy "Aaa.bat" "C:\Windows \System32\" /K /D /H /Y
            3⤵
            • Enumerates system info in registry
            PID:212
          • C:\Windows\SysWOW64\cmd.exe
            C:\Windows\system32\cmd.exe /S /D /c" ECHO F"
            3⤵
              PID:2288
            • C:\Windows\SysWOW64\xcopy.exe
              xcopy "netutils.dll" "C:\Windows \System32\" /K /D /H /Y
              3⤵
              • Enumerates system info in registry
              PID:3912
            • C:\Windows \System32\easinvoker.exe
              "C:\Windows \System32\easinvoker.exe"
              3⤵
              • Executes dropped EXE
              • Loads dropped DLL
              • Suspicious use of WriteProcessMemory
              PID:3992
              • C:\Windows\system32\cmd.exe
                C:\Windows\system32\cmd.exe /c ""C:\windows \system32\aaa.bat""
                4⤵
                • Suspicious use of WriteProcessMemory
                PID:4476
                • C:\Windows\System32\extrac32.exe
                  C:\\Windows\\System32\\extrac32.exe /C /Y C:\\Windows\\System32\\cmd.exe C:\\Users\\Public\\alpha.exe
                  5⤵
                    PID:3324
                  • C:\Users\Public\alpha.exe
                    C:\\Users\\Public\\alpha /c powershell.exe -inputformat none -outputformat none -NonInteractive -Command "Add-MpPreference -ExclusionPath 'C:\Users'"
                    5⤵
                    • Executes dropped EXE
                    • Suspicious use of WriteProcessMemory
                    PID:1552
                    • 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:876
            • C:\Windows\SysWOW64\extrac32.exe
              C:\\Windows\\System32\\extrac32.exe /C /Y C:\Users\Admin\AppData\Local\Temp\83acfc7fa4bafb1a98f3f0118179057d9b07bac469d033606eb43b49d2d77348.exe C:\\Users\\Public\\Libraries\\Jtdgughw.PIF
              2⤵
                PID:1280
              • C:\Users\Public\Libraries\whgugdtJ.pif
                C:\Users\Public\Libraries\whgugdtJ.pif
                2⤵
                • Executes dropped EXE
                • Suspicious behavior: EnumeratesProcesses
                • Suspicious use of AdjustPrivilegeToken
                PID:3756

            Network

                  MITRE ATT&CK Enterprise v15

                  Replay Monitor

                  Loading Replay Monitor...

                  Downloads

                  __PSScriptPolicyTest_krj4aql2.mhr.ps1

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

                  JtdgughwO.bat

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

                  aaa.bat

                  • Path C:\Users\Public\Libraries\aaa.bat
                  • Size 3KB
                  • SHA256 11c20fabf677cd77e8a354b520f6ffca09cac37ce15c9932550e749e49efe08a
                  • MD5 SHA1 SHA512

                  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 114KB
                  • SHA256 a692d4305b95e57e2cfc871d53a41a5bfc9e306cb1a86ca1159db4f469598714
                  • MD5 SHA1 SHA512 SSDEEP

                  whgugdtJ.pif

                  • Path C:\Users\Public\Libraries\whgugdtJ.pif
                  • Size 66KB
                  • SHA256 7bcdc2e607abc65ef93afd009c3048970d9e8d1c2a18fc571562396b13ebb301
                  • MD5 SHA1 SHA512 SSDEEP

                  alpha.exe

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

                  memory/876-41-0x00007FFE06CD0000-0x00007FFE07791000-memory.dmp

                  memory/876-46-0x00007FFE06CD0000-0x00007FFE07791000-memory.dmp

                  memory/876-43-0x0000016A54B60000-0x0000016A54B70000-memory.dmp

                  memory/876-42-0x0000016A54B60000-0x0000016A54B70000-memory.dmp

                  memory/876-31-0x0000016A6D6F0000-0x0000016A6D712000-memory.dmp

                  memory/3756-79-0x0000000028670000-0x00000000286C3000-memory.dmp

                  memory/3756-88-0x0000000028670000-0x00000000286C3000-memory.dmp

                  memory/3756-1130-0x0000000028730000-0x0000000028740000-memory.dmp

                  memory/3756-1129-0x00000000746C0000-0x0000000074E70000-memory.dmp

                  memory/3756-53-0x0000000000400000-0x0000000001400000-memory.dmp

                  memory/3756-1128-0x0000000028730000-0x0000000028740000-memory.dmp

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

                  memory/3756-58-0x0000000000400000-0x0000000001400000-memory.dmp

                  memory/3756-59-0x0000000025E30000-0x0000000025E8A000-memory.dmp

                  memory/3756-60-0x0000000028740000-0x0000000028CE4000-memory.dmp

                  memory/3756-61-0x0000000028670000-0x00000000286CA000-memory.dmp

                  memory/3756-62-0x0000000000400000-0x0000000001400000-memory.dmp

                  memory/3756-63-0x0000000028670000-0x00000000286C3000-memory.dmp

                  memory/3756-64-0x0000000028670000-0x00000000286C3000-memory.dmp

                  memory/3756-66-0x0000000028670000-0x00000000286C3000-memory.dmp

                  memory/3756-68-0x0000000028670000-0x00000000286C3000-memory.dmp

                  memory/3756-70-0x0000000028670000-0x00000000286C3000-memory.dmp

                  memory/3756-72-0x0000000028670000-0x00000000286C3000-memory.dmp

                  memory/3756-74-0x0000000028730000-0x0000000028740000-memory.dmp

                  memory/3756-75-0x0000000028670000-0x00000000286C3000-memory.dmp

                  memory/3756-77-0x0000000028730000-0x0000000028740000-memory.dmp

                  memory/3756-76-0x0000000028730000-0x0000000028740000-memory.dmp

                  memory/3756-1127-0x0000000028730000-0x0000000028740000-memory.dmp

                  memory/3756-82-0x00000000746C0000-0x0000000074E70000-memory.dmp

                  memory/3756-81-0x0000000028670000-0x00000000286C3000-memory.dmp

                  memory/3756-84-0x0000000028670000-0x00000000286C3000-memory.dmp

                  memory/3756-86-0x0000000028670000-0x00000000286C3000-memory.dmp

                  memory/3756-1126-0x0000000028730000-0x0000000028740000-memory.dmp

                  memory/3756-90-0x0000000028670000-0x00000000286C3000-memory.dmp

                  memory/3756-94-0x0000000028670000-0x00000000286C3000-memory.dmp

                  memory/3756-92-0x0000000028670000-0x00000000286C3000-memory.dmp

                  memory/3756-96-0x0000000028670000-0x00000000286C3000-memory.dmp

                  memory/3756-98-0x0000000028670000-0x00000000286C3000-memory.dmp

                  memory/3756-100-0x0000000028670000-0x00000000286C3000-memory.dmp

                  memory/3756-104-0x0000000028670000-0x00000000286C3000-memory.dmp

                  memory/3756-102-0x0000000028670000-0x00000000286C3000-memory.dmp

                  memory/3756-106-0x0000000028670000-0x00000000286C3000-memory.dmp

                  memory/3756-114-0x0000000028670000-0x00000000286C3000-memory.dmp

                  memory/3756-112-0x0000000028670000-0x00000000286C3000-memory.dmp

                  memory/3756-116-0x0000000028670000-0x00000000286C3000-memory.dmp

                  memory/3756-110-0x0000000028670000-0x00000000286C3000-memory.dmp

                  memory/3756-108-0x0000000028670000-0x00000000286C3000-memory.dmp

                  memory/3756-120-0x0000000028670000-0x00000000286C3000-memory.dmp

                  memory/3756-118-0x0000000028670000-0x00000000286C3000-memory.dmp

                  memory/3756-1118-0x0000000028730000-0x0000000028740000-memory.dmp

                  memory/3756-1117-0x0000000028DF0000-0x0000000028E56000-memory.dmp

                  memory/3756-1119-0x0000000029560000-0x00000000295B0000-memory.dmp

                  memory/3756-1120-0x00000000295B0000-0x000000002964C000-memory.dmp

                  memory/3756-1122-0x0000000029B90000-0x0000000029C22000-memory.dmp

                  memory/3756-1123-0x0000000029D90000-0x0000000029D9A000-memory.dmp

                  memory/3756-1125-0x0000000000400000-0x0000000001400000-memory.dmp

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

                  memory/4924-0-0x0000000000B40000-0x0000000000B41000-memory.dmp

                  memory/4924-1-0x0000000004090000-0x0000000005090000-memory.dmp

                  memory/4924-2-0x0000000004090000-0x0000000005090000-memory.dmp

                  memory/4924-4-0x0000000000400000-0x0000000000544000-memory.dmp