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
    31-12-2024 21:09

General

  • Target

    JaffaCakes118_370547d48d40907434f6ae225fe63299.exe

  • Size

    14.5MB

  • MD5

    370547d48d40907434f6ae225fe63299

  • SHA1

    70e61d11ceb4dba3ce49e82c2185dd4611df6fb7

  • SHA256

    af2427a96c386bf82e2db183857b7a587f0d6793aeb1b3b3198bfc2c4cc940db

  • SHA512

    7a3c58e82ba8ecff0530da16bea8a57bd3ce3accc6c37b6ff251a8626aa00ebfdb15ea445a0acd46f9e32a7859c0f4c3e9604d3d542b3772198ff3f8f83ea90d

  • SSDEEP

    6144:fiP2GmiErAKEjgoUYRxiPnkIW2p6/hR6bPz/9hniF:2dEkf5UmiE2pagL9hi

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_370547d48d40907434f6ae225fe63299.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_370547d48d40907434f6ae225fe63299.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1956
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hoxyobpz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2060
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\kwdxcivd.exe" C:\Windows\SysWOW64\hoxyobpz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2548
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create hoxyobpz binPath= "C:\Windows\SysWOW64\hoxyobpz\kwdxcivd.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_370547d48d40907434f6ae225fe63299.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1952
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description hoxyobpz "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2424
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start hoxyobpz
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2688
    • 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:3064
  • C:\Windows\SysWOW64\hoxyobpz\kwdxcivd.exe
    C:\Windows\SysWOW64\hoxyobpz\kwdxcivd.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_370547d48d40907434f6ae225fe63299.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:2084

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    12.7MB

    MD5

    d582c19c56c3909e8fe22ea5f97f3758

    SHA1

    a03cb54531dcbab142b120790c6dd93b4623c382

    SHA256

    ae546d13ac660075027705b6aac205f4bb7802d69c5ab26b5ab36a4202edee18

    SHA512

    b7563a1cfd64ecf8ece6c0e55ec1cb52d599a4d5584b84099cfee3b949a256ec43b6f66a1bd5e10afb98a1c8273a91c90901a2585793fc7e879e86d4f3c23a8d

  • memory/1956-8-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB

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

    Filesize

    84KB

  • memory/1956-1-0x0000000000290000-0x0000000000390000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    76KB

  • memory/2084-16-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2084-14-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

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

    Filesize

    4KB

  • memory/2084-11-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2084-18-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

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

    Filesize

    312KB