Analysis

  • max time kernel
    146s
  • max time network
    146s
  • platform
    windows7_x64
  • resource
    win7-20240708-en
  • resource tags

    arch:x64arch:x86image:win7-20240708-enlocale:en-usos:windows7-x64system
  • submitted
    25-12-2024 20:06

General

  • Target

    JaffaCakes118_062fce8b9f73b1fc87b28d03695f8000d7e20cb6c0ad388f346815ac561d4517.exe

  • Size

    154KB

  • MD5

    971185496b23d211fc7474e9374ab374

  • SHA1

    ffa43b2c453d4bb11a0be1051a2053ae81229a9e

  • SHA256

    062fce8b9f73b1fc87b28d03695f8000d7e20cb6c0ad388f346815ac561d4517

  • SHA512

    13257bb542d99b9f33672be36d34d27ddeca9d872b7ee4d3e0999f6d130c35a5b42664508b7b2bf3aacd5dd25e67d405ae640e8ed2f715c55de92e5748675e0a

  • SSDEEP

    3072:LzamdBklO3M250scMTJ2449nC5Mc8SaxMEQk0O:LzldqlO3/0scwJu95SayEcO

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
  • Windows security bypass 2 TTPs 1 IoCs
  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • 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.

  • 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 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_062fce8b9f73b1fc87b28d03695f8000d7e20cb6c0ad388f346815ac561d4517.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_062fce8b9f73b1fc87b28d03695f8000d7e20cb6c0ad388f346815ac561d4517.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2308
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\tzhbgcvs\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2792
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tyumknz.exe" C:\Windows\SysWOW64\tzhbgcvs\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2956
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create tzhbgcvs binPath= "C:\Windows\SysWOW64\tzhbgcvs\tyumknz.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_062fce8b9f73b1fc87b28d03695f8000d7e20cb6c0ad388f346815ac561d4517.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2756
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description tzhbgcvs "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2764
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start tzhbgcvs
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2696
    • 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:2552
  • C:\Windows\SysWOW64\tzhbgcvs\tyumknz.exe
    C:\Windows\SysWOW64\tzhbgcvs\tyumknz.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_062fce8b9f73b1fc87b28d03695f8000d7e20cb6c0ad388f346815ac561d4517.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2828
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Windows security bypass
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3052

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    14.2MB

    MD5

    f689cad3f0673a1f635f9df41ec70508

    SHA1

    8db0e2850a16e1074056a48ac485f8b48a192994

    SHA256

    63a24166a95ced94fa190d12d74a3e01ba45e505e48a4e84f292572c9f77c221

    SHA512

    99b34529709c70095ec35e86767cf96f5057e1b3313d5d3eaf608db23e5059b0d8eeb426a4d0fef7e2b2261c0e198430ec3ed6d99a549e2b22424dd1d4d096da

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

    Filesize

    692KB

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

    Filesize

    84KB

  • memory/2308-1-0x0000000000650000-0x0000000000750000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    84KB

  • memory/2308-9-0x0000000000220000-0x0000000000233000-memory.dmp

    Filesize

    76KB

  • memory/2308-2-0x0000000000220000-0x0000000000233000-memory.dmp

    Filesize

    76KB

  • memory/2828-17-0x0000000000400000-0x00000000004AD000-memory.dmp

    Filesize

    692KB

  • memory/3052-11-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/3052-16-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/3052-14-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/3052-13-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/3052-18-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB