Analysis

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

    arch:x64arch:x86image:win10v2004-20240611-enlocale:en-usos:windows10-2004-x64system
  • submitted
    17/06/2024, 00:04

General

  • Target
    brk.bat
  • Size 3KB
  • Sample240617-acn68avcqa
  • SHA256 4d177a08245a8c582abbdae3a83fcf95a8fd464ebd040a1f69c10e30f72704f5
  • MD5 SHA1 SHA512

Malware Config

Signatures

  • Deletes shadow copies 3 TTPs

    Ransomware often targets backup files to inhibit system recovery.

  • Checks computer location settings 2 TTPs 2 IoCs

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

  • Reads user/profile data of web browsers 2 TTPs

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

  • Enumerates physical storage devices 1 TTPs

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

  • Enumerates system info in registry 2 TTPs 3 IoCs
  • Modifies registry class 1 IoCs
  • NTFS ADS 1 IoCs
  • Suspicious behavior: EnumeratesProcesses 7 IoCs
  • Suspicious behavior: NtCreateUserProcessBlockNonMicrosoftBinary 6 IoCs
  • Suspicious use of AdjustPrivilegeToken 45 IoCs
  • Suspicious use of FindShellTrayWindow 25 IoCs
  • Suspicious use of SendNotifyMessage 24 IoCs
  • Suspicious use of WriteProcessMemory 64 IoCs
  • Uses Volume Shadow Copy service COM API

    The Volume Shadow Copy service is used to manage backups/snapshots.

