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
    01-01-2025 09:32

General

  • Target

    JaffaCakes118_4fece95c5138be47dc60bef4279def37.exe

  • Size

    11.8MB

  • MD5

    4fece95c5138be47dc60bef4279def37

  • SHA1

    1a8feffb0571f72236b16aeffd5223d0ed2400c4

  • SHA256

    f4debee839654168bc951377f49cb7f3af9cc125168975e3ea1a111f92efb705

  • SHA512

    a4c40a3d0963d7ce1d2b15f67e382964fb26a4f52509f770f7f7f6ceeedaa34050f3a13734f70f5f6eb03beb0b03cbc673ab9d7835855bdbf2f9de970feb81d6

  • SSDEEP

    196608:p4TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTn:p

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_4fece95c5138be47dc60bef4279def37.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_4fece95c5138be47dc60bef4279def37.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2852
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\lagckote\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2704
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\szxiniwk.exe" C:\Windows\SysWOW64\lagckote\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2768
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create lagckote binPath= "C:\Windows\SysWOW64\lagckote\szxiniwk.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_4fece95c5138be47dc60bef4279def37.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2828
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description lagckote "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2812
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start lagckote
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2644
    • 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:2804
  • C:\Windows\SysWOW64\lagckote\szxiniwk.exe
    C:\Windows\SysWOW64\lagckote\szxiniwk.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_4fece95c5138be47dc60bef4279def37.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2580
    • 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:2600

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    14.9MB

    MD5

    e9ade1612dc016001e61ead71a366f62

    SHA1

    aaa2b3a9d583b6659483354cc7701bc879b43b8f

    SHA256

    a479959b5cd5b467528c90ee2505c220c88a3dcf7a860f2c6b85ff80b84360c6

    SHA512

    4354f8e6327be15dd5ab6423041b5bf21c61bf3969d27c3fac7285c64a6d92a7457bb6ad7a4d052f15a1a705e6572d1f1f0c130fc8e9c8d03eef321e0bfd4ddf

  • memory/2580-17-0x0000000000400000-0x0000000000870000-memory.dmp

    Filesize

    4.4MB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2852-9-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

  • memory/2852-8-0x0000000000400000-0x0000000000870000-memory.dmp

    Filesize

    4.4MB

  • memory/2852-2-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

  • memory/2852-1-0x00000000008F0000-0x00000000009F0000-memory.dmp

    Filesize

    1024KB