Analysis

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

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

General

  • Target

    0151396c13b5bc6865551434163d108c_JaffaCakes118.exe

  • Size

    11.7MB

  • MD5

    0151396c13b5bc6865551434163d108c

  • SHA1

    662f732341113522d951ccb10e0bbe8af7719d21

  • SHA256

    0b827bbdc981c850683d5ec4fd095438f962ed6151e05537855008ff79d045c2

  • SHA512

    c94bc7bc0faa5a6ccddc0dfec21c188de3c0625a8d85162a3531e7f07de11effde1b730c8e11b60a6df9aea2a325194bffc703c5860e6e9b3f55406f17d942ff

  • SSDEEP

    12288:gZDHr9j8gEh4CFNUBCWwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA:gVHrGc

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.

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

  • Suspicious use of WriteProcessMemory 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\0151396c13b5bc6865551434163d108c_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\0151396c13b5bc6865551434163d108c_JaffaCakes118.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1196
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hcfoqmua\
      2⤵
        PID:2544
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\rlhnyiag.exe" C:\Windows\SysWOW64\hcfoqmua\
        2⤵
          PID:1812
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create hcfoqmua binPath= "C:\Windows\SysWOW64\hcfoqmua\rlhnyiag.exe /d\"C:\Users\Admin\AppData\Local\Temp\0151396c13b5bc6865551434163d108c_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1524
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description hcfoqmua "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2892
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start hcfoqmua
          2⤵
          • Launches sc.exe
          PID:2084
        • 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:2668
      • C:\Windows\SysWOW64\hcfoqmua\rlhnyiag.exe
        C:\Windows\SysWOW64\hcfoqmua\rlhnyiag.exe /d"C:\Users\Admin\AppData\Local\Temp\0151396c13b5bc6865551434163d108c_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2572
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Windows security bypass
          • Sets service image path in registry
          • Deletes itself
          PID:2468

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.1MB

        MD5

        d4b0ce8f58cd0fddc2b18ae85d020ed2

        SHA1

        893cc5f1f8b2f6aa39022430f132ce9f7494ef71

        SHA256

        b7944d05a61b95a4a98c334aece8c378ca3adf329f03cb2667d40db7867fd588

        SHA512

        5031132e758ee7a8e59e2e63a426785dc77181680d590758da8603e125cbfe21b66ca35ccd32d67e39efcb5137541aab8cb28c671171fd9c49299fa9f4dab2a9

      • memory/1196-8-0x0000000000400000-0x000000000044C000-memory.dmp

        Filesize

        304KB

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

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        76KB

      • memory/1196-1-0x0000000000560000-0x0000000000660000-memory.dmp

        Filesize

        1024KB

      • memory/2468-11-0x00000000000C0000-0x00000000000D5000-memory.dmp

        Filesize

        84KB

      • memory/2468-14-0x00000000000C0000-0x00000000000D5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        4KB

      • memory/2468-16-0x00000000000C0000-0x00000000000D5000-memory.dmp

        Filesize

        84KB

      • memory/2468-18-0x00000000000C0000-0x00000000000D5000-memory.dmp

        Filesize

        84KB

      • memory/2572-17-0x0000000000400000-0x000000000044C000-memory.dmp

        Filesize

        304KB