Analysis

  • max time kernel
    146s
  • max time network
    145s
  • platform
    windows7_x64
  • resource
    win7-20240221-en
  • resource tags

    arch:x64arch:x86image:win7-20240221-enlocale:en-usos:windows7-x64system
  • submitted
    16-04-2024 15:28

General

  • Target

    f3c6b2ff1fd4577e9a685eb2d5dd7dd7_JaffaCakes118.exe

  • Size

    13.2MB

  • MD5

    f3c6b2ff1fd4577e9a685eb2d5dd7dd7

  • SHA1

    789b802c68ee18b75d0abdd612005ab287911d9d

  • SHA256

    f28f1200ffdf0cf7368928ab37aee6544d1093cac57000650d1c988363bc5633

  • SHA512

    54aa006a9b9a2eede1d4b72d4a23ab3b7cca0e1ae3e0a441e2fd235cccc8b365f1ce1c32f619d1bfea56da63f17eec18122de4d5a8e7dcbf476020939680976b

  • SSDEEP

    24576:gBahJbFa00000000000000000000000000000000000000000000000000000000:gOZ

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\f3c6b2ff1fd4577e9a685eb2d5dd7dd7_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\f3c6b2ff1fd4577e9a685eb2d5dd7dd7_JaffaCakes118.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2856
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\munghhsb\
      2⤵
        PID:2296
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\wrgqvasq.exe" C:\Windows\SysWOW64\munghhsb\
        2⤵
          PID:772
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create munghhsb binPath= "C:\Windows\SysWOW64\munghhsb\wrgqvasq.exe /d\"C:\Users\Admin\AppData\Local\Temp\f3c6b2ff1fd4577e9a685eb2d5dd7dd7_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2980
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description munghhsb "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2612
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start munghhsb
          2⤵
          • Launches sc.exe
          PID:2672
        • 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:2588
      • C:\Windows\SysWOW64\munghhsb\wrgqvasq.exe
        C:\Windows\SysWOW64\munghhsb\wrgqvasq.exe /d"C:\Users\Admin\AppData\Local\Temp\f3c6b2ff1fd4577e9a685eb2d5dd7dd7_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2648
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Windows security bypass
          • Sets service image path in registry
          • Deletes itself
          PID:2780

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

      • C:\Users\Admin\AppData\Local\Temp\wrgqvasq.exe
        Filesize

        13.1MB

        MD5

        1dea07a63715f95e9645b162dfa4a3ab

        SHA1

        a0a0468f7a11753ac0cc30f52a24354086aa10ee

        SHA256

        c5213fef76cc22aedaf49a2c88de003c48baf22fce753d175d78f42cc6539bce

        SHA512

        2f91f14bf6d8990482b15bde6020cd538b9e5302936931b7a54f6d9b2751035369810b880332078d40aa794407c40234e58b8237684aa5d085d043b7a86ddc74

      • memory/2648-10-0x0000000000400000-0x00000000023AF000-memory.dmp
        Filesize

        31.7MB

      • memory/2648-9-0x0000000002500000-0x0000000002600000-memory.dmp
        Filesize

        1024KB

      • memory/2648-16-0x0000000000400000-0x00000000023AF000-memory.dmp
        Filesize

        31.7MB

      • memory/2780-12-0x000000007EFDE000-0x000000007EFDF000-memory.dmp
        Filesize

        4KB

      • memory/2780-11-0x0000000000080000-0x0000000000095000-memory.dmp
        Filesize

        84KB

      • memory/2780-14-0x0000000000080000-0x0000000000095000-memory.dmp
        Filesize

        84KB

      • memory/2780-19-0x0000000000080000-0x0000000000095000-memory.dmp
        Filesize

        84KB

      • memory/2780-20-0x0000000000080000-0x0000000000095000-memory.dmp
        Filesize

        84KB

      • memory/2780-21-0x0000000000080000-0x0000000000095000-memory.dmp
        Filesize

        84KB

      • memory/2856-4-0x0000000000400000-0x00000000023AF000-memory.dmp
        Filesize

        31.7MB

      • memory/2856-2-0x00000000001B0000-0x00000000001C3000-memory.dmp
        Filesize

        76KB

      • memory/2856-8-0x0000000000400000-0x00000000023AF000-memory.dmp
        Filesize

        31.7MB

      • memory/2856-1-0x0000000000290000-0x0000000000390000-memory.dmp
        Filesize

        1024KB