Analysis

  • max time kernel
    149s
  • max time network
    151s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240412-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240412-enlocale:en-usos:windows10-2004-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.

  • Creates new service(s) 1 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • 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 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\f313185687c6097504477b7f37195cdf_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\f313185687c6097504477b7f37195cdf_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:2804
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\gaykosmw\
      2⤵
        PID:2164
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\zlmgbxyv.exe" C:\Windows\SysWOW64\gaykosmw\
        2⤵
          PID:3784
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create gaykosmw binPath= "C:\Windows\SysWOW64\gaykosmw\zlmgbxyv.exe /d\"C:\Users\Admin\AppData\Local\Temp\f313185687c6097504477b7f37195cdf_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1828
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description gaykosmw "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2032
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start gaykosmw
          2⤵
          • Launches sc.exe
          PID:1464
        • 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:1428
      • C:\Windows\SysWOW64\gaykosmw\zlmgbxyv.exe
        C:\Windows\SysWOW64\gaykosmw\zlmgbxyv.exe /d"C:\Users\Admin\AppData\Local\Temp\f313185687c6097504477b7f37195cdf_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2556
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:1956

      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

      1
      T1562

      Disable or Modify System Firewall

      1
      T1562.004

      Modify Registry

      1
      T1112

      Discovery

      Query Registry

      1
      T1012

      System Information Discovery

      2
      T1082

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        14.8MB

        MD5

        049211cb5290a21689c5b5c873826c21

        SHA1

        50da439f2dcd8a826bbbe453540a99df2397642a

        SHA256

        99d9d8bef4ab1b63c0e5793059c5780a5575b54c3deb13f05823b039fa233568

        SHA512

        0711b0021cfa652bfde05f8f654747dd2240338aabc78a82dc8216912ebdd840f67a27fb43e6889b7d25a389dcb67234edc4ed5ac720a650b04df760ff7aab74

      • memory/1956-13-0x0000000000760000-0x0000000000775000-memory.dmp
        Filesize

        84KB

      • memory/1956-17-0x0000000000760000-0x0000000000775000-memory.dmp
        Filesize

        84KB

      • memory/1956-16-0x0000000000760000-0x0000000000775000-memory.dmp
        Filesize

        84KB

      • memory/1956-15-0x0000000000760000-0x0000000000775000-memory.dmp
        Filesize

        84KB

      • memory/1956-9-0x0000000000760000-0x0000000000775000-memory.dmp
        Filesize

        84KB

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

        120KB

      • memory/2556-11-0x0000000000400000-0x000000000041E000-memory.dmp
        Filesize

        120KB

      • memory/2804-3-0x0000000002170000-0x0000000002171000-memory.dmp
        Filesize

        4KB

      • memory/2804-14-0x0000000000400000-0x000000000041E000-memory.dmp
        Filesize

        120KB

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

        120KB

      • memory/2804-2-0x0000000002160000-0x0000000002161000-memory.dmp
        Filesize

        4KB

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

        120KB