Resubmissions

12-08-2021 13:20

210812-s5k1bdx2tj 10

12-08-2021 13:06

210812-ywwkwmkmzn 10

12-08-2021 12:42

210812-13ygffvy9j 10

12-08-2021 12:41

210812-ph9ze8t96a 10

Analysis

  • max time kernel
    100s
  • max time network
    154s
  • platform
    windows11_x64
  • resource
    win11
  • submitted
    12-08-2021 13:06

General

  • Target

    g6yzl1NROz6FgZi.exe

  • Size

    1.2MB

  • MD5

    7a8fa3fe4b23a2ca9612b2b1cf096f6a

  • SHA1

    898d020a309d30d33055978794b2131fa5a18698

  • SHA256

    9dacb6e97f39f81eee74d0779165f4a74e31f27cec1a67d52c541c52ed169d73

  • SHA512

    a77912743ed08c7814d6b3a7a3fea19728561f69891c862ea35957ca4886beded2ffea80342af5d9c7b45a8aa868cd8dc9edcc67b62e1b53f25d5c21be407370

Malware Config

Extracted

Family

matiex

C2

https://api.telegram.org/bot1769394961:AAF5BB35akL859CwVaXypIqpVsGWlaKvi7A/sendMessage?chat_id=1735544933

Signatures

  • Matiex

    Matiex is a keylogger and infostealer first seen in July 2020.

  • Matiex Main Payload 2 IoCs
  • suricata: ET MALWARE Matiex Keylogger Exfil Via Telegram

    suricata: ET MALWARE Matiex Keylogger Exfil Via Telegram

  • 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
  • Enumerates connected drives 3 TTPs 1 IoCs

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

  • Looks up external IP address via web service 3 IoCs

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

  • Writes to the Master Boot Record (MBR) 1 TTPs 1 IoCs

    Bootkits write to the MBR to gain persistence at a level below the operating system.

  • Suspicious use of SetThreadContext 1 IoCs
  • Drops file in Windows directory 3 IoCs
  • Enumerates system info in registry 2 TTPs 3 IoCs
  • Modifies data under HKEY_USERS 48 IoCs
  • Suspicious behavior: EnumeratesProcesses 5 IoCs
  • Suspicious use of AdjustPrivilegeToken 2 IoCs
  • Suspicious use of FindShellTrayWindow 2 IoCs
  • Suspicious use of WriteProcessMemory 64 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\g6yzl1NROz6FgZi.exe
    "C:\Users\Admin\AppData\Local\Temp\g6yzl1NROz6FgZi.exe"
    1⤵
    • Suspicious use of SetThreadContext
    PID:3560
    • C:\Users\Admin\AppData\Local\Temp\g6yzl1NROz6FgZi.exe
      "C:\Users\Admin\AppData\Local\Temp\g6yzl1NROz6FgZi.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4672
      • C:\Windows\SysWOW64\netsh.exe
        "netsh" wlan show profile
        3⤵
          PID:1312
    • C:\Windows\System32\svchost.exe
      C:\Windows\System32\svchost.exe -k wsappx -p -s ClipSVC
      1⤵
      • Suspicious use of AdjustPrivilegeToken
      PID:4908
    • C:\Windows\System32\sihclient.exe
      C:\Windows\System32\sihclient.exe /cv 8PFJ7Xr/RkiQhw851r/usQ.0.2
      1⤵
      • Modifies data under HKEY_USERS
      PID:4852
    • C:\Windows\system32\wlrmdr.exe
      -c -s 0 -f 0 -t Empty -m Empty -a 0 -u Empty
      1⤵
        PID:3528
      • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
        "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --profile-directory=Default
        1⤵
        • Adds Run key to start application
        • Enumerates system info in registry
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of FindShellTrayWindow
        • Suspicious use of WriteProcessMemory
        PID:4452
        • 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.107 "--annotation=exe=C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --annotation=plat=Win64 "--annotation=prod=Microsoft Edge" --annotation=ver=92.0.902.62 --initial-client-data=0x104,0x108,0x10c,0xe0,0x110,0x7fffcaf746f8,0x7fffcaf74708,0x7fffcaf74718
          2⤵
            PID:836
          • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
            "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=gpu-process --field-trial-handle=2104,4731042061786123466,10361800637031517918,131072 --gpu-preferences=UAAAAAAAAADgAAAQAAAAAAAAAAAAAAAAAABgAAAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHgAAAAAAAAAeAAAAAAAAAAoAAAABAAAACAAAAAAAAAAKAAAAAAAAAAwAAAAAAAAADgAAAAAAAAAEAAAAAAAAAAAAAAADQAAABAAAAAAAAAAAQAAAA0AAAAQAAAAAAAAAAQAAAANAAAAEAAAAAAAAAAHAAAADQAAAAgAAAAAAAAACAAAAAAAAAA= --mojo-platform-channel-handle=2120 /prefetch:2
            2⤵
              PID:1008
            • 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=2104,4731042061786123466,10361800637031517918,131072 --lang=en-US --service-sandbox-type=none --mojo-platform-channel-handle=2332 /prefetch:3
              2⤵
              • Suspicious behavior: EnumeratesProcesses
              PID:1108
            • 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=2104,4731042061786123466,10361800637031517918,131072 --lang=en-US --service-sandbox-type=utility --mojo-platform-channel-handle=2696 /prefetch:8
              2⤵
                PID:1492
              • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
                "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=renderer --field-trial-handle=2104,4731042061786123466,10361800637031517918,131072 --lang=en-US --disable-client-side-phishing-detection --device-scale-factor=1 --num-raster-threads=1 --renderer-client-id=6 --no-v8-untrusted-code-mitigations --mojo-platform-channel-handle=3312 /prefetch:1
                2⤵
                  PID:1940
                • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
                  "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=renderer --field-trial-handle=2104,4731042061786123466,10361800637031517918,131072 --lang=en-US --disable-client-side-phishing-detection --instant-process --device-scale-factor=1 --num-raster-threads=1 --renderer-client-id=5 --no-v8-untrusted-code-mitigations --mojo-platform-channel-handle=3320 /prefetch:1
                  2⤵
                    PID:2364
                  • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
                    "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=renderer --field-trial-handle=2104,4731042061786123466,10361800637031517918,131072 --disable-gpu-compositing --lang=en-US --disable-client-side-phishing-detection --device-scale-factor=1 --num-raster-threads=1 --renderer-client-id=7 --no-v8-untrusted-code-mitigations --mojo-platform-channel-handle=4532 /prefetch:1
                    2⤵
                      PID:504
                    • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
                      "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=renderer --field-trial-handle=2104,4731042061786123466,10361800637031517918,131072 --disable-gpu-compositing --lang=en-US --disable-client-side-phishing-detection --device-scale-factor=1 --num-raster-threads=1 --renderer-client-id=8 --no-v8-untrusted-code-mitigations --mojo-platform-channel-handle=4560 /prefetch:1
                      2⤵
                        PID:2464
                      • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
                        "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=utility --utility-sub-type=audio.mojom.AudioService --field-trial-handle=2104,4731042061786123466,10361800637031517918,131072 --lang=en-US --service-sandbox-type=audio --mojo-platform-channel-handle=5612 /prefetch:8
                        2⤵
                          PID:1444
                      • C:\Windows\system32\svchost.exe
                        C:\Windows\system32\svchost.exe -k LocalSystemNetworkRestricted -p -s PcaSvc
                        1⤵
                        • Modifies data under HKEY_USERS
                        • Suspicious use of WriteProcessMemory
                        PID:5032
                        • C:\Windows\System32\pcaui.exe
                          C:\Windows\System32\pcaui.exe -n 0 -a "" -v "" -g "" -x ""
                          2⤵
                            PID:588
                        • C:\Windows\System32\CompPkgSrv.exe
                          C:\Windows\System32\CompPkgSrv.exe -Embedding
                          1⤵
                            PID:3060
                          • C:\Windows\System32\svchost.exe
                            C:\Windows\System32\svchost.exe -k netsvcs -p -s BITS
                            1⤵
                            • Modifies data under HKEY_USERS
                            PID:1068
                          • C:\Windows\system32\svchost.exe
                            C:\Windows\system32\svchost.exe -k LocalServiceAndNoImpersonation -p -s SSDPSRV
                            1⤵
                              PID:2176
                            • C:\Windows\system32\svchost.exe
                              C:\Windows\system32\svchost.exe -k LocalService -p -s CDPSvc
                              1⤵
                              • Drops file in Windows directory
                              • Modifies data under HKEY_USERS
                              PID:3880
                            • C:\Windows\System32\svchost.exe
                              C:\Windows\System32\svchost.exe -k LocalSystemNetworkRestricted -p -s StorSvc
                              1⤵
                              • Enumerates connected drives
                              • Writes to the Master Boot Record (MBR)
                              PID:4120
                            • C:\Windows\System32\svchost.exe
                              C:\Windows\System32\svchost.exe -k LocalServiceNetworkRestricted -p -s wscsvc
                              1⤵
                                PID:456

                              Network

                              MITRE ATT&CK Matrix ATT&CK v6

                              Persistence

                              Registry Run Keys / Startup Folder

                              1
                              T1060

                              Bootkit

                              1
                              T1067

                              Defense Evasion

                              Modify Registry

                              1
                              T1112

                              Credential Access

                              Credentials in Files

                              3
                              T1081

                              Discovery

                              Query Registry

                              2
                              T1012

                              Peripheral Device Discovery

                              1
                              T1120

                              System Information Discovery

                              2
                              T1082

                              Collection

                              Data from Local System

                              3
                              T1005

                              Replay Monitor

                              Loading Replay Monitor...

                              Downloads

                              • \??\pipe\LOCAL\crashpad_4452_KIFLQMIYJCKVZEIV
                                MD5

                                d41d8cd98f00b204e9800998ecf8427e

                                SHA1

                                da39a3ee5e6b4b0d3255bfef95601890afd80709

                                SHA256

                                e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

                                SHA512

                                cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e

                              • memory/504-197-0x0000000000000000-mapping.dmp
                              • memory/588-157-0x0000000000000000-mapping.dmp
                              • memory/836-160-0x0000000000000000-mapping.dmp
                              • memory/1008-166-0x00007FFFEAD80000-0x00007FFFEAD81000-memory.dmp
                                Filesize

                                4KB

                              • memory/1008-164-0x0000000000000000-mapping.dmp
                              • memory/1068-226-0x00000259F2990000-0x00000259F2994000-memory.dmp
                                Filesize

                                16KB

                              • memory/1068-225-0x00000259F25E0000-0x00000259F25F0000-memory.dmp
                                Filesize

                                64KB

                              • memory/1068-224-0x00000259F2560000-0x00000259F2570000-memory.dmp
                                Filesize

                                64KB

                              • memory/1108-165-0x0000000000000000-mapping.dmp
                              • memory/1312-220-0x0000000000000000-mapping.dmp
                              • memory/1444-216-0x0000000000000000-mapping.dmp
                              • memory/1492-173-0x0000000000000000-mapping.dmp
                              • memory/1940-181-0x0000000000000000-mapping.dmp
                              • memory/2364-184-0x0000000000000000-mapping.dmp
                              • memory/2464-213-0x0000000000000000-mapping.dmp
                              • memory/3560-155-0x0000000005EC0000-0x0000000005EC1000-memory.dmp
                                Filesize

                                4KB

                              • memory/3560-151-0x0000000005B70000-0x0000000005B71000-memory.dmp
                                Filesize

                                4KB

                              • memory/3560-146-0x0000000000F20000-0x0000000000F21000-memory.dmp
                                Filesize

                                4KB

                              • memory/3560-194-0x0000000007280000-0x0000000007304000-memory.dmp
                                Filesize

                                528KB

                              • memory/3560-195-0x00000000098A0000-0x0000000009940000-memory.dmp
                                Filesize

                                640KB

                              • memory/3560-154-0x0000000005DF0000-0x0000000005DF1000-memory.dmp
                                Filesize

                                4KB

                              • memory/3560-148-0x0000000005990000-0x0000000005991000-memory.dmp
                                Filesize

                                4KB

                              • memory/3560-149-0x0000000005FE0000-0x0000000005FE1000-memory.dmp
                                Filesize

                                4KB

                              • memory/3560-150-0x0000000005AD0000-0x0000000005AD1000-memory.dmp
                                Filesize

                                4KB

                              • memory/3560-156-0x0000000005F60000-0x0000000005F70000-memory.dmp
                                Filesize

                                64KB

                              • memory/3560-153-0x00000000058C0000-0x000000000595C000-memory.dmp
                                Filesize

                                624KB

                              • memory/3560-152-0x0000000006590000-0x0000000006591000-memory.dmp
                                Filesize

                                4KB

                              • memory/4672-210-0x00000000059A0000-0x0000000005F46000-memory.dmp
                                Filesize

                                5.6MB

                              • memory/4672-221-0x0000000007640000-0x0000000007641000-memory.dmp
                                Filesize

                                4KB

                              • memory/4672-207-0x0000000005A10000-0x0000000005A11000-memory.dmp
                                Filesize

                                4KB

                              • memory/4672-202-0x0000000000400000-0x0000000000476000-memory.dmp
                                Filesize

                                472KB

                              • memory/4672-201-0x0000000000000000-mapping.dmp