Analysis

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

    arch:x64arch:x86image:win7-20240729-enlocale:en-usos:windows7-x64system
  • submitted
    25-12-2024 17:18

General

  • Target

    JaffaCakes118_a28d43022796b67f3436e736c9b4539640cb57673304c77f93f53d73e2edd3ee.exe

  • Size

    234KB

  • MD5

    ed700237ae98c75e0552077ff9a4e162

  • SHA1

    828692ee6880cd1f18da0f4c58566d6e5e8d6f92

  • SHA256

    a28d43022796b67f3436e736c9b4539640cb57673304c77f93f53d73e2edd3ee

  • SHA512

    e9ba4cf57563aafd1531b9a75f1d83b8e2f307ecef83e60e2467bd45482718581b96f7c792680e643e2d1587f2ce06b4476ed54502ba0cefded9237d0743bcc6

  • SSDEEP

    6144:Ho9cm6juiXkrg3mtJ9fE53Z2fnpEfdmS:Hicm6juiUg3m5A34ald

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_a28d43022796b67f3436e736c9b4539640cb57673304c77f93f53d73e2edd3ee.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_a28d43022796b67f3436e736c9b4539640cb57673304c77f93f53d73e2edd3ee.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1200
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ywmepsho\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1216
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\oahbgmzh.exe" C:\Windows\SysWOW64\ywmepsho\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2332
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ywmepsho binPath= "C:\Windows\SysWOW64\ywmepsho\oahbgmzh.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_a28d43022796b67f3436e736c9b4539640cb57673304c77f93f53d73e2edd3ee.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2780
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ywmepsho "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2892
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ywmepsho
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2748
    • 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:2932
  • C:\Windows\SysWOW64\ywmepsho\oahbgmzh.exe
    C:\Windows\SysWOW64\ywmepsho\oahbgmzh.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_a28d43022796b67f3436e736c9b4539640cb57673304c77f93f53d73e2edd3ee.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2772
    • 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:2804

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    12.8MB

    MD5

    072ff0d011a0adb8eee1547518f1203a

    SHA1

    5ee65c7277f06e53594a0be9ae18517167b3f692

    SHA256

    6afd9bdc20058fa76c3f3624ebda7a32667f4c90b3929709caa89c5f3475f8fe

    SHA512

    54996003bb8b6b69976cc5717f68b258246cf906d7fc3892fe8e9ed5a6b9694e1d1a3cb659c131660688cd857e82de198587d1cffb66261c8872d86d7f4c7bad

  • memory/1200-8-0x0000000000400000-0x000000000086A000-memory.dmp

    Filesize

    4.4MB

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

    Filesize

    84KB

  • memory/1200-1-0x0000000000CD0000-0x0000000000DD0000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    76KB

  • memory/2772-17-0x0000000000400000-0x000000000086A000-memory.dmp

    Filesize

    4.4MB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB