Analysis

  • max time kernel
    146s
  • max time network
    147s
  • platform
    windows7_x64
  • resource
    win7-20241010-en
  • resource tags

    arch:x64arch:x86image:win7-20241010-enlocale:en-usos:windows7-x64system
  • submitted
    22/12/2024, 11:29

General

  • Target

    JaffaCakes118_83f38a0bf26c992a4f4afe92229bbb7e77f80748c881d0ba39a3e1648483e6ef.exe

  • Size

    184KB

  • MD5

    3053973d0d187f27f6154532ea00ee17

  • SHA1

    c15d2971bed0e89f52193e09a94971d455d757cf

  • SHA256

    83f38a0bf26c992a4f4afe92229bbb7e77f80748c881d0ba39a3e1648483e6ef

  • SHA512

    eb5058b97a67b2b2ddd1f36e25d9f3a67e5115dab0ea520ab574261a12feab6541a38ec63ee7e9b0ef38e9f6a68677573fe4e690443ddb7230b8ac039d69d504

  • SSDEEP

    3072:7SmyTMOQe1NOvLqfbsjUivt2QejgkNXSfMtcaJK3jPZPw8XehgC:7UTMHeajUQKBNXSkWaITP7m

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_83f38a0bf26c992a4f4afe92229bbb7e77f80748c881d0ba39a3e1648483e6ef.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_83f38a0bf26c992a4f4afe92229bbb7e77f80748c881d0ba39a3e1648483e6ef.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3052
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xzifopuo\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2452
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\cwfpcfkw.exe" C:\Windows\SysWOW64\xzifopuo\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2332
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create xzifopuo binPath= "C:\Windows\SysWOW64\xzifopuo\cwfpcfkw.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_83f38a0bf26c992a4f4afe92229bbb7e77f80748c881d0ba39a3e1648483e6ef.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2344
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description xzifopuo "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1900
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start xzifopuo
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2368
    • 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:2756
  • C:\Windows\SysWOW64\xzifopuo\cwfpcfkw.exe
    C:\Windows\SysWOW64\xzifopuo\cwfpcfkw.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_83f38a0bf26c992a4f4afe92229bbb7e77f80748c881d0ba39a3e1648483e6ef.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2392
    • 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:2512

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

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

          Filesize

          12.0MB

          MD5

          a17f78d3993dbd8486b68b6fecbe95b4

          SHA1

          70285d599eaaf192f3b820e69a0d9bf1998cdad6

          SHA256

          7afc91cbec6b2f42e0d05837f35e02211509da92389d034d38302c2f91a67fac

          SHA512

          882f865f02d6c50192afade50d480595e1487035e9f92a7a4de1d7ad86a8c86a4951d357480f5b1c3e68e1a688afee16e215728b637cb7cba16fba9389ba9176

        • memory/2392-15-0x0000000000400000-0x0000000000446000-memory.dmp

          Filesize

          280KB

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

          Filesize

          84KB

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

          Filesize

          84KB

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

          Filesize

          84KB

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

          Filesize

          4KB

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

          Filesize

          84KB

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

          Filesize

          84KB

        • memory/3052-1-0x00000000002D0000-0x00000000003D0000-memory.dmp

          Filesize

          1024KB

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

          Filesize

          84KB

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

          Filesize

          76KB

        • memory/3052-8-0x0000000000400000-0x0000000000446000-memory.dmp

          Filesize

          280KB

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

          Filesize

          76KB