Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    23-12-2024 23:49

General

  • Target

    JaffaCakes118_4f9d298e9a7614df6b3d55887d8e0008fabef0b0b55b764ac6bcb781c7d0774b.exe

  • Size

    153KB

  • MD5

    f2f1e67436775229aac6ba0b6f3b6c08

  • SHA1

    5a6ada0a661a53feddda818e50627717e072b9ad

  • SHA256

    4f9d298e9a7614df6b3d55887d8e0008fabef0b0b55b764ac6bcb781c7d0774b

  • SHA512

    6c08c15addc42cccf03e30f2fd4c29277430b48771e85d0af6268422ae6080f89e8ab85d6d21378a9a6fea15d9d232d4cd499c4842ff2ec2846457106b608c91

  • SSDEEP

    3072:R1R6lArEn32yLOoX8p/r5HHcN+n02PO10Oyz:R76WU3hau82WtxOc

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_4f9d298e9a7614df6b3d55887d8e0008fabef0b0b55b764ac6bcb781c7d0774b.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_4f9d298e9a7614df6b3d55887d8e0008fabef0b0b55b764ac6bcb781c7d0774b.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3280
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\uikhlris\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4628
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\uokqbldj.exe" C:\Windows\SysWOW64\uikhlris\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3052
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create uikhlris binPath= "C:\Windows\SysWOW64\uikhlris\uokqbldj.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_4f9d298e9a7614df6b3d55887d8e0008fabef0b0b55b764ac6bcb781c7d0774b.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3172
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description uikhlris "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2912
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start uikhlris
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3520
    • 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:3676
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3280 -s 1036
      2⤵
      • Program crash
      PID:2148
  • C:\Windows\SysWOW64\uikhlris\uokqbldj.exe
    C:\Windows\SysWOW64\uikhlris\uokqbldj.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_4f9d298e9a7614df6b3d55887d8e0008fabef0b0b55b764ac6bcb781c7d0774b.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2036
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3744
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2036 -s 520
      2⤵
      • Program crash
      PID:2144
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 184 -p 3280 -ip 3280
    1⤵
      PID:4696
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 560 -p 2036 -ip 2036
      1⤵
        PID:1960

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.5MB

        MD5

        5a05a896941f07af464692c52189611f

        SHA1

        a0d66ea347cf036f415376f3e8dd176c45c0142a

        SHA256

        f6da1f85d529aec4e322461315312776e3ef866eb0b5decfd42dd75beca7d90e

        SHA512

        8d0ec7518454a51e7ff6ce2e3786d834df8d36bde65ba6873570be763807a2d676e24c1f25500e6978aa8aa2613b7ee4b19894bbf097b45427ee4713064340ad

      • memory/2036-11-0x0000000000400000-0x00000000004AD000-memory.dmp

        Filesize

        692KB

      • memory/2036-13-0x0000000000400000-0x00000000004AD000-memory.dmp

        Filesize

        692KB

      • memory/2036-12-0x0000000000400000-0x00000000004AD000-memory.dmp

        Filesize

        692KB

      • memory/2036-18-0x0000000000400000-0x00000000004AD000-memory.dmp

        Filesize

        692KB

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

        Filesize

        84KB

      • memory/3280-1-0x0000000000670000-0x0000000000770000-memory.dmp

        Filesize

        1024KB

      • memory/3280-8-0x0000000000400000-0x00000000004AD000-memory.dmp

        Filesize

        692KB

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

        Filesize

        84KB

      • memory/3280-9-0x0000000000650000-0x0000000000663000-memory.dmp

        Filesize

        76KB

      • memory/3280-2-0x0000000000650000-0x0000000000663000-memory.dmp

        Filesize

        76KB

      • memory/3744-14-0x0000000000120000-0x0000000000135000-memory.dmp

        Filesize

        84KB

      • memory/3744-16-0x0000000000120000-0x0000000000135000-memory.dmp

        Filesize

        84KB

      • memory/3744-17-0x0000000000120000-0x0000000000135000-memory.dmp

        Filesize

        84KB