Analysis

  • max time kernel
    130s
  • max time network
    146s
  • platform
    windows7_x64
  • resource
    win7-20231129-en
  • resource tags

    arch:x64arch:x86image:win7-20231129-enlocale:en-usos:windows7-x64system
  • submitted
    09/02/2024, 17:11

General

  • Target
    bfb76b993b916cde7d4f7c24dac36298.exe
  • Size 3.6MB
  • Sample240209-vp9nxaeh39
  • SHA256 1620913545f60a85ce934c8df97224e111a86b9f4c5ed9f51ab57a13985db4cc
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Signatures

  • Detect ZGRat V1 2 IoCs
  • Modifies WinLogon for persistence 2 TTPs 5 IoCs
  • Process spawned unexpected child process 15 IoCs

    This typically indicates the parent process was compromised via an exploit or macro.

  • ZGRat

    ZGRat is remote access trojan written in C#.

  • Executes dropped EXE 1 IoCs
  • 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 10 IoCs
  • Drops file in System32 directory 2 IoCs
  • Drops file in Program Files directory 2 IoCs
  • Drops file in Windows directory 2 IoCs
  • Creates scheduled task(s) 1 TTPs 15 IoCs

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

  • Suspicious behavior: EnumeratesProcesses 64 IoCs
  • Suspicious behavior: GetForegroundWindowSpam 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 7 IoCs
  • Suspicious use of WriteProcessMemory 33 IoCs
  • Uses Task Scheduler COM API 1 TTPs

    The Task Scheduler COM API can be used to schedule applications to run on boot or at set times.

Processes

  • C:\Users\Admin\AppData\Local\Temp\bfb76b993b916cde7d4f7c24dac36298.exe
    "C:\Users\Admin\AppData\Local\Temp\bfb76b993b916cde7d4f7c24dac36298.exe"
    1⤵
    • Modifies WinLogon for persistence
    • Adds Run key to start application
    • Drops file in Program Files directory
    • Drops file in Windows directory
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:2020
    • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe
      "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe" /noconfig /fullpaths @"C:\Users\Admin\AppData\Local\Temp\lmc2vocn\lmc2vocn.cmdline"
      2⤵
      • Drops file in System32 directory
      • Suspicious use of WriteProcessMemory
      PID:2764
      • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\cvtres.exe
        C:\Windows\Microsoft.NET\Framework64\v4.0.30319\cvtres.exe /NOLOGO /READONLY /MACHINE:IX86 "/OUT:C:\Users\Admin\AppData\Local\Temp\RES2481.tmp" "c:\Windows\System32\CSC162E15F4C0664A149DD2567B241DECE.TMP"
        3⤵
          PID:1148
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        "powershell" -Command Add-MpPreference -ExclusionPath 'C:\Users\Public\Desktop\lsm.exe'
        2⤵
        • Suspicious use of AdjustPrivilegeToken
        PID:2972
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        "powershell" -Command Add-MpPreference -ExclusionPath 'C:\Program Files (x86)\Internet Explorer\SIGNUP\System.exe'
        2⤵
        • Suspicious use of AdjustPrivilegeToken
        PID:2100
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        "powershell" -Command Add-MpPreference -ExclusionPath 'C:\MSOCache\All Users\{90140000-0018-0409-0000-0000000FF1CE}-C\csrss.exe'
        2⤵
        • Suspicious use of AdjustPrivilegeToken
        PID:2108
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        "powershell" -Command Add-MpPreference -ExclusionPath 'C:\Users\Admin\My Documents\bfb76b993b916cde7d4f7c24dac36298.exe'
        2⤵
        • Suspicious use of AdjustPrivilegeToken
        PID:1964
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        "powershell" -Command Add-MpPreference -ExclusionPath 'C:\Windows\twain_32\explorer.exe'
        2⤵
        • Suspicious use of AdjustPrivilegeToken
        PID:2104
      • C:\Windows\System32\cmd.exe
        "C:\Windows\System32\cmd.exe" /C "C:\Users\Admin\AppData\Local\Temp\lo2YTVOTRM.bat"
        2⤵
        • Suspicious use of WriteProcessMemory
        PID:1072
        • C:\Windows\system32\chcp.com
          chcp 65001
          3⤵
            PID:292
          • C:\Windows\system32\w32tm.exe
            w32tm /stripchart /computer:localhost /period:5 /dataonly /samples:2
            3⤵
              PID:1176
            • C:\Users\Public\Desktop\lsm.exe
              "C:\Users\Public\Desktop\lsm.exe"
              3⤵
              • Executes dropped EXE
              • Suspicious behavior: GetForegroundWindowSpam
              • Suspicious use of AdjustPrivilegeToken
              PID:2024
        • C:\Windows\system32\schtasks.exe
          schtasks.exe /create /tn "lsml" /sc MINUTE /mo 11 /tr "'C:\Users\Public\Desktop\lsm.exe'" /f
          1⤵
          • Process spawned unexpected child process
          • Creates scheduled task(s)
          PID:2060
        • C:\Windows\system32\schtasks.exe
          schtasks.exe /create /tn "lsm" /sc ONLOGON /tr "'C:\Users\Public\Desktop\lsm.exe'" /rl HIGHEST /f
          1⤵
          • Process spawned unexpected child process
          • Creates scheduled task(s)
          PID:1256
        • C:\Windows\system32\schtasks.exe
          schtasks.exe /create /tn "lsml" /sc MINUTE /mo 6 /tr "'C:\Users\Public\Desktop\lsm.exe'" /rl HIGHEST /f
          1⤵
          • Process spawned unexpected child process
          • Creates scheduled task(s)
          PID:1976
        • C:\Windows\system32\schtasks.exe
          schtasks.exe /create /tn "SystemS" /sc MINUTE /mo 12 /tr "'C:\Program Files (x86)\Internet Explorer\SIGNUP\System.exe'" /f
          1⤵
          • Process spawned unexpected child process
          • Creates scheduled task(s)
          PID:896
        • C:\Windows\system32\schtasks.exe
          schtasks.exe /create /tn "System" /sc ONLOGON /tr "'C:\Program Files (x86)\Internet Explorer\SIGNUP\System.exe'" /rl HIGHEST /f
          1⤵
          • Process spawned unexpected child process
          • Creates scheduled task(s)
          PID:1168
        • C:\Windows\system32\schtasks.exe
          schtasks.exe /create /tn "SystemS" /sc MINUTE /mo 8 /tr "'C:\Program Files (x86)\Internet Explorer\SIGNUP\System.exe'" /rl HIGHEST /f
          1⤵
          • Process spawned unexpected child process
          • Creates scheduled task(s)
          PID:1792
        • C:\Windows\system32\schtasks.exe
          schtasks.exe /create /tn "csrssc" /sc MINUTE /mo 14 /tr "'C:\MSOCache\All Users\{90140000-0018-0409-0000-0000000FF1CE}-C\csrss.exe'" /f
          1⤵
          • Process spawned unexpected child process
          • Creates scheduled task(s)
          PID:2412
        • C:\Windows\system32\schtasks.exe
          schtasks.exe /create /tn "csrss" /sc ONLOGON /tr "'C:\MSOCache\All Users\{90140000-0018-0409-0000-0000000FF1CE}-C\csrss.exe'" /rl HIGHEST /f
          1⤵
          • Process spawned unexpected child process
          • Creates scheduled task(s)
          PID:2748
        • C:\Windows\system32\schtasks.exe
          schtasks.exe /create /tn "csrssc" /sc MINUTE /mo 9 /tr "'C:\MSOCache\All Users\{90140000-0018-0409-0000-0000000FF1CE}-C\csrss.exe'" /rl HIGHEST /f
          1⤵
          • Process spawned unexpected child process
          • Creates scheduled task(s)
          PID:2816
        • C:\Windows\system32\schtasks.exe
          schtasks.exe /create /tn "explorere" /sc MINUTE /mo 6 /tr "'C:\Windows\twain_32\explorer.exe'" /f
          1⤵
          • Process spawned unexpected child process
          • Creates scheduled task(s)
          PID:2812
        • C:\Windows\system32\schtasks.exe
          schtasks.exe /create /tn "explorer" /sc ONLOGON /tr "'C:\Windows\twain_32\explorer.exe'" /rl HIGHEST /f
          1⤵
          • Process spawned unexpected child process
          • Creates scheduled task(s)
          PID:2028
        • C:\Windows\system32\schtasks.exe
          schtasks.exe /create /tn "explorere" /sc MINUTE /mo 10 /tr "'C:\Windows\twain_32\explorer.exe'" /rl HIGHEST /f
          1⤵
          • Process spawned unexpected child process
          • Creates scheduled task(s)
          PID:1684
        • C:\Windows\system32\schtasks.exe
          schtasks.exe /create /tn "bfb76b993b916cde7d4f7c24dac36298b" /sc MINUTE /mo 8 /tr "'C:\Users\Admin\My Documents\bfb76b993b916cde7d4f7c24dac36298.exe'" /f
          1⤵
          • Process spawned unexpected child process
          • Creates scheduled task(s)
          PID:1636
        • C:\Windows\system32\schtasks.exe
          schtasks.exe /create /tn "bfb76b993b916cde7d4f7c24dac36298" /sc ONLOGON /tr "'C:\Users\Admin\My Documents\bfb76b993b916cde7d4f7c24dac36298.exe'" /rl HIGHEST /f
          1⤵
          • Process spawned unexpected child process
          • Creates scheduled task(s)
          PID:2536
        • C:\Windows\system32\schtasks.exe
          schtasks.exe /create /tn "bfb76b993b916cde7d4f7c24dac36298b" /sc MINUTE /mo 11 /tr "'C:\Users\Admin\My Documents\bfb76b993b916cde7d4f7c24dac36298.exe'" /rl HIGHEST /f
          1⤵
          • Process spawned unexpected child process
          • Creates scheduled task(s)
          PID:2072

        Network

              MITRE ATT&CK Enterprise v15

              Replay Monitor

              Loading Replay Monitor...

              Downloads

              RES2481.tmp

              • Path C:\Users\Admin\AppData\Local\Temp\RES2481.tmp
              • Size 1KB
              • SHA256 91bd2708af1538360e3279ff4d93b5232b83842ae7306e52ca19af034b1a18ab
              • MD5 SHA1 SHA512

              lo2YTVOTRM.bat

              • Path C:\Users\Admin\AppData\Local\Temp\lo2YTVOTRM.bat
              • Size 207B
              • SHA256 19d4f53f831e7fe0dc0f0d2ff908a7fd755ec1d4ff1e66cc9b9fb0f33831c51b
              • MD5 SHA1 SHA512

              590aee7bdd69b59b.customDestinations-ms

              • Path C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Recent\CustomDestinations\590aee7bdd69b59b.customDestinations-ms
              • Size 7KB
              • SHA256 b4e153526027ac4327633e47cdbe0f3ec071e655a4d0d15df89287b3023bbdd1
              • MD5 SHA1 SHA512 SSDEEP

              bfb76b993b916cde7d4f7c24dac36298.exe

              • Path C:\Users\Admin\Documents\bfb76b993b916cde7d4f7c24dac36298.exe
              • Size 3.6MB
              • SHA256 1620913545f60a85ce934c8df97224e111a86b9f4c5ed9f51ab57a13985db4cc
              • MD5 SHA1 SHA512 SSDEEP

              lmc2vocn.0.cs

              • Path \??\c:\Users\Admin\AppData\Local\Temp\lmc2vocn\lmc2vocn.0.cs
              • Size 363B
              • SHA256 84eb4f481528e2ceb4178794290e230edcac20ab9d5242261f33911a39617611
              • MD5 SHA1 SHA512

              lmc2vocn.cmdline

              • Path \??\c:\Users\Admin\AppData\Local\Temp\lmc2vocn\lmc2vocn.cmdline
              • Size 235B
              • SHA256 eda960ad85d5852a3a175cfe57fee2e2da0392901afcafeb90d674e92c4066e3
              • MD5 SHA1 SHA512

              CSC162E15F4C0664A149DD2567B241DECE.TMP

              • Path \??\c:\Windows\System32\CSC162E15F4C0664A149DD2567B241DECE.TMP
              • Size 1KB
              • SHA256 7507b286329e26a7a6f89ae3588a5d6354aa9e01e35915b32e75afe6738d1660
              • MD5 SHA1 SHA512

              memory/1964-132-0x000007FEEF650000-0x000007FEEFFED000-memory.dmp

              memory/1964-136-0x000000000289B000-0x0000000002902000-memory.dmp

              memory/1964-135-0x0000000002894000-0x0000000002897000-memory.dmp

              memory/2020-22-0x0000000000590000-0x00000000005A0000-memory.dmp

              memory/2020-60-0x0000000002570000-0x000000000257E000-memory.dmp

              memory/2020-16-0x00000000003A0000-0x00000000003B0000-memory.dmp

              memory/2020-17-0x00000000779C0000-0x00000000779C1000-memory.dmp

              memory/2020-19-0x00000000005B0000-0x00000000005C8000-memory.dmp

              memory/2020-20-0x00000000779B0000-0x00000000779B1000-memory.dmp

              memory/2020-23-0x00000000779A0000-0x00000000779A1000-memory.dmp

              memory/2020-1-0x000007FEF5EA0000-0x000007FEF688C000-memory.dmp

              memory/2020-25-0x00000000005A0000-0x00000000005B0000-memory.dmp

              memory/2020-28-0x000007FEF5EA0000-0x000007FEF688C000-memory.dmp

              memory/2020-29-0x0000000077990000-0x0000000077991000-memory.dmp

              memory/2020-30-0x0000000077980000-0x0000000077981000-memory.dmp

              memory/2020-27-0x00000000005D0000-0x00000000005DE000-memory.dmp

              memory/2020-32-0x0000000000600000-0x0000000000612000-memory.dmp

              memory/2020-33-0x000000001B220000-0x000000001B2A0000-memory.dmp

              memory/2020-34-0x0000000077970000-0x0000000077971000-memory.dmp

              memory/2020-36-0x00000000005E0000-0x00000000005EC000-memory.dmp

              memory/2020-37-0x0000000077960000-0x0000000077961000-memory.dmp

              memory/2020-39-0x00000000005F0000-0x0000000000600000-memory.dmp

              memory/2020-40-0x000000001B220000-0x000000001B2A0000-memory.dmp

              memory/2020-41-0x0000000077950000-0x0000000077951000-memory.dmp

              memory/2020-43-0x0000000002530000-0x0000000002546000-memory.dmp

              memory/2020-44-0x000000001B220000-0x000000001B2A0000-memory.dmp

              memory/2020-47-0x0000000002550000-0x0000000002562000-memory.dmp

              memory/2020-45-0x0000000077940000-0x0000000077941000-memory.dmp

              memory/2020-48-0x0000000077930000-0x0000000077931000-memory.dmp

              memory/2020-50-0x0000000000620000-0x000000000062E000-memory.dmp

              memory/2020-52-0x0000000002480000-0x000000000248C000-memory.dmp

              memory/2020-54-0x0000000002490000-0x00000000024A0000-memory.dmp

              memory/2020-56-0x00000000024A0000-0x00000000024B0000-memory.dmp

              memory/2020-58-0x000000001B1C0000-0x000000001B21A000-memory.dmp

              memory/2020-14-0x00000000779D0000-0x00000000779D1000-memory.dmp

              memory/2020-62-0x0000000002580000-0x0000000002590000-memory.dmp

              memory/2020-63-0x00000000778C0000-0x00000000778C1000-memory.dmp

              memory/2020-65-0x0000000002590000-0x000000000259E000-memory.dmp

              memory/2020-67-0x00000000026D0000-0x00000000026E8000-memory.dmp

              memory/2020-68-0x00000000778A0000-0x00000000778A1000-memory.dmp

              memory/2020-69-0x0000000077890000-0x0000000077891000-memory.dmp

              memory/2020-71-0x00000000025A0000-0x00000000025AC000-memory.dmp

              memory/2020-73-0x000000001B6C0000-0x000000001B70E000-memory.dmp

              memory/2020-12-0x00000000003F0000-0x000000000040C000-memory.dmp

              memory/2020-13-0x00000000779E0000-0x00000000779E1000-memory.dmp

              memory/2020-10-0x0000000000380000-0x000000000038E000-memory.dmp

              memory/2020-8-0x00000000003B0000-0x00000000003D6000-memory.dmp

              memory/2020-6-0x000000001B220000-0x000000001B2A0000-memory.dmp

              memory/2020-5-0x00000000779F0000-0x00000000779F1000-memory.dmp

              memory/2020-125-0x000007FEF5EA0000-0x000007FEF688C000-memory.dmp

              memory/2020-4-0x000000001B220000-0x000000001B2A0000-memory.dmp

              memory/2020-0-0x0000000000BD0000-0x0000000000F70000-memory.dmp

              memory/2020-2-0x000000001B220000-0x000000001B2A0000-memory.dmp

              memory/2020-3-0x0000000000140000-0x0000000000141000-memory.dmp

              memory/2100-130-0x000007FEEF650000-0x000007FEEFFED000-memory.dmp

              memory/2100-131-0x0000000002C90000-0x0000000002D10000-memory.dmp

              memory/2100-129-0x0000000002C90000-0x0000000002D10000-memory.dmp

              memory/2100-128-0x000007FEEF650000-0x000007FEEFFED000-memory.dmp

              memory/2108-138-0x0000000002CB4000-0x0000000002CB7000-memory.dmp

              memory/2108-126-0x000000001B660000-0x000000001B942000-memory.dmp

              memory/2108-134-0x000007FEEF650000-0x000007FEEFFED000-memory.dmp

              memory/2108-127-0x00000000022C0000-0x00000000022C8000-memory.dmp

              memory/2972-137-0x000007FEEF650000-0x000007FEEFFED000-memory.dmp

              memory/2972-133-0x00000000029F0000-0x0000000002A70000-memory.dmp