Analysis

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

    arch:x64arch:x86image:win10v2004-20230915-enlocale:en-usos:windows10-2004-x64system
  • submitted
    01-10-2023 17:19

General

  • Target

    85f3edacf251c85385541993bc690fabcfc80625b22ec330f4dd6f31c0573454.exe

  • Size

    37KB

  • MD5

    e19f65989c0f892cebe323f2067ce4af

  • SHA1

    07ee79b18fe3aa6c6823052ddffa770f18788a74

  • SHA256

    85f3edacf251c85385541993bc690fabcfc80625b22ec330f4dd6f31c0573454

  • SHA512

    5a110a6cdeba10cc124444c57ab49e26e9ac697de202178661fae9a228485575bcce69503ecd79d51d93e5524f59728e4b8c18663f2f7cc6f64dcac3acf3f8f8

  • SSDEEP

    384:acHsiDrT95hL5YyUvRD/zOo46Al1lrAF+rMRTyN/0L+EcoinblneHQM3epzX5Nr2:Fnv5zUvRDLlAblrM+rMRa8Nuzot

Malware Config

Extracted

Family

njrat

Version

im523

Botnet

Windows

C2

2.tcp.eu.ngrok.io:19440

Mutex

a9916e265f04c5cbbcb09972457528f5

Attributes
  • reg_key

    a9916e265f04c5cbbcb09972457528f5

  • splitter

    |'|'|

Signatures

  • njRAT/Bladabindi

    Widely used RAT written in .NET.

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

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

  • Drops startup file 2 IoCs
  • Executes dropped EXE 1 IoCs
  • Adds Run key to start application 2 TTPs 2 IoCs
  • Legitimate hosting services abused for malware hosting/C2 1 TTPs
  • Drops autorun.inf file 1 TTPs 5 IoCs

    Malware can abuse Windows Autorun to spread further via attached volumes.

  • Enumerates physical storage devices 1 TTPs

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

  • Kills process with taskkill 1 IoCs
  • Suspicious behavior: EnumeratesProcesses 64 IoCs
  • Suspicious behavior: GetForegroundWindowSpam 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 36 IoCs
  • Suspicious use of WriteProcessMemory 9 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\85f3edacf251c85385541993bc690fabcfc80625b22ec330f4dd6f31c0573454.exe
    "C:\Users\Admin\AppData\Local\Temp\85f3edacf251c85385541993bc690fabcfc80625b22ec330f4dd6f31c0573454.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:3920
    • C:\Users\Admin\AppData\Local\Temp\Windows.server.exe
      "C:\Users\Admin\AppData\Local\Temp\Windows.server.exe"
      2⤵
      • Drops startup file
      • Executes dropped EXE
      • Adds Run key to start application
      • Drops autorun.inf file
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious behavior: GetForegroundWindowSpam
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:5108
      • C:\Windows\SysWOW64\netsh.exe
        netsh firewall add allowedprogram "C:\Users\Admin\AppData\Local\Temp\Windows.server.exe" "Windows.server.exe" ENABLE
        3⤵
        • Modifies Windows Firewall
        PID:2604
      • C:\Windows\SysWOW64\taskkill.exe
        taskkill /F /IM Exsample.exe
        3⤵
        • Kills process with taskkill
        • Suspicious use of AdjustPrivilegeToken
        PID:4984

Network

MITRE ATT&CK Matrix ATT&CK v13

Initial Access

Replication Through Removable Media

1
T1091

Persistence

Create or Modify System Process

1
T1543

Windows Service

1
T1543.003

Boot or Logon Autostart Execution

1
T1547

Registry Run Keys / Startup Folder

1
T1547.001

Privilege Escalation

Create or Modify System Process

1
T1543

Windows Service

1
T1543.003

Boot or Logon Autostart Execution

1
T1547

Registry Run Keys / Startup Folder

1
T1547.001

Defense Evasion

Modify Registry

1
T1112

Discovery

Query Registry

1
T1012

System Information Discovery

2
T1082

Lateral Movement

Replication Through Removable Media

1
T1091

Command and Control

Web Service

1
T1102

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Local\Temp\Windows.server.exe
    Filesize

    37KB

    MD5

    e19f65989c0f892cebe323f2067ce4af

    SHA1

    07ee79b18fe3aa6c6823052ddffa770f18788a74

    SHA256

    85f3edacf251c85385541993bc690fabcfc80625b22ec330f4dd6f31c0573454

    SHA512

    5a110a6cdeba10cc124444c57ab49e26e9ac697de202178661fae9a228485575bcce69503ecd79d51d93e5524f59728e4b8c18663f2f7cc6f64dcac3acf3f8f8

  • C:\Users\Admin\AppData\Local\Temp\Windows.server.exe
    Filesize

    37KB

    MD5

    e19f65989c0f892cebe323f2067ce4af

    SHA1

    07ee79b18fe3aa6c6823052ddffa770f18788a74

    SHA256

    85f3edacf251c85385541993bc690fabcfc80625b22ec330f4dd6f31c0573454

    SHA512

    5a110a6cdeba10cc124444c57ab49e26e9ac697de202178661fae9a228485575bcce69503ecd79d51d93e5524f59728e4b8c18663f2f7cc6f64dcac3acf3f8f8

  • C:\Users\Admin\AppData\Local\Temp\Windows.server.exe
    Filesize

    37KB

    MD5

    e19f65989c0f892cebe323f2067ce4af

    SHA1

    07ee79b18fe3aa6c6823052ddffa770f18788a74

    SHA256

    85f3edacf251c85385541993bc690fabcfc80625b22ec330f4dd6f31c0573454

    SHA512

    5a110a6cdeba10cc124444c57ab49e26e9ac697de202178661fae9a228485575bcce69503ecd79d51d93e5524f59728e4b8c18663f2f7cc6f64dcac3acf3f8f8

  • memory/3920-0-0x0000000074710000-0x0000000074CC1000-memory.dmp
    Filesize

    5.7MB

  • memory/3920-1-0x0000000074710000-0x0000000074CC1000-memory.dmp
    Filesize

    5.7MB

  • memory/3920-2-0x0000000001A10000-0x0000000001A20000-memory.dmp
    Filesize

    64KB

  • memory/3920-12-0x0000000074710000-0x0000000074CC1000-memory.dmp
    Filesize

    5.7MB

  • memory/5108-13-0x0000000074710000-0x0000000074CC1000-memory.dmp
    Filesize

    5.7MB

  • memory/5108-14-0x0000000074710000-0x0000000074CC1000-memory.dmp
    Filesize

    5.7MB

  • memory/5108-24-0x0000000074710000-0x0000000074CC1000-memory.dmp
    Filesize

    5.7MB

  • memory/5108-25-0x0000000074710000-0x0000000074CC1000-memory.dmp
    Filesize

    5.7MB