Analysis

  • max time kernel
    147s
  • max time network
    145s
  • platform
    windows7_x64
  • resource
    win7-20240220-en
  • resource tags

    arch:x64arch:x86image:win7-20240220-enlocale:en-usos:windows7-x64system
  • submitted
    21-04-2024 04:01

General

  • Target

    fe624503ac7e44c8dcf7931bee3d7628_JaffaCakes118.exe

  • Size

    14.7MB

  • MD5

    fe624503ac7e44c8dcf7931bee3d7628

  • SHA1

    e3750c0623555c8f7e1500825215d21a4a106319

  • SHA256

    dc29002568fbc6453ba1d57da0ecac5b759464026b4d3d110abc4daf36e7de00

  • SHA512

    96c6c25d2b2d7f8fc87a49a96c461ba2fb3e08f46795c4acd9999af1a7bd676fa07d5829d914f37a90516d3acef13b2e2f62530efb316a83ee04175da2248d6a

  • SSDEEP

    24576:Ogdy5yNM4444444444444444444444444444444444444444444444444444444U:

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\fe624503ac7e44c8dcf7931bee3d7628_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\fe624503ac7e44c8dcf7931bee3d7628_JaffaCakes118.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2920
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\lkxaluve\
      2⤵
        PID:2740
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ptwsenkg.exe" C:\Windows\SysWOW64\lkxaluve\
        2⤵
          PID:2540
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create lkxaluve binPath= "C:\Windows\SysWOW64\lkxaluve\ptwsenkg.exe /d\"C:\Users\Admin\AppData\Local\Temp\fe624503ac7e44c8dcf7931bee3d7628_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2676
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description lkxaluve "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2796
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start lkxaluve
          2⤵
          • Launches sc.exe
          PID:2724
        • 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:2420
      • C:\Windows\SysWOW64\lkxaluve\ptwsenkg.exe
        C:\Windows\SysWOW64\lkxaluve\ptwsenkg.exe /d"C:\Users\Admin\AppData\Local\Temp\fe624503ac7e44c8dcf7931bee3d7628_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2688
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Windows security bypass
          • Sets service image path in registry
          • Deletes itself
          PID:2436

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.2MB

        MD5

        061c45e5f458e85247a9a51b695190fb

        SHA1

        de0a87b90f9a2968e1da190aeb3116496f120cb8

        SHA256

        19902c8143ad8b0f5b95a012b833ffec05735187d217b36ac7f1f4b41209002b

        SHA512

        581312b5247e8586c750d99e4f705807373114c98ea34546825dca916953bb6b51fc294e2e728c009cf284db92ff2c8ff21f1746feacc466e2a260b62c2e2c2f

      • memory/2436-13-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2436-11-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

        Filesize

        4KB

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

        Filesize

        84KB

      • memory/2436-19-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/2688-15-0x0000000000570000-0x0000000000670000-memory.dmp

        Filesize

        1024KB

      • memory/2688-16-0x0000000000400000-0x0000000000456000-memory.dmp

        Filesize

        344KB

      • memory/2920-3-0x0000000000400000-0x0000000000456000-memory.dmp

        Filesize

        344KB

      • memory/2920-2-0x0000000000220000-0x0000000000233000-memory.dmp

        Filesize

        76KB

      • memory/2920-8-0x0000000000400000-0x0000000000456000-memory.dmp

        Filesize

        344KB

      • memory/2920-9-0x0000000000220000-0x0000000000233000-memory.dmp

        Filesize

        76KB

      • memory/2920-1-0x0000000000520000-0x0000000000620000-memory.dmp

        Filesize

        1024KB