Analysis

  • max time kernel
    143s
  • max time network
    148s
  • platform
    windows7_x64
  • resource
    win7-20240221-en
  • resource tags

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

General

  • Target

    fb53a3645626f491923c495997330c8d_JaffaCakes118.exe

  • Size

    14.8MB

  • MD5

    fb53a3645626f491923c495997330c8d

  • SHA1

    da6c44e90b85ea788c4076b7ed67d1b02213ccfe

  • SHA256

    ad93fa58692bf500dc7f4a54513d87f0cceeaf9a955bc3d366abd2e2bbcaeedb

  • SHA512

    311e78a1740839ff21a31f1082d881ce31157c11767b901bef6232b9afd34e7fe18d93badf8f54d65ef4ec1d64dcfdf7ec6cc9f1ee25429fe9c51342b0926a37

  • SSDEEP

    24576:PjCj10HSqGgeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee+:P/D

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\fb53a3645626f491923c495997330c8d_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\fb53a3645626f491923c495997330c8d_JaffaCakes118.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1152
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xgrhuwvo\
      2⤵
        PID:2072
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\eilhtczv.exe" C:\Windows\SysWOW64\xgrhuwvo\
        2⤵
          PID:2480
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create xgrhuwvo binPath= "C:\Windows\SysWOW64\xgrhuwvo\eilhtczv.exe /d\"C:\Users\Admin\AppData\Local\Temp\fb53a3645626f491923c495997330c8d_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:3000
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description xgrhuwvo "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2552
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start xgrhuwvo
          2⤵
          • Launches sc.exe
          PID:2648
        • 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:2528
      • C:\Windows\SysWOW64\xgrhuwvo\eilhtczv.exe
        C:\Windows\SysWOW64\xgrhuwvo\eilhtczv.exe /d"C:\Users\Admin\AppData\Local\Temp\fb53a3645626f491923c495997330c8d_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2428
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Windows security bypass
          • Sets service image path in registry
          • Deletes itself
          PID:2568

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.9MB

        MD5

        bc551fc2f4a0e636d9600f036f036652

        SHA1

        ffdb275385f5934fc5403da6dba4f5d91e8ee4e6

        SHA256

        dd4827136b4188416ea1bfd112b12d9e3bbc70c6e84dcdcf74ffc2908bbb71da

        SHA512

        73e3001827ca0f2e3b7c4535d0aacf7897083c766af53ee38756287e4228c9a8a021e3644607c1938c8d636f190dc2c82d6bb17ce25ccd7ca916b04ac435cd93

      • memory/1152-1-0x00000000004F0000-0x00000000005F0000-memory.dmp

        Filesize

        1024KB

      • memory/1152-2-0x00000000002B0000-0x00000000002C3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        440KB

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

        Filesize

        440KB

      • memory/1152-8-0x00000000002B0000-0x00000000002C3000-memory.dmp

        Filesize

        76KB

      • memory/1152-7-0x00000000004F0000-0x00000000005F0000-memory.dmp

        Filesize

        1024KB

      • memory/2428-12-0x0000000000400000-0x000000000046E000-memory.dmp

        Filesize

        440KB

      • memory/2428-11-0x00000000002B0000-0x00000000003B0000-memory.dmp

        Filesize

        1024KB

      • memory/2428-19-0x0000000000400000-0x000000000046E000-memory.dmp

        Filesize

        440KB

      • memory/2568-13-0x00000000000C0000-0x00000000000D5000-memory.dmp

        Filesize

        84KB

      • memory/2568-14-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

        Filesize

        4KB

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

        Filesize

        84KB

      • memory/2568-21-0x00000000000C0000-0x00000000000D5000-memory.dmp

        Filesize

        84KB

      • memory/2568-22-0x00000000000C0000-0x00000000000D5000-memory.dmp

        Filesize

        84KB

      • memory/2568-23-0x00000000000C0000-0x00000000000D5000-memory.dmp

        Filesize

        84KB