Analysis

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

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

General

  • Target

    JaffaCakes118_bed95c3c7b9d573d93e2de96c4543078346e7ec0ed38022b72d2be9588792f6b.exe

  • Size

    270KB

  • MD5

    65b27135bb9e44c1ea0e921b22370b4e

  • SHA1

    325060bd1ece1f550e7309b1bd34547101c6fd6a

  • SHA256

    bed95c3c7b9d573d93e2de96c4543078346e7ec0ed38022b72d2be9588792f6b

  • SHA512

    dbc5a27b1838f7d2bf76f2f20f02f3a717b6b51c6fc58ca58686e6fdd3422528e2b1471c68c472561783987678e2e2994c49a01748d03151793ac16f963df4cb

  • SSDEEP

    6144:esrDGeKy2Q9ggLseGgCy9MoZ+QVqQmXdIU11:h+y2Q9ggLavy+oZLnE+y

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_bed95c3c7b9d573d93e2de96c4543078346e7ec0ed38022b72d2be9588792f6b.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_bed95c3c7b9d573d93e2de96c4543078346e7ec0ed38022b72d2be9588792f6b.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1564
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xphdnhgp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2548
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tfaxeddr.exe" C:\Windows\SysWOW64\xphdnhgp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2572
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create xphdnhgp binPath= "C:\Windows\SysWOW64\xphdnhgp\tfaxeddr.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_bed95c3c7b9d573d93e2de96c4543078346e7ec0ed38022b72d2be9588792f6b.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2552
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description xphdnhgp "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2536
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start xphdnhgp
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2596
    • 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:2468
  • C:\Windows\SysWOW64\xphdnhgp\tfaxeddr.exe
    C:\Windows\SysWOW64\xphdnhgp\tfaxeddr.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_bed95c3c7b9d573d93e2de96c4543078346e7ec0ed38022b72d2be9588792f6b.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2588
    • 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:2464

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    10.4MB

    MD5

    ce4d1e08193fb655d2520af7724eeeb1

    SHA1

    7dfec62d341f262059123f1ae430b560c65c98d6

    SHA256

    46717d080d0cab996226299011d9bb94e51733d9e31bc65e0863db460deb4018

    SHA512

    4102bbde34dacc17bc34e94388d583518a8911635ca19cabb199fa5ac77b4e5546c6006366601c75143b31db21bec4ffcc48a57d45f24a1de816eb61909edf84

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

    Filesize

    76KB

  • memory/1564-4-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/1564-10-0x0000000000530000-0x0000000000630000-memory.dmp

    Filesize

    1024KB

  • memory/1564-1-0x0000000000530000-0x0000000000630000-memory.dmp

    Filesize

    1024KB

  • memory/1564-8-0x0000000000400000-0x0000000000454000-memory.dmp

    Filesize

    336KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

  • memory/2588-18-0x0000000000400000-0x0000000000454000-memory.dmp

    Filesize

    336KB