Analysis

  • max time kernel
    61s
  • max time network
    60s
  • platform
    windows10-1703_x64
  • resource
    win10-20240404-en
  • resource tags

    arch:x64arch:x86image:win10-20240404-enlocale:en-usos:windows10-1703-x64system
  • submitted
    18-06-2024 20:35

General

  • Target

    kay.ps1

  • Size

    355KB

  • MD5

    953f6ad46d857b89ecdd141940b89464

  • SHA1

    0e1a9fc3c25340edb5c51cd55e74dd5b23ab58f6

  • SHA256

    377a1d0fa30911193d9518f8db4910397998d710047884aaae474023a0d1bf4b

  • SHA512

    a409ab3781cd56969025b36dd3d3ad721618b9ffc7bb60a35fc94857a38461988e8c140e3ce0983ea803c16f1ed68c99021f58914d0a1ac066953a7c6eb2be0f

  • SSDEEP

    3072:yVg8cH9dJIRNjZZ4Ir8zKaCaDv1iRRqNhEuoTWk7:EzcpIbjr9C0HqsNF

Malware Config

Extracted

Family

njrat

Version

0.7NC

Botnet

NYAN CAT

C2

142.202.240.47:4444

Mutex

e6049327f0d5465989

Attributes
  • reg_key

    e6049327f0d5465989

  • splitter

    @!#&^%$

Signatures

  • njRAT/Bladabindi

    Widely used RAT written in .NET.

  • Suspicious use of SetThreadContext 1 IoCs
  • Command and Scripting Interpreter: PowerShell 1 TTPs 1 IoCs

    Using powershell.exe command.

  • Suspicious behavior: EnumeratesProcesses 3 IoCs
  • Suspicious use of AdjustPrivilegeToken 16 IoCs
  • Suspicious use of WriteProcessMemory 8 IoCs

Processes

  • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
    powershell.exe -ExecutionPolicy bypass -File C:\Users\Admin\AppData\Local\Temp\kay.ps1
    1⤵
    • Suspicious use of SetThreadContext
    • Command and Scripting Interpreter: PowerShell
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:1768
    • C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_compiler.exe
      #cmd
      2⤵
      • Suspicious use of AdjustPrivilegeToken
      PID:208

Network

MITRE ATT&CK Matrix ATT&CK v13

Execution

Command and Scripting Interpreter

1
T1059

PowerShell

1
T1059.001

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_1bsp0qh1.h5y.ps1
    Filesize

    1B

    MD5

    c4ca4238a0b923820dcc509a6f75849b

    SHA1

    356a192b7913b04c54574d18c28d46e6395428ab

    SHA256

    6b86b273ff34fce19d6b804eff5a3f5747ada4eaa22f1d49c01e52ddb7875b4b

    SHA512

    4dff4ea340f0a823f15d3f4f01ab62eae0e5da579ccb851f8db9dfe84c58b2b37b89903a740e1ee172da793a6e79d560e5f7f9bd058a12a280433ed6fa46510a

  • memory/208-30-0x00000000055C0000-0x0000000005652000-memory.dmp
    Filesize

    584KB

  • memory/208-22-0x0000000000400000-0x000000000040C000-memory.dmp
    Filesize

    48KB

  • memory/208-33-0x0000000073980000-0x000000007406E000-memory.dmp
    Filesize

    6.9MB

  • memory/208-32-0x0000000005540000-0x000000000554A000-memory.dmp
    Filesize

    40KB

  • memory/208-27-0x000000007398E000-0x000000007398F000-memory.dmp
    Filesize

    4KB

  • memory/208-31-0x0000000073980000-0x000000007406E000-memory.dmp
    Filesize

    6.9MB

  • memory/208-29-0x0000000005960000-0x0000000005E5E000-memory.dmp
    Filesize

    5.0MB

  • memory/208-28-0x00000000053C0000-0x000000000545C000-memory.dmp
    Filesize

    624KB

  • memory/1768-5-0x00000273EC6A0000-0x00000273EC6C2000-memory.dmp
    Filesize

    136KB

  • memory/1768-26-0x00007FFF50290000-0x00007FFF50C7C000-memory.dmp
    Filesize

    9.9MB

  • memory/1768-8-0x00007FFF50290000-0x00007FFF50C7C000-memory.dmp
    Filesize

    9.9MB

  • memory/1768-4-0x00007FFF50293000-0x00007FFF50294000-memory.dmp
    Filesize

    4KB

  • memory/1768-21-0x00000273EC7F0000-0x00000273EC80A000-memory.dmp
    Filesize

    104KB

  • memory/1768-10-0x00007FFF50290000-0x00007FFF50C7C000-memory.dmp
    Filesize

    9.9MB

  • memory/1768-9-0x00000273EC850000-0x00000273EC8C6000-memory.dmp
    Filesize

    472KB