Processes

  • C:\Windows\system32\cmd.exe
    C:\Windows\system32\cmd.exe /c "C:\Users\Admin\AppData\Local\Temp\brk.bat"
    1⤵
    • Checks computer location settings
    • Modifies registry class
    • NTFS ADS
    • Suspicious use of WriteProcessMemory
    PID:4492
    • C:\Windows\system32\chcp.com
      chcp 866
      2⤵
        PID:4912
      • C:\Users\Admin\AppData\Local\Temp\gpg.exe
        C:\Users\Admin\AppData\Local\Temp\gpg.exe --import C:\Users\Admin\AppData\Local\Temp\brg.brg
        2⤵
          PID:3240
        • C:\Users\Admin\AppData\Local\Temp\gpg.exe
          C:\Users\Admin\AppData\Local\Temp\gpg.exe -r y1688 --yes -q --no-verbose --trust-model always -o C:\Users\Admin\AppData\Local\Temp\zarlock.KEY -e C:\Users\Admin\AppData\Local\Temp\rost.doc
          2⤵
          • Suspicious behavior: EnumeratesProcesses
          PID:1932
        • C:\Windows\system32\cmd.exe
          C:\Windows\system32\cmd.exe /c type C:\Users\Admin\AppData\Local\Temp\Flag.txt
          2⤵
            PID:4932
          • C:\Windows\System32\WScript.exe
            "C:\Windows\System32\WScript.exe" "C:\Users\Admin\AppData\Local\Temp\sh.vbs"
            2⤵
            • Checks computer location settings
            • Suspicious use of WriteProcessMemory
            PID:3296
            • C:\Windows\System32\wbem\WMIC.exe
              "C:\Windows\System32\wbem\WMIC.exe" shadowcopy delete /nointeractive
              3⤵
              • Suspicious use of AdjustPrivilegeToken
              PID:2144
          • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
            "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --single-argument C:\Users\Admin\AppData\Local\Temp\zarlock_Help_decrypt.html
            2⤵
            • Enumerates system info in registry
            • Suspicious behavior: EnumeratesProcesses
            • Suspicious behavior: NtCreateUserProcessBlockNonMicrosoftBinary
            • Suspicious use of FindShellTrayWindow
            • Suspicious use of SendNotifyMessage
            • Suspicious use of WriteProcessMemory
            PID:4088
            • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
              "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=crashpad-handler "--user-data-dir=C:\Users\Admin\AppData\Local\Microsoft\Edge\User Data" /prefetch:7 --monitor-self-annotation=ptype=crashpad-handler "--database=C:\Users\Admin\AppData\Local\Microsoft\Edge\User Data\Crashpad" "--metrics-dir=C:\Users\Admin\AppData\Local\Microsoft\Edge\User Data" --annotation=IsOfficialBuild=1 --annotation=channel= --annotation=chromium-version=92.0.4515.131 "--annotation=exe=C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --annotation=plat=Win64 "--annotation=prod=Microsoft Edge" --annotation=ver=92.0.902.67 --initial-client-data=0x11c,0x120,0x124,0xf8,0x128,0x7ff8556346f8,0x7ff855634708,0x7ff855634718
              3⤵
                PID:1960
              • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
                "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=gpu-process --field-trial-handle=2180,7438465714865931355,2620418677547551081,131072 --gpu-preferences=UAAAAAAAAADgAAAQAAAAAAAAAAAAAAAAAABgAAAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHgAAAAAAAAAeAAAAAAAAAAoAAAABAAAACAAAAAAAAAAKAAAAAAAAAAwAAAAAAAAADgAAAAAAAAAEAAAAAAAAAAAAAAADQAAABAAAAAAAAAAAQAAAA0AAAAQAAAAAAAAAAQAAAANAAAAEAAAAAAAAAAHAAAADQAAAAgAAAAAAAAACAAAAAAAAAA= --mojo-platform-channel-handle=2192 /prefetch:2
                3⤵
                  PID:3708
                • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
                  "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=utility --utility-sub-type=network.mojom.NetworkService --field-trial-handle=2180,7438465714865931355,2620418677547551081,131072 --lang=en-US --service-sandbox-type=none --mojo-platform-channel-handle=2256 /prefetch:3
                  3⤵
                  • Suspicious behavior: EnumeratesProcesses
                  PID:2468
                • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
                  "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=utility --utility-sub-type=storage.mojom.StorageService --field-trial-handle=2180,7438465714865931355,2620418677547551081,131072 --lang=en-US --service-sandbox-type=utility --mojo-platform-channel-handle=2676 /prefetch:8
                  3⤵
                    PID:1944
                  • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
                    "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=renderer --field-trial-handle=2180,7438465714865931355,2620418677547551081,131072 --lang=en-US --disable-client-side-phishing-detection --device-scale-factor=1 --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=6 --no-v8-untrusted-code-mitigations --mojo-platform-channel-handle=3296 /prefetch:1
                    3⤵
                      PID:2332
                    • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
                      "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=renderer --field-trial-handle=2180,7438465714865931355,2620418677547551081,131072 --lang=en-US --disable-client-side-phishing-detection --device-scale-factor=1 --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=5 --no-v8-untrusted-code-mitigations --mojo-platform-channel-handle=3312 /prefetch:1
                      3⤵
                        PID:5088
                      • C:\Program Files (x86)\Microsoft\Edge\Application\92.0.902.67\identity_helper.exe
                        "C:\Program Files (x86)\Microsoft\Edge\Application\92.0.902.67\identity_helper.exe" --type=utility --utility-sub-type=winrt_app_id.mojom.WinrtAppIdService --field-trial-handle=2180,7438465714865931355,2620418677547551081,131072 --lang=en-US --service-sandbox-type=none --mojo-platform-channel-handle=5216 /prefetch:8
                        3⤵
                          PID:4644
                        • C:\Program Files (x86)\Microsoft\Edge\Application\92.0.902.67\identity_helper.exe
                          "C:\Program Files (x86)\Microsoft\Edge\Application\92.0.902.67\identity_helper.exe" --type=utility --utility-sub-type=winrt_app_id.mojom.WinrtAppIdService --field-trial-handle=2180,7438465714865931355,2620418677547551081,131072 --lang=en-US --service-sandbox-type=none --mojo-platform-channel-handle=5216 /prefetch:8
                          3⤵
                          • Suspicious behavior: EnumeratesProcesses
                          PID:748
                        • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
                          "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=renderer --field-trial-handle=2180,7438465714865931355,2620418677547551081,131072 --lang=en-US --disable-client-side-phishing-detection --device-scale-factor=1 --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=8 --no-v8-untrusted-code-mitigations --mojo-platform-channel-handle=4032 /prefetch:1
                          3⤵
                            PID:4608
                          • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
                            "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=renderer --field-trial-handle=2180,7438465714865931355,2620418677547551081,131072 --lang=en-US --disable-client-side-phishing-detection --instant-process --device-scale-factor=1 --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=9 --no-v8-untrusted-code-mitigations --mojo-platform-channel-handle=2420 /prefetch:1
                            3⤵
                              PID:1040
                            • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
                              "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=renderer --field-trial-handle=2180,7438465714865931355,2620418677547551081,131072 --lang=en-US --disable-client-side-phishing-detection --device-scale-factor=1 --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=10 --no-v8-untrusted-code-mitigations --mojo-platform-channel-handle=5484 /prefetch:1
                              3⤵
                                PID:3984
                              • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
                                "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=renderer --field-trial-handle=2180,7438465714865931355,2620418677547551081,131072 --lang=en-US --disable-client-side-phishing-detection --instant-process --device-scale-factor=1 --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=11 --no-v8-untrusted-code-mitigations --mojo-platform-channel-handle=5504 /prefetch:1
                                3⤵
                                  PID:4408
                            • C:\Windows\system32\vssvc.exe
                              C:\Windows\system32\vssvc.exe
                              1⤵
                              • Suspicious use of AdjustPrivilegeToken
                              PID:948
                            • C:\Windows\System32\CompPkgSrv.exe
                              C:\Windows\System32\CompPkgSrv.exe -Embedding
                              1⤵
                                PID:720
                              • C:\Windows\System32\CompPkgSrv.exe
                                C:\Windows\System32\CompPkgSrv.exe -Embedding
                                1⤵
                                  PID:2884

                                Network

                                      MITRE ATT&CK Enterprise v15

                                      Replay Monitor

                                      Loading Replay Monitor...

                                      Downloads

                                      settings.dat

                                      • Path C:\Users\Admin\AppData\Local\Microsoft\Edge\User Data\Crashpad\settings.dat
                                      • Size 152B
                                      • SHA256 a358de2c0eba30c70a56022c44a3775aa99ffa819cd7f42f7c45ac358b5e739f
                                      • MD5 SHA1 SHA512

                                      settings.dat

                                      • Path C:\Users\Admin\AppData\Local\Microsoft\Edge\User Data\Crashpad\settings.dat
                                      • Size 152B
                                      • SHA256 c9cd202ebb55fe8dd3e5563948bab458e947d7ba33bc0f38c6b37ce5d0bd7c3e
                                      • MD5 SHA1 SHA512

                                      Preferences

                                      • Path C:\Users\Admin\AppData\Local\Microsoft\Edge\User Data\Default\Preferences
                                      • Size 6KB
                                      • SHA256 ee1deaac577aba019762f69c6b2f00bd22174a0a67b3fe477fdd129df349713f
                                      • MD5 SHA1 SHA512 SSDEEP

                                      Preferences

                                      • Path C:\Users\Admin\AppData\Local\Microsoft\Edge\User Data\Default\Preferences
                                      • Size 6KB
                                      • SHA256 9b072215868a29078ee98c5f0b5a569c6b6dcbcf0ed0d4d4409f710e80881c70
                                      • MD5 SHA1 SHA512 SSDEEP

                                      CURRENT

                                      • Path C:\Users\Admin\AppData\Local\Microsoft\Edge\User Data\Default\data_reduction_proxy_leveldb\CURRENT
                                      • Size 16B
                                      • SHA256 0861415cada612ea5834d56e2cf1055d3e63979b69eb71d32ae9ae394d8306cd
                                      • MD5 SHA1 SHA512

                                      Local State

                                      • Path C:\Users\Admin\AppData\Local\Microsoft\Edge\User Data\Local State
                                      • Size 11KB
                                      • SHA256 0ef2128576721352ecef92d2929cb744b7ae0275723e8791472a1ecb5614158c
                                      • MD5 SHA1 SHA512 SSDEEP

                                      Flag.txt

                                      • Path C:\Users\Admin\AppData\Local\Temp\Flag.txt
                                      • Size 260KB
                                      • SHA256 3159fb34506614ec54345d3df57f0753159876126787db4d9f622eb112407108
                                      • MD5 SHA1 SHA512 SSDEEP

                                      Flag.txt

                                      • Path C:\Users\Admin\AppData\Local\Temp\Flag.txt
                                      • Size 4KB
                                      • SHA256 d6128edffcad72c01f6c353166388135826f7a6eee5cef84e97b26c57e4bb536
                                      • MD5 SHA1 SHA512 SSDEEP

                                      rost.doc

                                      • Path C:\Users\Admin\AppData\Local\Temp\rost.doc
                                      • Size 39B
                                      • SHA256 22e3d0bca8f63b753e930bbe2c33d55f5f4099663f91e8f008c27cfee9046fca
                                      • MD5 SHA1 SHA512

                                      zarlock_Help_decrypt.html

                                      • Path C:\Users\Admin\AppData\Local\Temp\zarlock_Help_decrypt.html
                                      • Size 683B
                                      • SHA256 ec07910016d5d1cba9299bcb60079c37e1b3b9e63aebcffd5612365849232f09
                                      • MD5 SHA1 SHA512

                                      pubring.kbx

                                      • Path C:\Users\Admin\AppData\Roaming\gnupg\pubring.kbx
                                      • Size 1KB
                                      • SHA256 b5658d044d7f9aa47bd8d7bb9f70edb035cfc46a862bf77fea4656ad85647de6
                                      • MD5 SHA1 SHA512

                                      trustdb.gpg

                                      • Path C:\Users\Admin\AppData\Roaming\gnupg\trustdb.gpg
                                      • Size 1KB
                                      • SHA256 fa9fcb12723c86038747b0a7ac629a0706350951a62aa73d8f241f1154788fe4
                                      • MD5 SHA1 SHA512

                                      memory/1932-22-0x00000000655C0000-0x00000000656BA000-memory.dmp

                                      memory/1932-20-0x0000000000400000-0x0000000000519000-memory.dmp

                                      memory/1932-23-0x000000006B480000-0x000000006B4AF000-memory.dmp

                                      memory/1932-24-0x0000000066580000-0x000000006664C000-memory.dmp

                                      memory/1932-25-0x0000000063080000-0x00000000630A0000-memory.dmp

                                      memory/1932-21-0x0000000065A80000-0x0000000065A99000-memory.dmp

                                      memory/3240-12-0x000000006B480000-0x000000006B4AF000-memory.dmp

                                      memory/3240-9-0x0000000000400000-0x0000000000519000-memory.dmp

                                      memory/3240-10-0x0000000065A80000-0x0000000065A99000-memory.dmp

                                      memory/3240-11-0x00000000655C0000-0x00000000656BA000-memory.dmp

                                      memory/3240-14-0x0000000066580000-0x000000006664C000-memory.dmp

                                      memory/3240-13-0x0000000063080000-0x00000000630A0000-memory.dmp