Analysis

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

    arch:x64arch:x86image:win10v2004-20231025-enlocale:en-usos:windows10-2004-x64system
  • submitted
    13/11/2023, 10:46

General

  • Target

    BKOffice-master/_install.bat

  • Size

    7KB

  • MD5

    696f9859c1528447f7fd54f767c81f3e

  • SHA1

    339606c51e5d9e941fddd8e0c855f6fc278999d1

  • SHA256

    2f29f09ffacf277c28c7e6a2b49a5d98279b90fde239a21ab92551525229ddf3

  • SHA512

    e0e23cee67d4121fc967eeccf035c4fb3758715891e2846be0f0d474ff4bd68e2a9b5b032a2fad9a71ec5a48a4ffb9b68f0f8a51a593064bdbaffb74ee700617

  • SSDEEP

    96:H2oG08RPQrSu0a5Aqtbf9IISFDHl/dLGWu+A3A/LDLwL6XLALUL/LHLZXLsTpqw:BG08RPah3ARs5

Score
10/10

Malware Config

Signatures

  • Detect ZGRat V1 2 IoCs
  • ZGRat

    ZGRat is remote access trojan written in C#.

  • .NET Reactor proctector 2 IoCs

    Detects an executable protected by an unregistered version of Eziriz's .NET Reactor.

  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • Registers COM server for autorun 1 TTPs 64 IoCs
  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s).

  • Modifies registry class 64 IoCs
  • Modifies registry key 1 TTPs 1 IoCs
  • Suspicious use of WriteProcessMemory 64 IoCs

