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
    22-12-2024 11:11

General

  • Target

    JaffaCakes118_fe8ee365ed1f5cae302130b5fd5b3e069f91a1d10c94d53cdf5dd6c1db266afb.exe

  • Size

    271KB

  • MD5

    3f65dae6305ca843e7b9b7df2f74d838

  • SHA1

    2c44df4d74900d500dcf9835f6c80ff84d268a37

  • SHA256

    fe8ee365ed1f5cae302130b5fd5b3e069f91a1d10c94d53cdf5dd6c1db266afb

  • SHA512

    93d1cd17ec557a46c3ac6b32a08d24ec1c8dd26ad3c5e2fbe7c4a9c7ce7d2ce568913844d18f950d89a05b22ff76b528ae672b5fbcee8e35da41eb49cde43971

  • SSDEEP

    6144:DgfpPeqotkXALxePgCA0+A3Ii4b6gvlVUgJ:kXotkXALQvAi94+g7/

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_fe8ee365ed1f5cae302130b5fd5b3e069f91a1d10c94d53cdf5dd6c1db266afb.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_fe8ee365ed1f5cae302130b5fd5b3e069f91a1d10c94d53cdf5dd6c1db266afb.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2148
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\gonukqdf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2380
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tnwgtwbn.exe" C:\Windows\SysWOW64\gonukqdf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2028
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create gonukqdf binPath= "C:\Windows\SysWOW64\gonukqdf\tnwgtwbn.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_fe8ee365ed1f5cae302130b5fd5b3e069f91a1d10c94d53cdf5dd6c1db266afb.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2308
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description gonukqdf "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2716
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start gonukqdf
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2800
    • 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:2828
  • C:\Windows\SysWOW64\gonukqdf\tnwgtwbn.exe
    C:\Windows\SysWOW64\gonukqdf\tnwgtwbn.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_fe8ee365ed1f5cae302130b5fd5b3e069f91a1d10c94d53cdf5dd6c1db266afb.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2760
    • 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:2708

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    14.5MB

    MD5

    496edfd55a8a0901016914ee8eaa3353

    SHA1

    b7d4782a4bd215ec15f5fa34029fce72ffdf2729

    SHA256

    8bf5c325b0b9f629f72a34ca0da034ee6172e7754e871bee2de6b34c41adb4bb

    SHA512

    1857ff7b28e68ad7801e2cd7c3c28b2cbc63f8853c9f9d7a79dc2cf174c234dc5397de019ef5fbbbeefaff770231533efaa37b7a5b5503d4f0d048fa276517f4

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

    Filesize

    336KB

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

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/2148-10-0x0000000000270000-0x0000000000370000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    84KB

  • memory/2148-1-0x0000000000270000-0x0000000000370000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2760-15-0x0000000000400000-0x0000000000454000-memory.dmp

    Filesize

    336KB