Analysis

  • max time kernel
    155s
  • max time network
    158s
  • platform
    windows7_x64
  • resource
    win7-20240221-en
  • resource tags

    arch:x64arch:x86image:win7-20240221-enlocale:en-usos:windows7-x64system
  • submitted
    19-04-2024 03:01

General

  • Target

    f95be8bb765824a57b98f01e4101e6e5_JaffaCakes118.exe

  • Size

    11.6MB

  • MD5

    f95be8bb765824a57b98f01e4101e6e5

  • SHA1

    cf9efeb3adcf6d529494a5064c2eb6278b3346c2

  • SHA256

    387ca39819c3cbacbd451cf8dd67a51be3d494417e07121bee55e894f24a40e3

  • SHA512

    5db9fd1e71f1dc1aeac8166b359ff31c7a04080831c06837ddccf7fd9a3b29e884d8880af5f20f27c1d1774b106d14213a3bf9dae162e1ada5578fdcf33aaf52

  • SSDEEP

    24576:GjDuKnh7YzbKBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBn:Gnh

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) 1 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).

  • Suspicious use of WriteProcessMemory 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\f95be8bb765824a57b98f01e4101e6e5_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\f95be8bb765824a57b98f01e4101e6e5_JaffaCakes118.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2620
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\zaewlkuq\
      2⤵
        PID:2368
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\pykqavrh.exe" C:\Windows\SysWOW64\zaewlkuq\
        2⤵
          PID:2508
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create zaewlkuq binPath= "C:\Windows\SysWOW64\zaewlkuq\pykqavrh.exe /d\"C:\Users\Admin\AppData\Local\Temp\f95be8bb765824a57b98f01e4101e6e5_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2356
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description zaewlkuq "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2276
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start zaewlkuq
          2⤵
          • Launches sc.exe
          PID:2328
        • 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
          PID:2352
      • C:\Windows\SysWOW64\zaewlkuq\pykqavrh.exe
        C:\Windows\SysWOW64\zaewlkuq\pykqavrh.exe /d"C:\Users\Admin\AppData\Local\Temp\f95be8bb765824a57b98f01e4101e6e5_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2312
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Windows security bypass
          • Sets service image path in registry
          • Deletes itself
          PID:800

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.2MB

        MD5

        fd757a6aba7dcecaa8f0345383df2b07

        SHA1

        004460dddd314ad21028a773e46422f7ce58750b

        SHA256

        396afe0be824a64cd35eee60726536bbe25908e6187d4a842c74a808fb720fa7

        SHA512

        607a39944134e3e3afcff9efc2b37d592becee887ce6c0bbf60fdbbe2de33142f7804596cf79bad868b6f667d758289a3dd3f763932405a34311063bb2e532cc

      • memory/800-10-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/800-22-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/800-21-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/800-20-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/800-15-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

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

        Filesize

        4KB

      • memory/2312-11-0x0000000000640000-0x0000000000740000-memory.dmp

        Filesize

        1024KB

      • memory/2312-13-0x0000000000400000-0x000000000046E000-memory.dmp

        Filesize

        440KB

      • memory/2312-16-0x0000000000400000-0x000000000046E000-memory.dmp

        Filesize

        440KB

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

        Filesize

        1024KB

      • memory/2620-7-0x00000000001B0000-0x00000000001C3000-memory.dmp

        Filesize

        76KB

      • memory/2620-6-0x0000000000400000-0x000000000046E000-memory.dmp

        Filesize

        440KB

      • memory/2620-3-0x0000000000400000-0x000000000046E000-memory.dmp

        Filesize

        440KB

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

        Filesize

        76KB