Analysis

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

    arch:x64arch:x86image:win7-20241023-enlocale:en-usos:windows7-x64system
  • submitted
    04-12-2024 11:16

General

  • Target

    c2496d5d782576cee9b980a4852aa848_JaffaCakes118.exe

  • Size

    13.6MB

  • MD5

    c2496d5d782576cee9b980a4852aa848

  • SHA1

    c2fba555557331a154db390b526b52235aafb12e

  • SHA256

    ca7f8f6861626af97a6f68ca54f5744ba6867cc365f14500191c7e0640806137

  • SHA512

    a5b797846b2f1e36f7652fcb7b8ead141a49fd5407ef7f9978be557d4a64ae0d69386e3ffb0723d1e3a20d5c84568d4cfdef05011ac0f007a46d722cc24373e1

  • SSDEEP

    6144:3ngjLKfnGE+Nj43Gd/50NS0UG4th+d49EOVVVVVVVVVVVVVVVVVVVVVVVVVVVVVn:wiOE+Nj4Q50k0UGIh+dJ

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\c2496d5d782576cee9b980a4852aa848_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\c2496d5d782576cee9b980a4852aa848_JaffaCakes118.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2272
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\bswhmfnq\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2552
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\sqfrlhsi.exe" C:\Windows\SysWOW64\bswhmfnq\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2532
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create bswhmfnq binPath= "C:\Windows\SysWOW64\bswhmfnq\sqfrlhsi.exe /d\"C:\Users\Admin\AppData\Local\Temp\c2496d5d782576cee9b980a4852aa848_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:784
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description bswhmfnq "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1500
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start bswhmfnq
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2520
    • 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:2816
  • C:\Windows\SysWOW64\bswhmfnq\sqfrlhsi.exe
    C:\Windows\SysWOW64\bswhmfnq\sqfrlhsi.exe /d"C:\Users\Admin\AppData\Local\Temp\c2496d5d782576cee9b980a4852aa848_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2776
    • 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:2672

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    14.3MB

    MD5

    7715cfa99780d99dea74b6c5315c6d4f

    SHA1

    bc613a5b3bac2ea09773bf329dc064929df8e815

    SHA256

    85a1968fe8eb9388140e0c315bd026e296e6b1dbbee1eab0c7924c1927037bda

    SHA512

    068cf6c72ab0758cdbb0d31acd2c8ffb8fa3520937377dd431014a0d4f4d485f3969e975811bb6079723474531f3212c5b5c8b2d83d814c1b69390b29976e4ce

  • memory/2272-10-0x0000000000290000-0x0000000000390000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    84KB

  • memory/2272-2-0x00000000001B0000-0x00000000001C3000-memory.dmp

    Filesize

    76KB

  • memory/2272-8-0x0000000000400000-0x0000000001782000-memory.dmp

    Filesize

    19.5MB

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

    Filesize

    84KB

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

    Filesize

    1024KB

  • memory/2272-9-0x00000000001B0000-0x00000000001C3000-memory.dmp

    Filesize

    76KB

  • memory/2672-12-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

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

    Filesize

    4KB

  • memory/2672-15-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2672-19-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2776-18-0x0000000000400000-0x0000000001782000-memory.dmp

    Filesize

    19.5MB