Analysis

  • max time kernel
    144s
  • max time network
    121s
  • platform
    windows7_x64
  • resource
    win7-20240220-en
  • resource tags

    arch:x64arch:x86image:win7-20240220-enlocale:en-usos:windows7-x64system
  • submitted
    16-04-2024 08:18

General

  • Target

    f313185687c6097504477b7f37195cdf_JaffaCakes118.exe

  • Size

    11.5MB

  • MD5

    f313185687c6097504477b7f37195cdf

  • SHA1

    fe641fc06084e7289b9981cd907fce4368b91e23

  • SHA256

    560fc803cd88d0362d75b40fc0b3513330ff754c4d3115a7675aefb4b08fa36f

  • SHA512

    8885b3fa9f3026717953797178a2c2bf4cb4c22bebf9d343e2f13a132c8e2cd90595fa66a28cfc5f1236e097046150db84b80142a437ed61faa7cda61e538ea0

  • SSDEEP

    49152:ljrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr:V

Malware Config

Extracted

Family

tofsee

C2

43.231.4.7

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\f313185687c6097504477b7f37195cdf_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\f313185687c6097504477b7f37195cdf_JaffaCakes118.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2364
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\feqvyilb\
      2⤵
        PID:1744
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\zxeazigx.exe" C:\Windows\SysWOW64\feqvyilb\
        2⤵
          PID:2636
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create feqvyilb binPath= "C:\Windows\SysWOW64\feqvyilb\zxeazigx.exe /d\"C:\Users\Admin\AppData\Local\Temp\f313185687c6097504477b7f37195cdf_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2660
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description feqvyilb "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2656
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start feqvyilb
          2⤵
          • Launches sc.exe
          PID:2464
        • 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:2456
      • C:\Windows\SysWOW64\feqvyilb\zxeazigx.exe
        C:\Windows\SysWOW64\feqvyilb\zxeazigx.exe /d"C:\Users\Admin\AppData\Local\Temp\f313185687c6097504477b7f37195cdf_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2572
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Windows security bypass
          • Sets service image path in registry
          • Deletes itself
          PID:2792

      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\zxeazigx.exe
        Filesize

        14.8MB

        MD5

        52330ee7ae5e569c24236ad0daa71c7f

        SHA1

        438c7684bf1af97ea19cc3b4ded9da1903408e62

        SHA256

        b957511d86196d10a785019f696ec10e8213285f209ada2eece45a3477a8ef45

        SHA512

        ddce6f442dc1f2cd5c0d7f29ccf44f70f7f733a91201de74c7a3ddd8e15e1d87766349e4db717ebd4bdbb12f718f51fe685c056e3a083cd715bee597d03cb9dc

      • memory/2364-18-0x0000000000400000-0x000000000041E000-memory.dmp
        Filesize

        120KB

      • memory/2364-3-0x0000000000230000-0x0000000000231000-memory.dmp
        Filesize

        4KB

      • memory/2364-1-0x0000000000400000-0x000000000041E000-memory.dmp
        Filesize

        120KB

      • memory/2364-2-0x0000000000220000-0x0000000000221000-memory.dmp
        Filesize

        4KB

      • memory/2364-0-0x0000000000400000-0x000000000041E000-memory.dmp
        Filesize

        120KB

      • memory/2572-16-0x0000000000400000-0x000000000041E000-memory.dmp
        Filesize

        120KB

      • memory/2572-7-0x0000000000400000-0x000000000041E000-memory.dmp
        Filesize

        120KB

      • memory/2572-8-0x00000000001B0000-0x00000000001B1000-memory.dmp
        Filesize

        4KB

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

        84KB

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

        84KB

      • memory/2792-17-0x00000000000C0000-0x00000000000D5000-memory.dmp
        Filesize

        84KB

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

        4KB

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

        84KB

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

        84KB

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

        84KB