Analysis

  • max time kernel
    140s
  • max time network
    123s
  • platform
    windows7_x64
  • resource
    win7-20240215-en
  • resource tags

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

General

  • Target

    fe7a83b2a9459c727de31bf862e8b412_JaffaCakes118.exe

  • Size

    13.1MB

  • MD5

    fe7a83b2a9459c727de31bf862e8b412

  • SHA1

    37cf0cf28262bfb9952fe203d09102ab00361c59

  • SHA256

    0458983712551856bbe9a43e57f2171cb6a11ca2ba7fb5cfbf70d937a9d52764

  • SHA512

    089ce3de2784486fe479e893da198c9de36cac7f8d4d4b72b0290892e3eb00ed829cb9b5794f8333857c6ad2f546f38df4ae9d19cb2a6c05dd17d6d3300b1296

  • SSDEEP

    49152:f3Skkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk:f3

Malware Config

Extracted

Family

tofsee

C2

43.231.4.6

lazystax.ru

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\fe7a83b2a9459c727de31bf862e8b412_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\fe7a83b2a9459c727de31bf862e8b412_JaffaCakes118.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1876
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\wkrmfvus\
      2⤵
        PID:2960
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ntephwqc.exe" C:\Windows\SysWOW64\wkrmfvus\
        2⤵
          PID:2628
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create wkrmfvus binPath= "C:\Windows\SysWOW64\wkrmfvus\ntephwqc.exe /d\"C:\Users\Admin\AppData\Local\Temp\fe7a83b2a9459c727de31bf862e8b412_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2564
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description wkrmfvus "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2756
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start wkrmfvus
          2⤵
          • Launches sc.exe
          PID:2704
        • 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:2548
      • C:\Windows\SysWOW64\wkrmfvus\ntephwqc.exe
        C:\Windows\SysWOW64\wkrmfvus\ntephwqc.exe /d"C:\Users\Admin\AppData\Local\Temp\fe7a83b2a9459c727de31bf862e8b412_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2436
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Windows security bypass
          • Sets service image path in registry
          • Deletes itself
          PID:2580

      Network

      MITRE ATT&CK Matrix ATT&CK v13

      Persistence

      Create or Modify System Process

      2
      T1543

      Windows Service

      2
      T1543.003

      Boot or Logon Autostart Execution

      1
      T1547

      Registry Run Keys / Startup Folder

      1
      T1547.001

      Privilege Escalation

      Create or Modify System Process

      2
      T1543

      Windows Service

      2
      T1543.003

      Boot or Logon Autostart Execution

      1
      T1547

      Registry Run Keys / Startup Folder

      1
      T1547.001

      Defense Evasion

      Impair Defenses

      2
      T1562

      Disable or Modify Tools

      1
      T1562.001

      Disable or Modify System Firewall

      1
      T1562.004

      Modify Registry

      2
      T1112

      Discovery

      System Information Discovery

      1
      T1082

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        13.8MB

        MD5

        386830e4cba46992843febce6f486f96

        SHA1

        23ab1e4d8654446b1a6c558d4e7c8f50d16efba4

        SHA256

        6923b1c91f57cd7b03b0aa72a36508c3a68242169a69e34ce5597a431d29af0e

        SHA512

        76507297f80980eec805a13f05dacf0d0cbe74b4efc4aafac8951187dfe2f218d99db15542c5027b634bd0f723d784f365225966d9e921110a245eb0b35911a8

      • memory/1876-2-0x0000000000220000-0x0000000000233000-memory.dmp
        Filesize

        76KB

      • memory/1876-4-0x0000000000400000-0x0000000000C14000-memory.dmp
        Filesize

        8.1MB

      • memory/1876-7-0x0000000000400000-0x0000000000C14000-memory.dmp
        Filesize

        8.1MB

      • memory/1876-8-0x0000000000220000-0x0000000000233000-memory.dmp
        Filesize

        76KB

      • memory/1876-1-0x0000000000DF0000-0x0000000000EF0000-memory.dmp
        Filesize

        1024KB

      • memory/2436-14-0x0000000000D90000-0x0000000000E90000-memory.dmp
        Filesize

        1024KB

      • memory/2436-17-0x0000000000400000-0x0000000000C14000-memory.dmp
        Filesize

        8.1MB

      • memory/2580-11-0x000000007EFDE000-0x000000007EFDF000-memory.dmp
        Filesize

        4KB

      • memory/2580-13-0x00000000000C0000-0x00000000000D5000-memory.dmp
        Filesize

        84KB

      • memory/2580-10-0x00000000000C0000-0x00000000000D5000-memory.dmp
        Filesize

        84KB

      • memory/2580-19-0x00000000000C0000-0x00000000000D5000-memory.dmp
        Filesize

        84KB

      • memory/2580-20-0x00000000000C0000-0x00000000000D5000-memory.dmp
        Filesize

        84KB

      • memory/2580-21-0x00000000000C0000-0x00000000000D5000-memory.dmp
        Filesize

        84KB

      • memory/2580-22-0x00000000000C0000-0x00000000000D5000-memory.dmp
        Filesize

        84KB