Processes

  • C:\Windows\system32\cmd.exe
    C:\Windows\system32\cmd.exe /c "C:\Users\Admin\AppData\Local\Temp\BKOffice-master\_install.bat"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1008
    • C:\Windows\system32\mshta.exe
      mshta vbscript:CreateObject("Shell.Application").ShellExecute("cmd.exe","/c C:\Users\Admin\AppData\Local\Temp\BKOFFI~1\_install.bat ::","","runas",1)(window.close)
      2⤵
      • Checks computer location settings
      • Suspicious use of WriteProcessMemory
      PID:912
      • C:\Windows\System32\cmd.exe
        "C:\Windows\System32\cmd.exe" /c C:\Users\Admin\AppData\Local\Temp\BKOFFI~1\_install.bat ::
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:3552
        • C:\Windows\system32\cmd.exe
          C:\Windows\system32\cmd.exe /c REG QUERY HKLM\SOFTWARE\Microsoft\.NETFramework\v4.0.30319\SKUs
          4⤵
          • Suspicious use of WriteProcessMemory
          PID:824
          • C:\Windows\system32\reg.exe
            REG QUERY HKLM\SOFTWARE\Microsoft\.NETFramework\v4.0.30319\SKUs
            5⤵
            • Modifies registry key
            PID:3556
        • C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe
          C:\Windows\Microsoft.NET\Framework\v4.0.30319\regasm.exe /codebase C:\Users\Admin\AppData\Local\Temp\BKOFFI~1\BKOffice.dll
          4⤵
          • Modifies registry class
          PID:4404
        • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\RegAsm.exe
          C:\Windows\Microsoft.NET\Framework64\v4.0.30319\regasm.exe /codebase C:\Users\Admin\AppData\Local\Temp\BKOFFI~1\BKOffice.dll
          4⤵
          • Registers COM server for autorun
          • Modifies registry class
          PID:4400
        • C:\Windows\system32\reg.exe
          reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\Word\Addins\BKOffice.Word" /f
          4⤵
            PID:4360
          • C:\Windows\system32\reg.exe
            reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\Word\Addins\BKOffice.Word" /v "Description" /t REG_SZ /d "▓╗┐╙└╧╩ª╬¬┤≤╝╥┐¬╖ó╓╞╫≈╡─Office╨º┬╩╣ñ╫≈" /f
            4⤵
              PID:3076
            • C:\Windows\system32\reg.exe
              reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\Word\Addins\BKOffice.Word" /v "LoadBehavior" /t REG_DWORD /d "3" /f
              4⤵
                PID:644
              • C:\Windows\system32\reg.exe
                reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\Word\Addins\BKOffice.Word" /v "FriendlyName" /t REG_SZ /d "▓╗┐╙║╨╫╙" /f
                4⤵
                  PID:4716
                • C:\Windows\system32\reg.exe
                  reg copy "HKEY_CURRENT_USER\Software\Microsoft\Office\Word\Addins\BKOffice.Word" "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\Word\Addins\BKOffice.Word" /s /f
                  4⤵
                    PID:3744
                  • C:\Windows\system32\reg.exe
                    reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\Excel\Addins\BKOffice.Excel" /v "Description" /t REG_SZ /d "▓╗┐╙└╧╩ª╬¬┤≤╝╥┐¬╖ó╓╞╫≈╡─Office╨º┬╩╣ñ╫≈" /f
                    4⤵
                      PID:532
                    • C:\Windows\system32\reg.exe
                      reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\Excel\Addins\BKOffice.Excel" /v "FriendlyName" /t REG_SZ /d "▓╗┐╙║╨╫╙" /f
                      4⤵
                        PID:4580
                      • C:\Windows\system32\reg.exe
                        reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\Excel\Addins\BKOffice.Excel" /f
                        4⤵
                          PID:1188
                        • C:\Windows\system32\reg.exe
                          reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\PowerPoint\Addins\BKOffice.PPT" /f
                          4⤵
                            PID:396
                          • C:\Windows\system32\reg.exe
                            reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\PowerPoint\Addins\BKOffice.PPT" /v "CommandLineSafe" /t REG_DWORD /d "1" /f
                            4⤵
                              PID:4804
                            • C:\Windows\system32\reg.exe
                              reg copy "HKEY_CURRENT_USER\Software\Kingsoft\Office\WPS\AddinsWL" "HKEY_LOCAL_MACHINE\Software\Kingsoft\Office\WPS\AddinsWL" /s /f
                              4⤵
                                PID:1448
                              • C:\Windows\system32\reg.exe
                                reg add "HKEY_CURRENT_USER\Software\Kingsoft\Office\WPS\AddinsWL" /v "BKOffice.Word" /t REG_SZ /d "" /f
                                4⤵
                                  PID:4328
                                • C:\Windows\system32\reg.exe
                                  reg add "HKEY_CURRENT_USER\Software\Kingsoft\Office\WPS\AddinsWL" /f
                                  4⤵
                                    PID:3920
                                  • C:\Windows\system32\reg.exe
                                    reg copy "HKEY_CURRENT_USER\Software\Kingsoft\Office\ET\AddinsWL" "HKEY_LOCAL_MACHINE\Software\Kingsoft\Office\ET\AddinsWL" /s /f
                                    4⤵
                                      PID:2640
                                    • C:\Windows\system32\reg.exe
                                      reg add "HKEY_CURRENT_USER\Software\Kingsoft\Office\WPP\AddinsWL" /v "BKOffice.PPT" /t REG_SZ /d "" /f
                                      4⤵
                                        PID:4808
                                      • C:\Windows\system32\reg.exe
                                        reg add "HKEY_CURRENT_USER\Software\Kingsoft\Office\WPP\AddinsWL" /f
                                        4⤵
                                          PID:3500
                                        • C:\Windows\system32\reg.exe
                                          reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\BKOFfice" /v "Publisher" /t REG_SZ /d "▓╗┐╙└╧╩ª" /f
                                          4⤵
                                            PID:3788
                                          • C:\Windows\system32\reg.exe
                                            reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\BKOFfice" /v "UninstallString" /t REG_SZ /d C:\Users\Admin\AppData\Local\Temp\BKOFFI~1\_uninstall.bat /f
                                            4⤵
                                              PID:2668
                                            • C:\Windows\system32\reg.exe
                                              reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\BKOFfice" /v "InstallLocation" /t REG_SZ /d C:\Users\Admin\AppData\Local\Temp\BKOFFI~1\ /f
                                              4⤵
                                                PID:4064
                                              • C:\Windows\System32\wscript.exe
                                                "C:\Windows\System32\WScript.exe" //NoLogo ""C:\Users\Admin\AppData\Local\Temp\BKOFFI~1\\CreateShortcut.vbs"
                                                4⤵
                                                  PID:4164
                                                • C:\Windows\system32\reg.exe
                                                  reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\BKOFfice" /v "URLInfoAbout" /t REG_SZ /d "https://www.bukenghezi.com" /f
                                                  4⤵
                                                    PID:4220
                                                  • C:\Windows\system32\reg.exe
                                                    reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\BKOFfice" /v "EstimatedSize" /t REG_DWORD /d "11045" /f
                                                    4⤵
                                                      PID:4308
                                                    • C:\Windows\system32\reg.exe
                                                      reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\BKOFfice" /v "DisplayVersion" /t REG_SZ /d "2023.1001" /f
                                                      4⤵
                                                        PID:4436
                                                      • C:\Windows\system32\reg.exe
                                                        reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\BKOFfice" /v "DisplayIcon" /t REG_SZ /d C:\Users\Admin\AppData\Local\Temp\BKOFFI~1\logo.ico /f
                                                        4⤵
                                                          PID:1784
                                                        • C:\Windows\system32\reg.exe
                                                          reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\BKOFfice" /v "DisplayName" /t REG_SZ /d "▓╗┐╙║╨╫╙" /f
                                                          4⤵
                                                            PID:5052
                                                          • C:\Windows\system32\reg.exe
                                                            reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\BKOFfice" /f
                                                            4⤵
                                                              PID:224
                                                            • C:\Windows\system32\reg.exe
                                                              reg copy "HKEY_CURRENT_USER\Software\Kingsoft\Office\WPP\AddinsWL" "HKEY_LOCAL_MACHINE\Software\Kingsoft\Office\WPP\AddinsWL" /s /f
                                                              4⤵
                                                                PID:232
                                                              • C:\Windows\system32\reg.exe
                                                                reg add "HKEY_CURRENT_USER\Software\Kingsoft\Office\ET\AddinsWL" /v "BKOffice.Excel" /t REG_SZ /d "" /f
                                                                4⤵
                                                                  PID:516
                                                                • C:\Windows\system32\reg.exe
                                                                  reg add "HKEY_CURRENT_USER\Software\Kingsoft\Office\ET\AddinsWL" /f
                                                                  4⤵
                                                                    PID:3168
                                                                  • C:\Windows\system32\reg.exe
                                                                    reg copy "HKEY_CURRENT_USER\Software\Microsoft\Office\PowerPoint\Addins\BKOffice.PPT" "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\PowerPoint\Addins\BKOffice.PPT" /s /f
                                                                    4⤵
                                                                      PID:3216
                                                                    • C:\Windows\system32\reg.exe
                                                                      reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\PowerPoint\Addins\BKOffice.PPT" /v "LoadBehavior" /t REG_DWORD /d "3" /f
                                                                      4⤵
                                                                        PID:4028
                                                                      • C:\Windows\system32\reg.exe
                                                                        reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\PowerPoint\Addins\BKOffice.PPT" /v "Description" /t REG_SZ /d "▓╗┐╙└╧╩ª╬¬┤≤╝╥┐¬╖ó╓╞╫≈╡─Office╨º┬╩╣ñ╫≈" /f
                                                                        4⤵
                                                                          PID:1852
                                                                        • C:\Windows\system32\reg.exe
                                                                          reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\PowerPoint\Addins\BKOffice.PPT" /v "FriendlyName" /t REG_SZ /d "▓╗┐╙║╨╫╙" /f
                                                                          4⤵
                                                                            PID:552
                                                                          • C:\Windows\system32\reg.exe
                                                                            reg copy "HKEY_CURRENT_USER\Software\Microsoft\Office\Excel\Addins\BKOffice.Excel" "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\Excel\Addins\BKOffice.Excel" /s /f
                                                                            4⤵
                                                                              PID:1208
                                                                            • C:\Windows\system32\reg.exe
                                                                              reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\Excel\Addins\BKOffice.Excel" /v "CommandLineSafe" /t REG_DWORD /d "1" /f
                                                                              4⤵
                                                                                PID:2276
                                                                              • C:\Windows\system32\reg.exe
                                                                                reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\Excel\Addins\BKOffice.Excel" /v "LoadBehavior" /t REG_DWORD /d "3" /f
                                                                                4⤵
                                                                                  PID:2616
                                                                                • C:\Windows\system32\reg.exe
                                                                                  reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\Word\Addins\BKOffice.Word" /v "CommandLineSafe" /t REG_DWORD /d "1" /f
                                                                                  4⤵
                                                                                    PID:1560
                                                                            • C:\Windows\system32\backgroundTaskHost.exe
                                                                              "C:\Windows\system32\backgroundTaskHost.exe" -ServerName:App.AppXmtcan0h2tfbfy7k9kn8hbxb6dmzz1zh0.mca
                                                                              1⤵
                                                                                PID:3920

                                                                              Network

                                                                              MITRE ATT&CK Enterprise v15

                                                                              Replay Monitor

                                                                              Loading Replay Monitor...

                                                                              Downloads

                                                                              • C:\Users\Admin\AppData\Local\Temp\BKOFFI~1\CreateShortcut.vbs

                                                                                Filesize

                                                                                547B

                                                                                MD5

                                                                                3b9d30a7ca6e14cd5133cdcdd5d15144

                                                                                SHA1

                                                                                34cbae570aeea97d823e4118cc10e9795d97f336

                                                                                SHA256

                                                                                d42a19695ad4bb22f7468b524b68d69e4e03c223d0e6eb5773a01acf692bcc32

                                                                                SHA512

                                                                                413ed55f3f839aab6a4f80e5ce0a8cd4ad5794b661e873d18928036843c7c1fc0d469cee79b6ac8cbfccb98b19d520ac3d51cc2ac72419644579281bedddd274

                                                                              • memory/4400-10-0x000001DE64790000-0x000001DE647A0000-memory.dmp

                                                                                Filesize

                                                                                64KB

                                                                              • memory/4400-11-0x000001DE7F140000-0x000001DE7F4C4000-memory.dmp

                                                                                Filesize

                                                                                3.5MB

                                                                              • memory/4400-12-0x00007FFA2C610000-0x00007FFA2D0D1000-memory.dmp

                                                                                Filesize

                                                                                10.8MB

                                                                              • memory/4400-14-0x00007FFA2C610000-0x00007FFA2D0D1000-memory.dmp

                                                                                Filesize

                                                                                10.8MB

                                                                              • memory/4404-2-0x0000000000910000-0x0000000000922000-memory.dmp

                                                                                Filesize

                                                                                72KB

                                                                              • memory/4404-3-0x0000000074830000-0x0000000074FE0000-memory.dmp

                                                                                Filesize

                                                                                7.7MB

                                                                              • memory/4404-4-0x0000000005740000-0x0000000005AC4000-memory.dmp

                                                                                Filesize

                                                                                3.5MB

                                                                              • memory/4404-5-0x0000000006080000-0x0000000006624000-memory.dmp

                                                                                Filesize

                                                                                5.6MB

                                                                              • memory/4404-6-0x00000000054D0000-0x0000000005562000-memory.dmp

                                                                                Filesize

                                                                                584KB

                                                                              • memory/4404-7-0x0000000005610000-0x00000000056AC000-memory.dmp

                                                                                Filesize

                                                                                624KB

                                                                              • memory/4404-9-0x0000000074830000-0x0000000074FE0000-memory.dmp

                                                                                Filesize

                                                                                7.7MB