Analysis

  • max time kernel
    143s
  • max time network
    146s
  • platform
    windows7_x64
  • resource
    win7-20240508-en
  • resource tags

    arch:x64arch:x86image:win7-20240508-enlocale:en-usos:windows7-x64system
  • submitted
    22-06-2024 17:11

General

  • Target

    03193e7ffb478a21a97774a8eceee490_JaffaCakes118.exe

  • Size

    14.4MB

  • MD5

    03193e7ffb478a21a97774a8eceee490

  • SHA1

    9be4d7d83d855b49595e94c30b393e4a8f16a759

  • SHA256

    d9871688f45307444ebd7f8df6009abd6533db193d8eb334bb375c42e45ba366

  • SHA512

    457639d643f94b3190020c7e5f7149b1c69b4b2b486f57106722506071c29feb3b29d509a294e5c6d1603a7ed5de82c46f824c31a1a6d58aff274faaa7e6a4cd

  • SSDEEP

    196608:7E/vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvH:7E

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.

  • 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.

  • Suspicious use of WriteProcessMemory 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\03193e7ffb478a21a97774a8eceee490_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\03193e7ffb478a21a97774a8eceee490_JaffaCakes118.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1772
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\pztpxnej\
      2⤵
        PID:2312
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\qgbnhtxp.exe" C:\Windows\SysWOW64\pztpxnej\
        2⤵
          PID:3032
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create pztpxnej binPath= "C:\Windows\SysWOW64\pztpxnej\qgbnhtxp.exe /d\"C:\Users\Admin\AppData\Local\Temp\03193e7ffb478a21a97774a8eceee490_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2700
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description pztpxnej "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2860
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start pztpxnej
          2⤵
          • Launches sc.exe
          PID:2628
        • 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
          PID:2656
      • C:\Windows\SysWOW64\pztpxnej\qgbnhtxp.exe
        C:\Windows\SysWOW64\pztpxnej\qgbnhtxp.exe /d"C:\Users\Admin\AppData\Local\Temp\03193e7ffb478a21a97774a8eceee490_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2764
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:2544

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.0MB

        MD5

        3676fd895e7c4d2a965ac89907864a83

        SHA1

        bbeeb943c941cacb73e4124ff735a863c8e26bbb

        SHA256

        7f2d0cbac433437f03ba0cb3de1c99e747af122921cddc12c467fe49bb73e154

        SHA512

        40598057d7a54e8d8d8bd10accfee517f7bc6b930e12cb32f2627be3a1b289395ae544aa316b57da04b647a3da9969f95d16ba16049caf6c8c7e75d6562a509d

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

        Filesize

        84KB

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

        Filesize

        76KB

      • memory/1772-1-0x0000000000930000-0x0000000000A30000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

      • memory/1772-8-0x0000000000400000-0x0000000000870000-memory.dmp

        Filesize

        4.4MB

      • memory/2544-10-0x00000000000D0000-0x00000000000E5000-memory.dmp

        Filesize

        84KB

      • memory/2544-13-0x00000000000D0000-0x00000000000E5000-memory.dmp

        Filesize

        84KB

      • memory/2544-12-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

        Filesize

        4KB

      • memory/2544-15-0x00000000000D0000-0x00000000000E5000-memory.dmp

        Filesize

        84KB

      • memory/2544-17-0x00000000000D0000-0x00000000000E5000-memory.dmp

        Filesize

        84KB

      • memory/2764-16-0x0000000000400000-0x0000000000870000-memory.dmp

        Filesize

        4.4MB