Analysis

  • max time kernel
    149s
  • max time network
    153s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240802-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    22-09-2024 09:16

General

  • Target

    f1b82a62136c2eec21b2d3f94a8beea7_JaffaCakes118.js

  • Size

    553KB

  • MD5

    f1b82a62136c2eec21b2d3f94a8beea7

  • SHA1

    bbe3a1a2b522912101b5e8edc739f7cdb5fdbdf6

  • SHA256

    abce6b27c63269c3b77de0434f8a864aaa69938d57f6fb14476a7ac4bf689731

  • SHA512

    deec23222fc1a48a208b60945d6a2483b2ad415f8137648425d5e7ccc7bf09d8734b9a542852d780afd7dbc62fb7b187774f0065473a4f17c518d3e7da2fd9d8

  • SSDEEP

    6144:fBd+sYvDno89PB9UeOBSYFVTW10ktwYW7SOpmM8SYKB4/10p6HN:tp6HN

Malware Config

Extracted

Family

wshrat

C2

http://trabajovalle2019.duckdns.org:2034

Signatures

  • WSHRAT

    WSHRAT is a variant of Houdini worm and has vbs and js variants.

  • Blocklisted process makes network request 23 IoCs
  • Checks computer location settings 2 TTPs 2 IoCs

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

  • Drops startup file 2 IoCs
  • Adds Run key to start application 2 TTPs 4 IoCs
  • Looks up external IP address via web service 1 IoCs

    Uses a legitimate IP lookup service to find the infected system's external IP.

  • Command and Scripting Interpreter: JavaScript 1 TTPs
  • Enumerates physical storage devices 1 TTPs

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

  • Modifies registry class 2 IoCs
  • Runs .reg file with regedit 2 IoCs
  • Script User-Agent 22 IoCs

    Uses user-agent string associated with script host/environment.

  • Suspicious use of WriteProcessMemory 6 IoCs

Processes

  • C:\Windows\system32\wscript.exe
    wscript.exe C:\Users\Admin\AppData\Local\Temp\f1b82a62136c2eec21b2d3f94a8beea7_JaffaCakes118.js
    1⤵
    • Checks computer location settings
    • Drops startup file
    • Adds Run key to start application
    • Modifies registry class
    • Suspicious use of WriteProcessMemory
    PID:3388
    • C:\Windows\regedit.exe
      "regedit.exe" "C:\Users\Admin\AppData\Local\Temp\ebgeaegdbdecaedfebace.reg"
      2⤵
      • Runs .reg file with regedit
      PID:2836
    • C:\Windows\System32\wscript.exe
      "C:\Windows\System32\wscript.exe" //B "C:\Users\Admin\AppData\Roaming\f1b82a62136c2eec21b2d3f94a8beea7_JaffaCakes118.js"
      2⤵
      • Blocklisted process makes network request
      • Checks computer location settings
      • Drops startup file
      • Adds Run key to start application
      • Modifies registry class
      • Suspicious use of WriteProcessMemory
      PID:5060
      • C:\Windows\regedit.exe
        "regedit.exe" "C:\Users\Admin\AppData\Local\Temp\ebgeaegdbdecaedfebace.reg"
        3⤵
        • Runs .reg file with regedit
        PID:2684

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Local\Temp\ebgeaegdbdecaedfebace.reg

    Filesize

    143B

    MD5

    0e5411d7ecba9a435afda71c6c39d8fd

    SHA1

    2d6812052bf7be1b5e213e1d813ae39faa07284c

    SHA256

    cb68d50df5817e51ec5b2f72893dc4c749bf3504519107e0a78dda84d55f09e2

    SHA512

    903ac6e5c8a12607af267b54bcbbedfa5542c5b4f7ea289ab7c6a32a424d5b846ae406d830cb4ad48e2b46f92c504163c0856af8c3e09685a8855f39f616ddb1

  • C:\Users\Admin\AppData\Roaming\f1b82a62136c2eec21b2d3f94a8beea7_JaffaCakes118.js

    Filesize

    553KB

    MD5

    f1b82a62136c2eec21b2d3f94a8beea7

    SHA1

    bbe3a1a2b522912101b5e8edc739f7cdb5fdbdf6

    SHA256

    abce6b27c63269c3b77de0434f8a864aaa69938d57f6fb14476a7ac4bf689731

    SHA512

    deec23222fc1a48a208b60945d6a2483b2ad415f8137648425d5e7ccc7bf09d8734b9a542852d780afd7dbc62fb7b187774f0065473a4f17c518d3e7da2fd9d8