Analysis

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

    arch:x64arch:x86image:win7-20241023-enlocale:en-usos:windows7-x64system
  • submitted
    22-12-2024 12:08

General

  • Target

    JaffaCakes118_abb02d0e5622d63642e0ddbfcc1788078a8618a6a7c8094956d877704cb86cac.exe

  • Size

    157KB

  • MD5

    cd6e5ac889b0cc1a71bd010f1b58ec00

  • SHA1

    ef8533ce236484acce96615d8b1dd99a387212fc

  • SHA256

    abb02d0e5622d63642e0ddbfcc1788078a8618a6a7c8094956d877704cb86cac

  • SHA512

    74f48a093c96c087bdde32c81cadaedd457acfa36fc17f64ff23ce0c303e83c489cce3e7610d565d2feba415638c00f451b6662cee5e2045c53d9bbed148e51b

  • SSDEEP

    3072:GPEYIsfqkdK0Y4EdFN5uMum0X1Zy//S9H6:GsnsiJ0GKDZy//Ea

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_abb02d0e5622d63642e0ddbfcc1788078a8618a6a7c8094956d877704cb86cac.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_abb02d0e5622d63642e0ddbfcc1788078a8618a6a7c8094956d877704cb86cac.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2156
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\usbbsnws\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2660
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ykweepem.exe" C:\Windows\SysWOW64\usbbsnws\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2056
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create usbbsnws binPath= "C:\Windows\SysWOW64\usbbsnws\ykweepem.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_abb02d0e5622d63642e0ddbfcc1788078a8618a6a7c8094956d877704cb86cac.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2568
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description usbbsnws "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2556
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start usbbsnws
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2796
    • 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:2884
  • C:\Windows\SysWOW64\usbbsnws\ykweepem.exe
    C:\Windows\SysWOW64\usbbsnws\ykweepem.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_abb02d0e5622d63642e0ddbfcc1788078a8618a6a7c8094956d877704cb86cac.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2972
    • 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:2988

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    12.3MB

    MD5

    189431921f0c34b981dc02a8ed4da4a0

    SHA1

    4c6d70dcc3d6e94375636db3e8587882dfb94ae1

    SHA256

    1a4d6bdfc64cbd7e3db1c2095ca57ea0f459de7efdad7b26368fe5dc9ba27d12

    SHA512

    273fccf7a61218d03f0df52282b18dcc04ec2e690b4769e96e402c0f8de83f03cee1cb202185da9d3cef66e36cce1b34cb0162721e194e6a86e986647561d3d5

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

    Filesize

    1024KB

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

    Filesize

    84KB

  • memory/2156-2-0x0000000000240000-0x0000000000253000-memory.dmp

    Filesize

    76KB

  • memory/2156-9-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/2156-8-0x0000000000400000-0x00000000004AE000-memory.dmp

    Filesize

    696KB

  • memory/2972-16-0x0000000000400000-0x00000000004AE000-memory.dmp

    Filesize

    696KB

  • memory/2988-15-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2988-13-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2988-12-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/2988-10-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2988-17-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB