Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    29-12-2024 03:35

General

  • Target

    JaffaCakes118_ca8256d0c45a22331c492aa3db86bb7e6b5ceb2c174198982e1b869bd09ccd52.exe

  • Size

    242KB

  • MD5

    c52fdb82480e2d859a00faf94cd47285

  • SHA1

    40e7989b436fbdf67367a8885ba9cf953793ea4a

  • SHA256

    ca8256d0c45a22331c492aa3db86bb7e6b5ceb2c174198982e1b869bd09ccd52

  • SHA512

    d010316fbfb076cd514183d70885b9af495a5ec8721afab4de1e6dcac371d4a12dd7684ba60a46215dee91c7205c3aa6e64d55c90bdd69122ae249dbd1c1e2b1

  • SSDEEP

    6144:dLZQVtYziDZnv76PE7QQvRdLta6R36k4igVx:BZtziDZnvmxQv/JPR36k4i

Malware Config

Extracted

Family

tofsee

C2

defeatwax.ru

refabyd.info

Signatures

  • Tofsee

    Backdoor/botnet which carries out malicious activities based on commands from a C2 server.

  • Tofsee family
  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

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

  • Deletes itself 1 IoCs
  • Executes dropped EXE 1 IoCs
  • Suspicious use of SetThreadContext 1 IoCs
  • Launches sc.exe 3 IoCs

    Sc.exe is a Windows utlilty to control services on the system.

  • Enumerates physical storage devices 1 TTPs

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

  • Event Triggered Execution: Netsh Helper DLL 1 TTPs 3 IoCs

    Netsh.exe (also referred to as Netshell) is a command-line scripting utility used to interact with the network configuration of a system.

  • Program crash 2 IoCs
  • System Location Discovery: System Language Discovery 1 TTPs 9 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_ca8256d0c45a22331c492aa3db86bb7e6b5ceb2c174198982e1b869bd09ccd52.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_ca8256d0c45a22331c492aa3db86bb7e6b5ceb2c174198982e1b869bd09ccd52.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4196
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\uwoorbeh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3812
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\nhdjuewc.exe" C:\Windows\SysWOW64\uwoorbeh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:5040
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create uwoorbeh binPath= "C:\Windows\SysWOW64\uwoorbeh\nhdjuewc.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_ca8256d0c45a22331c492aa3db86bb7e6b5ceb2c174198982e1b869bd09ccd52.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4532
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description uwoorbeh "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4492
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start uwoorbeh
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5100
    • C:\Windows\SysWOW64\netsh.exe
      "C:\Windows\System32\netsh.exe" advfirewall firewall add rule name="Host-process for services of Windows" dir=in action=allow program="C:\Windows\SysWOW64\svchost.exe" enable=yes>nul
      2⤵
      • Modifies Windows Firewall
      • Event Triggered Execution: Netsh Helper DLL
      • System Location Discovery: System Language Discovery
      PID:1704
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4196 -s 1240
      2⤵
      • Program crash
      PID:704
  • C:\Windows\SysWOW64\uwoorbeh\nhdjuewc.exe
    C:\Windows\SysWOW64\uwoorbeh\nhdjuewc.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_ca8256d0c45a22331c492aa3db86bb7e6b5ceb2c174198982e1b869bd09ccd52.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2140
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3500
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2140 -s 516
      2⤵
      • Program crash
      PID:1780
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 464 -p 4196 -ip 4196
    1⤵
      PID:3068
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 2140 -ip 2140
      1⤵
        PID:4156

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

      • C:\Users\Admin\AppData\Local\Temp\nhdjuewc.exe

        Filesize

        11.4MB

        MD5

        e35cb647945a93d19c7bf97456c4455d

        SHA1

        54a879cb7e112f04ffb46d0b68c777386f272c93

        SHA256

        29d83ed93e6fb913910afc3f347712d6b9d76281b7321e34de95895e8b47bb1b

        SHA512

        c714b5899a0053c453f33b10bfe183af56533af6a6c9ee48feff88e7eab1010a63cdf4e298d1768fa6db84665689c69275abc4b294e16bc79b5793311994256b

      • memory/2140-11-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB

      • memory/2140-18-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB

      • memory/2140-12-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB

      • memory/3500-13-0x0000000000500000-0x0000000000515000-memory.dmp

        Filesize

        84KB

      • memory/3500-15-0x0000000000500000-0x0000000000515000-memory.dmp

        Filesize

        84KB

      • memory/3500-16-0x0000000000500000-0x0000000000515000-memory.dmp

        Filesize

        84KB

      • memory/4196-10-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/4196-8-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB

      • memory/4196-9-0x0000000000490000-0x00000000004A3000-memory.dmp

        Filesize

        76KB

      • memory/4196-3-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/4196-2-0x0000000000490000-0x00000000004A3000-memory.dmp

        Filesize

        76KB

      • memory/4196-1-0x0000000000600000-0x0000000000700000-memory.dmp

        Filesize

        1024KB