Analysis

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

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    15-12-2024 12:24

General

  • Target

    f3fbaee673990549c395e139685f204d_JaffaCakes118.exe

  • Size

    301KB

  • MD5

    f3fbaee673990549c395e139685f204d

  • SHA1

    8f834c1c8c8576d2bfb68582f249f221e91344f5

  • SHA256

    8b1bbcd253430c07b2d9888582b495e829dab19646eb740aad3c72d17532a0c4

  • SHA512

    33fa4d05de64edb21b58b2bb2ff4f9e84f0878e5ab2fc080b210136ec38d64338ce087899ff6a51fa458ca34c5fca2df777f34bde2ad3a94074c4a5f55850d01

  • SSDEEP

    6144:3n78bLTMCrVUrxhkdceG8RjhqJL6ejOOhxxdeTr/ekI:XIb3jVUxU1foL6evzxd6L

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\f3fbaee673990549c395e139685f204d_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\f3fbaee673990549c395e139685f204d_JaffaCakes118.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2516
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hcnoaimx\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:656
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hwjfrqjv.exe" C:\Windows\SysWOW64\hcnoaimx\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2352
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create hcnoaimx binPath= "C:\Windows\SysWOW64\hcnoaimx\hwjfrqjv.exe /d\"C:\Users\Admin\AppData\Local\Temp\f3fbaee673990549c395e139685f204d_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2256
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description hcnoaimx "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2740
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start hcnoaimx
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2852
    • 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:2888
  • C:\Windows\SysWOW64\hcnoaimx\hwjfrqjv.exe
    C:\Windows\SysWOW64\hcnoaimx\hwjfrqjv.exe /d"C:\Users\Admin\AppData\Local\Temp\f3fbaee673990549c395e139685f204d_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2812
    • 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:2816

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    11.8MB

    MD5

    e234d10a0008d94a8d00606fa1a36009

    SHA1

    bee04e3ee99003a8bad3b2c1547e18f5a22fcdd4

    SHA256

    ec50fead617f9b9f853b259b21d9353fa8c37c2b932c3c02e56e4adc7487fde2

    SHA512

    bd4e0406d43ae366f6cbdcda855dad3478c2c8ea0fea6e2f707878580a74bf0d4420f6b61af14691db1703c5ae00d8e402ba2deae4ce34ab5ade4e8f2058b2bb

  • memory/2516-8-0x0000000000400000-0x0000000000459000-memory.dmp

    Filesize

    356KB

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

    Filesize

    84KB

  • memory/2516-2-0x00000000002B0000-0x00000000002C3000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/2516-9-0x00000000002B0000-0x00000000002C3000-memory.dmp

    Filesize

    76KB

  • memory/2516-1-0x00000000004E0000-0x00000000005E0000-memory.dmp

    Filesize

    1024KB

  • memory/2812-16-0x0000000000400000-0x0000000000459000-memory.dmp

    Filesize

    356KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

  • memory/2816-17-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB