Analysis

  • max time kernel
    145s
  • max time network
    145s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    29-12-2024 22:02

General

  • Target

    JaffaCakes118_3cac8d9e28a92e9d0d5b598b7f5f204b770ed4c05c12dd62e320bf480fc67ea1.exe

  • Size

    237KB

  • MD5

    7a1a48ccd69108c3d310aee449113b16

  • SHA1

    c60353c5f012f5203f3d3a13bf10ef98acb34bc0

  • SHA256

    3cac8d9e28a92e9d0d5b598b7f5f204b770ed4c05c12dd62e320bf480fc67ea1

  • SHA512

    2d36b02981ae72635728f4cc95ce2e47649ae9b98ce6c2e407eb00f6745dabacfa3df5dc5f398a3f73c7038ac17b6a2d80ee3486d1881d2ae850f090a7423fd1

  • SSDEEP

    6144:K4oK+W6n72e2Xr7OoNH9m8Pr/lJQlfZJqK:KBSY72e2XnNH9mq/l+b

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_3cac8d9e28a92e9d0d5b598b7f5f204b770ed4c05c12dd62e320bf480fc67ea1.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_3cac8d9e28a92e9d0d5b598b7f5f204b770ed4c05c12dd62e320bf480fc67ea1.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3024
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\tcfmzugj\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:588
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ehfaublv.exe" C:\Windows\SysWOW64\tcfmzugj\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1512
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create tcfmzugj binPath= "C:\Windows\SysWOW64\tcfmzugj\ehfaublv.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_3cac8d9e28a92e9d0d5b598b7f5f204b770ed4c05c12dd62e320bf480fc67ea1.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2480
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description tcfmzugj "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2660
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start tcfmzugj
      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:2804
  • C:\Windows\SysWOW64\tcfmzugj\ehfaublv.exe
    C:\Windows\SysWOW64\tcfmzugj\ehfaublv.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_3cac8d9e28a92e9d0d5b598b7f5f204b770ed4c05c12dd62e320bf480fc67ea1.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2788
    • 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:2840

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    14.5MB

    MD5

    80884b30c8ebb84ebbcfd7b38a42b364

    SHA1

    c768b4ceec0e0cf10b6a0c42483bc7888ec21eb2

    SHA256

    7fe4be869ff2d1a2391fc162694fcd707bcc0d77352ea9995c387ef338035dc5

    SHA512

    f33fef22f71b08130399428289d24f826ad8434a808d3af412146c242db25627f3affb2d724dd2412470cc2e950680c771dd509fc082625d00ea90b56c155e52

  • memory/2788-18-0x0000000000400000-0x000000000086B000-memory.dmp

    Filesize

    4.4MB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2840-14-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/2840-12-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2840-19-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/3024-8-0x0000000000400000-0x000000000086B000-memory.dmp

    Filesize

    4.4MB

  • memory/3024-11-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/3024-10-0x00000000008F0000-0x00000000009F0000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    76KB

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

    Filesize

    76KB

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

    Filesize

    1024KB