Analysis

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

    arch:x64arch:x86image:win7-20240221-enlocale:en-usos:windows7-x64system
  • submitted
    10-06-2024 13:26

General

  • Target

    9acfb27a482a0ac42cd9caf72a24545c_JaffaCakes118.exe

  • Size

    352KB

  • MD5

    9acfb27a482a0ac42cd9caf72a24545c

  • SHA1

    b8c2d6639427c9343383ce21eff355974ea550a4

  • SHA256

    5134552a33b485a25270b8b78068b22fb46ff20267f92f690ee31a2046b9297d

  • SHA512

    edf966e22dba430d66718ae0a7cfc6d2b4c5b92a3eb8092872dbfb8221bc70bcb868c4a044e9323923582b3cb0d4580d7eb81201282119ff3a33c94995b9014f

  • SSDEEP

    6144:OqxxwoLIoklLgkgguVHkb/a3hftL4nzgvwZL:zldkl61VEb/a3BtL4nzgA

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) 2 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\9acfb27a482a0ac42cd9caf72a24545c_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\9acfb27a482a0ac42cd9caf72a24545c_JaffaCakes118.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:912
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\zelqofko\
      2⤵
        PID:2112
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hkssqosb.exe" C:\Windows\SysWOW64\zelqofko\
        2⤵
          PID:3040
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create zelqofko binPath= "C:\Windows\SysWOW64\zelqofko\hkssqosb.exe /d\"C:\Users\Admin\AppData\Local\Temp\9acfb27a482a0ac42cd9caf72a24545c_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1756
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description zelqofko "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2720
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start zelqofko
          2⤵
          • Launches sc.exe
          PID:2584
        • 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:2504
      • C:\Windows\SysWOW64\zelqofko\hkssqosb.exe
        C:\Windows\SysWOW64\zelqofko\hkssqosb.exe /d"C:\Users\Admin\AppData\Local\Temp\9acfb27a482a0ac42cd9caf72a24545c_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2576
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Windows security bypass
          • Sets service image path in registry
          • Deletes itself
          PID:2852

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.2MB

        MD5

        57674d00da9f3c8029e7c576b9f5dafc

        SHA1

        0f13d409a11ca7dd6c1db2366d39801ae37900e8

        SHA256

        7f050b8b56cc2caafd57c571fdbad9ac9b7d52addced692852a4938923d0c19e

        SHA512

        e7f078ea939ee7481aee50a60df231064e6826bb2c69e9d9d5f8ae4aa0420cf45c150a0d55fcf845b6a7144a51d6fcdc34fa8e7ff1564d2ea3171a7494df3939

      • memory/912-1-0x0000000000630000-0x0000000000730000-memory.dmp

        Filesize

        1024KB

      • memory/912-2-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/912-14-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/912-13-0x0000000000400000-0x0000000000505000-memory.dmp

        Filesize

        1.0MB

      • memory/2576-11-0x0000000000400000-0x0000000000505000-memory.dmp

        Filesize

        1.0MB

      • memory/2852-10-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2852-9-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

        Filesize

        4KB

      • memory/2852-7-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2852-15-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2852-16-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB