Analysis

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

    arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system
  • submitted
    27/02/2024, 23:11

General

  • Target
    aa652fc67ec4c4353b9a5562c9ec0d21.exe
  • Size 816KB
  • Sample240227-26lrqsdg97
  • SHA256 ae4fdb69e4ef555cb516a8052d715d741ae565c97cc595f3ea0dc3cd349c4b8d
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • njrat

Version
  • 0.7NC

Botnet
  • NYAN CAT

C2
  • gbarpresencewriterprint.duckdns.org:8651

Mutex
  • 682708ec68e74

Attributes
  • reg_key

    682708ec68e74

  • splitter

    @!#&^%$

Signatures

  • njRAT/Bladabindi

    Widely used RAT written in .NET.

  • Looks for VirtualBox Guest Additions in registry 2 TTPs 1 IoCs
  • Looks for VMWare Tools registry key 2 TTPs 1 IoCs
  • Checks BIOS information in registry 2 TTPs 2 IoCs

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

  • Checks computer location settings 2 TTPs 1 IoCs

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

  • Maps connected drives based on registry 3 TTPs 2 IoCs

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

  • Suspicious use of SetThreadContext 1 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • Creates scheduled task(s) 1 TTPs 1 IoCs

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

  • Suspicious behavior: EnumeratesProcesses 9 IoCs
  • Suspicious use of AdjustPrivilegeToken 21 IoCs
  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\aa652fc67ec4c4353b9a5562c9ec0d21.exe
    "C:\Users\Admin\AppData\Local\Temp\aa652fc67ec4c4353b9a5562c9ec0d21.exe"
    1⤵
    • Looks for VirtualBox Guest Additions in registry
    • Looks for VMWare Tools registry key
    • Checks BIOS information in registry
    • Checks computer location settings
    • Maps connected drives based on registry
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:2888
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Local\Temp\aa652fc67ec4c4353b9a5562c9ec0d21.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4664
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\BkueKqkOElUWV.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4348
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\BkueKqkOElUWV" /XML "C:\Users\Admin\AppData\Local\Temp\tmpBFA2.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:2976
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\BkueKqkOElUWV.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3816
    • C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe
      "C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe"
      2⤵
        PID:4192
      • C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe
        "C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe"
        2⤵
        • Suspicious use of AdjustPrivilegeToken
        PID:1560

    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_32\UsageLogs\powershell.exe.log
          • Size 2KB
          • SHA256 92099c10776bb7e3f2a8d1b82d4d40d0c4627e4f1bf754a6e58dfd2c2e97042a
          • MD5 SHA1 SHA512

          StartupProfileData-NonInteractive

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

          __PSScriptPolicyTest_nrgzn4jf.kth.ps1

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

          tmpBFA2.tmp

          • Path C:\Users\Admin\AppData\Local\Temp\tmpBFA2.tmp
          • Size 1KB
          • SHA256 a1cdf89cc07dc66711bd88f4668e66a77a0bad31c4b1b3d2b2c2f68de60a16c8
          • MD5 SHA1 SHA512

          memory/1560-123-0x0000000074FF0000-0x00000000757A0000-memory.dmp

          memory/1560-49-0x0000000074FF0000-0x00000000757A0000-memory.dmp

          memory/1560-47-0x0000000000400000-0x000000000040C000-memory.dmp

          memory/1560-109-0x0000000005110000-0x0000000005120000-memory.dmp

          memory/2888-7-0x0000000005080000-0x0000000005098000-memory.dmp

          memory/2888-5-0x0000000004E70000-0x0000000004E80000-memory.dmp

          memory/2888-10-0x00000000063E0000-0x000000000645E000-memory.dmp

          memory/2888-11-0x0000000006170000-0x000000000617E000-memory.dmp

          memory/2888-12-0x000000000C330000-0x000000000C396000-memory.dmp

          memory/2888-8-0x0000000074FF0000-0x00000000757A0000-memory.dmp

          memory/2888-1-0x00000000001A0000-0x0000000000272000-memory.dmp

          memory/2888-51-0x0000000074FF0000-0x00000000757A0000-memory.dmp

          memory/2888-6-0x0000000004B20000-0x0000000004B2A000-memory.dmp

          memory/2888-9-0x0000000004E70000-0x0000000004E80000-memory.dmp

          memory/2888-2-0x0000000005140000-0x00000000056E4000-memory.dmp

          memory/2888-0-0x0000000074FF0000-0x00000000757A0000-memory.dmp

          memory/2888-4-0x0000000004C30000-0x0000000004CCC000-memory.dmp

          memory/2888-3-0x0000000004B90000-0x0000000004C22000-memory.dmp

          memory/3816-92-0x0000000002720000-0x0000000002730000-memory.dmp

          memory/3816-55-0x0000000002720000-0x0000000002730000-memory.dmp

          memory/3816-54-0x0000000002720000-0x0000000002730000-memory.dmp

          memory/3816-52-0x0000000074FF0000-0x00000000757A0000-memory.dmp

          memory/3816-97-0x000000006FE20000-0x000000006FE6C000-memory.dmp

          memory/3816-121-0x0000000074FF0000-0x00000000757A0000-memory.dmp

          memory/4348-95-0x0000000006FD0000-0x0000000006FDA000-memory.dmp

          memory/4348-90-0x0000000006E50000-0x0000000006EF3000-memory.dmp

          memory/4348-37-0x0000000000B90000-0x0000000000BA0000-memory.dmp

          memory/4348-120-0x0000000074FF0000-0x00000000757A0000-memory.dmp

          memory/4348-36-0x0000000000B90000-0x0000000000BA0000-memory.dmp

          memory/4348-35-0x0000000074FF0000-0x00000000757A0000-memory.dmp

          memory/4348-112-0x00000000071C0000-0x00000000071D4000-memory.dmp

          memory/4348-98-0x0000000007200000-0x0000000007296000-memory.dmp

          memory/4348-67-0x000000006FE20000-0x000000006FE6C000-memory.dmp

          memory/4348-94-0x00000000075A0000-0x0000000007C1A000-memory.dmp

          memory/4348-91-0x000000007F780000-0x000000007F790000-memory.dmp

          memory/4348-77-0x00000000061A0000-0x00000000061BE000-memory.dmp

          memory/4664-78-0x0000000074FF0000-0x00000000757A0000-memory.dmp

          memory/4664-17-0x0000000004D90000-0x00000000053B8000-memory.dmp

          memory/4664-80-0x000000007FB70000-0x000000007FB80000-memory.dmp

          memory/4664-33-0x0000000005710000-0x0000000005A64000-memory.dmp

          memory/4664-93-0x0000000006F20000-0x0000000006F3A000-memory.dmp

          memory/4664-50-0x0000000005BF0000-0x0000000005C0E000-memory.dmp

          memory/4664-23-0x00000000054B0000-0x0000000005516000-memory.dmp

          memory/4664-96-0x0000000004750000-0x0000000004760000-memory.dmp

          memory/4664-66-0x0000000006BC0000-0x0000000006BF2000-memory.dmp

          memory/4664-21-0x0000000004D30000-0x0000000004D52000-memory.dmp

          memory/4664-108-0x0000000004750000-0x0000000004760000-memory.dmp

          memory/4664-79-0x000000006FE20000-0x000000006FE6C000-memory.dmp

          memory/4664-110-0x0000000007120000-0x0000000007131000-memory.dmp

          memory/4664-111-0x0000000007150000-0x000000000715E000-memory.dmp

          memory/4664-65-0x0000000004750000-0x0000000004760000-memory.dmp

          memory/4664-113-0x0000000007260000-0x000000000727A000-memory.dmp

          memory/4664-114-0x0000000007240000-0x0000000007248000-memory.dmp

          memory/4664-16-0x0000000004750000-0x0000000004760000-memory.dmp

          memory/4664-15-0x0000000004750000-0x0000000004760000-memory.dmp

          memory/4664-53-0x0000000005C30000-0x0000000005C7C000-memory.dmp

          memory/4664-14-0x0000000074FF0000-0x00000000757A0000-memory.dmp

          memory/4664-122-0x0000000074FF0000-0x00000000757A0000-memory.dmp

          memory/4664-13-0x00000000022B0000-0x00000000022E6000-memory.dmp